@finos/legend-extension-dsl-data-space 9.1.7 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/DataSpaceDataAccess.d.ts.map +1 -1
- package/lib/components/DataSpaceDataAccess.js +71 -3
- package/lib/components/DataSpaceDataAccess.js.map +1 -1
- package/lib/components/DataSpaceDescription.d.ts.map +1 -1
- package/lib/components/DataSpaceDescription.js +6 -1
- package/lib/components/DataSpaceDescription.js.map +1 -1
- package/lib/components/DataSpaceDiagramViewer.js +3 -3
- package/lib/components/DataSpaceDiagramViewer.js.map +1 -1
- package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
- package/lib/components/DataSpaceQuickStart.js +3 -2
- package/lib/components/DataSpaceQuickStart.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +3 -2
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/DataSpaceViewerActivityBar.d.ts.map +1 -1
- package/lib/components/DataSpaceViewerActivityBar.js +13 -4
- package/lib/components/DataSpaceViewerActivityBar.js.map +1 -1
- package/lib/components/DataSpaceWiki.d.ts.map +1 -1
- package/lib/components/DataSpaceWiki.js +1 -0
- package/lib/components/DataSpaceWiki.js.map +1 -1
- package/lib/components/query/DataSpaceQueryCreator.js +1 -1
- package/lib/components/query/DataSpaceQueryCreator.js.map +1 -1
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts +1 -0
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts.map +1 -1
- package/lib/graph/DSL_DataSpace_HashUtils.js +1 -0
- package/lib/graph/DSL_DataSpace_HashUtils.js.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts +23 -19
- 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 +41 -32
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js +23 -17
- 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 +4 -11
- 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 +3 -3
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +25 -2
- 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 +21 -17
- 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 +41 -32
- 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 +2 -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 +44 -10
- 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 +5 -5
- package/lib/stores/DataSpaceViewerDataAccessState.d.ts +35 -0
- package/lib/stores/DataSpaceViewerDataAccessState.d.ts.map +1 -0
- package/lib/stores/DataSpaceViewerDataAccessState.js +100 -0
- package/lib/stores/DataSpaceViewerDataAccessState.js.map +1 -0
- package/lib/stores/DataSpaceViewerState.d.ts +34 -20
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +100 -29
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.js +2 -0
- package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
- package/lib/stores/studio/DataSpacePreviewState.d.ts.map +1 -1
- package/lib/stores/studio/DataSpacePreviewState.js +2 -0
- package/lib/stores/studio/DataSpacePreviewState.js.map +1 -1
- package/package.json +16 -16
- package/src/components/DataSpaceDataAccess.tsx +116 -2
- package/src/components/DataSpaceDescription.tsx +7 -1
- package/src/components/DataSpaceDiagramViewer.tsx +3 -3
- package/src/components/DataSpaceQuickStart.tsx +5 -1
- package/src/components/DataSpaceViewer.tsx +6 -2
- package/src/components/DataSpaceViewerActivityBar.tsx +14 -5
- package/src/components/DataSpaceWiki.tsx +2 -0
- package/src/components/query/DataSpaceQueryCreator.tsx +1 -1
- package/src/graph/DSL_DataSpace_HashUtils.ts +1 -0
- package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts +59 -55
- package/src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts +23 -30
- package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +9 -18
- package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +34 -3
- package/src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts +57 -46
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts +59 -14
- package/src/stores/DataSpaceViewerDataAccessState.ts +146 -0
- package/src/stores/DataSpaceViewerState.ts +126 -33
- package/src/stores/query/DataSpaceAdvancedSearchState.ts +14 -1
- package/src/stores/studio/DataSpacePreviewState.ts +3 -0
- package/tsconfig.json +1 -0
|
@@ -13,55 +13,69 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type { GenericLegendApplicationStore } from '@finos/legend-application';
|
|
16
|
+
import type { GenericLegendApplicationStore, NavigationZone } from '@finos/legend-application';
|
|
17
17
|
import { type ClassView, type DiagramRenderer } from '@finos/legend-extension-dsl-diagram';
|
|
18
|
-
import type { BasicGraphManagerState, PackageableRuntime } from '@finos/legend-graph';
|
|
18
|
+
import type { BasicGraphManagerState, GraphData, PackageableRuntime } from '@finos/legend-graph';
|
|
19
19
|
import type { DataSpaceAnalysisResult, DataSpaceDiagramAnalysisResult, DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
20
|
+
import { DataSpaceViewerDataAccessState } from './DataSpaceViewerDataAccessState.js';
|
|
20
21
|
export declare enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
|
|
21
|
-
DESCRIPTION = "
|
|
22
|
-
DIAGRAM_VIEWER = "
|
|
23
|
-
MODELS_DOCUMENTATION = "
|
|
24
|
-
QUICK_START = "
|
|
25
|
-
EXECUTION_CONTEXT = "
|
|
26
|
-
DATA_ACCESS = "
|
|
27
|
-
DATA_STORES = "
|
|
28
|
-
DATA_AVAILABILITY = "
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
DESCRIPTION = "description",
|
|
23
|
+
DIAGRAM_VIEWER = "diagram_viewer",
|
|
24
|
+
MODELS_DOCUMENTATION = "models_documentation",
|
|
25
|
+
QUICK_START = "quick_start",
|
|
26
|
+
EXECUTION_CONTEXT = "execution_context",
|
|
27
|
+
DATA_ACCESS = "data_access",
|
|
28
|
+
DATA_STORES = "data_stores",
|
|
29
|
+
DATA_AVAILABILITY = "data_availability",
|
|
30
|
+
DATA_READINESS = "data_readiness",
|
|
31
|
+
DATA_COST = "data_cost",
|
|
32
|
+
DATA_GOVERNANCE = "data_governance",
|
|
33
|
+
INFO = "info",
|
|
34
|
+
SUPPORT = "support"
|
|
35
|
+
}
|
|
36
|
+
declare class DataSpaceLayoutState {
|
|
37
|
+
readonly dataSpaceViewerState: DataSpaceViewerState;
|
|
38
|
+
isExpandedModeEnabled: boolean;
|
|
39
|
+
constructor(dataSpaceViewerState: DataSpaceViewerState);
|
|
40
|
+
enableExpandedMode(val: boolean): void;
|
|
33
41
|
}
|
|
34
42
|
export declare class DataSpaceViewerState {
|
|
35
43
|
readonly applicationStore: GenericLegendApplicationStore;
|
|
36
44
|
readonly graphManagerState: BasicGraphManagerState;
|
|
45
|
+
readonly layoutState: DataSpaceLayoutState;
|
|
46
|
+
readonly dataSpaceAnalysisResult: DataSpaceAnalysisResult;
|
|
37
47
|
readonly groupId: string;
|
|
38
48
|
readonly artifactId: string;
|
|
39
49
|
readonly versionId: string;
|
|
40
|
-
readonly
|
|
50
|
+
readonly retriveGraphData: () => GraphData;
|
|
41
51
|
readonly viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
|
|
42
52
|
readonly viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>;
|
|
43
53
|
readonly onDiagramClassDoubleClick: (classView: ClassView) => void;
|
|
54
|
+
readonly onZoneChange?: ((zone: NavigationZone | undefined) => void) | undefined;
|
|
55
|
+
readonly dataAccessState: DataSpaceViewerDataAccessState;
|
|
44
56
|
_renderer?: DiagramRenderer | undefined;
|
|
45
57
|
currentDiagram?: DataSpaceDiagramAnalysisResult | undefined;
|
|
46
58
|
currentActivity: DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
47
59
|
currentExecutionContext: DataSpaceExecutionContextAnalysisResult;
|
|
48
60
|
currentRuntime: PackageableRuntime;
|
|
49
|
-
isExpandedModeEnabled: boolean;
|
|
50
61
|
constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: BasicGraphManagerState, groupId: string, artifactId: string, versionId: string, dataSpaceAnalysisResult: DataSpaceAnalysisResult, actions: {
|
|
62
|
+
retriveGraphData: () => GraphData;
|
|
51
63
|
viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
|
|
52
64
|
viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>;
|
|
53
65
|
onDiagramClassDoubleClick: (classView: ClassView) => void;
|
|
66
|
+
onZoneChange?: ((zone: NavigationZone | undefined) => void) | undefined;
|
|
54
67
|
});
|
|
55
|
-
get
|
|
68
|
+
get diagramRenderer(): DiagramRenderer;
|
|
56
69
|
get isDiagramRendererInitialized(): boolean;
|
|
57
70
|
get diagramCursorClass(): string;
|
|
58
71
|
get isVerified(): boolean;
|
|
59
|
-
|
|
72
|
+
setDiagramRenderer(val: DiagramRenderer): void;
|
|
60
73
|
setCurrentDiagram(val: DataSpaceDiagramAnalysisResult): void;
|
|
61
74
|
setCurrentActivity(val: DATA_SPACE_VIEWER_ACTIVITY_MODE): void;
|
|
62
75
|
setCurrentExecutionContext(val: DataSpaceExecutionContextAnalysisResult): void;
|
|
63
76
|
setCurrentRuntime(val: PackageableRuntime): void;
|
|
64
|
-
|
|
65
|
-
|
|
77
|
+
setupDiagramRenderer(): void;
|
|
78
|
+
changeZone(zone: NavigationZone): void;
|
|
66
79
|
}
|
|
80
|
+
export {};
|
|
67
81
|
//# sourceMappingURL=DataSpaceViewerState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,6BAA6B,EAC7B,cAAc,EACf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,SAAS,EACd,KAAK,eAAe,EAErB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EACV,sBAAsB,EACtB,SAAS,EACT,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EACV,uBAAuB,EACvB,8BAA8B,EAC9B,uCAAuC,EACxC,MAAM,uDAAuD,CAAC;AAK/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF,oBAAY,+BAA+B;IACzC,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,oBAAoB,yBAAyB;IAC7C,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAE3B,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,cAAc,mBAAmB;IACjC,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,cAAM,oBAAoB;IACxB,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEpD,qBAAqB,UAAS;gBAElB,oBAAoB,EAAE,oBAAoB;IAStD,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;CAGvC;AAED,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,gBAAgB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B,EAAE,uBAAuB,EAChD,OAAO,EAAE;QACP,gBAAgB,EAAE,MAAM,SAAS,CAAC;QAClC,WAAW,EAAE,CACX,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,IAAI,CAAC;QACV,eAAe,EAAE,CACf,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,OAAO,CAAC,IAAI,CAAC,CAAC;QACnB,yBAAyB,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;QAC1D,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;KACzE;IAwCH,IAAI,eAAe,IAAI,eAAe,CAKrC;IAED,IAAI,4BAA4B,IAAI,OAAO,CAE1C;IAMD,IAAI,kBAAkB,IAAI,MAAM,CAiB/B;IAED,IAAI,UAAU,IAAI,OAAO,CAQxB;IAED,kBAAkB,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAI9C,iBAAiB,CAAC,GAAG,EAAE,8BAA8B,GAAG,IAAI;IAI5D,kBAAkB,CAAC,GAAG,EAAE,+BAA+B,GAAG,IAAI;IAI9D,0BAA0B,CACxB,GAAG,EAAE,uCAAuC,GAC3C,IAAI;IAKP,iBAAiB,CAAC,GAAG,EAAE,kBAAkB,GAAG,IAAI;IAIhD,oBAAoB,IAAI,IAAI;IAQ5B,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;CA2DvC"}
|
|
@@ -17,37 +17,56 @@ import { DIAGRAM_INTERACTION_MODE, } from '@finos/legend-extension-dsl-diagram';
|
|
|
17
17
|
import { getNullableFirstElement, guaranteeNonNullable, } from '@finos/legend-shared';
|
|
18
18
|
import { action, computed, makeObservable, observable } from 'mobx';
|
|
19
19
|
import { PURE_DATA_SPACE_INFO_PROFILE_PATH, PURE_DATA_SPACE_INFO_PROFILE_VERIFIED_STEREOTYPE, } from '../graphManager/DSL_DataSpace_PureGraphManagerPlugin.js';
|
|
20
|
+
import { DataSpaceViewerDataAccessState } from './DataSpaceViewerDataAccessState.js';
|
|
20
21
|
export var DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
21
22
|
(function (DATA_SPACE_VIEWER_ACTIVITY_MODE) {
|
|
22
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["DESCRIPTION"] = "
|
|
23
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["DIAGRAM_VIEWER"] = "
|
|
24
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["MODELS_DOCUMENTATION"] = "
|
|
25
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["QUICK_START"] = "
|
|
26
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["EXECUTION_CONTEXT"] = "
|
|
27
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_ACCESS"] = "
|
|
28
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_STORES"] = "
|
|
29
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_AVAILABILITY"] = "
|
|
30
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["
|
|
31
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["
|
|
32
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["
|
|
33
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["
|
|
23
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DESCRIPTION"] = "description";
|
|
24
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DIAGRAM_VIEWER"] = "diagram_viewer";
|
|
25
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["MODELS_DOCUMENTATION"] = "models_documentation";
|
|
26
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["QUICK_START"] = "quick_start";
|
|
27
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["EXECUTION_CONTEXT"] = "execution_context";
|
|
28
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_ACCESS"] = "data_access";
|
|
29
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_STORES"] = "data_stores";
|
|
30
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_AVAILABILITY"] = "data_availability";
|
|
31
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_READINESS"] = "data_readiness";
|
|
32
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_COST"] = "data_cost";
|
|
33
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["DATA_GOVERNANCE"] = "data_governance";
|
|
34
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["INFO"] = "info";
|
|
35
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["SUPPORT"] = "support";
|
|
34
36
|
})(DATA_SPACE_VIEWER_ACTIVITY_MODE = DATA_SPACE_VIEWER_ACTIVITY_MODE || (DATA_SPACE_VIEWER_ACTIVITY_MODE = {}));
|
|
37
|
+
class DataSpaceLayoutState {
|
|
38
|
+
dataSpaceViewerState;
|
|
39
|
+
isExpandedModeEnabled = false;
|
|
40
|
+
constructor(dataSpaceViewerState) {
|
|
41
|
+
makeObservable(this, {
|
|
42
|
+
isExpandedModeEnabled: observable,
|
|
43
|
+
enableExpandedMode: action,
|
|
44
|
+
});
|
|
45
|
+
this.dataSpaceViewerState = dataSpaceViewerState;
|
|
46
|
+
}
|
|
47
|
+
enableExpandedMode(val) {
|
|
48
|
+
this.isExpandedModeEnabled = val;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
35
51
|
export class DataSpaceViewerState {
|
|
36
52
|
applicationStore;
|
|
37
53
|
graphManagerState;
|
|
54
|
+
layoutState;
|
|
55
|
+
dataSpaceAnalysisResult;
|
|
38
56
|
groupId;
|
|
39
57
|
artifactId;
|
|
40
58
|
versionId;
|
|
41
|
-
|
|
59
|
+
retriveGraphData;
|
|
42
60
|
viewProject;
|
|
43
61
|
viewSDLCProject;
|
|
44
62
|
onDiagramClassDoubleClick;
|
|
63
|
+
onZoneChange;
|
|
64
|
+
dataAccessState;
|
|
45
65
|
_renderer;
|
|
46
66
|
currentDiagram;
|
|
47
67
|
currentActivity = DATA_SPACE_VIEWER_ACTIVITY_MODE.DESCRIPTION;
|
|
48
68
|
currentExecutionContext;
|
|
49
69
|
currentRuntime;
|
|
50
|
-
isExpandedModeEnabled = false;
|
|
51
70
|
constructor(applicationStore, graphManagerState, groupId, artifactId, versionId, dataSpaceAnalysisResult, actions) {
|
|
52
71
|
makeObservable(this, {
|
|
53
72
|
_renderer: observable,
|
|
@@ -55,18 +74,17 @@ export class DataSpaceViewerState {
|
|
|
55
74
|
currentActivity: observable,
|
|
56
75
|
currentExecutionContext: observable,
|
|
57
76
|
currentRuntime: observable,
|
|
58
|
-
isExpandedModeEnabled: observable,
|
|
59
77
|
isVerified: computed,
|
|
60
|
-
|
|
61
|
-
|
|
78
|
+
diagramRenderer: computed,
|
|
79
|
+
setDiagramRenderer: action,
|
|
62
80
|
setCurrentDiagram: action,
|
|
63
81
|
setCurrentActivity: action,
|
|
64
82
|
setCurrentExecutionContext: action,
|
|
65
83
|
setCurrentRuntime: action,
|
|
66
|
-
enableExpandedMode: action,
|
|
67
84
|
});
|
|
68
85
|
this.applicationStore = applicationStore;
|
|
69
86
|
this.graphManagerState = graphManagerState;
|
|
87
|
+
this.layoutState = new DataSpaceLayoutState(this);
|
|
70
88
|
this.dataSpaceAnalysisResult = dataSpaceAnalysisResult;
|
|
71
89
|
this.groupId = groupId;
|
|
72
90
|
this.artifactId = artifactId;
|
|
@@ -75,11 +93,14 @@ export class DataSpaceViewerState {
|
|
|
75
93
|
dataSpaceAnalysisResult.defaultExecutionContext;
|
|
76
94
|
this.currentRuntime = this.currentExecutionContext.defaultRuntime;
|
|
77
95
|
this.currentDiagram = getNullableFirstElement(this.dataSpaceAnalysisResult.diagrams);
|
|
96
|
+
this.retriveGraphData = actions.retriveGraphData;
|
|
78
97
|
this.viewProject = actions.viewProject;
|
|
79
98
|
this.viewSDLCProject = actions.viewSDLCProject;
|
|
80
99
|
this.onDiagramClassDoubleClick = actions.onDiagramClassDoubleClick;
|
|
100
|
+
this.onZoneChange = actions.onZoneChange;
|
|
101
|
+
this.dataAccessState = new DataSpaceViewerDataAccessState(this);
|
|
81
102
|
}
|
|
82
|
-
get
|
|
103
|
+
get diagramRenderer() {
|
|
83
104
|
return guaranteeNonNullable(this._renderer, `Diagram renderer must be initialized (this is likely caused by calling this method at the wrong place)`);
|
|
84
105
|
}
|
|
85
106
|
get isDiagramRendererInitialized() {
|
|
@@ -93,12 +114,12 @@ export class DataSpaceViewerState {
|
|
|
93
114
|
if (!this.isDiagramRendererInitialized) {
|
|
94
115
|
return '';
|
|
95
116
|
}
|
|
96
|
-
if (this.
|
|
117
|
+
if (this.diagramRenderer.middleClick || this.diagramRenderer.rightClick) {
|
|
97
118
|
return 'diagram-editor__cursor--grabbing';
|
|
98
119
|
}
|
|
99
|
-
switch (this.
|
|
120
|
+
switch (this.diagramRenderer.interactionMode) {
|
|
100
121
|
case DIAGRAM_INTERACTION_MODE.LAYOUT: {
|
|
101
|
-
if (this.
|
|
122
|
+
if (this.diagramRenderer.mouseOverClassView) {
|
|
102
123
|
return 'diagram-editor__cursor--pointer';
|
|
103
124
|
}
|
|
104
125
|
return '';
|
|
@@ -111,7 +132,7 @@ export class DataSpaceViewerState {
|
|
|
111
132
|
return Boolean(this.dataSpaceAnalysisResult.stereotypes.find((stereotype) => stereotype.profile === PURE_DATA_SPACE_INFO_PROFILE_PATH &&
|
|
112
133
|
stereotype.value === PURE_DATA_SPACE_INFO_PROFILE_VERIFIED_STEREOTYPE));
|
|
113
134
|
}
|
|
114
|
-
|
|
135
|
+
setDiagramRenderer(val) {
|
|
115
136
|
this._renderer = val;
|
|
116
137
|
}
|
|
117
138
|
setCurrentDiagram(val) {
|
|
@@ -127,13 +148,63 @@ export class DataSpaceViewerState {
|
|
|
127
148
|
setCurrentRuntime(val) {
|
|
128
149
|
this.currentRuntime = val;
|
|
129
150
|
}
|
|
130
|
-
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
151
|
+
setupDiagramRenderer() {
|
|
152
|
+
this.diagramRenderer.setIsReadOnly(true);
|
|
153
|
+
this.diagramRenderer.setEnableLayoutAutoAdjustment(true);
|
|
154
|
+
this.diagramRenderer.onClassViewDoubleClick = (classView) => this.onDiagramClassDoubleClick(classView);
|
|
134
155
|
}
|
|
135
|
-
|
|
136
|
-
|
|
156
|
+
changeZone(zone) {
|
|
157
|
+
switch (zone) {
|
|
158
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.DESCRIPTION:
|
|
159
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.DIAGRAM_VIEWER:
|
|
160
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.MODELS_DOCUMENTATION:
|
|
161
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.QUICK_START: {
|
|
162
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DESCRIPTION);
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.EXECUTION_CONTEXT: {
|
|
166
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.EXECUTION_CONTEXT);
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_ACCESS: {
|
|
170
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_ACCESS);
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_STORES: {
|
|
174
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_STORES);
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_AVAILABILITY: {
|
|
178
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_AVAILABILITY);
|
|
179
|
+
break;
|
|
180
|
+
}
|
|
181
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_READINESS: {
|
|
182
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_READINESS);
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_COST: {
|
|
186
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_COST);
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_GOVERNANCE: {
|
|
190
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DATA_GOVERNANCE);
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.INFO: {
|
|
194
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.INFO);
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
case DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT: {
|
|
198
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT);
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
default: {
|
|
202
|
+
// unknown
|
|
203
|
+
this.setCurrentActivity(DATA_SPACE_VIEWER_ACTIVITY_MODE.DESCRIPTION);
|
|
204
|
+
this.onZoneChange?.(undefined);
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
137
208
|
}
|
|
138
209
|
}
|
|
139
210
|
//# sourceMappingURL=DataSpaceViewerState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAGL,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAM7C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,OAAO,EACL,iCAAiC,EACjC,gDAAgD,GACjD,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF,MAAM,CAAN,IAAY,+BAeX;AAfD,WAAY,+BAA+B;IACzC,8DAA2B,CAAA;IAC3B,oEAAiC,CAAA;IACjC,gFAA6C,CAAA;IAC7C,8DAA2B,CAAA;IAC3B,0EAAuC,CAAA;IACvC,8DAA2B,CAAA;IAE3B,8DAA2B,CAAA;IAC3B,0EAAuC,CAAA;IACvC,oEAAiC,CAAA;IACjC,0DAAuB,CAAA;IACvB,sEAAmC,CAAA;IACnC,gDAAa,CAAA;IACb,sDAAmB,CAAA;AACrB,CAAC,EAfW,+BAA+B,GAA/B,+BAA+B,KAA/B,+BAA+B,QAe1C;AAED,MAAM,oBAAoB;IACf,oBAAoB,CAAuB;IAEpD,qBAAqB,GAAG,KAAK,CAAC;IAE9B,YAAY,oBAA0C;QACpD,cAAc,CAAC,IAAI,EAAE;YACnB,qBAAqB,EAAE,UAAU;YACjC,kBAAkB,EAAE,MAAM;SAC3B,CAAC,CAAC;QAEH,IAAI,CAAC,oBAAo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AAC,OAAO,CAAC,CAAC;gBAC5C,IAAI,CAAC,kBAAkB,CAAC,+BAA+B,CAAC,OAAO,CAAC,CAAC;gBACjE,MAAM;aACP;YACD,OAAO,CAAC,CAAC;gBACP,UAAU;gBACV,IAAI,CAAC,kBAAkB,CAAC,+BAA+B,CAAC,WAAW,CAAC,CAAC;gBACrE,IAAI,CAAC,YAAY,EAAE,CAAC,SAAS,CAAC,CAAC;gBAC/B,MAAM;aACP;SACF;IACH,CAAC;CACF"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type
|
|
16
|
+
import { type Class, type GraphManagerState } from '@finos/legend-graph';
|
|
17
17
|
import { type DepotServerClient } from '@finos/legend-server-depot';
|
|
18
18
|
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
|
|
19
19
|
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceAdvancedSearchState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DataSpaceAdvancedSearchState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,iBAAiB,EAEvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,KAAK,iBAAiB,EAIvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,WAAW,EAEhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAE,KAAK,aAAa,EAAwB,MAAM,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AC,EAAE,OAAO,GAAG,SAAS;IA0BrC,mBAAmB,CAAC,GAAG,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI;IAIzD,uBAAuB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;IAIpE,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAInC,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IA2BrD,aAAa,CAAC,SAAS,EAAE,aAAa,GAAG,WAAW,CAAC,IAAI,CAAC;IAoE1D,oBAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC;CAkBzD"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { GraphDataWithOrigin, LegendSDLC, } from '@finos/legend-graph';
|
|
16
17
|
import { DepotScope, ProjectData, retrieveProjectEntitiesWithDependencies, } from '@finos/legend-server-depot';
|
|
17
18
|
import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
|
18
19
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
@@ -96,6 +97,7 @@ export class DataSpaceAdvancedSearchState {
|
|
|
96
97
|
// analyze data space
|
|
97
98
|
const analysisResult = (yield DSL_DataSpace_getGraphManagerExtension(this.graphManagerState.graphManager).analyzeDataSpace(dataSpace.path, () => retrieveProjectEntitiesWithDependencies(project, dataSpace.versionId, this.depotServerClient), () => retrieveAnalyticsResultCache(project, dataSpace.versionId, dataSpace.path, this.depotServerClient), this.loadDataSpaceState));
|
|
98
99
|
this.dataSpaceViewerState = new DataSpaceViewerState(this.applicationStore, this.graphManagerState, dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, analysisResult, {
|
|
100
|
+
retriveGraphData: () => new GraphDataWithOrigin(new LegendSDLC(dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId)),
|
|
99
101
|
viewProject: this.viewProject,
|
|
100
102
|
viewSDLCProject: this.viewSDLCProject,
|
|
101
103
|
onDiagramClassDoubleClick: (classView) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceAdvancedSearchState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"DataSpaceAdvancedSearchState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,mBAAmB,EAGnB,UAAU,GACX,MAAM,qBAAqB,CAAC;AAC7B,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,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAE/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,4BAA4B,EAAE,MAAM,gEAAgE,CAAC;AAG9G,MAAM,OAAO,4BAA4B;IAC9B,gBAAgB,CAAgC;IAChD,iBAAiB,CAAoB;IACrC,iBAAiB,CAAoB;IACrC,WAAW,CAKV;IACD,eAAe,CAIL;IAEnB,UAAU,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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"}
|
|
@@ -1 +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;
|
|
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;AAGlE,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;CA0E3D"}
|
|
@@ -18,6 +18,7 @@ import { guaranteeNonNullable, ActionState, assertErrorThrown, } from '@finos/le
|
|
|
18
18
|
import { action, flow, makeObservable, observable } from 'mobx';
|
|
19
19
|
import { DSL_DataSpace_getGraphManagerExtension } from '../../graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
20
20
|
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
21
|
+
import { LiveGraphData } from '@finos/legend-graph';
|
|
21
22
|
export class DataSpacePreviewState extends EditorExtensionState {
|
|
22
23
|
editorStore;
|
|
23
24
|
loadDataSpaceState = ActionState.create();
|
|
@@ -57,6 +58,7 @@ export class DataSpacePreviewState extends EditorExtensionState {
|
|
|
57
58
|
.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))
|
|
58
59
|
.concat(this.editorStore.graphManagerState.graph.dependencyManager.allOwnElements.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))), undefined, this.loadDataSpaceState));
|
|
59
60
|
this.dataSpaceViewerState = new DataSpaceViewerState(this.editorStore.applicationStore, this.editorStore.graphManagerState, groupId, artifactId, versionId, analysisResult, {
|
|
61
|
+
retriveGraphData: () => new LiveGraphData(this.editorStore.graphManagerState.graph),
|
|
60
62
|
viewProject: () => {
|
|
61
63
|
this.editorStore.applicationStore.notificationService.notifyWarning('This feature is not supported in preview mode');
|
|
62
64
|
},
|
|
@@ -1 +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;
|
|
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,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K,IAAI,EAAE;oBAC1B,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACjE,+CAA+C,CAChD,CAAC;gBACJ,CAAC;gBACD,yBAAyB,EAAE,CAAC,SAAoB,EAAQ,EAAE;oBACxD,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,KAAK,CACvD,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACtD,CAAC;gBACJ,CAAC;aACF,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,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC1E;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.1
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -47,33 +47,33 @@
|
|
|
47
47
|
"@ag-grid-community/core": "29.2.0",
|
|
48
48
|
"@ag-grid-community/react": "29.2.0",
|
|
49
49
|
"@ag-grid-community/styles": "29.2.0",
|
|
50
|
-
"@finos/legend-application": "13.0.
|
|
51
|
-
"@finos/legend-application-query": "11.0.
|
|
52
|
-
"@finos/legend-application-studio": "23.1.
|
|
53
|
-
"@finos/legend-art": "5.0.
|
|
54
|
-
"@finos/legend-extension-dsl-diagram": "7.1.
|
|
55
|
-
"@finos/legend-graph": "
|
|
56
|
-
"@finos/legend-query-builder": "
|
|
57
|
-
"@finos/legend-server-depot": "4.4.
|
|
58
|
-
"@finos/legend-shared": "8.0.
|
|
59
|
-
"@finos/legend-storage": "3.0.
|
|
60
|
-
"@types/react": "18.0.
|
|
50
|
+
"@finos/legend-application": "13.0.8",
|
|
51
|
+
"@finos/legend-application-query": "11.0.8",
|
|
52
|
+
"@finos/legend-application-studio": "23.1.4",
|
|
53
|
+
"@finos/legend-art": "5.0.41",
|
|
54
|
+
"@finos/legend-extension-dsl-diagram": "7.1.48",
|
|
55
|
+
"@finos/legend-graph": "26.0.1",
|
|
56
|
+
"@finos/legend-query-builder": "2.0.1",
|
|
57
|
+
"@finos/legend-server-depot": "4.4.11",
|
|
58
|
+
"@finos/legend-shared": "8.0.4",
|
|
59
|
+
"@finos/legend-storage": "3.0.45",
|
|
60
|
+
"@types/react": "18.0.33",
|
|
61
61
|
"mobx": "6.9.0",
|
|
62
|
-
"mobx-react-lite": "4.
|
|
62
|
+
"mobx-react-lite": "3.4.3",
|
|
63
63
|
"react": "18.2.0",
|
|
64
64
|
"react-dom": "18.2.0",
|
|
65
65
|
"serializr": "3.0.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@finos/legend-dev-utils": "2.0.
|
|
68
|
+
"@finos/legend-dev-utils": "2.0.50",
|
|
69
69
|
"@jest/globals": "29.5.0",
|
|
70
70
|
"cross-env": "7.0.3",
|
|
71
|
-
"eslint": "8.
|
|
71
|
+
"eslint": "8.37.0",
|
|
72
72
|
"jest": "29.5.0",
|
|
73
73
|
"npm-run-all": "4.1.5",
|
|
74
74
|
"rimraf": "4.4.1",
|
|
75
75
|
"sass": "1.60.0",
|
|
76
|
-
"typescript": "5.0.
|
|
76
|
+
"typescript": "5.0.3"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": "^18.0.0"
|