@finos/legend-extension-dsl-data-space 4.0.5 → 5.0.0

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.
Files changed (97) hide show
  1. package/lib/DSLDataSpace_Const.d.ts +18 -0
  2. package/lib/DSLDataSpace_Const.d.ts.map +1 -0
  3. package/lib/DSLDataSpace_Const.js +20 -0
  4. package/lib/DSLDataSpace_Const.js.map +1 -0
  5. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  6. package/lib/components/DataSpaceViewer.js +30 -27
  7. package/lib/components/DataSpaceViewer.js.map +1 -1
  8. package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.d.ts → DSLDataSpace_LegendQueryApplicationPlugin.d.ts} +6 -3
  9. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -0
  10. package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.js → DSLDataSpace_LegendQueryApplicationPlugin.js} +27 -3
  11. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +1 -0
  12. package/lib/components/query/DataSpaceQueryEditor.d.ts +20 -0
  13. package/lib/components/query/DataSpaceQueryEditor.d.ts.map +1 -0
  14. package/lib/components/query/DataSpaceQueryEditor.js +43 -0
  15. package/lib/components/query/DataSpaceQueryEditor.js.map +1 -0
  16. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
  17. package/lib/components/query/DataSpaceQuerySetup.js +4 -17
  18. package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
  19. package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.d.ts → DSLDataSpace_LegendStudioApplicationPlugin.d.ts} +3 -3
  20. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -0
  21. package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.js → DSLDataSpace_LegendStudioApplicationPlugin.js} +3 -3
  22. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +1 -0
  23. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts +2 -1
  24. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
  25. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +4 -0
  26. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
  27. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +50 -0
  28. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -0
  29. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +48 -0
  30. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -0
  31. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.d.ts +23 -0
  32. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  33. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js +21 -0
  34. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
  35. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts +18 -0
  36. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  37. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.js +20 -0
  38. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
  39. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts +26 -0
  40. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  41. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.js +131 -0
  42. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
  43. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +53 -0
  44. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -0
  45. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.js +78 -0
  46. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -0
  47. package/lib/index.css +2 -2
  48. package/lib/index.css.map +1 -1
  49. package/lib/index.d.ts +4 -2
  50. package/lib/index.d.ts.map +1 -1
  51. package/lib/index.js +4 -2
  52. package/lib/index.js.map +1 -1
  53. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +3 -1
  54. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -1
  55. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -1
  56. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -1
  57. package/lib/package.json +6 -5
  58. package/lib/stores/DataSpaceViewerState.d.ts +7 -11
  59. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  60. package/lib/stores/DataSpaceViewerState.js +10 -32
  61. package/lib/stores/DataSpaceViewerState.js.map +1 -1
  62. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts +32 -0
  63. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +1 -0
  64. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js +34 -0
  65. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +1 -0
  66. package/lib/stores/query/DataSpaceQueryEditorStore.d.ts +31 -0
  67. package/lib/stores/query/DataSpaceQueryEditorStore.d.ts.map +1 -0
  68. package/lib/stores/query/DataSpaceQueryEditorStore.js +87 -0
  69. package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -0
  70. package/lib/stores/query/DataSpaceQuerySetupState.d.ts +3 -4
  71. package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
  72. package/lib/stores/query/DataSpaceQuerySetupState.js +34 -44
  73. package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
  74. package/package.json +16 -15
  75. package/src/DSLDataSpace_Const.ts +20 -0
  76. package/src/components/DataSpaceViewer.tsx +56 -66
  77. package/src/components/query/{DSLDataSpace_LegendQueryPlugin.tsx → DSLDataSpace_LegendQueryApplicationPlugin.tsx} +39 -2
  78. package/src/components/query/DataSpaceQueryEditor.tsx +106 -0
  79. package/src/components/query/DataSpaceQuerySetup.tsx +23 -32
  80. package/src/components/studio/{DSLDataSpace_LegendStudioPlugin.tsx → DSLDataSpace_LegendStudioApplicationPlugin.tsx} +8 -8
  81. package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +6 -0
  82. package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +64 -0
  83. package/src/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.ts +42 -0
  84. package/src/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.ts +27 -0
  85. package/src/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts +228 -0
  86. package/src/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.ts +117 -0
  87. package/src/index.ts +4 -2
  88. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -1
  89. package/src/stores/DataSpaceViewerState.ts +23 -54
  90. package/src/stores/query/DSLDataSpace_LegendQueryRouter.ts +69 -0
  91. package/src/stores/query/DataSpaceQueryEditorStore.ts +141 -0
  92. package/src/stores/query/DataSpaceQuerySetupState.ts +65 -73
  93. package/tsconfig.json +11 -2
  94. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +0 -1
  95. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +0 -1
  96. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +0 -1
  97. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +0 -1
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare const QUERY_PROFILE_PATH = "meta::pure::profiles::query";
17
+ export declare const QUERY_PROFILE_TAG_DATA_SPACE = "dataSpace";
18
+ //# sourceMappingURL=DSLDataSpace_Const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_Const.d.ts","sourceRoot":"","sources":["../src/DSLDataSpace_Const.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,eAAO,MAAM,kBAAkB,gCAAgC,CAAC;AAChE,eAAO,MAAM,4BAA4B,cAAc,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ // NOTE: these are non-compilable profile and tag that we come up with for query
17
+ // so that it records the dataSpace it is created from
18
+ export const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
19
+ export const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
20
+ //# sourceMappingURL=DSLDataSpace_Const.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_Const.js","sourceRoot":"","sources":["../src/DSLDataSpace_Const.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,gFAAgF;AAChF,sDAAsD;AACtD,MAAM,CAAC,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAChE,MAAM,CAAC,MAAM,4BAA4B,GAAG,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAiCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AA8X3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAoJvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAgCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAmX3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAsJvD,CAAC"}
@@ -19,7 +19,8 @@ import { observer } from 'mobx-react-lite';
19
19
  import { useResizeDetector } from 'react-resize-detector';
