@finos/legend-extension-dsl-data-space 9.2.3 → 9.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts +2 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +8 -0
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/DataSpaceDataAccess.d.ts.map +1 -1
- package/lib/components/DataSpaceDataAccess.js +70 -66
- package/lib/components/DataSpaceDataAccess.js.map +1 -1
- package/lib/components/DataSpaceDiagramViewer.js +1 -1
- package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
- package/lib/components/DataSpaceModelsDocumentation.d.ts.map +1 -1
- package/lib/components/DataSpaceModelsDocumentation.js +337 -34
- package/lib/components/DataSpaceModelsDocumentation.js.map +1 -1
- package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
- package/lib/components/DataSpaceQuickStart.js +33 -12
- package/lib/components/DataSpaceQuickStart.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +1 -1
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/DataSpaceWiki.d.ts.map +1 -1
- package/lib/components/DataSpaceWiki.js +0 -1
- package/lib/components/DataSpaceWiki.js.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +45 -9
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +55 -12
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +51 -8
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +15 -3
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +16 -2
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +7 -10
- package/lib/stores/DataSpaceModelsDocumentationState.d.ts +93 -0
- package/lib/stores/DataSpaceModelsDocumentationState.d.ts.map +1 -0
- package/lib/stores/DataSpaceModelsDocumentationState.js +396 -0
- package/lib/stores/DataSpaceModelsDocumentationState.js.map +1 -0
- package/lib/stores/DataSpaceViewerState.d.ts +5 -0
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +6 -1
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/package.json +18 -21
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.ts +10 -0
- package/src/components/DataSpaceDataAccess.tsx +101 -96
- package/src/components/DataSpaceDiagramViewer.tsx +1 -1
- package/src/components/DataSpaceModelsDocumentation.tsx +1043 -46
- package/src/components/DataSpaceQuickStart.tsx +69 -15
- package/src/components/DataSpaceViewer.tsx +2 -4
- package/src/components/DataSpaceWiki.tsx +0 -2
- package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +71 -19
- package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +97 -29
- package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +22 -3
- package/src/stores/DataSpaceModelsDocumentationState.ts +588 -0
- package/src/stores/DataSpaceViewerState.ts +14 -0
- package/tsconfig.json +1 -1
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.d.ts +0 -57
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.js +0 -209
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.js.map +0 -1
- package/src/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.ts +0 -313
|
@@ -15,44 +15,347 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
|
-
import { AnchorLinkIcon, SearchIcon } from '@finos/legend-art';
|
|
18
|
+
import { AnchorLinkIcon, BasePopover, ChevronDownIcon, ChevronRightIcon, ClockIcon, CogIcon, DropdownMenu, FilterIcon, InfoCircleIcon, MenuContent, MenuContentItem, MoreVerticalIcon, SearchIcon, TimesIcon, Tooltip, clsx, TreeView, PackageIcon, CheckSquareIcon, MinusSquareIcon, EmptySquareIcon, CaretRightIcon, CaretLeftIcon, } from '@finos/legend-art';
|
|
19
19
|
import {} from '../stores/DataSpaceViewerState.js';
|
|
20
|
-
import { AgGridReact } from '@ag-grid-community/react';
|
|
21
|
-
import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-model';
|
|
22
20
|
import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
|
|
21
|
+
import { DataSpaceAssociationDocumentationEntry, DataSpaceBasicDocumentationEntry, DataSpaceClassDocumentationEntry, DataSpaceEnumerationDocumentationEntry, DataSpaceModelDocumentationEntry, DataSpacePropertyDocumentationEntry, } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
22
|
+
import { debounce, isNonNullable, prettyCONSTName } from '@finos/legend-shared';
|
|
23
|
+
import { useApplicationStore } from '@finos/legend-application';
|
|
24
|
+
import { CORE_PURE_PATH, ELEMENT_PATH_DELIMITER, MILESTONING_STEREOTYPE, PROPERTY_ACCESSOR, getMultiplicityDescription, } from '@finos/legend-graph';
|
|
25
|
+
import { useMemo, useRef } from 'react';
|
|
26
|
+
import { ModelsDocumentationFilterTreeTypeNodeData, ModelsDocumentationFilterTreeElementNodeData, ModelsDocumentationFilterTreePackageNodeData, ModelsDocumentationFilterTreeNodeCheckType, uncheckFilterTreeNode, checkFilterTreeNode, uncheckAllFilterTree, ModelsDocumentationFilterTreeRootNodeData, } from '../stores/DataSpaceModelsDocumentationState.js';
|
|
27
|
+
import { DataGrid, } from '@finos/legend-lego/data-grid';
|
|
28
|
+
import { FuzzySearchAdvancedConfigMenu } from '@finos/legend-application/components';
|
|
29
|
+
const getMilestoningLabel = (val) => {
|
|
30
|
+
switch (val) {
|
|
31
|
+
case MILESTONING_STEREOTYPE.BITEMPORAL:
|
|
32
|
+
return 'Bi-temporal';
|
|
33
|
+
case MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL:
|
|
34
|
+
return 'Business Temporal';
|
|
35
|
+
case MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL:
|
|
36
|
+
return 'Processing Temporal';
|
|
37
|
+
default:
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
const ElementInfoTooltip = (props) => {
|
|
42
|
+
const { entry, children } = props;
|
|
43
|
+
return (_jsx(Tooltip, { arrow: false, placement: "bottom-end", disableInteractive: true, classes: {
|
|
44
|
+
tooltip: 'data-space__viewer__tooltip',
|
|
45
|
+
tooltipPlacementRight: 'data-space__viewer__tooltip--right',
|
|
46
|
+
}, TransitionProps: {
|
|
47
|
+
// disable transition
|
|
48
|
+
// NOTE: somehow, this is the only workaround we have, if for example
|
|
49
|
+
// we set `appear = true`, the tooltip will jump out of position
|
|
50
|
+
timeout: 0,
|
|
51
|
+
}, title: _jsxs("div", { className: "data-space__viewer__tooltip__content", children: [_jsxs("div", { className: "data-space__viewer__tooltip__item", children: [_jsx("div", { className: "data-space__viewer__tooltip__item__label", children: "Name" }), _jsx("div", { className: "data-space__viewer__tooltip__item__value", children: entry.name })] }), _jsxs("div", { className: "data-space__viewer__tooltip__item", children: [_jsx("div", { className: "data-space__viewer__tooltip__item__label", children: "Path" }), _jsx("div", { className: "data-space__viewer__tooltip__item__value", children: entry.path })] }), entry instanceof DataSpaceClassDocumentationEntry &&
|
|
52
|
+
entry.milestoning !== undefined && (_jsxs("div", { className: "data-space__viewer__tooltip__item", children: [_jsx("div", { className: "data-space__viewer__tooltip__item__label", children: "Milestoning" }), _jsx("div", { className: "data-space__viewer__tooltip__item__value", children: getMilestoningLabel(entry.milestoning) })] }))] }), children: children }));
|
|
53
|
+
};
|
|
54
|
+
const PropertyInfoTooltip = (props) => {
|
|
55
|
+
const { entry, elementEntry, children } = props;
|
|
56
|
+
return (_jsx(Tooltip, { arrow: false, placement: "bottom-end", disableInteractive: true, classes: {
|
|
57
|
+
tooltip: 'data-space__viewer__tooltip',
|
|
58
|
+
tooltipPlacementRight: 'data-space__viewer__tooltip--right',
|
|
59
|
+
}, TransitionProps: {
|
|
60
|
+
// disable transition
|
|
61
|
+
// NOTE: somehow, this is the only workaround we have, if for example
|
|
62
|
+
// we set `appear = true`, the tooltip will jump out of position
|
|
63
|
+
timeout: 0,
|
|
64
|
+
}, title: _jsxs("div", { className: "data-space__viewer__tooltip__content", children: [_jsxs("div", { className: "data-space__viewer__tooltip__item", children: [_jsx("div", { className: "data-space__viewer__tooltip__item__label", children: "Name" }), _jsx("div", { className: "data-space__viewer__tooltip__item__value", children: entry.name })] }), _jsxs("div", { className: "data-space__viewer__tooltip__item", children: [_jsx("div", { className: "data-space__viewer__tooltip__item__label", children: "Owner" }), _jsx("div", { className: "data-space__viewer__tooltip__item__value", children: elementEntry.path })] }), entry.type && (_jsxs("div", { className: "data-space__viewer__tooltip__item", children: [_jsx("div", { className: "data-space__viewer__tooltip__item__label", children: "Type" }), _jsx("div", { className: "data-space__viewer__tooltip__item__value", children: entry.type })] })), entry.multiplicity && (_jsxs("div", { className: "data-space__viewer__tooltip__item", children: [_jsx("div", { className: "data-space__viewer__tooltip__item__label", children: "Multiplicity" }), _jsx("div", { className: "data-space__viewer__tooltip__item__value", children: getMultiplicityDescription(entry.multiplicity) })] })), entry.milestoning && (_jsxs("div", { className: "data-space__viewer__tooltip__item", children: [_jsx("div", { className: "data-space__viewer__tooltip__item__label", children: "Milestoning" }), _jsx("div", { className: "data-space__viewer__tooltip__item__value", children: getMilestoningLabel(entry.milestoning) })] }))] }), children: children }));
|
|
65
|
+
};
|
|
66
|
+
const ElementContentCellRenderer = observer((params) => {
|
|
67
|
+
const { data, dataSpaceViewerState } = params;
|
|
68
|
+
const applicationStore = useApplicationStore();
|
|
69
|
+
const showHumanizedForm = dataSpaceViewerState.modelsDocumentationState.showHumanizedForm;
|
|
70
|
+
if (!data) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
const copyPath = () => {
|
|
74
|
+
applicationStore.clipboardService
|
|
75
|
+
.copyTextToClipboard(data.elementEntry.path)
|
|
76
|
+
.catch(applicationStore.alertUnhandledError);
|
|
77
|
+
};
|
|
78
|
+
const label = showHumanizedForm
|
|
79
|
+
? prettyCONSTName(data.elementEntry.name)
|
|
80
|
+
: data.elementEntry.name;
|
|
81
|
+
if (data.elementEntry instanceof DataSpaceClassDocumentationEntry) {
|
|
82
|
+
return (_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell", title: `Class: ${data.elementEntry.path}`, children: [_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__label", children: [_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__icon data-space__viewer__models-documentation__grid__cell__label__icon--class", children: "C" }), _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__text", children: label }), data.elementEntry.milestoning && (_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__milestoning-badge", title: `Milestoning: ${getMilestoningLabel(data.elementEntry.milestoning)}`, children: _jsx(ClockIcon, {}) }))] }), _jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__actions", children: [_jsx(ElementInfoTooltip, { entry: data.elementEntry, children: _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__action", children: _jsx(InfoCircleIcon, { className: "data-space__viewer__models-documentation__grid__cell__action__info" }) }) }), _jsx(DropdownMenu, { className: "data-space__viewer__models-documentation__grid__cell__action", menuProps: {
|
|
83
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
84
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
85
|
+
elevation: 7,
|
|
86
|
+
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: copyPath, children: "Copy Path" }), _jsx(MenuContentItem, { disabled: true, children: "Preview Data" })] }), children: _jsx(MoreVerticalIcon, {}) })] })] }));
|
|
87
|
+
}
|
|
88
|
+
else if (data.elementEntry instanceof DataSpaceEnumerationDocumentationEntry) {
|
|
89
|
+
return (_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell", title: `Enumeration: ${data.elementEntry.path}`, children: [_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__label", children: [_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__icon data-space__viewer__models-documentation__grid__cell__label__icon--enumeration", children: "E" }), _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__text", children: label })] }), _jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__actions", children: [_jsx(ElementInfoTooltip, { entry: data.elementEntry, children: _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__action", children: _jsx(InfoCircleIcon, { className: "data-space__viewer__models-documentation__grid__cell__action__info" }) }) }), _jsx(DropdownMenu, { className: "data-space__viewer__models-documentation__grid__cell__action", menuProps: {
|
|
90
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
91
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
92
|
+
elevation: 7,
|
|
93
|
+
}, content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { onClick: copyPath, children: "Copy Path" }) }), children: _jsx(MoreVerticalIcon, {}) })] })] }));
|
|
94
|
+
}
|
|
95
|
+
else if (data.elementEntry instanceof DataSpaceAssociationDocumentationEntry) {
|
|
96
|
+
return (_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell", title: `Association: ${data.elementEntry.path}`, children: [_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__label", children: [_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__icon data-space__viewer__models-documentation__grid__cell__label__icon--association", children: "A" }), _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__text", children: label })] }), _jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__actions", children: [_jsx(ElementInfoTooltip, { entry: data.elementEntry, children: _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__action", children: _jsx(InfoCircleIcon, { className: "data-space__viewer__models-documentation__grid__cell__action__info" }) }) }), _jsx(DropdownMenu, { className: "data-space__viewer__models-documentation__grid__cell__action", menuProps: {
|
|
97
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
98
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
99
|
+
elevation: 7,
|
|
100
|
+
}, content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { onClick: copyPath, children: "Copy Path" }) }), children: _jsx(MoreVerticalIcon, {}) })] })] }));
|
|
101
|
+
}
|
|
102
|
+
return null;
|
|
103
|
+
});
|
|
104
|
+
const SubElementDocContentCellRenderer = observer((params) => {
|
|
105
|
+
const { data, dataSpaceViewerState } = params;
|
|
106
|
+
const applicationStore = useApplicationStore();
|
|
107
|
+
const showHumanizedForm = dataSpaceViewerState.modelsDocumentationState.showHumanizedForm;
|
|
108
|
+
if (!data) {
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
const label = showHumanizedForm ? prettyCONSTName(data.text) : data.text;
|
|
112
|
+
if (data.entry instanceof DataSpaceModelDocumentationEntry) {
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
else if (data.entry instanceof DataSpacePropertyDocumentationEntry) {
|
|
116
|
+
return (_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell", title: `Property: ${data.elementEntry.path}${PROPERTY_ACCESSOR}${data.entry.name}`, children: [_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__label", children: [_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__icon data-space__viewer__models-documentation__grid__cell__label__icon--property", children: "P" }), _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__text", children: label }), data.entry.milestoning && (_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__milestoning-badge", title: `Milestoning: ${getMilestoningLabel(data.entry.milestoning)}`, children: _jsx(ClockIcon, {}) }))] }), _jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__actions", children: [_jsx(PropertyInfoTooltip, { entry: data.entry, elementEntry: data.elementEntry, children: _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__action", children: _jsx(InfoCircleIcon, { className: "data-space__viewer__models-documentation__grid__cell__action__info" }) }) }), _jsx(DropdownMenu, { className: "data-space__viewer__models-documentation__grid__cell__action", menuProps: {
|
|
117
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
118
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
119
|
+
elevation: 7,
|
|
120
|
+
}, content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { disabled: true, children: "Preview Data" }) }), children: _jsx(MoreVerticalIcon, {}) })] })] }));
|
|
121
|
+
}
|
|
122
|
+
else if (data.entry instanceof DataSpaceBasicDocumentationEntry) {
|
|
123
|
+
const copyValue = () => {
|
|
124
|
+
applicationStore.clipboardService
|
|
125
|
+
.copyTextToClipboard(data.elementEntry.path + PROPERTY_ACCESSOR + data.entry.name)
|
|
126
|
+
.catch(applicationStore.alertUnhandledError);
|
|
127
|
+
};
|
|
128
|
+
return (_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell", title: `Enum: ${data.elementEntry.path}${PROPERTY_ACCESSOR}${data.entry.name}`, children: [_jsxs("div", { className: "data-space__viewer__models-documentation__grid__cell__label", children: [_jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__icon data-space__viewer__models-documentation__grid__cell__label__icon--enum", children: "e" }), _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__label__text", children: label })] }), _jsx("div", { className: "data-space__viewer__models-documentation__grid__cell__actions", children: _jsx(DropdownMenu, { className: "data-space__viewer__models-documentation__grid__cell__action", menuProps: {
|
|
129
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
130
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
131
|
+
elevation: 7,
|
|
132
|
+
}, content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { onClick: copyValue, children: "Copy Value" }) }), children: _jsx(MoreVerticalIcon, {}) }) })] }));
|
|
133
|
+
}
|
|
134
|
+
return null;
|
|
135
|
+
});
|
|
136
|
+
const ElementDocumentationCellRenderer = (params) => {
|
|
137
|
+
const data = params.data;
|
|
138
|
+
if (!data) {
|
|
139
|
+
return null;
|
|
140
|
+
}
|
|
141
|
+
return data.documentation.trim() ? (data.documentation) : (_jsx("div", { className: "data-space__viewer__grid__empty-cell", children: "No documentation provided" }));
|
|
142
|
+
};
|
|
143
|
+
const DataSpaceModelsDocumentationGridPanel = observer((props) => {
|
|
144
|
+
const { dataSpaceViewerState } = props;
|
|
145
|
+
const documentationState = dataSpaceViewerState.modelsDocumentationState;
|
|
146
|
+
return (_jsx("div", { className: clsx('data-space__viewer__models-documentation__grid data-space__viewer__grid ag-theme-balham-dark', {
|
|
147
|
+
'data-space__viewer__models-documentation__grid--shrink': documentationState.showFilterPanel,
|
|
148
|
+
}), children: _jsx(DataGrid, { rowData: documentationState.filteredSearchResults, overlayNoRowsTemplate: `<div class="data-space__viewer__grid--empty">No documentation found</div>`,
|
|
149
|
+
// highlight element row
|
|
150
|
+
getRowClass: (params) => params.data?.entry instanceof DataSpaceModelDocumentationEntry
|
|
151
|
+
? 'data-space__viewer__models-documentation__grid__element-row'
|
|
152
|
+
: undefined, alwaysShowVerticalScroll: true, gridOptions: {
|
|
153
|
+
suppressScrollOnNewData: true,
|
|
154
|
+
getRowId: (rowData) => rowData.data.uuid,
|
|
155
|
+
}, suppressFieldDotNotation: true, columnDefs: [
|
|
156
|
+
{
|
|
157
|
+
minWidth: 50,
|
|
158
|
+
sortable: true,
|
|
159
|
+
resizable: true,
|
|
160
|
+
cellRendererParams: {
|
|
161
|
+
dataSpaceViewerState,
|
|
162
|
+
},
|
|
163
|
+
cellRenderer: ElementContentCellRenderer,
|
|
164
|
+
headerName: 'Model',
|
|
165
|
+
flex: 1,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
minWidth: 50,
|
|
169
|
+
sortable: false,
|
|
170
|
+
resizable: true,
|
|
171
|
+
cellRendererParams: {
|
|
172
|
+
dataSpaceViewerState,
|
|
173
|
+
},
|
|
174
|
+
cellRenderer: SubElementDocContentCellRenderer,
|
|
175
|
+
headerName: '',
|
|
176
|
+
flex: 1,
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
minWidth: 50,
|
|
180
|
+
sortable: false,
|
|
181
|
+
resizable: false,
|
|
182
|
+
headerClass: 'data-space__viewer__grid__last-column-header',
|
|
183
|
+
cellRenderer: ElementDocumentationCellRenderer,
|
|
184
|
+
headerName: 'Documentation',
|
|
185
|
+
flex: 1,
|
|
186
|
+
wrapText: true,
|
|
187
|
+
autoHeight: true,
|
|
188
|
+
},
|
|
189
|
+
] }) }));
|
|
190
|
+
});
|
|
191
|
+
const getFilterTreeNodeIcon = (node) => {
|
|
192
|
+
if (node instanceof ModelsDocumentationFilterTreeElementNodeData) {
|
|
193
|
+
if (node.typePath === CORE_PURE_PATH.CLASS) {
|
|
194
|
+
return (_jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__type-icon data-space__viewer__models-documentation__filter__tree__node__type-icon--class", children: "C" }));
|
|
195
|
+
}
|
|
196
|
+
else if (node.typePath === CORE_PURE_PATH.ENUMERATION) {
|
|
197
|
+
return (_jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__type-icon data-space__viewer__models-documentation__filter__tree__node__type-icon--enumeration", children: "E" }));
|
|
198
|
+
}
|
|
199
|
+
else if (node.typePath === CORE_PURE_PATH.ASSOCIATION) {
|
|
200
|
+
return (_jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__type-icon data-space__viewer__models-documentation__filter__tree__node__type-icon--association", children: "A" }));
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
else if (node instanceof ModelsDocumentationFilterTreePackageNodeData) {
|
|
204
|
+
return (_jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__type-icon data-space__viewer__models-documentation__filter__tree__node__type-icon--package", children: _jsx(PackageIcon, {}) }));
|
|
205
|
+
}
|
|
206
|
+
else if (node instanceof ModelsDocumentationFilterTreeTypeNodeData) {
|
|
207
|
+
switch (node.typePath) {
|
|
208
|
+
case CORE_PURE_PATH.CLASS:
|
|
209
|
+
return (_jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__type-icon data-space__viewer__models-documentation__filter__tree__node__type-icon--class", children: "C" }));
|
|
210
|
+
case CORE_PURE_PATH.ENUMERATION:
|
|
211
|
+
return (_jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__type-icon data-space__viewer__models-documentation__filter__tree__node__type-icon--enumeration", children: "E" }));
|
|
212
|
+
case CORE_PURE_PATH.ASSOCIATION:
|
|
213
|
+
return (_jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__type-icon data-space__viewer__models-documentation__filter__tree__node__type-icon--association", children: "A" }));
|
|
214
|
+
default:
|
|
215
|
+
return undefined;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return undefined;
|
|
219
|
+
};
|
|
220
|
+
const getFilterNodeCount = (node, documentationState) => {
|
|
221
|
+
if (node instanceof ModelsDocumentationFilterTreeElementNodeData) {
|
|
222
|
+
return documentationState.searchResults.filter((result) => node.elementPath === result.elementEntry.path).length;
|
|
223
|
+
}
|
|
224
|
+
else if (node instanceof ModelsDocumentationFilterTreePackageNodeData) {
|
|
225
|
+
return documentationState.searchResults.filter((result) => node.packagePath === result.elementEntry.path ||
|
|
226
|
+
result.elementEntry.path.startsWith(`${node.packagePath}${ELEMENT_PATH_DELIMITER}`)).length;
|
|
227
|
+
}
|
|
228
|
+
else if (node instanceof ModelsDocumentationFilterTreeTypeNodeData) {
|
|
229
|
+
return node.typePath === CORE_PURE_PATH.CLASS
|
|
230
|
+
? documentationState.searchResults.filter((entry) => entry.elementEntry instanceof DataSpaceClassDocumentationEntry).length
|
|
231
|
+
: node.typePath === CORE_PURE_PATH.ENUMERATION
|
|
232
|
+
? documentationState.searchResults.filter((entry) => entry.elementEntry instanceof
|
|
233
|
+
DataSpaceEnumerationDocumentationEntry).length
|
|
234
|
+
: node.typePath === CORE_PURE_PATH.ASSOCIATION
|
|
235
|
+
? documentationState.searchResults.filter((entry) => entry.elementEntry instanceof
|
|
236
|
+
DataSpaceAssociationDocumentationEntry).length
|
|
237
|
+
: undefined;
|
|
238
|
+
}
|
|
239
|
+
else if (node instanceof ModelsDocumentationFilterTreeRootNodeData) {
|
|
240
|
+
return documentationState.searchResults.length;
|
|
241
|
+
}
|
|
242
|
+
return undefined;
|
|
243
|
+
};
|
|
244
|
+
const DataSpaceModelsDocumentationFilterTreeNodeContainer = observer((props) => {
|
|
245
|
+
const { node, level, innerProps } = props;
|
|
246
|
+
const { documentationState, refreshTreeData, uncheckTree, updateFilter } = innerProps;
|
|
247
|
+
const isExpandable = Boolean(node.childrenIds.length);
|
|
248
|
+
const expandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
|
249
|
+
const checkerIcon = node.checkType === ModelsDocumentationFilterTreeNodeCheckType.CHECKED ? (_jsx(CheckSquareIcon, {})) : node.checkType ===
|
|
250
|
+
ModelsDocumentationFilterTreeNodeCheckType.PARTIALLY_CHECKED ? (_jsx(MinusSquareIcon, {})) : (_jsx(EmptySquareIcon, {}));
|
|
251
|
+
const nodeCount = getFilterNodeCount(node, documentationState);
|
|
252
|
+
const toggleChecker = (event) => {
|
|
253
|
+
event.stopPropagation();
|
|
254
|
+
if (node.checkType === ModelsDocumentationFilterTreeNodeCheckType.CHECKED) {
|
|
255
|
+
uncheckFilterTreeNode(node);
|
|
256
|
+
}
|
|
257
|
+
else {
|
|
258
|
+
checkFilterTreeNode(node);
|
|
259
|
+
}
|
|
260
|
+
refreshTreeData();
|
|
261
|
+
updateFilter();
|
|
262
|
+
};
|
|
263
|
+
const toggleExpandNode = (event) => {
|
|
264
|
+
event.stopPropagation();
|
|
265
|
+
if (isExpandable) {
|
|
266
|
+
node.setIsOpen(!node.isOpen);
|
|
267
|
+
refreshTreeData();
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
const onNodeClick = () => {
|
|
271
|
+
uncheckTree();
|
|
272
|
+
checkFilterTreeNode(node);
|
|
273
|
+
if (isExpandable && !node.isOpen) {
|
|
274
|
+
node.setIsOpen(true);
|
|
275
|
+
}
|
|
276
|
+
refreshTreeData();
|
|
277
|
+
updateFilter();
|
|
278
|
+
};
|
|
279
|
+
return (_jsxs("div", { className: "tree-view__node__container data-space__viewer__models-documentation__filter__tree__node__container", style: {
|
|
280
|
+
paddingLeft: `${(level - 1) * 1.4}rem`,
|
|
281
|
+
display: 'flex',
|
|
282
|
+
}, onClick: onNodeClick, children: [_jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__expand-icon", onClick: toggleExpandNode, children: expandIcon }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__tree__node__checker", onClick: toggleChecker, children: checkerIcon }), getFilterTreeNodeIcon(node), _jsx("div", { className: "tree-view__node__label data-space__viewer__models-documentation__filter__tree__node__label", children: node.label }), nodeCount !== undefined && (_jsx("div", { className: "tree-view__node__label data-space__viewer__models-documentation__filter__tree__node__count", children: nodeCount }))] }));
|
|
283
|
+
});
|
|
284
|
+
const DataSpaceModelsDocumentationFilterPanel = observer((props) => {
|
|
285
|
+
const { dataSpaceViewerState } = props;
|
|
286
|
+
const documentationState = dataSpaceViewerState.modelsDocumentationState;
|
|
287
|
+
const resetAll = () => documentationState.resetAllFilters();
|
|
288
|
+
const resetTypeFilter = () => documentationState.resetTypeFilter();
|
|
289
|
+
const resetPackageFilter = () => documentationState.resetPackageFilter();
|
|
290
|
+
return (_jsxs("div", { className: "data-space__viewer__models-documentation__filter__panel", children: [_jsx("div", { className: "data-space__viewer__models-documentation__filter__group", children: _jsxs("div", { className: "data-space__viewer__models-documentation__filter__group__header", children: [_jsx("div", { className: "data-space__viewer__models-documentation__filter__group__header__label", children: "Filter" }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__group__header__actions", children: _jsx("button", { className: "data-space__viewer__models-documentation__filter__group__header__reset", tabIndex: -1, disabled: !documentationState.isFilterCustomized, onClick: resetAll, children: "Reset All" }) })] }) }), _jsxs("div", { className: "data-space__viewer__models-documentation__filter__group data-space__viewer__models-documentation__filter__group--by-type", children: [_jsxs("div", { className: "data-space__viewer__models-documentation__filter__group__header", children: [_jsx("div", { className: "data-space__viewer__models-documentation__filter__group__header__label", children: "Filter by Type" }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__group__header__actions", children: _jsx("button", { className: "data-space__viewer__models-documentation__filter__group__header__reset", tabIndex: -1, disabled: !documentationState.isTypeFilterCustomized, onClick: resetTypeFilter, children: "Reset" }) })] }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__group__content", children: _jsx(TreeView, { components: {
|
|
291
|
+
TreeNodeContainer: DataSpaceModelsDocumentationFilterTreeNodeContainer,
|
|
292
|
+
}, treeData: documentationState.typeFilterTreeData, getChildNodes: (node) => node.childrenIds
|
|
293
|
+
.map((id) => documentationState.typeFilterTreeData.nodes.get(id))
|
|
294
|
+
.filter(isNonNullable)
|
|
295
|
+
.sort((a, b) => a.label.localeCompare(b.label)), innerProps: {
|
|
296
|
+
documentationState,
|
|
297
|
+
refreshTreeData: () => documentationState.resetTypeFilterTreeData(),
|
|
298
|
+
uncheckTree: () => uncheckAllFilterTree(documentationState.typeFilterTreeData),
|
|
299
|
+
updateFilter: () => documentationState.updateTypeFilter(),
|
|
300
|
+
} }) })] }), _jsxs("div", { className: "data-space__viewer__models-documentation__filter__group data-space__viewer__models-documentation__filter__group--by-package", children: [_jsxs("div", { className: "data-space__viewer__models-documentation__filter__group__header", children: [_jsx("div", { className: "data-space__viewer__models-documentation__filter__group__header__label", children: "Filter by Package" }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__group__header__actions", children: _jsx("button", { className: "data-space__viewer__models-documentation__filter__group__header__reset", tabIndex: -1, disabled: !documentationState.isPackageFilterCustomized, onClick: resetPackageFilter, children: "Reset" }) })] }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__group__content", children: _jsx(TreeView, { components: {
|
|
301
|
+
TreeNodeContainer: DataSpaceModelsDocumentationFilterTreeNodeContainer,
|
|
302
|
+
}, treeData: documentationState.packageFilterTreeData, getChildNodes: (node) => node.childrenIds
|
|
303
|
+
.map((id) => documentationState.packageFilterTreeData.nodes.get(id))
|
|
304
|
+
.filter(isNonNullable)
|
|
305
|
+
.sort((a, b) => a.label.localeCompare(b.label)), innerProps: {
|
|
306
|
+
documentationState,
|
|
307
|
+
refreshTreeData: () => documentationState.resetPackageFilterTreeData(),
|
|
308
|
+
uncheckTree: () => uncheckAllFilterTree(documentationState.packageFilterTreeData),
|
|
309
|
+
updateFilter: () => documentationState.updatePackageFilter(),
|
|
310
|
+
} }) })] })] }));
|
|
311
|
+
});
|
|
312
|
+
const DataSpaceModelsDocumentationSearchBar = observer((props) => {
|
|
313
|
+
const { dataSpaceViewerState } = props;
|
|
314
|
+
const searchInputRef = useRef(null);
|
|
315
|
+
const searchConfigTriggerRef = useRef(null);
|
|
316
|
+
const documentationState = dataSpaceViewerState.modelsDocumentationState;
|
|
317
|
+
const searchText = documentationState.searchText;
|
|
318
|
+
const debouncedSearch = useMemo(() => debounce(() => documentationState.search(), 100), [documentationState]);
|
|
319
|
+
const onSearchTextChange = (event) => {
|
|
320
|
+
documentationState.setSearchText(event.target.value);
|
|
321
|
+
debouncedSearch.cancel();
|
|
322
|
+
debouncedSearch();
|
|
323
|
+
};
|
|
324
|
+
// actions
|
|
325
|
+
const clearSearchText = () => {
|
|
326
|
+
documentationState.resetSearch();
|
|
327
|
+
searchInputRef.current?.focus();
|
|
328
|
+
};
|
|
329
|
+
const toggleSearchConfigMenu = () => documentationState.setShowSearchConfigurationMenu(!documentationState.showSearchConfigurationMenu);
|
|
330
|
+
const onKeyDown = (event) => {
|
|
331
|
+
if (event.code === 'Escape') {
|
|
332
|
+
searchInputRef.current?.select();
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
// search config menu
|
|
336
|
+
const closeSearchConfigMenu = () => documentationState.setShowSearchConfigurationMenu(false);
|
|
337
|
+
const onSearchConfigMenuOpen = () => searchInputRef.current?.focus();
|
|
338
|
+
return (_jsxs("div", { className: "data-space__viewer__models-documentation__search", children: [_jsx("input", { ref: searchInputRef, onKeyDown: onKeyDown, className: "data-space__viewer__models-documentation__search__input input--dark", spellCheck: false, onChange: onSearchTextChange, value: searchText, placeholder: "Search documentation" }), _jsx("button", { ref: searchConfigTriggerRef, className: clsx('data-space__viewer__models-documentation__search__input__config__trigger', {
|
|
339
|
+
'data-space__viewer__models-documentation__search__input__config__trigger--toggled': documentationState.showSearchConfigurationMenu,
|
|
340
|
+
'data-space__viewer__models-documentation__search__input__config__trigger--active': documentationState.searchConfigurationState
|
|
341
|
+
.isAdvancedSearchActive,
|
|
342
|
+
}), tabIndex: -1, onClick: toggleSearchConfigMenu, title: `${documentationState.searchConfigurationState.isAdvancedSearchActive
|
|
343
|
+
? 'Advanced search is currently active\n'
|
|
344
|
+
: ''}Click to toggle search config menu`, children: _jsx(CogIcon, {}) }), _jsx(BasePopover, { open: Boolean(documentationState.showSearchConfigurationMenu), TransitionProps: {
|
|
345
|
+
onEnter: onSearchConfigMenuOpen,
|
|
346
|
+
}, anchorEl: searchConfigTriggerRef.current, onClose: closeSearchConfigMenu, anchorOrigin: {
|
|
347
|
+
vertical: 'bottom',
|
|
348
|
+
horizontal: 'center',
|
|
349
|
+
}, transformOrigin: {
|
|
350
|
+
vertical: 'top',
|
|
351
|
+
horizontal: 'center',
|
|
352
|
+
}, children: _jsx(FuzzySearchAdvancedConfigMenu, { configState: documentationState.searchConfigurationState }) }), !searchText ? (_jsx("div", { className: "data-space__viewer__models-documentation__search__input__search__icon", children: _jsx(SearchIcon, {}) })) : (_jsx("button", { className: "data-space__viewer__models-documentation__search__input__clear-btn", tabIndex: -1, onClick: clearSearchText, title: "Clear", children: _jsx(TimesIcon, {}) }))] }));
|
|
353
|
+
});
|
|
23
354
|
export const DataSpaceModelsDocumentation = observer((props) => {
|
|
24
355
|
const { dataSpaceViewerState } = props;
|
|
25
356
|
const documentationEntries = dataSpaceViewerState.dataSpaceAnalysisResult.elementDocs;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}, modules: [ClientSideRowModelModule], suppressFieldDotNotation: true, columnDefs: [
|
|
30
|
-
{
|
|
31
|
-
minWidth: 50,
|
|
32
|
-
sortable: true,
|
|
33
|
-
resizable: true,
|
|
34
|
-
field: 'elementPath',
|
|
35
|
-
headerName: 'Model',
|
|
36
|
-
flex: 1,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
minWidth: 50,
|
|
40
|
-
sortable: false,
|
|
41
|
-
resizable: true,
|
|
42
|
-
field: 'subElementText',
|
|
43
|
-
headerName: '',
|
|
44
|
-
flex: 1,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
minWidth: 50,
|
|
48
|
-
sortable: false,
|
|
49
|
-
resizable: true,
|
|
50
|
-
field: 'doc',
|
|
51
|
-
headerName: 'Documentation',
|
|
52
|
-
flex: 1,
|
|
53
|
-
wrapText: true,
|
|
54
|
-
autoHeight: true,
|
|
55
|
-
},
|
|
56
|
-
] }) })] })), documentationEntries.length === 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "No documentation provided" }))] })] }));
|
|
357
|
+
const documentationState = dataSpaceViewerState.modelsDocumentationState;
|
|
358
|
+
const toggleFilterPanel = () => documentationState.setShowFilterPanel(!documentationState.showFilterPanel);
|
|
359
|
+
return (_jsxs("div", { className: "data-space__viewer__wiki__section", children: [_jsx("div", { className: "data-space__viewer__wiki__section__header", children: _jsxs("div", { className: "data-space__viewer__wiki__section__header__label", children: ["Models Documentation", _jsx("div", { className: "data-space__viewer__wiki__section__header__anchor", children: _jsx(AnchorLinkIcon, {}) })] }) }), _jsxs("div", { className: "data-space__viewer__wiki__section__content", children: [documentationEntries.length > 0 && (_jsxs("div", { className: "data-space__viewer__models-documentation", children: [_jsxs("div", { className: "data-space__viewer__models-documentation__header", children: [_jsxs("button", { className: "data-space__viewer__models-documentation__filter__toggler", title: "Toggle Filter Panel", tabIndex: -1, onClick: toggleFilterPanel, children: [_jsx("div", { className: "data-space__viewer__models-documentation__filter__toggler__arrow", children: documentationState.showFilterPanel ? (_jsx(CaretLeftIcon, {})) : (_jsx(CaretRightIcon, {})) }), _jsx("div", { className: "data-space__viewer__models-documentation__filter__toggler__icon", children: _jsx(FilterIcon, {}) })] }), _jsx(DataSpaceModelsDocumentationSearchBar, { dataSpaceViewerState: dataSpaceViewerState })] }), _jsxs("div", { className: "data-space__viewer__models-documentation__content", children: [documentationState.showFilterPanel && (_jsx(DataSpaceModelsDocumentationFilterPanel, { dataSpaceViewerState: dataSpaceViewerState })), _jsx(DataSpaceModelsDocumentationGridPanel, { dataSpaceViewerState: dataSpaceViewerState })] })] })), documentationEntries.length === 0 && (_jsx(DataSpaceWikiPlaceholder, { message: "No documentation provided" }))] })] }));
|
|
57
360
|
});
|
|
58
361
|
//# sourceMappingURL=DataSpaceModelsDocumentation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceModelsDocumentation.js","sourceRoot":"","sources":["../../src/components/DataSpaceModelsDocumentation.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAErE,MAAM,CAAC,MAAM,4BAA4B,GAAG,QAAQ,CAClD,CAAC,KAAqD,EAAE,EAAE;IACxD,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IACvC,MAAM,oBAAoB,GACxB,oBAAoB,CAAC,uBAAuB,CAAC,WAAW,CAAC;IAE3D,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAChD,cAAK,SAAS,EAAC,2CAA2C,YACxD,eAAK,SAAS,EAAC,kDAAkD,qCAE/D,cAAK,SAAS,EAAC,mDAAmD,YAChE,KAAC,cAAc,KAAG,GACd,IACF,GACF,EACN,eAAK,SAAS,EAAC,4CAA4C,aACxD,oBAAoB,CAAC,MAAM,GAAG,CAAC,IAAI,CAClC,eAAK,SAAS,EAAC,0CAA0C,aACvD,cAAK,SAAS,EAAC,kDAAkD,YAC/D,eAAK,SAAS,EAAC,+DAA+D,aAC5E,gBAAO,SAAS,EAAC,4EAA4E,GAAG,EAChG,cAAK,SAAS,EAAC,qEAAqE,YAClF,KAAC,UAAU,KAAG,GACV,IACF,GACF,EACN,cAAK,SAAS,EAAC,8FAA8F,YAC3G,KAAC,WAAW,IACV,OAAO,EAAE,oBAAoB,EAC7B,WAAW,EAAE;wCACX,uBAAuB,EAAE,IAAI;wCAC7B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI;qCACzC,EACD,OAAO,EAAE,CAAC,wBAAwB,CAAC,EACnC,wBAAwB,EAAE,IAAI,EAC9B,UAAU,EAAE;wCACV;4CACE,QAAQ,EAAE,EAAE;4CACZ,QAAQ,EAAE,IAAI;4CACd,SAAS,EAAE,IAAI;4CACf,KAAK,EAAE,aAAa;4CACpB,UAAU,EAAE,OAAO;4CACnB,IAAI,EAAE,CAAC;yCACR;wCACD;4CACE,QAAQ,EAAE,EAAE;4CACZ,QAAQ,EAAE,KAAK;4CACf,SAAS,EAAE,IAAI;4CACf,KAAK,EAAE,gBAAgB;4CACvB,UAAU,EAAE,EAAE;4CACd,IAAI,EAAE,CAAC;yCACR;wCACD;4CACE,QAAQ,EAAE,EAAE;4CACZ,QAAQ,EAAE,KAAK;4CACf,SAAS,EAAE,IAAI;4CACf,KAAK,EAAE,KAAK;4CACZ,UAAU,EAAE,eAAe;4CAC3B,IAAI,EAAE,CAAC;4CACP,QAAQ,EAAE,IAAI;4CACd,UAAU,EAAE,IAAI;yCACjB;qCACF,GACD,GACE,IACF,CACP,EACA,oBAAoB,CAAC,MAAM,KAAK,CAAC,IAAI,CACpC,KAAC,wBAAwB,IAAC,OAAO,EAAC,2BAA2B,GAAG,CACjE,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"DataSpaceModelsDocumentation.js","sourceRoot":"","sources":["../../src/components/DataSpaceModelsDocumentation.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,OAAO,EACP,YAAY,EACZ,UAAU,EACV,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT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AAC,kDAAkD,qCAE/D,cAAK,SAAS,EAAC,mDAAmD,YAChE,KAAC,cAAc,KAAG,GACd,IACF,GACF,EACN,eAAK,SAAS,EAAC,4CAA4C,aACxD,oBAAoB,CAAC,MAAM,GAAG,CAAC,IAAI,CAClC,eAAK,SAAS,EAAC,0CAA0C,aACvD,eAAK,SAAS,EAAC,kDAAkD,aAC/D,kBACE,SAAS,EAAC,2DAA2D,EACrE,KAAK,EAAC,qBAAqB,EAC3B,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,iBAAiB,aAE1B,cAAK,SAAS,EAAC,kEAAkE,YAC9E,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAC,CACpC,KAAC,aAAa,KAAG,CAClB,CAAC,CAAC,CAAC,CACF,KAAC,cAAc,KAAG,CACnB,GACG,EACN,cAAK,SAAS,EAAC,iEAAiE,YAC9E,KAAC,UAAU,KAAG,GACV,IACC,EACT,KAAC,qCAAqC,IACpC,oBAAoB,EAAE,oBAAoB,GAC1C,IACE,EACN,eAAK,SAAS,EAAC,mDAAmD,aAC/D,kBAAkB,CAAC,eAAe,IAAI,CACrC,KAAC,uCAAuC,IACtC,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACD,KAAC,qCAAqC,IACpC,oBAAoB,EAAE,oBAAoB,GAC1C,IACE,IACF,CACP,EACA,oBAAoB,CAAC,MAAM,KAAK,CAAC,IAAI,CACpC,KAAC,wBAAwB,IAAC,OAAO,EAAC,2BAA2B,GAAG,CACjE,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuickStart.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQuickStart.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAYH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceQuickStart.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQuickStart.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAYH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAwW9E,eAAO,MAAM,mBAAmB,WACtB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAmDvD,CAAC"}
|
|
@@ -15,27 +15,43 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
|
-
import { AnchorLinkIcon, CodeIcon, CopyIcon,
|
|
18
|
+
import { AnchorLinkIcon, CodeIcon, CopyIcon, LegendLogo, MoreVerticalIcon, QuestionCircleIcon, clsx, } from '@finos/legend-art';
|
|
19
19
|
import {} from '../stores/DataSpaceViewerState.js';
|
|
20
|
-
import {
|
|
21
|
-
import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-model';
|
|
22
|
-
import { EDITOR_LANGUAGE, TextInputEditor, useApplicationStore, } from '@finos/legend-application';
|
|
20
|
+
import { CODE_EDITOR_LANGUAGE, useApplicationStore, } from '@finos/legend-application';
|
|
23
21
|
import { DataSpaceExecutableTDSResult, } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
24
22
|
import { DataSpaceMarkdownTextViewer } from './DataSpaceMarkdownTextViewer.js';
|
|
25
23
|
import { useState } from 'react';
|
|
26
24
|
import { DataSpaceWikiPlaceholder } from './DataSpacePlaceholder.js';
|
|
25
|
+
import { DataGrid, } from '@finos/legend-lego/data-grid';
|
|
26
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
|
27
27
|
var TDS_EXECUTABLE_ACTION_TAB;
|
|
28
28
|
(function (TDS_EXECUTABLE_ACTION_TAB) {
|
|
29
29
|
TDS_EXECUTABLE_ACTION_TAB["COLUMN_SPECS"] = "COLUMN_SPECS";
|
|
30
30
|
TDS_EXECUTABLE_ACTION_TAB["QUERY"] = "QUERY";
|
|
31
31
|
TDS_EXECUTABLE_ACTION_TAB["QUERY_TEXT"] = "QUERY_TEXT";
|
|
32
32
|
})(TDS_EXECUTABLE_ACTION_TAB || (TDS_EXECUTABLE_ACTION_TAB = {}));
|
|
33
|
+
const MIN_NUMBER_OF_ROWS_FOR_AUTO_HEIGHT = 15;
|
|
34
|
+
const TDSColumnDocumentationCellRenderer = (params) => {
|
|
35
|
+
const data = params.data;
|
|
36
|
+
if (!data) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return data.documentation?.trim() ? (data.documentation) : (_jsx("div", { className: "data-space__viewer__grid__empty-cell", children: "No documentation provided" }));
|
|
40
|
+
};
|
|
41
|
+
const TDSColumnSampleValuesCellRenderer = (params) => {
|
|
42
|
+
const data = params.data;
|
|
43
|
+
if (!data) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return data.sampleValues?.trim() ? (data.sampleValues) : (_jsx("div", { className: "data-space__viewer__grid__empty-cell", children: "No sample values provided" }));
|
|
47
|
+
};
|
|
33
48
|
const DataSpaceExecutableTDSResultView = observer((props) => {
|
|
34
49
|
const { dataSpaceViewerState, executableAnalysisResult, tdsResult } = props;
|
|
35
50
|
const applicationStore = useApplicationStore();
|
|
36
51
|
const [selectedTab, setSelectedTab] = useState(TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS);
|
|
37
52
|
const queryText = executableAnalysisResult.info?.query;
|
|
38
53
|
const columnSpecifications = tdsResult.columns;
|
|
54
|
+
const autoHeight = tdsResult.columns.length <= MIN_NUMBER_OF_ROWS_FOR_AUTO_HEIGHT;
|
|
39
55
|
const extractTDSExecutableActionConfigurations = applicationStore.pluginManager
|
|
40
56
|
.getApplicationPlugins()
|
|
41
57
|
.flatMap((plugin) => plugin.getExtraDataSpaceTDSExecutableActionConfigurations?.() ?? []);
|
|
@@ -44,27 +60,31 @@ const DataSpaceExecutableTDSResultView = observer((props) => {
|
|
|
44
60
|
'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS,
|
|
45
61
|
}), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS), children: _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: "Column Specifications" }) }), _jsxs("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
|
|
46
62
|
'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY,
|
|
47
|
-
}), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.QUERY), children: [_jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: _jsx(
|
|
63
|
+
}), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.QUERY), children: [_jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: _jsx(LegendLogo, { className: "data-space__viewer__quickstart__item__content__tab__icon--query" }) }), _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: "Query" })] }), extractTDSExecutableActionConfigurations.map((config) => (_jsxs("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
|
|
48
64
|
'data-space__viewer__quickstart__item__content__tab--active': selectedTab === config.key,
|
|
49
65
|
}), tabIndex: -1, onClick: () => setSelectedTab(config.key), children: [config.icon !== undefined && (_jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: config.icon })), _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__label", children: config.title })] }, config.key)))] }), queryText !== undefined && (_jsx("button", { className: clsx('data-space__viewer__quickstart__item__content__tab', {
|
|
50
66
|
'data-space__viewer__quickstart__item__content__tab--active': selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT,
|
|
51
|
-
}), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT), children: _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: _jsx(CodeIcon, { className: "data-space__viewer__quickstart__item__content__tab__icon--query" }) }) }))] }), _jsxs("div", { className:
|
|
67
|
+
}), tabIndex: -1, onClick: () => setSelectedTab(TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT), children: _jsx("div", { className: "data-space__viewer__quickstart__item__content__tab__icon", children: _jsx(CodeIcon, { className: "data-space__viewer__quickstart__item__content__tab__icon--query" }) }) }))] }), _jsxs("div", { className: clsx('data-space__viewer__quickstart__item__content__tab__content', {
|
|
68
|
+
'data-space__viewer__quickstart__item__content__tab__content': autoHeight,
|
|
69
|
+
}), children: [selectedTab === TDS_EXECUTABLE_ACTION_TAB.COLUMN_SPECS && (_jsx("div", { className: "data-space__viewer__quickstart__tds__column-specs data-space__viewer__grid ag-theme-balham-dark", children: _jsx(DataGrid, { domLayout: autoHeight ? 'autoHeight' : 'normal', rowData: columnSpecifications, gridOptions: {
|
|
52
70
|
suppressScrollOnNewData: true,
|
|
53
71
|
getRowId: (rowData) => rowData.data.uuid,
|
|
54
|
-
},
|
|
72
|
+
}, suppressFieldDotNotation: true, columnDefs: [
|
|
55
73
|
{
|
|
56
74
|
minWidth: 50,
|
|
57
75
|
sortable: true,
|
|
58
76
|
resizable: true,
|
|
59
77
|
field: 'name',
|
|
60
|
-
|
|
78
|
+
headerValueGetter: () => `Column ${columnSpecifications.length
|
|
79
|
+
? ` (${columnSpecifications.length})`
|
|
80
|
+
: ''}`,
|
|
61
81
|
flex: 1,
|
|
62
82
|
},
|
|
63
83
|
{
|
|
64
84
|
minWidth: 50,
|
|
65
85
|
sortable: false,
|
|
66
86
|
resizable: true,
|
|
67
|
-
|
|
87
|
+
cellRenderer: TDSColumnDocumentationCellRenderer,
|
|
68
88
|
headerName: 'Documentation',
|
|
69
89
|
flex: 1,
|
|
70
90
|
wrapText: true,
|
|
@@ -73,15 +93,16 @@ const DataSpaceExecutableTDSResultView = observer((props) => {
|
|
|
73
93
|
{
|
|
74
94
|
minWidth: 50,
|
|
75
95
|
sortable: false,
|
|
76
|
-
resizable:
|
|
77
|
-
|
|
96
|
+
resizable: false,
|
|
97
|
+
headerClass: 'data-space__viewer__grid__last-column-header',
|
|
98
|
+
cellRenderer: TDSColumnSampleValuesCellRenderer,
|
|
78
99
|
headerName: 'Sample Values',
|
|
79
100
|
flex: 1,
|
|
80
101
|
},
|
|
81
102
|
] }) })), selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY && (_jsx("div", { className: "data-space__viewer__quickstart__tds__query", children: _jsxs("div", { className: "data-space__viewer__quickstart__tds__query__actions", children: [_jsx("button", { className: "data-space__viewer__quickstart__tds__query__action btn--dark", tabIndex: -1, onClick: () => {
|
|
82
103
|
// TODO: wire this so we can go to the query for the service
|
|
83
104
|
}, children: "Open in Query" }), _jsx("button", { className: "data-space__viewer__quickstart__tds__query__action btn--dark", tabIndex: -1, disabled: true, children: "Open in Query with Test Data" })] }) })), selectedTab === TDS_EXECUTABLE_ACTION_TAB.QUERY_TEXT &&
|
|
84
|
-
queryText !== undefined && (_jsxs("div", { className: "data-space__viewer__quickstart__tds__query-text", children: [_jsx("div", { className: "data-space__viewer__quickstart__tds__query-text__content", children: _jsx(
|
|
105
|
+
queryText !== undefined && (_jsxs("div", { className: "data-space__viewer__quickstart__tds__query-text", children: [_jsx("div", { className: "data-space__viewer__quickstart__tds__query-text__content", children: _jsx(CodeEditor, { inputValue: queryText, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE, showMiniMap: false, hideGutter: true }) }), _jsxs("div", { className: "data-space__viewer__quickstart__tds__query-text__actions", children: [_jsx("button", { className: "data-space__viewer__quickstart__tds__query-text__action", tabIndex: -1, title: "Copy", onClick: () => {
|
|
85
106
|
applicationStore.clipboardService
|
|
86
107
|
.copyTextToClipboard(queryText)
|
|
87
108
|
.catch(applicationStore.alertUnhandledError);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuickStart.js","sourceRoot":"","sources":["../../src/components/DataSpaceQuickStart.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"DataSpaceQuickStart.js","sourceRoot":"","sources":["../../src/components/DataSpaceQuickStart.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA6B,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,4BAA4B,GAG7B,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EACL,QAAQ,GAET,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D,IAAK,yBAIJ;AAJD,WAAK,yBAAyB;IAC5B,0DAA6B,CAAA;IAC7B,4CAAe,CAAA;IACf,sDAAyB,CAAA;AAC3B,CAAC,EAJI,yBAAyB,KAAzB,yBAAyB,QAI7B;AAED,MAAM,kCAAkC,GAAG,EAAE,CAAC;AAE9C,MAAM,kCAAkC,GAAG,CACzC,MAAsE,EACrD,EAAE;IACnB,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACzB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