@finos/legend-extension-dsl-data-space 9.0.47 → 9.1.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/DSL_DataSpace_Const.d.ts +1 -0
- package/lib/DSL_DataSpace_Const.d.ts.map +1 -1
- package/lib/DSL_DataSpace_Const.js +2 -1
- package/lib/DSL_DataSpace_Const.js.map +1 -1
- package/lib/{stores/query/DSL_DataSpace_LegendQueryRouter.d.ts → application/query/DSL_DataSpace_LegendQueryNavigation.d.ts} +12 -11
- package/lib/application/query/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -0
- package/lib/{stores/query/DSL_DataSpace_LegendQueryRouter.js → application/query/DSL_DataSpace_LegendQueryNavigation.js} +13 -12
- package/lib/application/query/DSL_DataSpace_LegendQueryNavigation.js.map +1 -0
- package/lib/{components → application}/studio/DSL_DataSpace_CodeSnippets.d.ts +1 -1
- package/lib/application/studio/DSL_DataSpace_CodeSnippets.d.ts.map +1 -0
- package/lib/{components → application}/studio/DSL_DataSpace_CodeSnippets.js +4 -0
- package/lib/application/studio/DSL_DataSpace_CodeSnippets.js.map +1 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioDocumentation.js.map +1 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.d.ts +28 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.d.ts.map +1 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.js +30 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.js.map +1 -0
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +2 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +135 -45
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +3 -3
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.js +6 -4
- package/lib/components/query/DataSpaceQueryBuilder.js.map +1 -1
- package/lib/components/query/DataSpaceQueryCreator.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryCreator.js +8 -9
- package/lib/components/query/DataSpaceQueryCreator.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +2 -1
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts +5 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js +41 -2
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/studio/DataSpacePreview.d.ts +20 -0
- package/lib/components/studio/DataSpacePreview.d.ts.map +1 -0
- package/lib/components/studio/DataSpacePreview.js +52 -0
- package/lib/components/studio/DataSpacePreview.js.map +1 -0
- package/lib/components/studio/DataSpacePreviewAction.d.ts +26 -0
- package/lib/components/studio/DataSpacePreviewAction.d.ts.map +1 -0
- package/lib/components/studio/DataSpacePreviewAction.js +46 -0
- package/lib/components/studio/DataSpacePreviewAction.js.map +1 -0
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts +2 -0
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts.map +1 -1
- package/lib/graph/DSL_DataSpace_HashUtils.js +2 -0
- package/lib/graph/DSL_DataSpace_HashUtils.js.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts +5 -3
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js +6 -4
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +10 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +18 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.d.ts +57 -0
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.js +209 -0
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.js.map +1 -0
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js +13 -1
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +28 -4
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +24 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +79 -3
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts +3 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js +6 -4
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js +7 -17
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/DataSpaceViewerState.d.ts +13 -8
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +11 -6
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.js +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts +1 -0
- package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.js +10 -2
- package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -1
- package/lib/stores/studio/DataSpacePreviewState.d.ts +30 -0
- package/lib/stores/studio/DataSpacePreviewState.d.ts.map +1 -0
- package/lib/stores/studio/DataSpacePreviewState.js +85 -0
- package/lib/stores/studio/DataSpacePreviewState.js.map +1 -0
- package/lib/stores/studio/DataSpacePreviewStore.d.ts +34 -0
- package/lib/stores/studio/DataSpacePreviewStore.d.ts.map +1 -0
- package/lib/stores/studio/DataSpacePreviewStore.js +98 -0
- package/lib/stores/studio/DataSpacePreviewStore.js.map +1 -0
- package/package.json +15 -15
- package/src/DSL_DataSpace_Const.ts +2 -1
- package/src/{stores/query/DSL_DataSpace_LegendQueryRouter.ts → application/query/DSL_DataSpace_LegendQueryNavigation.ts} +17 -18
- package/src/{components → application}/studio/DSL_DataSpace_CodeSnippets.ts +4 -0
- package/src/application/studio/DSL_DataSpace_LegendStudioNavigation.ts +53 -0
- package/src/components/DataSpaceViewer.tsx +552 -109
- package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +5 -4
- package/src/components/query/DataSpaceQueryBuilder.tsx +6 -4
- package/src/components/query/DataSpaceQueryCreator.tsx +12 -23
- package/src/components/query/DataSpaceQuerySetup.tsx +2 -1
- package/src/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.tsx +52 -2
- package/src/components/studio/DataSpacePreview.tsx +129 -0
- package/src/components/studio/DataSpacePreviewAction.tsx +127 -0
- package/src/graph/DSL_DataSpace_HashUtils.ts +2 -0
- package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts +15 -4
- package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +31 -0
- package/src/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.ts +313 -0
- package/src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts +25 -0
- package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +66 -3
- package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +110 -1
- package/src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts +6 -4
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts +13 -53
- package/src/stores/DataSpaceViewerState.ts +25 -14
- package/src/stores/query/DataSpaceAdvancedSearchState.ts +1 -1
- package/src/stores/query/DataSpaceQueryCreatorStore.ts +13 -1
- package/src/stores/query/DataSpaceQuerySetupStore.ts +1 -1
- package/src/stores/studio/DataSpacePreviewState.ts +150 -0
- package/src/stores/studio/DataSpacePreviewStore.ts +172 -0
- package/tsconfig.json +10 -5
- package/tsconfig.package.json +1 -2
- package/lib/components/studio/DSL_DataSpace_CodeSnippets.d.ts.map +0 -1
- package/lib/components/studio/DSL_DataSpace_CodeSnippets.js.map +0 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioDocumentation.js.map +0 -1
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.d.ts.map +0 -1
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js.map +0 -1
- /package/lib/{components → application}/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts +0 -0
- /package/lib/{components → application}/studio/DSL_DataSpace_LegendStudioDocumentation.js +0 -0
- /package/src/{components → application}/studio/DSL_DataSpace_LegendStudioDocumentation.ts +0 -0
|
@@ -18,7 +18,9 @@ import { getNullableFirstElement, guaranteeNonNullable, } from '@finos/legend-sh
|
|
|
18
18
|
import { action, computed, makeObservable, observable } from 'mobx';
|
|
19
19
|
export var DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
20
20
|
(function (DATA_SPACE_VIEWER_ACTIVITY_MODE) {
|
|
21
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["
|
|
21
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["OVERVIEW"] = "OVERVIEW";
|
|
22
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DOCUMENTATION"] = "DOCUMENTATION";
|
|
23
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["USAGE_SHOWCASE"] = "USAGE SHOWCASE";
|
|
22
24
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["EXECUTION"] = "EXECUTION";
|
|
23
25
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["ENTITLEMENT"] = "ENTITLEMENT";
|
|
24
26
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["TEST_DATA"] = "TEST_DATA";
|
|
@@ -33,15 +35,16 @@ export class DataSpaceViewerState {
|
|
|
33
35
|
artifactId;
|
|
34
36
|
versionId;
|
|
35
37
|
dataSpaceAnalysisResult;
|
|
38
|
+
viewProject;
|
|
39
|
+
viewSDLCProject;
|
|
40
|
+
onDiagramClassDoubleClick;
|
|
36
41
|
_renderer;
|
|
37
42
|
currentDiagram;
|
|
38
|
-
currentActivity = DATA_SPACE_VIEWER_ACTIVITY_MODE.
|
|
43
|
+
currentActivity = DATA_SPACE_VIEWER_ACTIVITY_MODE.OVERVIEW;
|
|
39
44
|
currentExecutionContext;
|
|
40
45
|
currentRuntime;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
onDiagramClassDoubleClick;
|
|
44
|
-
constructor(applicationStore, graphManagerState, groupId, artifactId, versionId, dataSpaceAnalysisResult, actions) {
|
|
46
|
+
HACKY__previewExperimentalFeatures = false;
|
|
47
|
+
constructor(applicationStore, graphManagerState, groupId, artifactId, versionId, dataSpaceAnalysisResult, actions, options) {
|
|
45
48
|
makeObservable(this, {
|
|
46
49
|
_renderer: observable,
|
|
47
50
|
currentDiagram: observable,
|
|
@@ -68,6 +71,7 @@ export class DataSpaceViewerState {
|
|
|
68
71
|
this.viewProject = actions.viewProject;
|
|
69
72
|
this.viewSDLCProject = actions.viewSDLCProject;
|
|
70
73
|
this.onDiagramClassDoubleClick = actions.onDiagramClassDoubleClick;
|
|
74
|
+
this.HACKY__previewExperimentalFeatures = Boolean(options?.HACKY__previewExperimentalFeatures);
|
|
71
75
|
}
|
|
72
76
|
get renderer() {
|
|
73
77
|
return guaranteeNonNullable(this._renderer, `Diagram renderer must be initialized (this is likely caused by calling this method at the wrong place)`);
|
|
@@ -115,6 +119,7 @@ export class DataSpaceViewerState {
|
|
|
115
119
|
}
|
|
116
120
|
setupRenderer() {
|
|
117
121
|
this.renderer.setIsReadOnly(true);
|
|
122
|
+
this.renderer.setEnableLayoutAutoAdjustment(true);
|
|
118
123
|
this.renderer.onClassViewDoubleClick = (classView) => this.onDiagramClassDoubleClick(classView);
|
|
119
124
|
}
|
|
120
125
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,MAAM,CAAN,IAAY,+
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,MAAM,CAAN,IAAY,+BAUX;AAVD,WAAY,+BAA+B;IACzC,wDAAqB,CAAA;IACrB,kEAA+B,CAAA;IAC/B,oEAAiC,CAAA;IACjC,0DAAuB,CAAA;IACvB,8DAA2B,CAAA;IAC3B,0DAAuB,CAAA;IACvB,kEAA+B,CAAA;IAC/B,gDAAa,CAAA;IACb,sDAAmB,CAAA;AACrB,CAA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GAAG,CAAC;IAC5B,CAAC;IAED,kBAAkB,CAAC,GAAoC;QACrD,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;IAC7B,CAAC;IAED,0BAA0B,CACxB,GAA4C;QAE5C,IAAI,CAAC,uBAAuB,GAAG,GAAG,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;IAC3C,CAAC;IAED,iBAAiB,CAAC,GAAuB;QACvC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,aAAa;QACX,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,QAAQ,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;QAClD,IAAI,CAAC,QAAQ,CAAC,sBAAsB,GAAG,CAAC,SAAoB,EAAQ,EAAE,CACpE,IAAI,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC;IAC9C,CAAC;CACF"}
|
|
@@ -19,7 +19,7 @@ import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
|
19
19
|
import { DSL_DataSpace_getGraphManagerExtension } from '../../graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
20
20
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
|
21
21
|
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
22
|
-
import { generateDataSpaceQueryCreatorRoute } from '
|
|
22
|
+
import { generateDataSpaceQueryCreatorRoute } from '../../application/query/DSL_DataSpace_LegendQueryNavigation.js';
|
|
23
23
|
import { extractDataSpaceInfo } from './DataSpaceInfo.js';
|
|
24
24
|
import { DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
|
|
25
25
|
import { retrieveAnalyticsResultCache } from '../../graphManager/action/analytics/DataSpaceAnalysisHelper.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceAdvancedSearchState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAGL,UAAU,EACV,WAAW,EACX,uCAAuC,GACxC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,sCAAsC,EAAE,MAAM,6EAA6E,CAAC;AACrI,OAAO,EAAE,kCAAkC,EAAE,MAAM,+EAA+E,CAAC;AACnI,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DataSpaceAdvancedSearchState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAGL,UAAU,EACV,WAAW,EACX,uCAAuC,GACxC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,sCAAsC,EAAE,MAAM,6EAA6E,CAAC;AACrI,OAAO,EAAE,kCAAkC,EAAE,MAAM,+EAA+E,CAAC;AACnI,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,gEAAgE,CAAC;AACpH,OAAO,EAAsB,oBA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AAI,EAAE,CAAC;SAChC;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;YAC/B,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC9D;gBAAS;YACR,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;SAC/C;IACH,CAAC;IAED,CAAC,oBAAoB,CAAC,MAAc;QAClC,IAAI,IAAI,CAAC,oBAAoB,EAAE;YAC7B,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,YAAY,CAC5D,kCAAkC,CAChC,IAAI,CAAC,oBAAoB,CAAC,OAAO,EACjC,IAAI,CAAC,oBAAoB,CAAC,UAAU,EACpC,IAAI,CAAC,oBAAoB,CAAC,SAAS,EACnC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACtD,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACtD,IAAI,CAAC,oBAAoB,CAAC,cAAc;gBACtC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,cAAc;gBAChE,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EACjD,MAAM,EAAE,IAAI,CACb,CACF,CAAC;SACH;IACH,CAAC;CACF"}
|
|
@@ -19,6 +19,7 @@ import type { DepotServerClient } from '@finos/legend-server-depot';
|
|
|
19
19
|
import type { QueryBuilderState } from '@finos/legend-query-builder';
|
|
20
20
|
import type { ProjectGAVCoordinates } from '@finos/legend-storage';
|
|
21
21
|
export declare const createQueryDataSpaceTaggedValue: (dataSpacePath: string) => QueryTaggedValue;
|
|
22
|
+
export declare const createQueryClassTaggedValue: (classPath: string) => QueryTaggedValue;
|
|
22
23
|
export declare class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
23
24
|
groupId: string;
|
|
24
25
|
artifactId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,EAKjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAGjC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,EAKjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAGjC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAgBpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,eAAO,MAAM,+BAA+B,kBAC3B,MAAM,KACpB,gBAMF,CAAC;AAEF,eAAO,MAAM,2BAA2B,cAC3B,MAAM,KAChB,gBAMF,CAAC;AAEF,qBAAa,0BAA2B,SAAQ,gBAAgB;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG5B,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS;IAalC,cAAc,IAAI,qBAAqB;IAQjC,2BAA2B,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAgIzD,sBAAsB,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAiBlE"}
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
import { extractElementNameFromPath, QueryTaggedValue, RuntimePointer, PackageableElementExplicitReference, } from '@finos/legend-graph';
|
|
17
17
|
import { QueryEditorStore, createViewProjectHandler, createViewSDLCProjectHandler, } from '@finos/legend-application-query';
|
|
18
18
|
import { guaranteeNonNullable, guaranteeType, uuid, } from '@finos/legend-shared';
|
|
19
|
-
import { QUERY_PROFILE_PATH, QUERY_PROFILE_TAG_DATA_SPACE, } from '../../DSL_DataSpace_Const.js';
|
|
19
|
+
import { QUERY_PROFILE_PATH, QUERY_PROFILE_TAG_CLASS, QUERY_PROFILE_TAG_DATA_SPACE, } from '../../DSL_DataSpace_Const.js';
|
|
20
20
|
import { getDataSpace } from '../../graphManager/DSL_DataSpace_GraphManagerHelper.js';
|
|
21
21
|
import { DataSpaceQueryBuilderState } from './DataSpaceQueryBuilderState.js';
|
|
22
|
-
import { generateDataSpaceQueryCreatorRoute } from '
|
|
22
|
+
import { generateDataSpaceQueryCreatorRoute } from '../../application/query/DSL_DataSpace_LegendQueryNavigation.js';
|
|
23
23
|
export const createQueryDataSpaceTaggedValue = (dataSpacePath) => {
|
|
24
24
|
const taggedValue = new QueryTaggedValue();
|
|
25
25
|
taggedValue.profile = QUERY_PROFILE_PATH;
|
|
@@ -27,6 +27,13 @@ export const createQueryDataSpaceTaggedValue = (dataSpacePath) => {
|
|
|
27
27
|
taggedValue.value = dataSpacePath;
|
|
28
28
|
return taggedValue;
|
|
29
29
|
};
|
|
30
|
+
export const createQueryClassTaggedValue = (classPath) => {
|
|
31
|
+
const taggedValue = new QueryTaggedValue();
|
|
32
|
+
taggedValue.profile = QUERY_PROFILE_PATH;
|
|
33
|
+
taggedValue.tag = QUERY_PROFILE_TAG_CLASS;
|
|
34
|
+
taggedValue.value = classPath;
|
|
35
|
+
return taggedValue;
|
|
36
|
+
};
|
|
30
37
|
export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
31
38
|
groupId;
|
|
32
39
|
artifactId;
|
|
@@ -105,6 +112,7 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
|
105
112
|
query.versionId = this.versionId;
|
|
106
113
|
query.taggedValues = [
|
|
107
114
|
createQueryDataSpaceTaggedValue(this.dataSpacePath),
|
|
115
|
+
createQueryClassTaggedValue(guaranteeNonNullable(this.classPath)),
|
|
108
116
|
];
|
|
109
117
|
},
|
|
110
118
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,mCAAmC,GAGpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAGhB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM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AC;IACJ,CAAC;CACF"}
|
|
@@ -21,7 +21,7 @@ import { QueryBuilderState } from '@finos/legend-query-builder';
|
|
|
21
21
|
import { ActionState, assertErrorThrown, UnsupportedOperationError, } from '@finos/legend-shared';
|
|
22
22
|
import { extractDataSpaceInfo } from './DataSpaceInfo.js';
|
|
23
23
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
|
24
|
-
import { generateDataSpaceQueryCreatorRoute } from '
|
|
24
|
+
import { generateDataSpaceQueryCreatorRoute } from '../../application/query/DSL_DataSpace_LegendQueryNavigation.js';
|
|
25
25
|
import { renderDataSpaceQuerySetupSetupPanelContent } from '../../components/query/DataSpaceQuerySetup.js';
|
|
26
26
|
import { DataSpaceAdvancedSearchState } from './DataSpaceAdvancedSearchState.js';
|
|
27
27
|
export class DataSpaceQuerySetupState extends QueryBuilderState {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GAEjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,UAAU,GAGX,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAE/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAE1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAsB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE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ACV,CACF,CAAC;aACH;iBAAM;gBACL,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACrD,kEAAkE,CACnE,CAAC;aACH;QACH,CAAC,EACD,wBAAwB,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAC/C,4BAA4B,CAC1B,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CACF,CAAC;QAEF,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAEQ,CAAC,UAAU;QAClB,aAAa;IACf,CAAC;CACF"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
import { EditorExtensionState, type EditorStore } from '@finos/legend-application-studio';
|
|
17
|
+
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
|
|
18
|
+
import type { DataSpace } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
|
19
|
+
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
20
|
+
export declare class DataSpacePreviewState extends EditorExtensionState {
|
|
21
|
+
readonly editorStore: EditorStore;
|
|
22
|
+
readonly loadDataSpaceState: ActionState;
|
|
23
|
+
dataSpace?: DataSpace | undefined;
|
|
24
|
+
dataSpaceViewerState?: DataSpaceViewerState | undefined;
|
|
25
|
+
constructor(editorStore: EditorStore);
|
|
26
|
+
static retrieveState(editorStore: EditorStore): DataSpacePreviewState;
|
|
27
|
+
setDataSpace(val: DataSpace | undefined): void;
|
|
28
|
+
previewDataSpace(dataSpace: DataSpace): GeneratorFn<void>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=DataSpacePreviewState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpacePreviewState.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DataSpacePreviewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,oBAAoB,EAEpB,KAAK,WAAW,EACjB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,KAAK,WAAW,EAEhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2FAA2F,CAAC;AAG3H,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,qBAAsB,SAAQ,oBAAoB;IAC7D,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC,QAAQ,CAAC,kBAAkB,cAAwB;IAEnD,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;gBAE5C,WAAW,EAAE,WAAW;IAapC,MAAM,CAAC,aAAa,CAAC,WAAW,EAAE,WAAW,GAAG,qBAAqB;IAUrE,YAAY,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,IAAI;IAO7C,gBAAgB,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC;CA6E3D"}
|
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
import { EditorExtensionState, queryClass, } from '@finos/legend-application-studio';
|
|
17
|
+
import { guaranteeNonNullable, ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
|
18
|
+
import { action, flow, makeObservable, observable } from 'mobx';
|
|
19
|
+
import { DSL_DataSpace_getGraphManagerExtension } from '../../graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
20
|
+
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
21
|
+
export class DataSpacePreviewState extends EditorExtensionState {
|
|
22
|
+
editorStore;
|
|
23
|
+
loadDataSpaceState = ActionState.create();
|
|
24
|
+
dataSpace;
|
|
25
|
+
dataSpaceViewerState;
|
|
26
|
+
constructor(editorStore) {
|
|
27
|
+
super();
|
|
28
|
+
makeObservable(this, {
|
|
29
|
+
dataSpace: observable,
|
|
30
|
+
dataSpaceViewerState: observable,
|
|
31
|
+
setDataSpace: action,
|
|
32
|
+
previewDataSpace: flow,
|
|
33
|
+
});
|
|
34
|
+
this.editorStore = editorStore;
|
|
35
|
+
}
|
|
36
|
+
static retrieveState(editorStore) {
|
|
37
|
+
return guaranteeNonNullable(editorStore.editorExtensionStates.find((extensionState) => extensionState instanceof DataSpacePreviewState), `Can't find data space preview state: make sure it is added as an editor extension state`);
|
|
38
|
+
}
|
|
39
|
+
setDataSpace(val) {
|
|
40
|
+
this.dataSpace = val;
|
|
41
|
+
if (val === undefined) {
|
|
42
|
+
this.dataSpaceViewerState = undefined;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
*previewDataSpace(dataSpace) {
|
|
46
|
+
this.setDataSpace(dataSpace);
|
|
47
|
+
this.loadDataSpaceState.inProgress();
|
|
48
|
+
this.loadDataSpaceState.setMessage(`Initializing...`);
|
|
49
|
+
try {
|
|
50
|
+
const groupId = this.editorStore.projectConfigurationEditorState
|
|
51
|
+
.currentProjectConfiguration.groupId;
|
|
52
|
+
const artifactId = this.editorStore.projectConfigurationEditorState
|
|
53
|
+
.currentProjectConfiguration.artifactId;
|
|
54
|
+
const versionId = 'LOCAL';
|
|
55
|
+
// analyze data space
|
|
56
|
+
const analysisResult = (yield DSL_DataSpace_getGraphManagerExtension(this.editorStore.graphManagerState.graphManager).analyzeDataSpace(dataSpace.path, async () => this.editorStore.graphManagerState.graph.allOwnElements
|
|
57
|
+
.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))
|
|
58
|
+
.concat(this.editorStore.graphManagerState.graph.dependencyManager.allOwnElements.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))), undefined, this.loadDataSpaceState));
|
|
59
|
+
this.dataSpaceViewerState = new DataSpaceViewerState(this.editorStore.applicationStore, this.editorStore.graphManagerState, groupId, artifactId, versionId, analysisResult, {
|
|
60
|
+
viewProject: () => {
|
|
61
|
+
this.editorStore.applicationStore.notificationService.notifyWarning('This feature is not supported in preview mode');
|
|
62
|
+
},
|
|
63
|
+
viewSDLCProject: async () => {
|
|
64
|
+
this.editorStore.applicationStore.notificationService.notifyWarning('This feature is not supported in preview mode');
|
|
65
|
+
},
|
|
66
|
+
onDiagramClassDoubleClick: (classView) => {
|
|
67
|
+
queryClass(classView.class.value, this.editorStore).catch(this.editorStore.applicationStore.alertUnhandledError);
|
|
68
|
+
},
|
|
69
|
+
}, {
|
|
70
|
+
HACKY__previewExperimentalFeatures: this.editorStore.applicationStore.config.options
|
|
71
|
+
.HACKY__previewExperimentalFeatures,
|
|
72
|
+
});
|
|
73
|
+
this.loadDataSpaceState.pass();
|
|
74
|
+
}
|
|
75
|
+
catch (error) {
|
|
76
|
+
assertErrorThrown(error);
|
|
77
|
+
this.loadDataSpaceState.fail();
|
|
78
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
79
|
+
}
|
|
80
|
+
finally {
|
|
81
|
+
this.loadDataSpaceState.setMessage(undefined);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=DataSpacePreviewState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpacePreviewState.js","sourceRoot":"","sources":["../../../src/stores/studio/DataSpacePreviewState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,oBAAoB,EACpB,UAAU,GAEX,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAEL,oBAAoB,EACpB,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGhE,OAAO,EAAE,sCAAsC,EAAE,MAAM,6EAA6E,CAAC;AACrI,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,OAAO,qBAAsB,SAAQ,oBAAoB;IACpD,WAAW,CAAc;IAEzB,kBAAkB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAEnD,SAAS,CAAyB;IAClC,oBAAoB,CAAoC;IAExD,YAAY,WAAwB;QAClC,KAAK,EAAE,CAAC;QAER,cAAc,CAAC,IAAI,EAAE;YACnB,SAAS,EAAE,UAAU;YACrB,oBAAoB,EAAE,UAAU;YAChC,YAAY,EAAE,MAAM;YACpB,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;QAEH,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,MAAM,CAAC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C;SAC1E;gBAAS;YACR,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;SAC/C;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { type DepotServerClient } from '@finos/legend-server-depot';
|
|
17
|
+
import type { LegendStudioApplicationStore } from '@finos/legend-application-studio';
|
|
18
|
+
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
|
|
19
|
+
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
20
|
+
import { BasicGraphManagerState } from '@finos/legend-graph';
|
|
21
|
+
export declare class DataSpacePreviewStore {
|
|
22
|
+
readonly applicationStore: LegendStudioApplicationStore;
|
|
23
|
+
readonly depotServerClient: DepotServerClient;
|
|
24
|
+
readonly graphManagerState: BasicGraphManagerState;
|
|
25
|
+
readonly groupId: string;
|
|
26
|
+
readonly artifactId: string;
|
|
27
|
+
readonly versionId: string;
|
|
28
|
+
readonly dataSpacePath: string;
|
|
29
|
+
readonly loadDataSpaceState: ActionState;
|
|
30
|
+
dataSpaceViewerState?: DataSpaceViewerState | undefined;
|
|
31
|
+
constructor(applicationStore: LegendStudioApplicationStore, depotServerClient: DepotServerClient, groupId: string, artifactId: string, versionId: string, dataSpacePath: string);
|
|
32
|
+
initialize(): GeneratorFn<void>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=DataSpacePreviewStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpacePreviewStore.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DataSpacePreviewStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EACL,WAAW,EAEX,KAAK,WAAW,EAEjB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAM7D,qBAAa,qBAAqB;IAChC,QAAQ,CAAC,gBAAgB,EAAE,4BAA4B,CAAC;IACxD,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,iBAAiB,EAAE,sBAAsB,CAAC;IAEnD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAE/B,QAAQ,CAAC,kBAAkB,cAAwB;IACnD,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;gBAGtD,gBAAgB,EAAE,4BAA4B,EAC9C,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM;IAsBtB,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC;CA6FjC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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
|
+
import { retrieveProjectEntitiesWithDependencies, ProjectData, } from '@finos/legend-server-depot';
|
|
17
|
+
import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
|
18
|
+
import { flow, flowResult, makeObservable, observable } from 'mobx';
|
|
19
|
+
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
20
|
+
import { DSL_DataSpace_getGraphManagerExtension } from '../../graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
21
|
+
import { BasicGraphManagerState } from '@finos/legend-graph';
|
|
22
|
+
import { retrieveAnalyticsResultCache } from '../../graphManager/action/analytics/DataSpaceAnalysisHelper.js';
|
|
23
|
+
import { TAB_SIZE } from '@finos/legend-application';
|
|
24
|
+
export class DataSpacePreviewStore {
|
|
25
|
+
applicationStore;
|
|
26
|
+
depotServerClient;
|
|
27
|
+
graphManagerState;
|
|
28
|
+
groupId;
|
|
29
|
+
artifactId;
|
|
30
|
+
versionId;
|
|
31
|
+
dataSpacePath;
|
|
32
|
+
loadDataSpaceState = ActionState.create();
|
|
33
|
+
dataSpaceViewerState;
|
|
34
|
+
constructor(applicationStore, depotServerClient, groupId, artifactId, versionId, dataSpacePath) {
|
|
35
|
+
makeObservable(this, {
|
|
36
|
+
dataSpaceViewerState: observable,
|
|
37
|
+
initialize: flow,
|
|
38
|
+
});
|
|
39
|
+
this.applicationStore = applicationStore;
|
|
40
|
+
this.applicationStore.assistantService.setIsHidden(true);
|
|
41
|
+
this.depotServerClient = depotServerClient;
|
|
42
|
+
this.graphManagerState = new BasicGraphManagerState(applicationStore.pluginManager, applicationStore.logService);
|
|
43
|
+
this.groupId = groupId;
|
|
44
|
+
this.artifactId = artifactId;
|
|
45
|
+
this.versionId = versionId;
|
|
46
|
+
this.dataSpacePath = dataSpacePath;
|
|
47
|
+
}
|
|
48
|
+
*initialize() {
|
|
49
|
+
this.loadDataSpaceState.inProgress();
|
|
50
|
+
this.loadDataSpaceState.setMessage(`Initializing...`);
|
|
51
|
+
try {
|
|
52
|
+
const groupId = this.groupId;
|
|
53
|
+
const artifactId = this.artifactId;
|
|
54
|
+
const versionId = this.versionId;
|
|
55
|
+
// initialize
|
|
56
|
+
yield this.graphManagerState.graphManager.initialize({
|
|
57
|
+
env: this.applicationStore.config.env,
|
|
58
|
+
tabSize: TAB_SIZE,
|
|
59
|
+
clientConfig: {
|
|
60
|
+
baseUrl: this.applicationStore.config.engineServerUrl,
|
|
61
|
+
queryBaseUrl: this.applicationStore.config.engineQueryServerUrl,
|
|
62
|
+
enableCompression: true,
|
|
63
|
+
},
|
|
64
|
+
}, {
|
|
65
|
+
tracerService: this.applicationStore.tracerService,
|
|
66
|
+
});
|
|
67
|
+
// fetch project
|
|
68
|
+
this.loadDataSpaceState.setMessage(`Fetching project...`);
|
|
69
|
+
const project = ProjectData.serialization.fromJson((yield flowResult(this.depotServerClient.getProject(groupId, artifactId))));
|
|
70
|
+
// analyze data space
|
|
71
|
+
const analysisResult = (yield DSL_DataSpace_getGraphManagerExtension(this.graphManagerState.graphManager).analyzeDataSpace(this.dataSpacePath, () => retrieveProjectEntitiesWithDependencies(project, versionId, this.depotServerClient), () => retrieveAnalyticsResultCache(project, versionId, this.dataSpacePath, this.depotServerClient), this.loadDataSpaceState));
|
|
72
|
+
this.dataSpaceViewerState = new DataSpaceViewerState(this.applicationStore, this.graphManagerState, groupId, artifactId, versionId, analysisResult, {
|
|
73
|
+
viewProject: () => {
|
|
74
|
+
this.applicationStore.notificationService.notifyWarning('This feature is not supported in preview mode');
|
|
75
|
+
},
|
|
76
|
+
viewSDLCProject: async () => {
|
|
77
|
+
this.applicationStore.notificationService.notifyWarning('This feature is not supported in preview mode');
|
|
78
|
+
},
|
|
79
|
+
onDiagramClassDoubleClick: (classView) => {
|
|
80
|
+
this.applicationStore.notificationService.notifyWarning('This feature is not supported in preview mode');
|
|
81
|
+
},
|
|
82
|
+
}, {
|
|
83
|
+
HACKY__previewExperimentalFeatures: this.applicationStore.config.options
|
|
84
|
+
.HACKY__previewExperimentalFeatures,
|
|
85
|
+
});
|
|
86
|
+
this.loadDataSpaceState.pass();
|
|
87
|
+
}
|
|
88
|
+
catch (error) {
|
|
89
|
+
assertErrorThrown(error);
|
|
90
|
+
this.loadDataSpaceState.fail();
|
|
91
|
+
this.applicationStore.notificationService.notifyError(error);
|
|
92
|
+
}
|
|
93
|
+
finally {
|
|
94
|
+
this.loadDataSpaceState.setMessage(undefined);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=DataSpacePreviewStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpacePreviewStore.js","sourceRoot":"","sources":["../../../src/stores/studio/DataSpacePreviewStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uCAAuC,EAEvC,WAAW,GACZ,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,WAAW,EACX,iBAAiB,GAGlB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EA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AAoB,GAAG,IAAI,oBAAoB,CAClD,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,EACtB,OAAO,EACP,UAAU,EACV,SAAS,EACT,cAAc,EACd;gBACE,WAAW,EAAE,GAAG,EAAE;oBAChB,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACrD,+CAA+C,CAChD,CAAC;gBACJ,CAAC;gBACD,eAAe,EAAE,KAAK,IAAI,EAAE;oBAC1B,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACrD,+CAA+C,CAChD,CAAC;gBACJ,CAAC;gBACD,yBAAyB,EAAE,CAAC,SAAoB,EAAQ,EAAE;oBACxD,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACrD,+CAA+C,CAChD,CAAC;gBACJ,CAAC;aACF,EACD;gBACE,kCAAkC,EAChC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO;qBACjC,kCAAkC;aACxC,CACF,CAAC;YACF,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;SAChC;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,CAAC;YAC/B,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC9D;gBAAS;YACR,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;SAC/C;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"test:watch": "jest --watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@finos/legend-application": "
|
|
47
|
-
"@finos/legend-application-query": "
|
|
48
|
-
"@finos/legend-application-studio": "
|
|
49
|
-
"@finos/legend-art": "5.0.
|
|
50
|
-
"@finos/legend-extension-dsl-diagram": "7.1.
|
|
51
|
-
"@finos/legend-graph": "
|
|
52
|
-
"@finos/legend-query-builder": "0.
|
|
53
|
-
"@finos/legend-server-depot": "4.4.
|
|
54
|
-
"@finos/legend-shared": "8.0.
|
|
55
|
-
"@finos/legend-storage": "3.0.
|
|
46
|
+
"@finos/legend-application": "13.0.0",
|
|
47
|
+
"@finos/legend-application-query": "11.0.0",
|
|
48
|
+
"@finos/legend-application-studio": "23.0.0",
|
|
49
|
+
"@finos/legend-art": "5.0.34",
|
|
50
|
+
"@finos/legend-extension-dsl-diagram": "7.1.40",
|
|
51
|
+
"@finos/legend-graph": "24.0.0",
|
|
52
|
+
"@finos/legend-query-builder": "1.0.0",
|
|
53
|
+
"@finos/legend-server-depot": "4.4.6",
|
|
54
|
+
"@finos/legend-shared": "8.0.1",
|
|
55
|
+
"@finos/legend-storage": "3.0.41",
|
|
56
56
|
"@types/react": "18.0.28",
|
|
57
57
|
"mobx": "6.8.0",
|
|
58
58
|
"mobx-react-lite": "3.4.3",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"serializr": "3.0.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@finos/legend-dev-utils": "2.0.
|
|
64
|
+
"@finos/legend-dev-utils": "2.0.46",
|
|
65
65
|
"@jest/globals": "29.5.0",
|
|
66
66
|
"cross-env": "7.0.3",
|
|
67
|
-
"eslint": "8.
|
|
67
|
+
"eslint": "8.36.0",
|
|
68
68
|
"jest": "29.5.0",
|
|
69
69
|
"npm-run-all": "4.1.5",
|
|
70
70
|
"rimraf": "4.4.0",
|
|
71
|
-
"sass": "1.
|
|
72
|
-
"typescript": "
|
|
71
|
+
"sass": "1.59.3",
|
|
72
|
+
"typescript": "5.0.2"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"react": "^18.0.0"
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
// NOTE: these are non-compilable profile and tag that we come up with for query
|
|
18
|
-
//
|
|
18
|
+
// to store extra metadata
|
|
19
19
|
export const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
|
|
20
20
|
export const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
|
|
21
|
+
export const QUERY_PROFILE_TAG_CLASS = 'class';
|