20
20
  import { BlankPanelContent, ShapesIcon, PlayIcon, QuestionCircleIcon, EnvelopIcon, clsx, CustomSelectorInput, PURE_MappingIcon, PURE_RuntimeIcon, CogIcon, KeyIcon, FlaskIcon, ExternalLinkSquareIcon, ShieldIcon, TagsIcon, LightBulbIcon, } from '@finos/legend-art';
21
21
  import { DiagramRenderer, } from '@finos/legend-extension-dsl-diagram';
22
- import { DataSpaceSupportEmail, } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
22
+ import { DataSpaceSupportEmail } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
23
+ import { extractElementNameFromPath, } from '@finos/legend-graph';
23
24
  import { DATA_SPACE_VIEWER_ACTIVITY_MODE, } from '../stores/DataSpaceViewerState.js';
24
25
  const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanvas(props, ref) {
25
26
  const { dataSpaceViewerState, diagram } = props;
@@ -51,11 +52,10 @@ const buildDiagramOption = (diagram) => ({
51
52
  });
52
53
  const DataSpaceModelsOverview = observer((props) => {
53
54
  const { dataSpaceViewerState } = props;
55
+ const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
54
56
  // diagram selector
55
57
  const diagramCanvasRef = useRef(null);
56
- const diagramOptions = dataSpaceViewerState.featuredDiagrams
57
- .concat(dataSpaceViewerState.diagrams.filter((diagram) => !dataSpaceViewerState.featuredDiagrams.includes(diagram)))
58
- .map(buildDiagramOption);
58
+ const diagramOptions = analysisResult.featuredDiagrams.map(buildDiagramOption);
59
59
  const selectedDiagramOption = dataSpaceViewerState.currentDiagram
60
60
  ? buildDiagramOption(dataSpaceViewerState.currentDiagram)
61
61
  : null;
@@ -64,11 +64,10 @@ const DataSpaceModelsOverview = observer((props) => {
64
64
  dataSpaceViewerState.setCurrentDiagram(option.value);
65
65
  }
66
66
  };
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 }), dataSpaceViewerState.featuredDiagrams.includes(option.value) && (_jsx("div", { className: "data-space__viewer__diagrams__dropdown__option__tag", children: "featured" }))] }));
68
- if (dataSpaceViewerState.diagrams.length === 0) {
67
+ if (analysisResult.featuredDiagrams.length === 0) {
69
68
  return _jsx(BlankPanelContent, { children: "No diagrams available" });
70
69
  }
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 }) }), _jsx("div", { className: "data-space__viewer__diagrams__content", children: dataSpaceViewerState.currentDiagram && (_jsx(DataSpaceDiagramCanvas, { dataSpaceViewerState: dataSpaceViewerState, diagram: dataSpaceViewerState.currentDiagram, ref: diagramCanvasRef })) }), _jsxs("div", { className: "data-space__viewer__diagrams__footer", children: [_jsx("div", { className: "data-space__viewer__diagrams__footer__icon", children: _jsx(LightBulbIcon, {}) }), _jsx("div", { className: "data-space__viewer__diagrams__footer__text", children: "Double-click a class to start a query for that class" })] })] }));
70
+ 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 }) }), _jsx("div", { className: "data-space__viewer__diagrams__content", children: dataSpaceViewerState.currentDiagram && (_jsx(DataSpaceDiagramCanvas, { dataSpaceViewerState: dataSpaceViewerState, diagram: dataSpaceViewerState.currentDiagram, ref: diagramCanvasRef })) }), _jsxs("div", { className: "data-space__viewer__diagrams__footer", children: [_jsx("div", { className: "data-space__viewer__diagrams__footer__icon", children: _jsx(LightBulbIcon, {}) }), _jsx("div", { className: "data-space__viewer__diagrams__footer__text", children: "Double-click a class to start a query for that class" })] })] }));
72
71
  });
73
72
  const buildExecutionContextOption = (value) => ({
74
73
  label: value.name,
@@ -80,18 +79,19 @@ const buildRuntimeOption = (value) => ({
80
79
  });
81
80
  const DataSpaceExecutionViewer = observer((props) => {
82
81
  const { dataSpaceViewerState } = props;
82
+ const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
83
+ const executionContexts = Array.from(dataSpaceViewerState.dataSpaceAnalysisResult.executionContextsIndex.values());
83
84
  // execution
84
- const executionContextOptions = dataSpaceViewerState.dataSpace.executionContexts.map(buildExecutionContextOption);
85
+ const executionContextOptions = executionContexts.map(buildExecutionContextOption);
85
86
  const selectedExecutionContextOption = buildExecutionContextOption(dataSpaceViewerState.currentExecutionContext);
86
87
  const onExecutionContextOptionChange = (option) => {
87
88
  if (option.value !== dataSpaceViewerState.currentExecutionContext) {
88
89
  dataSpaceViewerState.setCurrentExecutionContext(option.value);
89
90
  }
90
91
  };
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 }), option.value ===
92
- dataSpaceViewerState.dataSpace.defaultExecutionContext && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }))] }));
92
+ 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 }), option.value === analysisResult.defaultExecutionContext && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }))] }));
93
93
  // runtime
