@finos/legend-extension-dsl-data-space 0.2.0 → 1.0.4
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/CHANGELOG.md +20 -0
- package/lib/DSLDataSpace_Extension.d.ts +0 -10
- package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
- package/lib/DSLDataSpace_Extension.js +0 -24
- package/lib/DSLDataSpace_Extension.js.map +1 -1
- package/lib/components/DataSpaceViewer.js +17 -17
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/{DSLDataSpace_QueryPlugin.d.ts → DSLDataSpace_LegendQueryPlugin.d.ts} +4 -5
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +1 -0
- package/lib/components/query/{DSLDataSpace_QueryPlugin.js → DSLDataSpace_LegendQueryPlugin.js} +4 -7
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +1 -0
- package/lib/components/query/DataSpaceQuerySetup.js +7 -7
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/{DSLDataSpace_StudioPlugin.d.ts → DSLDataSpace_LegendStudioPlugin.d.ts} +4 -6
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +1 -0
- package/lib/components/studio/{DSLDataSpace_StudioPlugin.js → DSLDataSpace_LegendStudioPlugin.js} +4 -22
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -0
- package/lib/graph/DSLDataSpace_PureGraphPlugin.d.ts +1 -2
- package/lib/graph/DSLDataSpace_PureGraphPlugin.d.ts.map +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js +0 -3
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts +1 -2
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +0 -3
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +5 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +2 -3
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +5 -8
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +2 -0
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +15 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +19 -20
- package/src/DSLDataSpace_Extension.ts +0 -30
- package/src/components/query/{DSLDataSpace_QueryPlugin.tsx → DSLDataSpace_LegendQueryPlugin.tsx} +2 -7
- package/src/components/query/DataSpaceQuerySetup.tsx +2 -2
- package/src/components/studio/{DSLDataSpace_StudioPlugin.tsx → DSLDataSpace_LegendStudioPlugin.tsx} +5 -27
- package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -8
- package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +0 -5
- package/src/index.ts +12 -0
- package/src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +5 -10
- package/src/stores/query/DataSpaceQuerySetupState.ts +31 -0
- package/tsconfig.json +2 -7
- package/lib/components/query/DSLDataSpace_QueryPlugin.d.ts.map +0 -1
- package/lib/components/query/DSLDataSpace_QueryPlugin.js.map +0 -1
- package/lib/components/studio/DSLDataSpace_StudioPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSLDataSpace_StudioPlugin.js.map +0 -1
- package/lib/components/studio/EnterpriseModelExplorer.d.ts +0 -21
- package/lib/components/studio/EnterpriseModelExplorer.d.ts.map +0 -1
- package/lib/components/studio/EnterpriseModelExplorer.js +0 -70
- package/lib/components/studio/EnterpriseModelExplorer.js.map +0 -1
- package/lib/components/studio/EnterpriseModelExplorerStoreProvider.d.ts +0 -21
- package/lib/components/studio/EnterpriseModelExplorerStoreProvider.d.ts.map +0 -1
- package/lib/components/studio/EnterpriseModelExplorerStoreProvider.js +0 -35
- package/lib/components/studio/EnterpriseModelExplorerStoreProvider.js.map +0 -1
- package/lib/components/studio/TaxonomyTree.d.ts +0 -23
- package/lib/components/studio/TaxonomyTree.d.ts.map +0 -1
- package/lib/components/studio/TaxonomyTree.js +0 -78
- package/lib/components/studio/TaxonomyTree.js.map +0 -1
- package/lib/components/studio/TaxonomyViewer.d.ts +0 -22
- package/lib/components/studio/TaxonomyViewer.d.ts.map +0 -1
- package/lib/components/studio/TaxonomyViewer.js +0 -59
- package/lib/components/studio/TaxonomyViewer.js.map +0 -1
- package/lib/stores/studio/EnterpriseModelExplorerStore.d.ts +0 -93
- package/lib/stores/studio/EnterpriseModelExplorerStore.d.ts.map +0 -1
- package/lib/stores/studio/EnterpriseModelExplorerStore.js +0 -300
- package/lib/stores/studio/EnterpriseModelExplorerStore.js.map +0 -1
- package/src/components/studio/EnterpriseModelExplorer.tsx +0 -229
- package/src/components/studio/EnterpriseModelExplorerStoreProvider.tsx +0 -61
- package/src/components/studio/TaxonomyTree.tsx +0 -179
- package/src/components/studio/TaxonomyViewer.tsx +0 -187
- package/src/stores/studio/EnterpriseModelExplorerStore.tsx +0 -514
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @finos/legend-extension-dsl-data-space
|
|
2
2
|
|
|
3
|
+
## 1.0.4
|
|
4
|
+
|
|
5
|
+
## 1.0.3
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#707](https://github.com/finos/legend-studio/pull/707) [`5d9912d9`](https://github.com/finos/legend-studio/commit/5d9912d9a2c883e23d8852325a25fe59ae7597b1) ([@akphi](https://github.com/akphi)) - Add information about the dataspace where a query is created from using query tagged value.
|
|
10
|
+
|
|
11
|
+
## 1.0.2
|
|
12
|
+
|
|
13
|
+
## 1.0.1
|
|
14
|
+
|
|
15
|
+
## 1.0.0
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- [#692](https://github.com/finos/legend-studio/pull/692) [`caab0e67`](https://github.com/finos/legend-studio/commit/caab0e6772181e514b246fe6030a02e7169952cc) ([@akphi](https://github.com/akphi)) - **BREAKING CHANGE:** Move enterprise model explorer out to `@finos/legend-taxonomy` and create a new application `Legend Taxonomy`.
|
|
20
|
+
|
|
21
|
+
* [#692](https://github.com/finos/legend-studio/pull/692) [`caab0e67`](https://github.com/finos/legend-studio/commit/caab0e6772181e514b246fe6030a02e7169952cc) ([@akphi](https://github.com/akphi)) - **BREAKING CHANGE:** Remove `LegendStudioPreset` and `LegendQueryPreset` and expose `LegendStudioPlugin` and `LegendQueryPlugin` respectively as we now prefer the usage of `@finos/legend-graph-extension-collection` to better manage graph presets.
|
|
22
|
+
|
|
3
23
|
## 0.2.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -15,18 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { AbstractPreset } from '@finos/legend-shared';
|
|
17
17
|
import type { GraphPluginManager } from '@finos/legend-graph';
|
|
18
|
-
import type { StudioPluginManager } from '@finos/legend-studio';
|
|
19
|
-
import type { QueryPluginManager } from '@finos/legend-query';
|
|
20
18
|
export declare class DSLDataSpace_GraphPreset extends AbstractPreset {
|
|
21
19
|
constructor();
|
|
22
20
|
install(pluginManager: GraphPluginManager): void;
|
|
23
21
|
}
|
|
24
|
-
export declare class DSLDataSpace_StudioPreset extends AbstractPreset {
|
|
25
|
-
constructor();
|
|
26
|
-
install(pluginManager: StudioPluginManager): void;
|
|
27
|
-
}
|
|
28
|
-
export declare class DSLDataSpace_QueryPreset extends AbstractPreset {
|
|
29
|
-
constructor();
|
|
30
|
-
install(pluginManager: QueryPluginManager): void;
|
|
31
|
-
}
|
|
32
22
|
//# sourceMappingURL=DSLDataSpace_Extension.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_Extension.d.ts","sourceRoot":"","sources":["../src/DSLDataSpace_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_Extension.d.ts","sourceRoot":"","sources":["../src/DSLDataSpace_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAG9D,qBAAa,wBAAyB,SAAQ,cAAc;;IAK1D,OAAO,CAAC,aAAa,EAAE,kBAAkB,GAAG,IAAI;CAKjD"}
|
|
@@ -17,9 +17,7 @@ import packageJson from '../package.json';
|
|
|
17
17
|
import { AbstractPreset } from '@finos/legend-shared';
|
|
18
18
|
import { DSLDataSpace_PureGraphManagerPlugin } from './graphManager/DSLDataSpace_PureGraphManagerPlugin';
|
|
19
19
|
import { DSLDataSpace_PureProtocolProcessorPlugin } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
20
|
-
import { DSLDataSpace_StudioPlugin } from './components/studio/DSLDataSpace_StudioPlugin';
|
|
21
20
|
import { DSLDataSpace_PureGraphPlugin } from './graph/DSLDataSpace_PureGraphPlugin';
|
|
22
|
-
import { DSLDataSpace_QueryPlugin } from './components/query/DSLDataSpace_QueryPlugin';
|
|
23
21
|
export class DSLDataSpace_GraphPreset extends AbstractPreset {
|
|
24
22
|
constructor() {
|
|
25
23
|
super(packageJson.extensions.graphPreset, packageJson.version);
|
|
@@ -30,26 +28,4 @@ export class DSLDataSpace_GraphPreset extends AbstractPreset {
|
|
|
30
28
|
new DSLDataSpace_PureProtocolProcessorPlugin().install(pluginManager);
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
|
-
export class DSLDataSpace_StudioPreset extends AbstractPreset {
|
|
34
|
-
constructor() {
|
|
35
|
-
super(packageJson.extensions.studioPreset, packageJson.version);
|
|
36
|
-
}
|
|
37
|
-
install(pluginManager) {
|
|
38
|
-
new DSLDataSpace_StudioPlugin().install(pluginManager);
|
|
39
|
-
new DSLDataSpace_PureGraphPlugin().install(pluginManager);
|
|
40
|
-
new DSLDataSpace_PureGraphManagerPlugin().install(pluginManager);
|
|
41
|
-
new DSLDataSpace_PureProtocolProcessorPlugin().install(pluginManager);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export class DSLDataSpace_QueryPreset extends AbstractPreset {
|
|
45
|
-
constructor() {
|
|
46
|
-
super(packageJson.extensions.studioPreset, packageJson.version);
|
|
47
|
-
}
|
|
48
|
-
install(pluginManager) {
|
|
49
|
-
new DSLDataSpace_QueryPlugin().install(pluginManager);
|
|
50
|
-
new DSLDataSpace_PureGraphPlugin().install(pluginManager);
|
|
51
|
-
new DSLDataSpace_PureGraphManagerPlugin().install(pluginManager);
|
|
52
|
-
new DSLDataSpace_PureProtocolProcessorPlugin().install(pluginManager);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
31
|
//# sourceMappingURL=DSLDataSpace_Extension.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_Extension.js","sourceRoot":"","sources":["../src/DSLDataSpace_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,EAAE,wCAAwC,EAAE,MAAM,kEAAkE,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_Extension.js","sourceRoot":"","sources":["../src/DSLDataSpace_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,EAAE,wCAAwC,EAAE,MAAM,kEAAkE,CAAC;AAE5H,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAEpF,MAAM,OAAO,wBAAyB,SAAQ,cAAc;IAC1D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,CAAC,aAAiC;QACvC,IAAI,4BAA4B,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC1D,IAAI,mCAAmC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QACjE,IAAI,wCAAwC,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IACxE,CAAC;CACF"}
|
|
@@ -64,11 +64,11 @@ const DataSpaceModelsOverview = observer((props) => {
|
|
|
64
64
|
dataSpaceViewerState.setCurrentDiagram(option.value);
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
const formatDiagramOptionLabel = (option) => (_jsxs("div",
|
|
67
|
+
const formatDiagramOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__diagrams__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__diagrams__dropdown__option__label", children: option.label }, void 0), dataSpaceViewerState.featuredDiagrams.includes(option.value) && (_jsx("div", { className: "data-space__viewer__diagrams__dropdown__option__tag", children: "featured" }, void 0))] }, void 0));
|
|
68
68
|
if (dataSpaceViewerState.diagrams.length === 0) {
|
|
69
69
|
return _jsx(BlankPanelContent, { children: "No diagrams available" }, void 0);
|
|
70
70
|
}
|
|
71
|
-
return (_jsxs("div",
|
|
71
|
+
return (_jsxs("div", { className: "data-space__viewer__main-panel__content data-space__viewer__diagrams", children: [_jsx("div", { className: "data-space__viewer__diagrams__header", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__diagrams__diagram-selector", options: diagramOptions, onChange: onDiagramOptionChange, value: selectedDiagramOption, placeholder: "Search for a diagram", darkMode: true, formatOptionLabel: formatDiagramOptionLabel }, void 0) }, void 0), _jsx("div", { className: "data-space__viewer__diagrams__content", children: dataSpaceViewerState.currentDiagram && (_jsx(DataSpaceDiagramCanvas, { dataSpaceViewerState: dataSpaceViewerState, diagram: dataSpaceViewerState.currentDiagram, ref: diagramCanvasRef }, void 0)) }, void 0), _jsx("div", { className: "data-space__viewer__diagrams__footer" }, void 0)] }, void 0));
|
|
72
72
|
});
|
|
73
73
|
const buildExecutionContextOption = (value) => ({
|
|
74
74
|
label: value.name,
|
|
@@ -88,8 +88,8 @@ const DataSpaceExecutionViewer = observer((props) => {
|
|
|
88
88
|
dataSpaceViewerState.setCurrentExecutionContext(option.value);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
const formatExecutionContextOptionLabel = (option) => (_jsxs("div",
|
|
92
|
-
dataSpaceViewerState.dataSpace.defaultExecutionContext && (_jsx("div",
|
|
91
|
+
const formatExecutionContextOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__execution__entry__content__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__label", children: option.label }, void 0), option.value ===
|
|
92
|
+
dataSpaceViewerState.dataSpace.defaultExecutionContext && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }, void 0))] }, void 0));
|
|
93
93
|
// runtime
|
|
94
94
|
const runtimeOptions = dataSpaceViewerState.runtimes.map(buildRuntimeOption);
|
|
95
95
|
const selectedRuntimeOption = buildRuntimeOption(dataSpaceViewerState.currentRuntime);
|
|
@@ -98,24 +98,24 @@ const DataSpaceExecutionViewer = observer((props) => {
|
|
|
98
98
|
dataSpaceViewerState.setCurrentRuntime(option.value);
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
const formatRuntimeOptionLabel = (option) => (_jsxs("div",
|
|
102
|
-
dataSpaceViewerState.currentExecutionContext.defaultRuntime.value && (_jsx("div",
|
|
103
|
-
return (_jsxs("div",
|
|
101
|
+
const formatRuntimeOptionLabel = (option) => (_jsxs("div", { className: "data-space__viewer__execution__entry__content__dropdown__option", children: [_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__label", children: option.label }, void 0), option.value ===
|
|
102
|
+
dataSpaceViewerState.currentExecutionContext.defaultRuntime.value && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }, void 0))] }, void 0));
|
|
103
|
+
return (_jsxs("div", { className: "data-space__viewer__main-panel__content data-space__viewer__execution", children: [_jsxs("div", { className: "data-space__viewer__execution__entry", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(CogIcon, { className: "data-space__viewer__execution__context-icon" }, void 0) }, void 0), _jsx("div", { className: "data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__dropdown__container", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__execution__entry__content__dropdown", options: executionContextOptions, onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: true, formatOptionLabel: formatExecutionContextOptionLabel }, void 0) }, void 0)] }, void 0), _jsx("div", { className: clsx('data-space__viewer__execution__description', {
|
|
104
104
|
'data-space__viewer__execution__description--empty': !dataSpaceViewerState.currentExecutionContext.description,
|
|
105
|
-
})
|
|
105
|
+
}), children: dataSpaceViewerState.currentExecutionContext.description
|
|
106
106
|
? dataSpaceViewerState.currentExecutionContext.description
|
|
107
|
-
: 'No description' }
|
|
107
|
+
: 'No description' }, void 0), _jsxs("div", { className: "data-space__viewer__execution__entry data-space__viewer__execution__mapping", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(MappingIcon, {}, void 0) }, void 0), _jsx("div", { className: "data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__text", children: dataSpaceViewerState.currentExecutionContext.mapping.value.path }, void 0)] }, void 0), _jsxs("div", { className: "data-space__viewer__execution__entry", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(RuntimeIcon, {}, void 0) }, void 0), _jsx("div", { className: "data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__dropdown__container", children: _jsx(CustomSelectorInput, { className: "data-space__viewer__execution__entry__content__dropdown", options: runtimeOptions, onChange: onRuntimeOptionChange, value: selectedRuntimeOption, darkMode: true, formatOptionLabel: formatRuntimeOptionLabel }, void 0) }, void 0)] }, void 0)] }, void 0));
|
|
108
108
|
});
|
|
109
109
|
const DataSpaceTags = observer((props) => {
|
|
110
110
|
const { dataSpaceViewerState } = props;
|
|
111
111
|
const dataSpace = dataSpaceViewerState.dataSpace;
|
|
112
|
-
return (_jsxs("div",
|
|
113
|
-
dataSpace.taggedValues.map((taggedValueData) => (_jsxs("div",
|
|
114
|
-
dataSpace.stereotypes.map((stereotypeData) => (_jsx("div",
|
|
112
|
+
return (_jsxs("div", { className: "data-space__viewer__tags", children: [_jsxs("div", { className: "data-space__viewer__tags__section", children: [_jsx("div", { className: "data-space__viewer__tags__section__title", children: "Tagged Values" }, void 0), dataSpace.taggedValues.length !== 0 &&
|
|
113
|
+
dataSpace.taggedValues.map((taggedValueData) => (_jsxs("div", { className: "data-space__viewer__tags__section__entry", children: [_jsx("div", { className: "data-space__viewer__tags__tagged-value__tag", title: `${taggedValueData.profile}.${taggedValueData.tag}`, children: taggedValueData.tag }, void 0), _jsx("div", { className: "data-space__viewer__tags__tagged-value__value", children: taggedValueData.value }, void 0)] }, taggedValueData.uuid))), dataSpace.taggedValues.length === 0 && (_jsx("div", { className: "data-space__viewer__tags__section__placeholder", children: "(empty)" }, void 0))] }, void 0), _jsxs("div", { className: "data-space__viewer__tags__section", children: [_jsx("div", { className: "data-space__viewer__tags__section__title", children: "Stereotypes" }, void 0), dataSpace.stereotypes.length !== 0 &&
|
|
114
|
+
dataSpace.stereotypes.map((stereotypeData) => (_jsx("div", { className: "data-space__viewer__tags__section__entry", title: `${stereotypeData.profile}.${stereotypeData.stereotype}`, children: _jsx("div", { className: "data-space__viewer__tags__steoreotype", children: stereotypeData.stereotype }, void 0) }, stereotypeData.uuid))), dataSpace.stereotypes.length === 0 && (_jsx("div", { className: "data-space__viewer__tags__section__placeholder", children: "(empty)" }, void 0))] }, void 0)] }, void 0));
|
|
115
115
|
});
|
|
116
116
|
const DataSpaceSupportEmailViewer = observer((props) => {
|
|
117
117
|
const { dataSpaceSupportEmail } = props;
|
|
118
|
-
return (_jsx("div",
|
|
118
|
+
return (_jsx("div", { className: "data-space__viewer__support-email", children: _jsxs("div", { className: "data-space__viewer__support-email__entry", children: [_jsx("div", { className: "data-space__viewer__support-email__entry__icon", children: _jsx(EnvelopIcon, {}, void 0) }, void 0), _jsx("a", { href: `mailto:${dataSpaceSupportEmail.address}`, className: "data-space__viewer__support-email__entry__content", children: dataSpaceSupportEmail.address }, void 0)] }, void 0) }, void 0));
|
|
119
119
|
});
|
|
120
120
|
const DataSpaceSupportInfoViewerInner = observer((props) => {
|
|
121
121
|
const { dataSpaceViewerState, dataSpaceSupportInfo } = props;
|
|
@@ -170,17 +170,17 @@ export const DataSpaceViewer = observer((props) => {
|
|
|
170
170
|
];
|
|
171
171
|
const viewDataSpaceProject = () => dataSpaceViewerState.viewProject?.(dataSpaceViewerState.dataSpaceGroupId, dataSpaceViewerState.dataSpaceArtifactId, dataSpaceViewerState.dataSpaceVersionId, dataSpace.path);
|
|
172
172
|
const viewProject = () => dataSpaceViewerState.viewProject?.(dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, undefined);
|
|
173
|
-
return (_jsxs("div",
|
|
173
|
+
return (_jsxs("div", { className: "data-space__viewer", children: [_jsxs("div", { className: "data-space__viewer__header", children: [_jsxs("button", { className: "data-space__viewer__path", tabIndex: -1, title: "View Data Space in Project", onClick: viewDataSpaceProject, children: [_jsx("div", { className: "data-space__viewer__path__label", children: dataSpace.path }, void 0), _jsx("div", { className: "data-space__viewer__path__link", children: _jsx(ExternalLinkSquareIcon, {}, void 0) }, void 0)] }, void 0), _jsxs("button", { className: "data-space__viewer__gav", tabIndex: -1, title: "View Project", onClick: viewProject, children: [_jsx("div", { className: "data-space__viewer__gav__group-id", children: dataSpace.groupId }, void 0), _jsx("div", { className: "data-space__viewer__gav__separator", children: ":" }, void 0), _jsx("div", { className: "data-space__viewer__gav__artifact-id", children: dataSpace.artifactId }, void 0), _jsx("div", { className: "data-space__viewer__gav__separator", children: ":" }, void 0), _jsx("div", { className: "data-space__viewer__gav__version-id", children: dataSpace.versionId }, void 0), _jsx("div", { className: "data-space__viewer__gav__link", children: _jsx(ExternalLinkIcon, {}, void 0) }, void 0)] }, void 0), _jsx("div", { className: clsx('data-space__viewer__description', {
|
|
174
174
|
'data-space__viewer__description--empty': !dataSpace.description,
|
|
175
|
-
})
|
|
175
|
+
}), children: dataSpace.description ? dataSpace.description : 'No description' }, void 0)] }, void 0), _jsx("div", { className: "data-space__viewer__content", children: _jsxs("div", { className: "data-space__viewer__body", children: [_jsx("div", { className: "data-space__viewer__activity-bar", children: _jsx("div", { className: "data-space__viewer__activity-bar__items", children: activities.map((activity) => (_jsx("button", { className: clsx('data-space__viewer__activity-bar__item', {
|
|
176
176
|
'data-space__viewer__activity-bar__item--active': dataSpaceViewerState.currentActivity === activity.mode,
|
|
177
|
-
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title
|
|
177
|
+
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode))) }, void 0) }, void 0), _jsxs("div", { className: "data-space__viewer__main-panel", children: [dataSpaceViewerState.currentActivity ===
|
|
178
178
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_OVERVIEW && (_jsx(DataSpaceModelsOverview, { dataSpaceViewerState: dataSpaceViewerState }, void 0)), dataSpaceViewerState.currentActivity ===
|
|
179
179
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.EXECUTION && (_jsx(DataSpaceExecutionViewer, { dataSpaceViewerState: dataSpaceViewerState }, void 0)), dataSpaceViewerState.currentActivity ===
|
|
180
180
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.ENTITLEMENT && (_jsx(BlankPanelContent, { children: "Request entitlement(s) (Work in Progress)" }, void 0)), dataSpaceViewerState.currentActivity ===
|
|
181
181
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_DATA && (_jsx(BlankPanelContent, { children: "View test data (Work in Progress)" }, void 0)), dataSpaceViewerState.currentActivity ===
|
|
182
182
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_COVERAGE && (_jsx(BlankPanelContent, { children: "View test coverage (Work in Progress)" }, void 0)), dataSpaceViewerState.currentActivity ===
|
|
183
183
|
DATA_SPACE_VIEWER_ACTIVITY_MODE.TAGS && (_jsx(DataSpaceTags, { dataSpaceViewerState: dataSpaceViewerState }, void 0)), dataSpaceViewerState.currentActivity ===
|
|
184
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT && (_jsx("div",
|
|
184
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT && (_jsx("div", { className: "data-space__viewer__main-panel__content data-space__viewer__support-info", children: _jsx(DataSpaceSupportInfoViewerInner, { dataSpaceViewerState: dataSpaceViewerState, dataSpaceSupportInfo: dataSpace.supportInfo }, void 0) }, void 0))] }, void 0)] }, void 0) }, void 0)] }, void 0));
|
|
185
185
|
});
|
|
186
186
|
//# sourceMappingURL=DataSpaceViewer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.js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A+B,CAAC,WAAW,IAAI,CAC/C,KAAC,iBAAiB,oEAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,iBAAiB,4DAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,aAAa,IAAI,CACjD,KAAC,iBAAiB,gEAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,aAAa,IAAC,oBAAoB,EAAE,oBAAoB,WAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,4BAAK,SAAS,EAAC,0EAA0E,gBACvF,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,EAC1C,oBAAoB,EAAE,SAAS,CAAC,WAAW,WAC3C,YACE,CACP,aACG,aACF,YACF,aACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,OAAO,EACP,OAAO,EACP,SAAS,EACT,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,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
@@ -13,12 +13,11 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type {
|
|
17
|
-
import {
|
|
18
|
-
export declare class
|
|
16
|
+
import type { QuerySetupOptionRendererConfiguration, QuerySetupRenderer } from '@finos/legend-query';
|
|
17
|
+
import { LegendQueryPlugin } from '@finos/legend-query';
|
|
18
|
+
export declare class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
|
|
19
19
|
constructor();
|
|
20
|
-
install(pluginManager: QueryPluginManager): void;
|
|
21
20
|
getExtraQuerySetupOptionRendererConfigurations(): QuerySetupOptionRendererConfiguration[];
|
|
22
21
|
getExtraQuerySetupRenderers(): QuerySetupRenderer[];
|
|
23
22
|
}
|
|
24
|
-
//# sourceMappingURL=
|
|
23
|
+
//# sourceMappingURL=DSLDataSpace_LegendQueryPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendQueryPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,qCAAqC,EACrC,kBAAkB,EAGnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,qBAAa,8BAA+B,SAAQ,iBAAiB;;IAK1D,8CAA8C,IAAI,qCAAqC,EAAE;IA2BzF,2BAA2B,IAAI,kBAAkB,EAAE;CAU7D"}
|
package/lib/components/query/{DSLDataSpace_QueryPlugin.js → DSLDataSpace_LegendQueryPlugin.js}
RENAMED
|
@@ -15,24 +15,21 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
|
-
import {
|
|
18
|
+
import { LegendQueryPlugin } from '@finos/legend-query';
|
|
19
19
|
import { SquareIcon } from '@finos/legend-art';
|
|
20
20
|
import { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState';
|
|
21
21
|
import { DataspaceQuerySetup } from './DataSpaceQuerySetup';
|
|
22
|
-
export class
|
|
22
|
+
export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
|
|
23
23
|
constructor() {
|
|
24
24
|
super(packageJson.extensions.queryPlugin, packageJson.version);
|
|
25
25
|
}
|
|
26
|
-
install(pluginManager) {
|
|
27
|
-
pluginManager.registerQueryPlugin(this);
|
|
28
|
-
}
|
|
29
26
|
getExtraQuerySetupOptionRendererConfigurations() {
|
|
30
27
|
return [
|
|
31
28
|
{
|
|
32
29
|
key: 'data-space-query-option',
|
|
33
30
|
renderer: (setupStore) => {
|
|
34
31
|
const createQuery = () => setupStore.setSetupState(new DataSpaceQuerySetupState(setupStore));
|
|
35
|
-
return (_jsxs("button",
|
|
32
|
+
return (_jsxs("button", { className: "query-setup__landing-page__option query-setup__landing-page__option--data-space", onClick: createQuery, children: [_jsx("div", { className: "query-setup__landing-page__option__icon", children: _jsx(SquareIcon, { className: "query-setup__landing-page__icon--data-space" }, void 0) }, void 0), _jsx("div", { className: "query-setup__landing-page__option__label", children: "Create query from data space" }, void 0)] }, void 0));
|
|
36
33
|
},
|
|
37
34
|
},
|
|
38
35
|
];
|
|
@@ -48,4 +45,4 @@ export class DSLDataSpace_QueryPlugin extends QueryPlugin {
|
|
|
48
45
|
];
|
|
49
46
|
}
|
|
50
47
|
}
|
|
51
|
-
//# sourceMappingURL=
|
|
48
|
+
//# sourceMappingURL=DSLDataSpace_LegendQueryPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendQueryPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAOhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,OAAO,8BAA+B,SAAQ,iBAAiB;IACnE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAEQ,8CAA8C;QACrD,OAAO;YACL;gBACE,GAAG,EAAE,yBAAyB;gBAC9B,QAAQ,EAAE,CACR,UAA2B,EACE,EAAE;oBAC/B,MAAM,WAAW,GAAG,GAAS,EAAE,CAC7B,UAAU,CAAC,aAAa,CAAC,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC;oBACrE,OAAO,CACL,kBACE,SAAS,EAAC,iFAAiF,EAC3F,OAAO,EAAE,WAAW,aAEpB,cAAK,SAAS,EAAC,yCAAyC,YACtD,KAAC,UAAU,IAAC,SAAS,EAAC,6CAA6C,WAAG,WAClE,EACN,cAAK,SAAS,EAAC,0CAA0C,qDAEnD,YACC,CACV,CAAC;gBACJ,CAAC;aACF;SACF,CAAC;IACJ,CAAC;IAEQ,2BAA2B;QAClC,OAAO;YACL,CAAC,eAAgC,EAA+B,EAAE;gBAChE,IAAI,eAAe,YAAY,wBAAwB,EAAE;oBACvD,OAAO,KAAC,mBAAmB,IAAC,eAAe,EAAE,eAAe,WAAI,CAAC;iBAClE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
16
16
|
*/
|
|
17
17
|
import { useApplicationStore } from '@finos/legend-application';
|
|
18
18
|
import { BoltIcon, ArrowRightIcon, clsx, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, ArrowLeftIcon, CustomSelectorInput, SearchIcon, } from '@finos/legend-art';
|
|
19
|
-
import { useQuerySetupStore,
|
|
19
|
+
import { useQuerySetupStore, useLegendQueryStore } from '@finos/legend-query';
|
|
20
20
|
import { generateGAVCoordinates } from '@finos/legend-server-depot';
|
|
21
21
|
import { debounce } from '@finos/legend-shared';
|
|
22
22
|
import { flowResult } from 'mobx';
|
|
@@ -31,7 +31,7 @@ export const DataspaceQuerySetup = observer((props) => {
|
|
|
31
31
|
const { querySetupState } = props;
|
|
32
32
|
const applicationStore = useApplicationStore();
|
|
33
33
|
const setupStore = useQuerySetupStore();
|
|
34
|
-
const queryStore =
|
|
34
|
+
const queryStore = useLegendQueryStore();
|
|
35
35
|
const dataSpaceSearchRef = useRef(null);
|
|
36
36
|
const [searchText, setSearchText] = useState('');
|
|
37
37
|
const toggleGetSnapshot = () => {
|
|
@@ -61,7 +61,7 @@ export const DataspaceQuerySetup = observer((props) => {
|
|
|
61
61
|
querySetupState.setDataSpaceViewerState(undefined);
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
const formatQueryOptionLabel = (option) => (_jsxs("div",
|
|
64
|
+
const formatQueryOptionLabel = (option) => (_jsxs("div", { className: "query-setup__data-space__option", children: [_jsx("div", { className: "query-setup__data-space__option__label", children: option.label }, void 0), _jsx("div", { className: "query-setup__data-space__option__gav", children: generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId) }, void 0)] }, void 0));
|
|
65
65
|
// search text
|
|
66
66
|
const debouncedLoadDataSpaces = useMemo(() => debounce((input) => {
|
|
67
67
|
flowResult(querySetupState.loadDataSpaces(input)).catch(applicationStore.alertIllegalUnhandledError);
|
|
@@ -84,12 +84,12 @@ export const DataspaceQuerySetup = observer((props) => {
|
|
|
84
84
|
useEffect(() => {
|
|
85
85
|
dataSpaceSearchRef.current?.focus();
|
|
86
86
|
}, []);
|
|
87
|
-
return (_jsxs("div",
|
|
87
|
+
return (_jsxs("div", { className: "query-setup__wizard query-setup__data-space", children: [_jsxs("div", { className: "query-setup__wizard__header query-setup__data-space__header", children: [_jsx("button", { className: "query-setup__wizard__header__btn", onClick: back, title: "Back to Main Menu", children: _jsx(ArrowLeftIcon, {}, void 0) }, void 0), _jsx("div", { className: "query-setup__wizard__header__title", children: "Creating query from data space..." }, void 0), _jsx("button", { className: clsx('query-setup__wizard__header__btn', {
|
|
88
88
|
'query-setup__wizard__header__btn--ready': canProceed,
|
|
89
|
-
}), onClick: next, disabled: !canProceed, title: "Proceed"
|
|
89
|
+
}), onClick: next, disabled: !canProceed, title: "Proceed", children: _jsx(ArrowRightIcon, {}, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "query-setup__wizard__content", children: [_jsxs("div", { className: "query-setup__wizard__group query-setup__wizard__group--inline query-setup__data-space__input-group", children: [_jsx("div", { className: "query-setup__wizard__group__title", children: _jsx(SearchIcon, {}, void 0) }, void 0), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "query-setup__wizard__selector", options: dataSpaceOptions, isLoading: querySetupState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: true, formatOptionLabel: formatQueryOptionLabel }, void 0), _jsx("button", { className: clsx('query-setup__data-space__use-snapshot-btn', {
|
|
90
90
|
'query-setup__data-space__use-snapshot-btn--active': querySetupState.toGetSnapShot,
|
|
91
|
-
}), tabIndex: -1, title: `[${querySetupState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot
|
|
91
|
+
}), tabIndex: -1, title: `[${querySetupState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "query-setup__data-space__view", children: [_jsx(PanelLoadingIndicator, { isLoading: querySetupState.setUpDataSpaceState.isInProgress }, void 0), querySetupState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: querySetupState.dataSpaceViewerState }, void 0)), !querySetupState.dataSpaceViewerState &&
|
|
92
92
|
querySetupState.setUpDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: "Setting up data space..." }, void 0)), !querySetupState.dataSpaceViewerState &&
|
|
93
|
-
querySetupState.setUpDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div",
|
|
93
|
+
querySetupState.setUpDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "query-setup__data-space__view--failed", children: [_jsx("div", { className: "query-setup__data-space__view--failed__icon", children: _jsx(TimesCircleIcon, {}, void 0) }, void 0), _jsx("div", { className: "query-setup__data-space__view--failed__text", children: "Can't load data space" }, void 0)] }, void 0) }, void 0))] }, void 0)] }, void 0)] }, void 0));
|
|
94
94
|
});
|
|
95
95
|
//# sourceMappingURL=DataSpaceQuerySetup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EACL,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,O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CAAC,EACZ,KAAK,EAAE,IACL,eAAe,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KACzC,6EAA6E,EAC7E,OAAO,EAAE,iBAAiB,YAE1B,KAAC,QAAQ,aAAG,WACL,YACL,EACN,eAAK,SAAS,EAAC,+BAA+B,aAC5C,KAAC,qBAAqB,IACpB,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAAC,YAAY,WAC3D,EACD,eAAe,CAAC,oBAAoB,IAAI,CACvC,KAAC,eAAe,IACd,oBAAoB,EAAE,eAAe,CAAC,oBAAoB,WAC1D,CACH,EACA,CAAC,eAAe,CAAC,oBAAoB;gCACpC,eAAe,CAAC,mBAAmB,CAAC,YAAY,IAAI,CAClD,KAAC,iBAAiB,mDAA6C,CAChE,EACF,CAAC,eAAe,CAAC,oBAAoB;gCACpC,eAAe,CAAC,mBAAmB,CAAC,SAAS,IAAI,CAC/C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,uCAAuC,aACpD,cAAK,SAAS,EAAC,6CAA6C,YAC1D,KAAC,eAAe,aAAG,WACf,EACN,cAAK,SAAS,EAAC,6CAA6C,8CAEtD,YACF,WACY,CACrB,YACC,YACF,YACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,12 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type {
|
|
17
|
-
import {
|
|
18
|
-
export declare class
|
|
16
|
+
import type { NewElementFromStateCreator, ElementTypeGetter, ElementProjectExplorerDnDTypeGetter, ElementIconGetter, DSL_LegendStudioPlugin_Extension, ElementEditorStateCreator } from '@finos/legend-studio';
|
|
17
|
+
import { LegendStudioPlugin } from '@finos/legend-studio';
|
|
18
|
+
export declare class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin implements DSL_LegendStudioPlugin_Extension {
|
|
19
19
|
constructor();
|
|
20
|
-
install(pluginManager: StudioPluginManager): void;
|
|
21
|
-
getExtraApplicationPageRenderEntries(): ApplicationPageRenderEntry[];
|
|
22
20
|
getExtraSupportedElementTypes(): string[];
|
|
23
21
|
getExtraElementTypeGetters(): ElementTypeGetter[];
|
|
24
22
|
getExtraElementIconGetters(): ElementIconGetter[];
|
|
@@ -27,4 +25,4 @@ export declare class DSLDataSpace_StudioPlugin extends StudioPlugin implements D
|
|
|
27
25
|
getExtraElementProjectExplorerDnDTypeGetters(): ElementProjectExplorerDnDTypeGetter[];
|
|
28
26
|
getExtraGrammarTextEditorDnDTypes(): string[];
|
|
29
27
|
}
|
|
30
|
-
//# sourceMappingURL=
|
|
28
|
+
//# sourceMappingURL=DSLDataSpace_LegendStudioPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,mCAAmC,EACnC,iBAAiB,EACjB,gCAAgC,EAEhC,yBAAyB,EAG1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAa9B,qBAAa,+BACX,SAAQ,kBACR,YAAW,gCAAgC;;IAM3C,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,mCAAmC,IAAI,0BAA0B,EAAE;IA2BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,iCAAiC,IAAI,MAAM,EAAE;CAG9C"}
|
package/lib/components/studio/{DSLDataSpace_StudioPlugin.js → DSLDataSpace_LegendStudioPlugin.js}
RENAMED
|
@@ -15,34 +15,16 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
|
-
import { UnsupportedElementEditorState,
|
|
18
|
+
import { UnsupportedElementEditorState, LegendStudioPlugin, } from '@finos/legend-studio';
|
|
19
19
|
import { SquareIcon } from '@finos/legend-art';
|
|
20
20
|
import { DataSpace, DataSpaceExecutionContext, } from '../../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
21
|
-
import { EnterpriseModelExplorer } from './EnterpriseModelExplorer';
|
|
22
|
-
import { ENTERPRISE_MODEL_EXPLORER_ROUTE_PATTERN } from '../../stores/studio/EnterpriseModelExplorerStore';
|
|
23
21
|
import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
|
|
24
22
|
const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
|
|
25
23
|
const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DATA_SPACE';
|
|
26
|
-
export class
|
|
24
|
+
export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
|
|
27
25
|
constructor() {
|
|
28
26
|
super(packageJson.extensions.studioPlugin, packageJson.version);
|
|
29
27
|
}
|
|
30
|
-
install(pluginManager) {
|
|
31
|
-
pluginManager.registerStudioPlugin(this);
|
|
32
|
-
}
|
|
33
|
-
getExtraApplicationPageRenderEntries() {
|
|
34
|
-
return [
|
|
35
|
-
{
|
|
36
|
-
key: 'enterprise-application-page',
|
|
37
|
-
urlPatterns: [
|
|
38
|
-
ENTERPRISE_MODEL_EXPLORER_ROUTE_PATTERN.ENTERPRISE_VIEW,
|
|
39
|
-
ENTERPRISE_MODEL_EXPLORER_ROUTE_PATTERN.ENTERPRISE_VIEW_BY_DATA_SPACE,
|
|
40
|
-
ENTERPRISE_MODEL_EXPLORER_ROUTE_PATTERN.ENTERPRISE_VIEW_BY_TAXONOMY_NODE,
|
|
41
|
-
],
|
|
42
|
-
component: EnterpriseModelExplorer,
|
|
43
|
-
},
|
|
44
|
-
];
|
|
45
|
-
}
|
|
46
28
|
getExtraSupportedElementTypes() {
|
|
47
29
|
return [DATA_SPACE_ELEMENT_TYPE];
|
|
48
30
|
}
|
|
@@ -60,7 +42,7 @@ export class DSLDataSpace_StudioPlugin extends StudioPlugin {
|
|
|
60
42
|
return [
|
|
61
43
|
(type) => {
|
|
62
44
|
if (type === DATA_SPACE_ELEMENT_TYPE) {
|
|
63
|
-
return (_jsx("div",
|
|
45
|
+
return (_jsx("div", { className: "icon icon--data-space", children: _jsx(SquareIcon, {}, void 0) }, void 0));
|
|
64
46
|
}
|
|
65
47
|
return undefined;
|
|
66
48
|
},
|
|
@@ -112,4 +94,4 @@ export class DSLDataSpace_StudioPlugin extends StudioPlugin {
|
|
|
112
94
|
return [DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE];
|
|
113
95
|
}
|
|
114
96
|
}
|
|
115
|
-
//# sourceMappingURL=
|
|
97
|
+
//# sourceMappingURL=DSLDataSpace_LegendStudioPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAYhD,OAAO,EACL,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,SAAS,EACT,yBAAyB,GAC1B,MAAM,4EAA4E,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,uBAAuB,GAAG,YAAY,CAAC;AAC7C,MAAM,4CAA4C,GAChD,6BAA6B,CAAC;AAEhC,MAAM,OAAO,+BACX,SAAQ,k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,CAAC,iBAAiB,GAAG,CAAC,yBAAyB,CAAC,CAAC;oBAC1D,SAAS,CAAC,uBAAuB,GAAG,yBAAyB,CAAC;oBAC9D,OAAO,SAAS,CAAC;iBAClB;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,kCAAkC;QAChC,OAAO;YACL,CACE,WAAwB,EACxB,OAA2B,EACK,EAAE;gBAClC,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,IAAI,6BAA6B,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;iBAChE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,4CAA4C;QAC1C,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,4CAA4C,CAAC;iBACrD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iCAAiC;QAC/B,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACxD,CAAC;CACF"}
|
|
@@ -14,11 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { Clazz } from '@finos/legend-shared';
|
|
17
|
-
import type {
|
|
17
|
+
import type { PackageableElement } from '@finos/legend-graph';
|
|
18
18
|
import { PureGraphPlugin } from '@finos/legend-graph';
|
|
19
19
|
export declare class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
|
|
20
20
|
constructor();
|
|
21
|
-
install(pluginManager: GraphPluginManager): void;
|
|
22
21
|
getExtraPureGraphExtensionClasses(): Clazz<PackageableElement>[];
|
|
23
22
|
}
|
|
24
23
|
//# sourceMappingURL=DSLDataSpace_PureGraphPlugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,qBAAa,4BAA6B,SAAQ,eAAe;;IAKtD,iCAAiC,IAAI,KAAK,CAAC,kBAAkB,CAAC,EAAE;CAG1E"}
|
|
@@ -20,9 +20,6 @@ export class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
|
|
|
20
20
|
constructor() {
|
|
21
21
|
super(packageJson.extensions.pureGraphPlugin, packageJson.version);
|
|
22
22
|
}
|
|
23
|
-
install(pluginManager) {
|
|
24
|
-
pluginManager.registerPureGraphPlugin(this);
|
|
25
|
-
}
|
|
26
23
|
getExtraPureGraphExtensionClasses() {
|
|
27
24
|
return [DataSpace];
|
|
28
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;AAGpG,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,OAAO,4BAA6B,SAAQ,eAAe;IAC/D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEQ,iCAAiC;QACxC,OAAO,CAAC,SAAS,CAAC,CAAC;IACrB,CAAC;CACF"}
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type {
|
|
16
|
+
import type { PureGrammarElementLabeler } from '@finos/legend-graph';
|
|
17
17
|
import { PureGraphManagerPlugin } from '@finos/legend-graph';
|
|
18
18
|
export declare class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
|
19
19
|
constructor();
|
|
20
|
-
install(pluginManager: GraphPluginManager): void;
|
|
21
20
|
getExtraPureGrammarParserNames(): string[];
|
|
22
21
|
getExtraPureGrammarKeywords(): string[];
|
|
23
22
|
getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAK7D,qBAAa,mCAAoC,SAAQ,sBAAsB;;IAKpE,8BAA8B,IAAI,MAAM,EAAE;IAI1C,2BAA2B,IAAI,MAAM,EAAE;IAIvC,kCAAkC,IAAI,yBAAyB,EAAE;CAU3E"}
|
|
@@ -22,9 +22,6 @@ export class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
|
|
24
24
|
}
|
|
25
|
-
install(pluginManager) {
|
|
26
|
-
pluginManager.registerPureGraphManagerPlugin(this);
|
|
27
|
-
}
|
|
28
25
|
getExtraPureGrammarParserNames() {
|
|
29
26
|
return [PURE_GRAMMAR_DATA_SPACE_PARSER_NAME];
|
|
30
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;AAKpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,mCAAmC,GAAG,WAAW,CAAC;AACxD,MAAM,0CAA0C,GAAG,WAAW,CAAC;AAE/D,MAAM,OAAO,mCAAoC,SAAQ,sBAAsB;IAC7E;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,8BAA8B;QACrC,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC/C,CAAC;IAEQ,2BAA2B;QAClC,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACtD,CAAC;IAEQ,kCAAkC;QACzC,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,0CAA0C,CAAC;iBACnD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|