Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #65 from sarbull/main
Browse files Browse the repository at this point in the history
Fix deps issues
  • Loading branch information
sarbull authored Sep 22, 2022
2 parents 1237196 + 9c499e8 commit b962088
Show file tree
Hide file tree
Showing 13 changed files with 3,993 additions and 31 deletions.
2 changes: 1 addition & 1 deletion dist/esm/components/Assets/Catalog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,5 @@ export function EgeriaAssetCatalog(props) {
const queryParams = getQueryParamsPath(formData);
navigate(`${path}${queryParams.length ? `?${queryParams.join('&')}` : ``}`);
};
return (_jsx(_Fragment, { children: _jsxs("div", Object.assign({ style: { display: 'flex', alignItems: 'stretch', flexDirection: 'column', position: 'relative', height: '100%', } }, { children: [_jsx(LoadingOverlay, { visible: isLoading }), _jsxs("div", Object.assign({ style: { display: 'flex', alignItems: 'center', justifyContent: 'center', marginBottom: 10 } }, { children: [_jsx(TextInput, { mr: "xl", style: { minWidth: 180 }, placeholder: "Search", value: q, onKeyPress: handleEnterPress, onChange: (event) => setUserFormData(Object.assign(Object.assign({}, userFormData), { q: event.currentTarget.value })) }), _jsx(MultiSelect, { mr: "xl", style: { minWidth: 230 }, data: typesData, value: types, placeholder: "Types", onChange: (value) => setUserFormData(Object.assign(Object.assign({}, userFormData), { types: [...value] })) }), _jsx(Checkbox, { mr: "xl", label: 'Exact match', checked: exactMatch, onChange: (event) => setUserFormData(Object.assign(Object.assign({}, userFormData), { exactMatch: event.currentTarget.checked })) }), _jsx(Checkbox, { mr: "xl", label: 'Case sensitive', checked: caseSensitive, onChange: (event) => setUserFormData(Object.assign(Object.assign({}, userFormData), { caseSensitive: event.currentTarget.checked })) }), _jsx(Button, Object.assign({ onClick: () => submit() }, { children: "Search" }))] })), _jsx("div", Object.assign({ className: "ag-theme-alpine", style: { width: '100%', height: '100%' } }, { children: _jsx(AgGridReact, { gridOptions: gridOptions, rowData: rowData }) })), _jsx("div", { children: _jsx(Button, Object.assign({ size: "xs", compact: true, fullWidth: true, onClick: () => loadMore(), style: { marginBottom: 1 } }, { children: "Load more..." })) })] })) }));
return (_jsx(_Fragment, { children: _jsxs("div", Object.assign({ style: { display: 'flex', alignItems: 'stretch', flexDirection: 'column', position: 'relative', height: '100%', } }, { children: [_jsx(LoadingOverlay, { visible: isLoading }), _jsxs("div", Object.assign({ style: { display: 'flex', alignItems: 'center', justifyContent: 'center', marginBottom: 10 } }, { children: [_jsx(TextInput, { mr: "xl", style: { minWidth: 180 }, placeholder: "Search", value: q, onKeyPress: handleEnterPress, onChange: (event) => setUserFormData(Object.assign(Object.assign({}, userFormData), { q: event.currentTarget.value })) }), _jsx(MultiSelect, { mr: "xl", style: { minWidth: 230 }, data: typesData, value: types, placeholder: "Types", onChange: (value) => setUserFormData(Object.assign(Object.assign({}, userFormData), { types: [...value] })) }), _jsx(Checkbox, { mr: "xl", label: 'Exact match', checked: exactMatch, onChange: (event) => setUserFormData(Object.assign(Object.assign({}, userFormData), { exactMatch: event.currentTarget.checked })) }), _jsx(Checkbox, { mr: "xl", label: 'Case sensitive', checked: caseSensitive, onChange: (event) => setUserFormData(Object.assign(Object.assign({}, userFormData), { caseSensitive: event.currentTarget.checked })) }), _jsx(Button, Object.assign({ onClick: () => submit() }, { children: "Search" }))] })), _jsx("div", Object.assign({ className: "ag-theme-alpine", style: { width: '100%', height: '100%' } }, { children: _jsx(AgGridReact, { gridOptions: gridOptions, rowData: rowData }) })), _jsx("div", { children: _jsx(Button, Object.assign({ size: "xs", compact: true, fullWidth: true, onClick: () => loadMore(), style: { marginBottom: 1, marginTop: 10 } }, { children: "Load more..." })) })] })) }));
}
34 changes: 34 additions & 0 deletions dist/esm/components/Assets/Catalog/qualified-name.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

.qualified-name {
display: flex;
flex-flow: column;

img {
height:20px;
vertical-align:middle;
margin-right:5px;
}

ul {
margin: 0;
padding: 0;
}

li {
display: inline;
padding-right: 10px;
font-size: smaller ;
}

.masked {
display: inline-flex;
width: 20px;
height: 20px;
background-color: var(--egeria-primary-color);
}

.label {
display: inline-flex;
vertical-align: super;
}
}
15 changes: 15 additions & 0 deletions dist/esm/components/Demo/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
html, body {
margin:0;
padding:0;
width:100%;
}


.container {
margin:0 auto;
margin-top:50px;
width:1024px;
height:700px;
border:1px solid #ccc;
overflow: auto;
}
16 changes: 0 additions & 16 deletions dist/esm/components/Lineage/EgeriaLineage.js

This file was deleted.

2 changes: 1 addition & 1 deletion dist/esm/components/Lineage/Graph/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function EgeriaLineageGraph(props) {
const [opened, setOpened] = useState(false);
const [selectedNodeData, setSelectedNodeData] = useState(undefined);
// TODO: extract URL to URL Map
const uri = (lineageType) => `${apiUrl}/api/lineage/entities/${guid}/${lineageType}`;
const uri = (lineageType) => `${apiUrl}/api/lineage/entities/${guid}/${lineageType}?includeProcesses=true`;
const fetchData = (uri) => __awaiter(this, void 0, void 0, function* () {
const res = yield egeriaFetch(uri, 'GET', Object.assign({}, authHeader()), {});
const data = yield res.json();
Expand Down
8 changes: 8 additions & 0 deletions dist/esm/components/Lineage/Graph/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.egeria-lineage {
height:100%;

div[role="tabpanel"] {
height: calc(100% - 40px);
padding-top:0px;
}
}
Empty file.
6 changes: 0 additions & 6 deletions dist/types/components/Lineage/EgeriaLineage.d.ts

This file was deleted.

Loading

0 comments on commit b962088

Please sign in to comment.