94
- const runtimeOptions = dataSpaceViewerState.runtimes.map(buildRuntimeOption);
94
+ const runtimeOptions = dataSpaceViewerState.currentExecutionContext.compatibleRuntimes.map(buildRuntimeOption);
95
95
  const selectedRuntimeOption = buildRuntimeOption(dataSpaceViewerState.currentRuntime);
96
96
  const onRuntimeOptionChange = (option) => {
97
97
  if (option.value !== dataSpaceViewerState.currentRuntime) {
@@ -99,37 +99,38 @@ const DataSpaceExecutionViewer = observer((props) => {
99
99
  }
100
100
  };
101
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 }), option.value ===
102
- dataSpaceViewerState.currentExecutionContext.defaultRuntime.value && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }))] }));
102
+ dataSpaceViewerState.currentExecutionContext.defaultRuntime && (_jsx("div", { className: "data-space__viewer__execution__entry__content__dropdown__option__tag", children: "default" }))] }));
103
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" }) }), _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 }) })] }), _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' }), _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(PURE_MappingIcon, {}) }), _jsx("div", { className: "data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__text", children: dataSpaceViewerState.currentExecutionContext.mapping.value.path })] }), _jsxs("div", { className: "data-space__viewer__execution__entry", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(PURE_RuntimeIcon, {}) }), _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 }) })] })] }));
107
+ : 'No description' }), _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(PURE_MappingIcon, {}) }), _jsx("div", { className: "data-space__viewer__execution__entry__content data-space__viewer__execution__entry__content__text", children: dataSpaceViewerState.currentExecutionContext.mapping.path })] }), _jsxs("div", { className: "data-space__viewer__execution__entry", children: [_jsx("div", { className: "data-space__viewer__execution__entry__icon", children: _jsx(PURE_RuntimeIcon, {}) }), _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 }) })] })] }));
108
108
  });
109
109
  const DataSpaceTags = observer((props) => {
110
110
  const { dataSpaceViewerState } = props;
111
- const dataSpace = dataSpaceViewerState.dataSpace;
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" }), dataSpace.taggedValues.length !== 0 &&
113
- dataSpace.taggedValues.map((taggedValue) => (_jsxs("div", { className: "data-space__viewer__tags__section__entry", children: [_jsx("div", { className: "data-space__viewer__tags__tagged-value__tag", title: `${taggedValue.tag.ownerReference.value.name}.${taggedValue.tag.value.value}`, children: taggedValue.tag.value.value }), _jsx("div", { className: "data-space__viewer__tags__tagged-value__value", children: taggedValue.value })] }, taggedValue._UUID))), dataSpace.taggedValues.length === 0 && (_jsx("div", { className: "data-space__viewer__tags__section__placeholder", children: "(empty)" }))] }), _jsxs("div", { className: "data-space__viewer__tags__section", children: [_jsx("div", { className: "data-space__viewer__tags__section__title", children: "Stereotypes" }), dataSpace.stereotypes.length !== 0 &&
114
- dataSpace.stereotypes.map((stereotype) => (_jsx("div", { className: "data-space__viewer__tags__section__entry", title: `${stereotype.ownerReference.value.name}.${stereotype.value.value}`, children: _jsx("div", { className: "data-space__viewer__tags__steoreotype", children: stereotype.value.value }) }, stereotype.value._UUID))), dataSpace.stereotypes.length === 0 && (_jsx("div", { className: "data-space__viewer__tags__section__placeholder", children: "(empty)" }))] })] }));
111
+ const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
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" }), analysisResult.taggedValues.length !== 0 &&
113
+ analysisResult.taggedValues.map((taggedValue) => (_jsxs("div", { className: "data-space__viewer__tags__section__entry", children: [_jsx("div", { className: "data-space__viewer__tags__tagged-value__tag", title: `${taggedValue.profile}.${taggedValue.tag}`, children: `${extractElementNameFromPath(taggedValue.profile)}.${taggedValue.tag}` }), _jsx("div", { className: "data-space__viewer__tags__tagged-value__value", children: taggedValue.value })] }, taggedValue._UUID))), analysisResult.taggedValues.length === 0 && (_jsx("div", { className: "data-space__viewer__tags__section__placeholder", children: "(empty)" }))] }), _jsxs("div", { className: "data-space__viewer__tags__section", children: [_jsx("div", { className: "data-space__viewer__tags__section__title", children: "Stereotypes" }), analysisResult.stereotypes.length !== 0 &&
114
+ analysisResult.stereotypes.map((stereotype) => (_jsx("div", { className: "data-space__viewer__tags__section__entry", title: `${stereotype.profile}.${stereotype.value}`, children: _jsx("div", { className: "data-space__viewer__tags__steoreotype", children: `${extractElementNameFromPath(stereotype.profile)}.${stereotype.value}` }) }, stereotype._UUID))), analysisResult.stereotypes.length === 0 && (_jsx("div", { className: "data-space__viewer__tags__section__placeholder", children: "(empty)" }))] })] }));
115
115
  });
