@finos/legend-extension-dsl-data-space 4.0.4 → 6.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.
- package/lib/DSLDataSpace_Const.d.ts +18 -0
- package/lib/DSLDataSpace_Const.d.ts.map +1 -0
- package/lib/DSLDataSpace_Const.js +20 -0
- package/lib/DSLDataSpace_Const.js.map +1 -0
- package/lib/DSLDataSpace_Extension.d.ts +1 -1
- package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
- package/lib/DSLDataSpace_Extension.js +3 -3
- package/lib/DSLDataSpace_Extension.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +30 -27
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.d.ts → DSLDataSpace_LegendQueryApplicationPlugin.d.ts} +6 -3
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -0
- package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.js → DSLDataSpace_LegendQueryApplicationPlugin.js} +28 -4
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +1 -0
- package/lib/components/query/DataSpaceQueryEditor.d.ts +20 -0
- package/lib/components/query/DataSpaceQueryEditor.d.ts.map +1 -0
- package/lib/components/query/DataSpaceQueryEditor.js +43 -0
- package/lib/components/query/DataSpaceQueryEditor.js.map +1 -0
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +4 -17
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.d.ts → DSLDataSpace_LegendStudioApplicationPlugin.d.ts} +3 -3
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.js → DSLDataSpace_LegendStudioApplicationPlugin.js} +5 -5
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/{models/DSLDataSpace_ModelUtils.d.ts → graph/DSLDataSpace_HashUtils.d.ts} +1 -1
- package/lib/graph/DSLDataSpace_HashUtils.d.ts.map +1 -0
- package/lib/{models/DSLDataSpace_ModelUtils.js → graph/DSLDataSpace_HashUtils.js} +1 -1
- package/lib/graph/DSLDataSpace_HashUtils.js.map +1 -0
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
- package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +0 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -0
- package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -0
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts +2 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +5 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +50 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +48 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -0
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js +1 -0
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts +23 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js +21 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts +18 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js +20 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +0 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +1 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts +26 -0
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js +131 -0
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +53 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +78 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts +0 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js +0 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +3 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +5 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -3
- package/lib/index.js.map +1 -1
- package/lib/package.json +15 -14
- package/lib/stores/DataSpaceViewerState.d.ts +7 -11
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +10 -32
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts +32 -0
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +1 -0
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js +34 -0
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +1 -0
- package/lib/stores/query/DataSpaceQueryEditorStore.d.ts +31 -0
- package/lib/stores/query/DataSpaceQueryEditorStore.d.ts.map +1 -0
- package/lib/stores/query/DataSpaceQueryEditorStore.js +87 -0
- package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -0
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +4 -5
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +35 -45
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +22 -21
- package/src/DSLDataSpace_Const.ts +20 -0
- package/src/DSLDataSpace_Extension.ts +3 -3
- package/src/components/DataSpaceViewer.tsx +56 -66
- package/src/components/query/{DSLDataSpace_LegendQueryPlugin.tsx → DSLDataSpace_LegendQueryApplicationPlugin.tsx} +41 -4
- package/src/components/query/DataSpaceQueryEditor.tsx +106 -0
- package/src/components/query/DataSpaceQuerySetup.tsx +23 -32
- package/src/components/studio/{DSLDataSpace_LegendStudioPlugin.tsx → DSLDataSpace_LegendStudioApplicationPlugin.tsx} +11 -11
- package/src/{models/DSLDataSpace_ModelUtils.ts → graph/DSLDataSpace_HashUtils.ts} +0 -0
- package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -1
- package/src/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +1 -1
- package/src/graphManager/DSLDataSpace_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +7 -1
- package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +64 -0
- package/src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts +2 -1
- package/src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.ts +42 -0
- package/src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.ts +27 -0
- package/src/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +1 -1
- package/src/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts +228 -0
- package/src/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
- package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +117 -0
- package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +1 -1
- package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts +1 -1
- package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -1
- package/src/index.ts +5 -3
- package/src/stores/DataSpaceViewerState.ts +23 -54
- package/src/stores/query/DSLDataSpace_LegendQueryRouter.ts +69 -0
- package/src/stores/query/DataSpaceQueryEditorStore.ts +141 -0
- package/src/stores/query/DataSpaceQuerySetupState.ts +67 -75
- package/tsconfig.json +18 -9
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +0 -1
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +0 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +0 -1
- package/lib/models/DSLDataSpace_ModelUtils.d.ts.map +0 -1
- package/lib/models/DSLDataSpace_ModelUtils.js.map +0 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +0 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +0 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.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"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { AbstractPreset } from '@finos/legend-shared';
|
|
17
|
-
export declare class
|
|
17
|
+
export declare class DSLDataSpace_GraphManagerPreset extends AbstractPreset {
|
|
18
18
|
constructor();
|
|
19
19
|
}
|
|
20
20
|
//# 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;AAKtD,qBAAa,
|
|
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;AAKtD,qBAAa,+BAAgC,SAAQ,cAAc;;CAQlE"}
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
import packageJson from '../package.json';
|
|
17
17
|
import { AbstractPreset } from '@finos/legend-shared';
|
|
18
18
|
import { DSLDataSpace_PureGraphManagerPlugin } from './graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
|
|
19
|
-
import { DSLDataSpace_PureProtocolProcessorPlugin } from './
|
|
19
|
+
import { DSLDataSpace_PureProtocolProcessorPlugin } from './graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
20
20
|
import { DSLDataSpace_PureGraphPlugin } from './graph/DSLDataSpace_PureGraphPlugin.js';
|
|
21
|
-
export class
|
|
21
|
+
export class DSLDataSpace_GraphManagerPreset extends AbstractPreset {
|
|
22
22
|
constructor() {
|
|
23
|
-
super(packageJson.extensions.
|
|
23
|
+
super(packageJson.extensions.graphManagerPreset, packageJson.version, [
|
|
24
24
|
new DSLDataSpace_PureGraphPlugin(),
|
|
25
25
|
new DSLDataSpace_PureGraphManagerPlugin(),
|
|
26
26
|
new DSLDataSpace_PureProtocolProcessorPlugin(),
|
|
@@ -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,uDAAuD,CAAC;AAC5G,OAAO,EAAE,wCAAwC,EAAE,MAAM,
|
|
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,uDAAuD,CAAC;AAC5G,OAAO,EAAE,wCAAwC,EAAE,MAAM,0EAA0E,CAAC;AACpI,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,MAAM,OAAO,+BAAgC,SAAQ,cAAc;IACjE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,kBAAkB,EAAE,WAAW,CAAC,OAAO,EAAE;YACpE,IAAI,4BAA4B,EAAE;YAClC,IAAI,mCAAmC,EAAE;YACzC,IAAI,wCAAwC,EAAE;SAC/C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
|
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
|
|
22
|
+
import { DataSpaceSupportEmail } from '../graph/metamodel/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 =
|
|
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
|
-
|
|
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
|
|
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 =
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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" }),
|
|
113
|
-
|
|
114
|
-
|
|
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
|
|
122
|
-
|
|
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 (
|
|
126
|
-
return (_jsx(DataSpaceSupportEmailViewer, { dataSpaceViewerState: dataSpaceViewerState, dataSpaceSupportEmail:
|
|
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
|
|
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,
|
|
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:
|
|
173
|
-
'data-space__viewer__description--empty': !
|
|
174
|
-
}), children:
|
|
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
|
|
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,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,OAAO,EACP,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,QAAQ,EACR,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,qBAAqB,GAGtB,MAAM,yFAAyF,CAAC;AAEjG,OAAO,EAEL,+BAA+B,GAChC,MAAM,mCAAmC,CAAC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B,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,UAAU,EAAE,MAAM,OAAO,CAAC;AACtD,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,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,OAAO,EACP,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,QAAQ,EACR,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3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AAW,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 {
|
|
17
|
-
|
|
16
|
+
import { type QueryEditorHeaderLabeler, type QuerySetupOptionRendererConfiguration, type QuerySetupRenderer, LegendQueryApplicationPlugin } from '@finos/legend-application-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=
|
|
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,iCAAiC,CAAC;AAIzC,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,13 +15,27 @@ 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 { LegendQueryApplicationPlugin, } from '@finos/legend-application-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
|
-
|
|
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
|
-
super(packageJson.extensions.
|
|
28
|
+
super(packageJson.extensions.queryApplicationPlugin, packageJson.version);
|
|
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
|
+
];
|
|
25
39
|
}
|
|
26
40
|
getExtraQuerySetupOptionRendererConfigurations() {
|
|
27
41
|
return [
|
|
@@ -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=
|
|
72
|
+
//# sourceMappingURL=DSLDataSpace_LegendQueryApplicationPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD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2B;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-application-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/D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,QAAQ,GACwB,CACpC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC,GAAG,EAAE;IAChD,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,MAAM,GAAG,SAAS,EAAkC,CAAC;IAC3D,MAAM,GAAG,GAAG,MAAM,CAAC,6BAA6B,CAAC,GAAG,CAAC,CAAC;IACtD,MAAM,aAAa,GACjB,MAAM,CAAC,wCAAwC,CAAC,eAAe,CAAC,CAAC;IACnE,MAAM,gBAAgB,GACpB,MAAM,CAAC,wCAAwC,CAAC,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;;
|
|
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
|
|
19
|
+
import { useQuerySetupStore } from '@finos/legend-application-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.
|
|
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.
|
|
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,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,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,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,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;A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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
|
|
17
|
-
export declare class
|
|
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-application-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=
|
|
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,kCAAkC,CAAC;AAwB1C,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"}
|