116
116
  const DataSpaceSupportEmailViewer = observer((props) => {
117
117
  const { dataSpaceSupportEmail } = props;
118
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, {}) }), _jsx("a", { href: `mailto:${dataSpaceSupportEmail.address}`, className: "data-space__viewer__support-email__entry__content", children: dataSpaceSupportEmail.address })] }) }));
119
119
  });
120
120
  const DataSpaceSupportInfoViewerInner = observer((props) => {
121
- const { dataSpaceViewerState, dataSpaceSupportInfo } = props;
122
- if (dataSpaceSupportInfo === undefined) {
121
+ const { dataSpaceViewerState } = props;
122
+ const supportInfo = dataSpaceViewerState.dataSpaceAnalysisResult.supportInfo;
123
+ if (supportInfo === undefined) {
123
124
  return _jsx(BlankPanelContent, { children: "No support info available" });
124
125
  }
125
- else if (dataSpaceSupportInfo instanceof DataSpaceSupportEmail) {
126
- return (_jsx(DataSpaceSupportEmailViewer, { dataSpaceViewerState: dataSpaceViewerState, dataSpaceSupportEmail: dataSpaceSupportInfo }));
126
+ else if (supportInfo instanceof DataSpaceSupportEmail) {
127
+ return (_jsx(DataSpaceSupportEmailViewer, { dataSpaceViewerState: dataSpaceViewerState, dataSpaceSupportEmail: supportInfo }));
127
128
  }
128
129
  return (_jsx(BlankPanelContent, { children: "Can't display support info" }));
129
130
  });
130
131
  export const DataSpaceViewer = observer((props) => {
131
132
  const { dataSpaceViewerState } = props;
132
- const dataSpace = dataSpaceViewerState.dataSpace;
133
+ const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
133
134
  const changeActivity = (activity) => () => dataSpaceViewerState.setCurrentActivity(activity);
134
135
  const activities = [
135
136
  {
@@ -168,10 +169,12 @@ export const DataSpaceViewer = observer((props) => {
168
169
  icon: _jsx(QuestionCircleIcon, {}),
169
170
  },
170
171
  ];
171
- const viewProject = () => dataSpaceViewerState.viewProject?.(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, dataSpace.path);
172
- 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 Project", onClick: viewProject, children: [_jsx("div", { className: "data-space__viewer__path__label", children: dataSpace.path }), _jsx("div", { className: "data-space__viewer__path__link", children: _jsx(ExternalLinkSquareIcon, {}) })] }), _jsx("div", { className: clsx('data-space__viewer__description', {
173
- 'data-space__viewer__description--empty': !dataSpace.description,
174
- }), children: dataSpace.description ? dataSpace.description : 'No description' })] }), _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', {
172
+ const viewProject = () => dataSpaceViewerState.viewProject?.(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, analysisResult.path);
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 Project", onClick: viewProject, children: [_jsx("div", { className: "data-space__viewer__path__label", children: analysisResult.path }), _jsx("div", { className: "data-space__viewer__path__link", children: _jsx(ExternalLinkSquareIcon, {}) })] }), _jsx("div", { className: clsx('data-space__viewer__description', {
174
+ 'data-space__viewer__description--empty': !analysisResult.description,
175
+ }), children: analysisResult.description
176
+ ? analysisResult.description
177
+ : 'No description' })] }), _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', {
175
178
  'data-space__viewer__activity-bar__item--active': dataSpaceViewerState.currentActivity === activity.mode,
176
179
  }), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode))) }) }), _jsxs("div", { className: "data-space__viewer__main-panel", children: [dataSpaceViewerState.currentActivity ===
177
180
  DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_OVERVIEW && (_jsx(DataSpaceModelsOverview, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
@@ -180,6 +183,6 @@ export const DataSpaceViewer = observer((props) => {
180
183
  DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_DATA && (_jsx(BlankPanelContent, { children: "View test data (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
181
184
  DATA_SPACE_VIEWER_ACTIVITY_MODE.TEST_COVERAGE && (_jsx(BlankPanelContent, { children: "View test coverage (Work in Progress)" })), dataSpaceViewerState.currentActivity ===
182
185
  DATA_SPACE_VIEWER_ACTIVITY_MODE.TAGS && (_jsx(DataSpaceTags, { dataSpaceViewerState: dataSpaceViewerState })), dataSpaceViewerState.currentActivity ===
183
- 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 }) }))] })] }) })] }));
186
+ 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 }) }))] })] }) })] }));
184
187
  });
185
188
  //# sourceMappingURL=DataSpaceViewer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAA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,EACtC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,QAAQ,CAAC,KAAK,YAEpB,QAAQ,CAAC,IAAI,IATT,QAAQ,CAAC,IAAI,CAUX,CACV,CAAC,GACE,GACF,EACN,eAAK,SAAS,EAAC,gCAAgC,aAC5C,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,eAAe,IAAI,CACnD,KAAC,uBAAuB,IACtB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,wBAAwB,IACvB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,WAAW,IAAI,CAC/C,KAAC,iBAAiB,4DAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,iBAAiB,oDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,aAAa,IAAI,CACjD,KAAC,iBAAiB,wDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,aAAa,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,cAAK,SAAS,EAAC,0EAA0E,YACvF,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,EAC1C,oBAAoB,EAAE,SAAS,CAAC,WAAW,GAC3C,GACE,CACP,IACG,IACF,GACF,IACF,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,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I,IATT,QAAQ,CAAC,IAAI,CAUX,CACV,CAAC,GACE,GACF,EACN,eAAK,SAAS,EAAC,gCAAgC,aAC5C,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,eAAe,IAAI,CACnD,KAAC,uBAAuB,IACtB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,wBAAwB,IACvB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,WAAW,IAAI,CAC/C,KAAC,iBAAiB,4DAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,iBAAiB,oDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,aAAa,IAAI,CACjD,KAAC,iBAAiB,wDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,aAAa,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,cAAK,SAAS,EAAC,0EAA0E,YACvF,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,GAC1C,GACE,CACP,IACG,IACF,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,10 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { LegendQueryPlugin, type QuerySetupOptionRendererConfiguration, type QuerySetupRenderer } from '@finos/legend-query';
17
- export declare class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
16
+ import { type QueryEditorHeaderLabeler, type QuerySetupOptionRendererConfiguration, type QuerySetupRenderer, LegendQueryApplicationPlugin } from '@finos/legend-query';
17
+ import type { ApplicationPageEntry } from '@finos/legend-application';
18
+ export declare class DSLDataSpace_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
18
19
  constructor();
20
+ getExtraApplicationPageEntries(): ApplicationPageEntry[];
19
21
  getExtraQuerySetupOptionRendererConfigurations(): QuerySetupOptionRendererConfiguration[];
20
22
  getExtraQuerySetupRenderers(): QuerySetupRenderer[];
23
+ getExtraQueryEditorHeaderLabelers(): QueryEditorHeaderLabeler[];
21
24
  }
22
- //# sourceMappingURL=DSLDataSpace_LegendQueryPlugin.d.ts.map
25
+ //# sourceMappingURL=DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,qCAAqC,EAC1C,KAAK,kBAAkB,EAGvB,4BAA4B,EAC7B,MAAM,qBAAqB,CAAC;AAI7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAMtE,qBAAa,yCAA0C,SAAQ,4BAA4B;;IAKhF,8BAA8B,IAAI,oBAAoB,EAAE;IAWxD,8CAA8C,IAAI,qCAAqC,EAAE;IA2BzF,2BAA2B,IAAI,kBAAkB,EAAE;IAWnD,iCAAiC,IAAI,wBAAwB,EAAE;CAkBzE"}
@@ -15,14 +15,28 @@ 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 { LegendQueryPlugin, } from '@finos/legend-query';
18
+ import { LegendQueryApplicationPlugin, } from '@finos/legend-query';
19
19
  import { SquareIcon } from '@finos/legend-art';
20
20
  import { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState.js';
21
21
  import { DataspaceQuerySetup } from './DataSpaceQuerySetup.js';
22
- export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
22
+ import { DATA_SPACE_QUERY_EDITOR_ROUTE_PATTERN } from '../../stores/query/DSLDataSpace_LegendQueryRouter.js';
23
+ import { DataSpaceQueryEditor } from './DataSpaceQueryEditor.js';
24
+ import { DataSpaceQueryEditorStore } from '../../stores/query/DataSpaceQueryEditorStore.js';
25
+ import { extractElementNameFromPath } from '@finos/legend-graph';
26
+ export class DSLDataSpace_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
23
27
  constructor() {
24
28
  super(packageJson.extensions.queryPlugin, packageJson.version);
25
29
  }
30
+ getExtraApplicationPageEntries() {
31
+ return [
32
+ // data space query editor
33
+ {
34
+ key: 'data-space-query-editor-application-page',
35
+ urlPatterns: [DATA_SPACE_QUERY_EDITOR_ROUTE_PATTERN],
36
+ renderer: DataSpaceQueryEditor,
37
+ },
38
+ ];
39
+ }
26
40
  getExtraQuerySetupOptionRendererConfigurations() {
27
41
  return [
28
42
  {
@@ -44,5 +58,15 @@ export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
44
58
  },
45
59
  ];
46
60
  }
61
+ getExtraQueryEditorHeaderLabelers() {
62
+ return [
63
+ (editorStore) => {
64
+ if (editorStore instanceof DataSpaceQueryEditorStore) {
65
+ return (_jsxs("div", { className: "query-editor__header__label", children: [_jsx(SquareIcon, { className: "query-editor__header__label__icon icon--data-space" }), extractElementNameFromPath(editorStore.dataSpacePath), _jsx("div", { className: "query-editor__header__label__tag", children: editorStore.executionContext })] }));
66
+ }
67
+ return undefined;
68
+ },
69
+ ];
70
+ }
47
71
  }
48
- //# sourceMappingURL=DSLDataSpace_LegendQueryPlugin.js.map
72
+ //# sourceMappingURL=DSLDataSpace_LegendQueryApplicationPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL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AClE,EACN,cAAK,SAAS,EAAC,0CAA0C,6CAEnD,IACC,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,GAAI,CAAC;iBAClE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,iCAAiC;QACxC,OAAO;YACL,CAAC,WAA6B,EAA+B,EAAE;gBAC7D,IAAI,WAAW,YAAY,yBAAyB,EAAE;oBACpD,OAAO,CACL,eAAK,SAAS,EAAC,6BAA6B,aAC1C,KAAC,UAAU,IAAC,SAAS,EAAC,oDAAoD,GAAG,EAC5E,0BAA0B,CAAC,WAAW,CAAC,aAAa,CAAC,EACtD,cAAK,SAAS,EAAC,kCAAkC,YAC9C,WAAW,CAAC,gBAAgB,GACzB,IACF,CACP,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /// <reference types="react" resolution-mode="require"/>
17
+ export declare const DataSpaceQueryEditor: (() => JSX.Element) & {
18
+ displayName: string;
19
+ };
20
+ //# sourceMappingURL=DataSpaceQueryEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceQueryEditor.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkEH,eAAO,MAAM,oBAAoB;;CAyB/B,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { observer, useLocalObservable } from 'mobx-react-lite';
18
+ import { getQueryParameters } from '@finos/legend-shared';
19
+ import { useApplicationStore } from '@finos/legend-application';
20
+ import { parseGAVCoordinates, useDepotServerClient, } from '@finos/legend-server-depot';
21
+ import { LEGEND_QUERY_PATH_PARAM_TOKEN, LEGEND_QUERY_QUERY_PARAM_TOKEN, QueryEditor, QueryEditorStoreContext, useLegendQueryApplicationStore, useLegendQueryBaseStore, } from '@finos/legend-query';
22
+ import { useParams } from 'react-router';
23
+ import { DataSpaceQueryEditorStore } from '../../stores/query/DataSpaceQueryEditorStore.js';
24
+ import { DATA_SPACE_QUERY_EDITOR_PATH_PARAM_TOKEN, } from '../../stores/query/DSLDataSpace_LegendQueryRouter.js';
25
+ const DataSpaceQueryEditorStoreProvider = ({ children, gav, dataSpacePath, executionContext, runtimePath, classPath, }) => {
26
+ const { groupId, artifactId, versionId } = parseGAVCoordinates(gav);
27
+ const applicationStore = useLegendQueryApplicationStore();
28
+ const depotServerClient = useDepotServerClient();
29
+ const baseStore = useLegendQueryBaseStore();
30
+ const store = useLocalObservable(() => new DataSpaceQueryEditorStore(applicationStore, depotServerClient, baseStore.pluginManager, groupId, artifactId, versionId, dataSpacePath, executionContext, runtimePath, classPath));
31
+ return (_jsx(QueryEditorStoreContext.Provider, { value: store, children: children }));
32
+ };
33
+ export const DataSpaceQueryEditor = observer(() => {
34
+ const applicationStore = useApplicationStore();
35
+ const params = useParams();
36
+ const gav = params[LEGEND_QUERY_PATH_PARAM_TOKEN.GAV];
37
+ const dataSpacePath = params[DATA_SPACE_QUERY_EDITOR_PATH_PARAM_TOKEN.DATA_SPACE_PATH];
38
+ const executionContext = params[DATA_SPACE_QUERY_EDITOR_PATH_PARAM_TOKEN.EXECUTION_CONTEXT];
39
+ const runtimePath = params[LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH];
40
+ const classPath = getQueryParameters(applicationStore.navigator.getCurrentLocation(), true)[LEGEND_QUERY_QUERY_PARAM_TOKEN.CLASS_PATH];
41
+ return (_jsx(DataSpaceQueryEditorStoreProvider, { gav: gav, dataSpacePath: dataSpacePath, executionContext: executionContext, runtimePath: runtimePath, classPath: classPath, children: _jsx(QueryEditor, {}) }));
42
+ });
43
+ //# sourceMappingURL=DataSpaceQueryEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceQueryEditor.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,WAAW,EACX,uBAAuB,EACvB,8BAA8B,EAC9B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C,iBAAiB,CAAC,CAAC;IACrE,MAAM,WAAW,GAAG,MAAM,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC;IACvE,MAAM,SAAS,GAAG,kBAAkB,CAClC,gBAAgB,CAAC,SAAS,CAAC,kBAAkB,EAAE,EAC/C,IAAI,CACL,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAC;IAE7C,OAAO,CACL,KAAC,iCAAiC,IAChC,GAAG,EAAE,GAAG,EACR,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,YAEpB,KAAC,WAAW,KAAG,GACmB,CACrC,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EACV,wBAAwB,EAEzB,MAAM,gDAAgD,CAAC;AASxD,eAAO,MAAM,mBAAmB,WACtB;IAAE,eAAe,EAAE,wBAAwB,CAAA;CAAE;;CAmMtD,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EACV,wBAAwB,EAEzB,MAAM,gDAAgD,CAAC;AASxD,eAAO,MAAM,mBAAmB,WACtB;IAAE,eAAe,EAAE,wBAAwB,CAAA;CAAE;;CA0LtD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -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, useLegendQueryStore } from '@finos/legend-query';
19
+ import { useQuerySetupStore } 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,6 @@ export const DataspaceQuerySetup = observer((props) => {
31
31
  const { querySetupState } = props;
32
32
  const applicationStore = useApplicationStore();
33
33
  const setupStore = useQuerySetupStore();
34
- const queryStore = useLegendQueryStore();
35
34
  const dataSpaceSearchRef = useRef(null);
36
35
  const [searchText, setSearchText] = useState('');
37
36
  const toggleGetSnapshot = () => {
@@ -47,7 +46,6 @@ export const DataspaceQuerySetup = observer((props) => {
47
46
  const back = () => {
48
47
  setupStore.setSetupState(undefined);
49
48
  querySetupState.setCurrentDataSpace(undefined);
50
- queryStore.graphManagerState.resetGraph();
51
49
  };
52
50
  // query
53
51
  const dataSpaceOptions = querySetupState.dataSpaces.map(buildDataSpaceOption);
@@ -56,7 +54,6 @@ export const DataspaceQuerySetup = observer((props) => {
56
54
  : null;
57
55
  const onDataSpaceOptionChange = (option) => {
58
56
  if (option?.value !== querySetupState.currentDataSpace) {
59
- queryStore.graphManagerState.resetGraph();
60
57
  querySetupState.setCurrentDataSpace(option?.value);
61
58
  querySetupState.setDataSpaceViewerState(undefined);
62
59
  }
@@ -78,7 +75,7 @@ export const DataspaceQuerySetup = observer((props) => {
78
75
  }, [querySetupState, applicationStore]);
79
76
  useEffect(() => {
80
77
  if (querySetupState.currentDataSpace) {
81
- flowResult(querySetupState.setUpDataSpace(querySetupState.currentDataSpace)).catch(applicationStore.alertUnhandledError);
78
+ flowResult(querySetupState.loadDataSpace(querySetupState.currentDataSpace)).catch(applicationStore.alertUnhandledError);
82
79
  }
83
80
  }, [querySetupState, applicationStore, querySetupState.currentDataSpace]);
84
81
  useEffect(() => {
@@ -88,16 +85,6 @@ export const DataspaceQuerySetup = observer((props) => {
88
85
  'query-setup__wizard__header__btn--ready': canProceed,
89
86
  }), onClick: next, disabled: !canProceed, title: "Proceed", children: _jsx(ArrowRightIcon, {}) })] }), _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, {}) }), _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 }), _jsx("button", { className: clsx('query-setup__data-space__use-snapshot-btn', {
90
87
  '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, children: _jsx(BoltIcon, {}) })] }), _jsxs("div", { className: "query-setup__data-space__view", children: [_jsx(PanelLoadingIndicator, { isLoading: querySetupState.setUpDataSpaceState.isInProgress }), querySetupState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: querySetupState.dataSpaceViewerState })), !querySetupState.dataSpaceViewerState &&
92
- querySetupState.setUpDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: querySetupState.queryStore.buildGraphState.message ??
93
- querySetupState.queryStore.graphManagerState
94
- .systemBuildState.message ??
95
- querySetupState.queryStore.graphManagerState
96
- .dependenciesBuildState.message ??
97
- querySetupState.queryStore.graphManagerState
98
- .generationsBuildState.message ??
99
- querySetupState.queryStore.graphManagerState.graphBuildState
100
- .message })), !querySetupState.dataSpaceViewerState &&
101
- 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, {}) }), _jsx("div", { className: "query-setup__data-space__view--failed__text", children: "Can't load data space" })] }) }))] })] })] }));
88
+ }), tabIndex: -1, title: `[${querySetupState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}) })] }), _jsxs("div", { className: "query-setup__data-space__view", children: [_jsx(PanelLoadingIndicator, { isLoading: querySetupState.loadDataSpaceState.isInProgress }), querySetupState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: querySetupState.dataSpaceViewerState })), !querySetupState.dataSpaceViewerState && (_jsxs(_Fragment, { children: [querySetupState.loadDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: querySetupState.loadDataSpaceState.message })), querySetupState.loadDataSpaceState.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, {}) }), _jsx("div", { className: "query-setup__data-space__view--failed__text", children: "Can't load data space" })] }) }))] }))] })] })] }));
102
89
  });
103
90
  //# 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;AAChE,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,iBAAiB,E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AO,EAAE,iBAAiB,YAE1B,KAAC,QAAQ,KAAG,GACL,IACL,EACN,eAAK,SAAS,EAAC,+BAA+B,aAC5C,KAAC,qBAAqB,IACpB,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAAC,YAAY,GAC3D,EACD,eAAe,CAAC,oBAAoB,IAAI,CACvC,KAAC,eAAe,IACd,oBAAoB,EAAE,eAAe,CAAC,oBAAoB,GAC1D,CACH,EACA,CAAC,eAAe,CAAC,oBAAoB;gCACpC,eAAe,CAAC,mBAAmB,CAAC,YAAY,IAAI,CAClD,KAAC,iBAAiB,cACf,eAAe,CAAC,UAAU,CAAC,eAAe,CAAC,OAAO;oCACjD,eAAe,CAAC,UAAU,CAAC,iBAAiB;yCACzC,gBAAgB,CAAC,OAAO;oCAC3B,eAAe,CAAC,UAAU,CAAC,iBAAiB;yCACzC,sBAAsB,CAAC,OAAO;oCACjC,eAAe,CAAC,UAAU,CAAC,iBAAiB;yCACzC,qBAAqB,CAAC,OAAO;oCAChC,eAAe,CAAC,UAAU,CAAC,iBAAiB,CAAC,eAAe;yCACzD,OAAO,GACM,CACrB,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,KAAG,GACf,EACN,cAAK,SAAS,EAAC,6CAA6C,sCAEtD,IACF,GACY,CACrB,IACC,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
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;AAChE,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,iBAAiB,EACjB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,eAAe,CAAC,oBAAoB,IAAI,CACvC,KAAC,eAAe,IACd,oBAAoB,EAAE,eAAe,CAAC,oBAAoB,GAC1D,CACH,EACA,CAAC,eAAe,CAAC,oBAAoB,IAAI,CACxC,8BACG,eAAe,CAAC,kBAAkB,CAAC,YAAY,IAAI,CAClD,KAAC,iBAAiB,cACf,eAAe,CAAC,kBAAkB,CAAC,OAAO,GACzB,CACrB,EACA,eAAe,CAAC,kBAAkB,CAAC,SAAS,IAAI,CAC/C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,uCAAuC,aACpD,cAAK,SAAS,EAAC,6CAA6C,YAC1D,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,6CAA6C,sCAEtD,IACF,GACY,CACrB,IACA,CACJ,IACG,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type NewElementFromStateCreator, type ElementTypeGetter, type ElementProjectExplorerDnDTypeGetter, type ElementIconGetter, type DSL_LegendStudioPlugin_Extension, type ElementEditorStateCreator, type PureGrammarParserElementDocumentationGetter, type PureGrammarParserDocumentationGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementSnippetSuggestionsGetter, LegendStudioPlugin } from '@finos/legend-studio';
17
- export declare class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin implements DSL_LegendStudioPlugin_Extension {
16
+ import { type NewElementFromStateCreator, type ElementTypeGetter, type ElementProjectExplorerDnDTypeGetter, type ElementIconGetter, type DSL_LegendStudioApplicationPlugin_Extension, type ElementEditorStateCreator, type PureGrammarParserElementDocumentationGetter, type PureGrammarParserDocumentationGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementSnippetSuggestionsGetter, LegendStudioApplicationPlugin } from '@finos/legend-studio';
17
+ export declare class DSLDataSpace_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin implements DSL_LegendStudioApplicationPlugin_Extension {
18
18
  constructor();
19
19
  getExtraRequiredDocumentationKeys(): string[];
20
20
  getExtraSupportedElementTypes(): string[];
@@ -29,4 +29,4 @@ export declare class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin
29
29
  getExtraPureGrammarParserKeywordSuggestionGetters(): PureGrammarParserKeywordSuggestionGetter[];
30
30
  getExtraPureGrammarParserElementSnippetSuggestionsGetters(): PureGrammarParserElementSnippetSuggestionsGetter[];
31
31
  }
32
- //# sourceMappingURL=DSLDataSpace_LegendStudioPlugin.d.ts.map
32
+ //# sourceMappingURL=DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,2CAA2C,EAEhD,KAAK,yBAAyB,EAG9B,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EAErD,6BAA6B,EAC9B,MAAM,sBAAsB,CAAC;AAwB9B,qBAAa,0CACX,SAAQ,6BACR,YAAW,2CAA2C;;IAM7C,iCAAiC,IAAI,MAAM,EAAE;IAOtD,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,mCAAmC,IAAI,0BAA0B,EAAE;IA0BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,qCAAqC,IAAI,MAAM,EAAE;IAIjD,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAgBhH"}
@@ -15,7 +15,7 @@ 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, LegendStudioPlugin, } from '@finos/legend-studio';
18
+ import { UnsupportedElementEditorState, LegendStudioApplicationPlugin, } from '@finos/legend-studio';
19
19
  import { SquareIcon } from '@finos/legend-art';
20
20
  import { PackageableElementExplicitReference, stub_Mapping, stub_PackageableRuntime, } from '@finos/legend-graph';
21
21
  import { DataSpace, DataSpaceExecutionContext, } from '../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
@@ -24,7 +24,7 @@ import { PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL, PURE_GRAMMAR_DATA_SPACE_PAR
24
24
  import { SIMPLE_DATA_SPACE_SNIPPET } from './DSLDataSpace_CodeSnippets.js';
25
25
  const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
26
26
  const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DATA_SPACE';
27
- export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
27
+ export class DSLDataSpace_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
28
28
  constructor() {
29
29
  super(packageJson.extensions.studioPlugin, packageJson.version);
30
30
  }
@@ -146,4 +146,4 @@ export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
146
146
  ];
147
147
  }
148
148
  }
149
- //# sourceMappingURL=DSLDataSpace_LegendStudioPlugin.js.map
149
+ //# sourceMappingURL=DSLDataSpace_LegendStudioApplicationPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSp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AqC;QACnC,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACxD,CAAC;IAED,oDAAoD;QAClD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACrB,cAAsB,EACU,EAAE;gBAClC,IAAI,aAAa,KAAK,mCAAmC,EAAE;oBACzD,IAAI,cAAc,KAAK,0CAA0C,EAAE;wBACjE,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,0BAA0B,CAC1E,CAAC;qBACH;iBACF;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,6CAA6C;QAC3C,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACW,EAAE;gBAClC,IAAI,aAAa,KAAK,mCAAmC,EAAE;oBACzD,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,cAAc,CAC9D,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,mCAAmC;oBACzC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,8CAA8C,CAAC,cAAc,CAC9D;oBACH,UAAU,EAAE,mCAAmC;iBAChD;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,mCAAmC;gBACnD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,0CAA0C;wBAChD,UAAU,EAAE,yBAAyB;qBACtC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
@@ -13,11 +13,12 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { PureGraphManagerPlugin, type ElementObserver, type PureGrammarElementLabeler } from '@finos/legend-graph';
16
+ import { PureGraphManagerPlugin, type ElementObserver, type PureGrammarElementLabeler, type PureGraphManagerExtensionBuilder } from '@finos/legend-graph';
17
17
  export declare const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = "DataSpace";
18
18
  export declare const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = "DataSpace";
19
19
  export declare class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {
20
20
  constructor();
21
+ getExtraPureGraphManagerExtensionBuilders(): PureGraphManagerExtensionBuilder[];
21
22
  getExtraPureGrammarParserNames(): string[];
22
23
  getExtraPureGrammarKeywords(): string[];
23
24
  getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[];