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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/lib/DSLDataSpace_Const.d.ts +18 -0
  2. package/lib/DSLDataSpace_Const.d.ts.map +1 -0
  3. package/lib/DSLDataSpace_Const.js +20 -0
  4. package/lib/DSLDataSpace_Const.js.map +1 -0
  5. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  6. package/lib/components/DataSpaceViewer.js +30 -27
  7. package/lib/components/DataSpaceViewer.js.map +1 -1
  8. package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.d.ts → DSLDataSpace_LegendQueryApplicationPlugin.d.ts} +6 -3
  9. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -0
  10. package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.js → DSLDataSpace_LegendQueryApplicationPlugin.js} +27 -3
  11. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +1 -0
  12. package/lib/components/query/DataSpaceQueryEditor.d.ts +20 -0
  13. package/lib/components/query/DataSpaceQueryEditor.d.ts.map +1 -0
  14. package/lib/components/query/DataSpaceQueryEditor.js +43 -0
  15. package/lib/components/query/DataSpaceQueryEditor.js.map +1 -0
  16. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
  17. package/lib/components/query/DataSpaceQuerySetup.js +4 -17
  18. package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
  19. package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.d.ts → DSLDataSpace_LegendStudioApplicationPlugin.d.ts} +3 -3
  20. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -0
  21. package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.js → DSLDataSpace_LegendStudioApplicationPlugin.js} +3 -3
  22. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +1 -0
  23. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts +2 -1
  24. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
  25. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +4 -0
  26. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
  27. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +50 -0
  28. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -0
  29. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +48 -0
  30. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -0
  31. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.d.ts +23 -0
  32. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  33. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js +21 -0
  34. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
  35. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts +18 -0
  36. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  37. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.js +20 -0
  38. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
  39. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts +26 -0
  40. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  41. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.js +131 -0
  42. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
  43. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +53 -0
  44. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -0
  45. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.js +78 -0
  46. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -0
  47. package/lib/index.css +2 -2
  48. package/lib/index.css.map +1 -1
  49. package/lib/index.d.ts +4 -2
  50. package/lib/index.d.ts.map +1 -1
  51. package/lib/index.js +4 -2
  52. package/lib/index.js.map +1 -1
  53. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +3 -1
  54. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -1
  55. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -1
  56. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -1
  57. package/lib/package.json +6 -5
  58. package/lib/stores/DataSpaceViewerState.d.ts +7 -11
  59. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  60. package/lib/stores/DataSpaceViewerState.js +10 -32
  61. package/lib/stores/DataSpaceViewerState.js.map +1 -1
  62. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts +32 -0
  63. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +1 -0
  64. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js +34 -0
  65. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +1 -0
  66. package/lib/stores/query/DataSpaceQueryEditorStore.d.ts +31 -0
  67. package/lib/stores/query/DataSpaceQueryEditorStore.d.ts.map +1 -0
  68. package/lib/stores/query/DataSpaceQueryEditorStore.js +87 -0
  69. package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -0
  70. package/lib/stores/query/DataSpaceQuerySetupState.d.ts +3 -4
  71. package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
  72. package/lib/stores/query/DataSpaceQuerySetupState.js +34 -44
  73. package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
  74. package/package.json +16 -15
  75. package/src/DSLDataSpace_Const.ts +20 -0
  76. package/src/components/DataSpaceViewer.tsx +56 -66
  77. package/src/components/query/{DSLDataSpace_LegendQueryPlugin.tsx → DSLDataSpace_LegendQueryApplicationPlugin.tsx} +39 -2
  78. package/src/components/query/DataSpaceQueryEditor.tsx +106 -0
  79. package/src/components/query/DataSpaceQuerySetup.tsx +23 -32
  80. package/src/components/studio/{DSLDataSpace_LegendStudioPlugin.tsx → DSLDataSpace_LegendStudioApplicationPlugin.tsx} +8 -8
  81. package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +6 -0
  82. package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +64 -0
  83. package/src/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.ts +42 -0
  84. package/src/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.ts +27 -0
  85. package/src/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts +228 -0
  86. package/src/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.ts +117 -0
  87. package/src/index.ts +4 -2
  88. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -1
  89. package/src/stores/DataSpaceViewerState.ts +23 -54
  90. package/src/stores/query/DSLDataSpace_LegendQueryRouter.ts +69 -0
  91. package/src/stores/query/DataSpaceQueryEditorStore.ts +141 -0
  92. package/src/stores/query/DataSpaceQuerySetupState.ts +65 -73
  93. package/tsconfig.json +11 -2
  94. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +0 -1
  95. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +0 -1
  96. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +0 -1
  97. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,sBAAsB,EAEtB,KAAK,eAAe,EAEpB,KAAK,yBAAyB,EAC/B,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAC/D,eAAO,MAAM,0CAA0C,cAAc,CAAC;AAEtE,qBAAa,mCAAoC,SAAQ,sBAAsB;;IAKpE,8BAA8B,IAAI,MAAM,EAAE;IAI1C,2BAA2B,IAAI,MAAM,EAAE;IAIvC,kCAAkC,IAAI,yBAAyB,EAAE;IAWjE,wBAAwB,IAAI,eAAe,EAAE;CAavD"}
1
+ {"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,sBAAsB,EAEtB,KAAK,eAAe,EAEpB,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,EACtC,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAC/D,eAAO,MAAM,0CAA0C,cAAc,CAAC;AAEtE,qBAAa,mCAAoC,SAAQ,sBAAsB;;IAKpE,yCAAyC,IAAI,gCAAgC,EAAE;IAI/E,8BAA8B,IAAI,MAAM,EAAE;IAI1C,2BAA2B,IAAI,MAAM,EAAE;IAIvC,kCAAkC,IAAI,yBAAyB,EAAE;IAWjE,wBAAwB,IAAI,eAAe,EAAE;CAavD"}
@@ -17,12 +17,16 @@ import packageJson from '../../package.json';
17
17
  import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
18
18
  import { PureGraphManagerPlugin, } from '@finos/legend-graph';
19
19
  import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper.js';
20
+ import { DSLDataSpace_buildGraphManagerExtension } from './protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.js';
20
21
  export const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
21
22
  export const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';
22
23
  export class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {
23
24
  constructor() {
24
25
  super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
25
26
  }
27
+ getExtraPureGraphManagerExtensionBuilders() {
28
+ return [DSLDataSpace_buildGraphManagerExtension];
29
+ }
26
30
  getExtraPureGrammarParserNames() {
27
31
  return [PURE_GRAMMAR_DATA_SPACE_PARSER_NAME];
28
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yFAAyF,CAAC;AACpH,OAAO,EACL,sBAAsB,GAKvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAE5F,MAAM,CAAC,MAAM,mCAAmC,GAAG,WAAW,CAAC;AAC/D,MAAM,CAAC,MAAM,0CAA0C,GAAG,WAAW,CAAC;AAEtE,MAAM,OAAO,mCAAoC,SAAQ,sBAAsB;IAC7E;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,8BAA8B;QACrC,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC/C,CAAC;IAEQ,2BAA2B;QAClC,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IAC/C,CAAC;IAEQ,2BAA2B;QAClC,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACtD,CAAC;IAEQ,kCAAkC;QACzC,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,0CAA0C,CAAC;iBACnD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,wBAAwB;QAC/B,OAAO;YACL,CACE,OAA2B,EAC3B,OAAwB,EACQ,EAAE;gBAClC,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,iBAAiB,CAAC,OAAO,CAAC,CAAC;iBACnC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,50 @@
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 { Diagram } from '@finos/legend-extension-dsl-diagram';
17
+ import type { Mapping, PackageableRuntime, PureModel } from '@finos/legend-graph';
18
+ import type { DataSpaceSupportInfo } from '../../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
19
+ export declare class DataSpaceExecutionContextAnalysisResult {
20
+ name: string;
21
+ description?: string | undefined;
22
+ mapping: Mapping;
23
+ defaultRuntime: PackageableRuntime;
24
+ compatibleRuntimes: PackageableRuntime[];
25
+ }
26
+ export declare class DataSpaceTaggedValueInfo {
27
+ readonly _UUID: string;
28
+ profile: string;
29
+ tag: string;
30
+ value: string;
31
+ }
32
+ export declare class DataSpaceStereotypeInfo {
33
+ readonly _UUID: string;
34
+ profile: string;
35
+ value: string;
36
+ }
37
+ export declare class DataSpaceAnalysisResult {
38
+ name: string;
39
+ package: string;
40
+ path: string;
41
+ taggedValues: DataSpaceTaggedValueInfo[];
42
+ stereotypes: DataSpaceStereotypeInfo[];
43
+ description?: string | undefined;
44
+ supportInfo?: DataSpaceSupportInfo | undefined;
45
+ graph: PureModel;
46
+ executionContextsIndex: Map<string, DataSpaceExecutionContextAnalysisResult>;
47
+ defaultExecutionContext: DataSpaceExecutionContextAnalysisResult;
48
+ featuredDiagrams: Diagram[];
49
+ }
50
+ //# sourceMappingURL=DataSpaceAnalysis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,EACV,OAAO,EACP,kBAAkB,EAClB,SAAS,EACV,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+FAA+F,CAAC;AAE1I,qBAAa,uCAAuC;IAClD,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,OAAO,CAAC;IAClB,cAAc,EAAG,kBAAkB,CAAC;IACpC,kBAAkB,EAAG,kBAAkB,EAAE,CAAC;CAC3C;AAED,qBAAa,wBAAwB;IACnC,QAAQ,CAAC,KAAK,SAAU;IAExB,OAAO,EAAG,MAAM,CAAC;IACjB,GAAG,EAAG,MAAM,CAAC;IACb,KAAK,EAAG,MAAM,CAAC;CAChB;AAED,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,KAAK,SAAU;IAExB,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;CAChB;AAED,qBAAa,uBAAuB;IAClC,IAAI,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IACd,YAAY,EAAE,wBAAwB,EAAE,CAAM;IAC9C,WAAW,EAAE,uBAAuB,EAAE,CAAM;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAE/C,KAAK,EAAG,SAAS,CAAC;IAElB,sBAAsB,EAAG,GAAG,CAAC,MAAM,EAAE,uCAAuC,CAAC,CAAC;IAC9E,uBAAuB,EAAG,uCAAuC,CAAC;IAElE,gBAAgB,EAAE,OAAO,EAAE,CAAM;CAClC"}
@@ -0,0 +1,48 @@
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 { uuid } from '@finos/legend-shared';
17
+ export class DataSpaceExecutionContextAnalysisResult {
18
+ name;
19
+ description;
20
+ mapping;
21
+ defaultRuntime;
22
+ compatibleRuntimes;
23
+ }
24
+ export class DataSpaceTaggedValueInfo {
25
+ _UUID = uuid();
26
+ profile;
27
+ tag;
28
+ value;
29
+ }
30
+ export class DataSpaceStereotypeInfo {
31
+ _UUID = uuid();
32
+ profile;
33
+ value;
34
+ }
35
+ export class DataSpaceAnalysisResult {
36
+ name;
37
+ package;
38
+ path;
39
+ taggedValues = [];
40
+ stereotypes = [];
41
+ description;
42
+ supportInfo;
43
+ graph;
44
+ executionContextsIndex;
45
+ defaultExecutionContext;
46
+ featuredDiagrams = [];
47
+ }
48
+ //# sourceMappingURL=DataSpaceAnalysis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAG5C,MAAM,OAAO,uCAAuC;IAClD,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAW;IAClB,cAAc,CAAsB;IACpC,kBAAkB,CAAwB;CAC3C;AAED,MAAM,OAAO,wBAAwB;IAC1B,KAAK,GAAG,IAAI,EAAE,CAAC;IAExB,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;CAChB;AAED,MAAM,OAAO,uBAAuB;IACzB,KAAK,GAAG,IAAI,EAAE,CAAC;IAExB,OAAO,CAAU;IACjB,KAAK,CAAU;CAChB;AAED,MAAM,OAAO,uBAAuB;IAClC,IAAI,CAAU;IACd,OAAO,CAAU;IACjB,IAAI,CAAU;IACd,YAAY,GAA+B,EAAE,CAAC;IAC9C,WAAW,GAA8B,EAAE,CAAC;IAC5C,WAAW,CAAsB;IACjC,WAAW,CAAoC;IAE/C,KAAK,CAAa;IAElB,sBAAsB,CAAwD;IAC9E,uBAAuB,CAA2C;IAElE,gBAAgB,GAAc,EAAE,CAAC;CAClC"}
@@ -0,0 +1,23 @@
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 AbstractPureGraphManager, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
17
+ import type { Entity } from '@finos/legend-model-storage';
18
+ import type { DataSpaceAnalysisResult } from '../action/analytics/DataSpaceAnalysis.js';
19
+ export declare abstract class DSLDataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
20
+ abstract analyzeDataSpace(dataSpacePath: string, entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>): Promise<DataSpaceAnalysisResult>;
21
+ }
22
+ export declare const getDSLDataSpaceGraphManagerExtension: (graphManager: AbstractPureGraphManager) => DSLDataSpace_PureGraphManagerExtension;
23
+ //# sourceMappingURL=DSLDataSpace_PureGraphManagerExtension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../src/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAExF,8BAAsB,sCAAuC,SAAQ,iCAAiC;IACpG,QAAQ,CAAC,gBAAgB,CACvB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAC7C,OAAO,CAAC,uBAAuB,CAAC;CACpC;AAED,eAAO,MAAM,oCAAoC,iBACjC,wBAAwB,KACrC,sCAO0C,CAAC"}
@@ -0,0 +1,21 @@
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 { AbstractPureGraphManagerExtension, } from '@finos/legend-graph';
17
+ import { guaranteeNonNullable } from '@finos/legend-shared';
18
+ export class DSLDataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
19
+ }
20
+ export const getDSLDataSpaceGraphManagerExtension = (graphManager) => guaranteeNonNullable(graphManager.extensions.find((extension) => extension instanceof DSLDataSpace_PureGraphManagerExtension), `Can't find DSL Data Space Pure graph manager extension`);
21
+ //# sourceMappingURL=DSLDataSpace_PureGraphManagerExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../src/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAG5D,MAAM,OAAgB,sCAAuC,SAAQ,iCAAiC;CAMrG;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAClD,YAAsC,EACE,EAAE,CAC1C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,sCAAsC,CAC9D,EACD,wDAAwD,CACf,CAAC"}
@@ -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
+ import type { AbstractPureGraphManager, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
17
+ export declare const DSLDataSpace_buildGraphManagerExtension: (graphManager: AbstractPureGraphManager) => AbstractPureGraphManagerExtension;
18
+ //# sourceMappingURL=DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts","sourceRoot":"","sources":["../../../src/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,wBAAwB,EACxB,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,uCAAuC,iBACpC,wBAAwB,KACrC,iCAE0D,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
+ import { V1_DSLDataSpace_PureGraphManagerExtension } from './v1/V1_DSLDataSpace_PureGraphManagerExtension.js';
17
+ export const DSLDataSpace_buildGraphManagerExtension = (graphManager) =>
18
+ // NOTE: until we support more client versions, we always default to return V1
19
+ new V1_DSLDataSpace_PureGraphManagerExtension(graphManager);
20
+ //# sourceMappingURL=DSLDataSpace_PureGraphManagerExtensionBuilder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDataSpace_PureGraphManagerExtensionBuilder.js","sourceRoot":"","sources":["../../../src/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,yCAAyC,EAAE,MAAM,mDAAmD,CAAC;AAE9G,MAAM,CAAC,MAAM,uCAAuC,GAAG,CACrD,YAAsC,EACH,EAAE;AACrC,8EAA8E;AAC9E,IAAI,yCAAyC,CAAC,YAAY,CAAC,CAAC"}
@@ -0,0 +1,26 @@
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 { V1_PureGraphManager, type AbstractPureGraphManager } from '@finos/legend-graph';
17
+ import type { Entity } from '@finos/legend-model-storage';
18
+ import { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
19
+ import { DSLDataSpace_PureGraphManagerExtension } from '../DSLDataSpace_PureGraphManagerExtension.js';
20
+ export declare class V1_DSLDataSpace_PureGraphManagerExtension extends DSLDataSpace_PureGraphManagerExtension {
21
+ graphManager: V1_PureGraphManager;
22
+ constructor(graphManager: AbstractPureGraphManager);
23
+ getSupportedProtocolVersion(): string;
24
+ analyzeDataSpace(dataSpacePath: string, entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>): Promise<DataSpaceAnalysisResult>;
25
+ }
26
+ //# sourceMappingURL=V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,mBAAmB,EAEnB,KAAK,wBAAwB,EAQ9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAW1D,OAAO,EACL,uBAAuB,EAIxB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAKtG,qBAAa,yCAA0C,SAAQ,sCAAsC;IAC3F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAI/B,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAC7C,OAAO,CAAC,uBAAuB,CAAC;CA+JpC"}
@@ -0,0 +1,131 @@
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 { getDiagram } from '@finos/legend-extension-dsl-diagram';
17
+ import { PureModel, V1_PureGraphManager, PureClientVersion, CoreModel, SystemModel, V1_Mapping, resolvePackagePathAndElementName, V1_PureModelContextType, V1_PackageableRuntime, V1_EngineRuntime, } from '@finos/legend-graph';
18
+ import { ActionState, guaranteeNonEmptyString, guaranteeNonNullable, guaranteeType, uniq, } from '@finos/legend-shared';
19
+ import { DataSpaceSupportEmail } from '../../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
20
+ import { V1_DataSpaceSupportEmail } from '../../../models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
21
+ import { DataSpaceAnalysisResult, DataSpaceExecutionContextAnalysisResult, DataSpaceStereotypeInfo, DataSpaceTaggedValueInfo, } from '../../action/analytics/DataSpaceAnalysis.js';
22
+ import { DSLDataSpace_PureGraphManagerExtension } from '../DSLDataSpace_PureGraphManagerExtension.js';
23
+ import { V1_DataSpaceAnalysisResult } from './engine/analytics/V1_DataSpaceAnalysis.js';
24
+ const ANALYZE_DATA_SPACE_TRACE = 'analyze data space';
25
+ export class V1_DSLDataSpace_PureGraphManagerExtension extends DSLDataSpace_PureGraphManagerExtension {
26
+ constructor(graphManager) {
27
+ super(graphManager);
28
+ this.graphManager = guaranteeType(graphManager, V1_PureGraphManager);
29
+ }
30
+ getSupportedProtocolVersion() {
31
+ return PureClientVersion.V1_0_0;
32
+ }
33
+ async analyzeDataSpace(dataSpacePath, entities, dependencyEntitiesIndex) {
34
+ // prepare graph data for analysis
35
+ // NOTE: we don't do serialization roundtrip here to save time
36
+ const graphDataForAnalysis = {
37
+ _type: V1_PureModelContextType.DATA,
38
+ elements: Array.from(dependencyEntitiesIndex.values())
39
+ .flat()
40
+ .concat(entities)
41
+ .map((entity) => entity.content),
42
+ };
43
+ const engineServerClient = this.graphManager.engine.getEngineServerClient();
44
+ const analysisResult = V1_DataSpaceAnalysisResult.serialization.fromJson(await engineServerClient.postWithTracing(engineServerClient.getTraceData(ANALYZE_DATA_SPACE_TRACE), `${engineServerClient._pure()}/analytics/dataSpace/render`, {
45
+ clientVersion: V1_PureGraphManager.TARGET_PROTOCOL_VERSION,
46
+ dataSpace: dataSpacePath,
47
+ model: graphDataForAnalysis,
48
+ }, {}, undefined, undefined, { enableCompression: true }));
49
+ const result = new DataSpaceAnalysisResult();
50
+ result.name = analysisResult.name;
51
+ result.package = analysisResult.package;
52
+ result.path = analysisResult.path;
53
+ result.description = analysisResult.description;
54
+ result.taggedValues = analysisResult.taggedValues.map((taggedValue) => {
55
+ const info = new DataSpaceTaggedValueInfo();
56
+ info.profile = taggedValue.profile;
57
+ info.tag = taggedValue.value;
58
+ info.value = taggedValue.value;
59
+ return info;
60
+ });
61
+ result.stereotypes = analysisResult.stereotypes.map((stereotype) => {
62
+ const info = new DataSpaceStereotypeInfo();
63
+ info.profile = stereotype.profile;
64
+ info.value = stereotype.value;
65
+ return info;
66
+ });
67
+ if (analysisResult.supportInfo) {
68
+ if (analysisResult.supportInfo instanceof V1_DataSpaceSupportEmail) {
69
+ const supportEmail = new DataSpaceSupportEmail();
70
+ supportEmail.address = guaranteeNonEmptyString(analysisResult.supportInfo.address, `Data space support email 'address' field is missing or empty`);
71
+ result.supportInfo = supportEmail;
72
+ }
73
+ // NOTE: we will relax the check and not throw here for unknown support info type
74
+ }
75
+ // create an empty graph
76
+ const extensionElementClasses = this.graphManager.pluginManager
77
+ .getPureGraphPlugins()
78
+ .flatMap((plugin) => plugin.getExtraPureGraphExtensionClasses?.() ?? []);
79
+ const systemModel = new SystemModel(extensionElementClasses);
80
+ const coreModel = new CoreModel(extensionElementClasses);
81
+ await this.graphManager.buildSystem(coreModel, systemModel, ActionState.create(), {});
82
+ systemModel.initializeAutoImports();
83
+ const graph = new PureModel(coreModel, systemModel, this.graphManager.pluginManager.getPureGraphPlugins());
84
+ // Create dummy mappings and runtimes
85
+ // TODO?: these stubbed mappings and runtimes are not really useful that useful, so either we should
86
+ // simplify the model here or potentially refactor the backend analytics endpoint to return these as model
87
+ const mappingModels = uniq(analysisResult.executionContexts.map((context) => context.mapping)).map((path) => {
88
+ const mapping = new V1_Mapping();
89
+ const [packagePath, name] = resolvePackagePathAndElementName(path);
90
+ mapping.package = packagePath;
91
+ mapping.name = name;
92
+ return mapping;
93
+ });
94
+ const runtimeModels = uniq(analysisResult.executionContexts
95
+ .map((context) => context.defaultRuntime)
96
+ .concat(analysisResult.executionContexts.flatMap((val) => val.compatibleRuntimes))).map((path) => {
97
+ const runtime = new V1_PackageableRuntime();
98
+ const [packagePath, name] = resolvePackagePathAndElementName(path);
99
+ runtime.package = packagePath;
100
+ runtime.name = name;
101
+ runtime.runtimeValue = new V1_EngineRuntime();
102
+ return runtime;
103
+ });
104
+ // prepare the model context data
105
+ // scan for models coming from system so we don't duplicate them when building the graph
106
+ const graphEntities = analysisResult.model.elements
107
+ .concat(mappingModels)
108
+ .concat(runtimeModels)
109
+ // NOTE: if an element could be found in the graph already it means it comes from system
110
+ // so we could rid of it
111
+ .filter((el) => !graph.getNullableElement(el.path, false))
112
+ .map((el) => this.graphManager.elementProtocolToEntity(el));
113
+ await this.graphManager.buildGraph(graph, graphEntities, ActionState.create());
114
+ // build execution context info
115
+ result.executionContextsIndex = new Map();
116
+ analysisResult.executionContexts.forEach((context) => {
117
+ const contextAnalysisResult = new DataSpaceExecutionContextAnalysisResult();
118
+ contextAnalysisResult.name = context.name;
119
+ contextAnalysisResult.description = context.description;
120
+ contextAnalysisResult.mapping = graph.getMapping(context.mapping);
121
+ contextAnalysisResult.defaultRuntime = graph.getRuntime(context.defaultRuntime);
122
+ contextAnalysisResult.compatibleRuntimes = context.compatibleRuntimes.map((runtime) => graph.getRuntime(runtime));
123
+ result.executionContextsIndex.set(contextAnalysisResult.name, contextAnalysisResult);
124
+ });
125
+ result.defaultExecutionContext = guaranteeNonNullable(result.executionContextsIndex.get(analysisResult.defaultExecutionContext));
126
+ // find featured diagrams
127
+ result.featuredDiagrams = analysisResult.featuredDiagrams.map((path) => getDiagram(path, graph));
128
+ return result;
129
+ }
130
+ }
131
+ //# sourceMappingURL=V1_DSLDataSpace_PureGraphManagerExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EAEjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,+FAA+F,CAAC;AACtI,OAAO,EAAE,wBAAwB,EAAE,MAAM,oGAAoG,CAAC;AAC9I,OAAO,EACL,uBAAuB,EACvB,uCAAuC,EACvC,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AACtG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAEtD,MAAM,OAAO,yCAA0C,SAAQ,sCAAsC;IAGnG,YAAY,YAAsC;QAChD,KAAK,CAAC,YAAY,CAAC,CAAC;QACpB,IAAI,CAAC,YAAY,GAAG,aAAa,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC;IACvE,CAAC;IAED,2BAA2B;QACzB,OAAO,iBAAiB,CAAC,MAAM,CAAC;IA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;YACF,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAC/B,qBAAqB,CAAC,IAAI,EAC1B,qBAAqB,CACtB,CAAC;QACJ,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,uBAAuB,GAAG,oBAAoB,CACnD,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAC1E,CAAC;QAEF,yBAAyB;QACzB,MAAM,CAAC,gBAAgB,GAAG,cAAc,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACrE,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CACxB,CAAC;QAEF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
@@ -0,0 +1,53 @@
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 { V1_PureModelContextData } from '@finos/legend-graph';
17
+ import { SerializationFactory } from '@finos/legend-shared';
18
+ import type { V1_DataSpaceSupportInfo } from '../../../../../models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
19
+ declare class V1_DataSpaceTaggedValueInfo {
20
+ profile: string;
21
+ tag: string;
22
+ value: string;
23
+ static readonly serialization: SerializationFactory<V1_DataSpaceTaggedValueInfo>;
24
+ }
25
+ declare class V1_DataSpaceStereotypeInfo {
26
+ profile: string;
27
+ value: string;
28
+ static readonly serialization: SerializationFactory<V1_DataSpaceStereotypeInfo>;
29
+ }
30
+ declare class V1_DataSpaceExecutionContextAnalysisResult {
31
+ name: string;
32
+ description?: string | undefined;
33
+ mapping: string;
34
+ defaultRuntime: string;
35
+ compatibleRuntimes: string[];
36
+ static readonly serialization: SerializationFactory<V1_DataSpaceExecutionContextAnalysisResult>;
37
+ }
38
+ export declare class V1_DataSpaceAnalysisResult {
39
+ name: string;
40
+ package: string;
41
+ path: string;
42
+ taggedValues: V1_DataSpaceTaggedValueInfo[];
43
+ stereotypes: V1_DataSpaceStereotypeInfo[];
44
+ description?: string | undefined;
45
+ supportInfo?: V1_DataSpaceSupportInfo | undefined;
46
+ model: V1_PureModelContextData;
47
+ executionContexts: V1_DataSpaceExecutionContextAnalysisResult[];
48
+ defaultExecutionContext: string;
49
+ featuredDiagrams: string[];
50
+ static readonly serialization: SerializationFactory<V1_DataSpaceAnalysisResult>;
51
+ }
52
+ export {};
53
+ //# sourceMappingURL=V1_DataSpaceAnalysis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../../../src/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAkB,MAAM,sBAAsB,CAAC;AAS5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0GAA0G,CAAC;AAGxJ,cAAM,2BAA2B;IAC/B,OAAO,EAAG,MAAM,CAAC;IACjB,GAAG,EAAG,MAAM,CAAC;IACb,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM,CAAC,QAAQ,CAAC,aAAa,oDAM3B;CACH;AAED,cAAM,0BAA0B;IAC9B,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM,CAAC,QAAQ,CAAC,aAAa,mDAK3B;CACH;AAED,cAAM,0CAA0C;IAC9C,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,MAAM,CAAC;IACjB,cAAc,EAAG,MAAM,CAAC;IACxB,kBAAkB,EAAG,MAAM,EAAE,CAAC;IAE9B,MAAM,CAAC,QAAQ,CAAC,aAAa,mEAQ3B;CACH;AAED,qBAAa,0BAA0B;IACrC,IAAI,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IAEd,YAAY,EAAE,2BAA2B,EAAE,CAAM;IACjD,WAAW,EAAE,0BAA0B,EAAE,CAAM;IAE/C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,KAAK,EAAG,uBAAuB,CAAC;IAEhC,iBAAiB,EAAE,0CAA0C,EAAE,CAAM;IACrE,uBAAuB,EAAG,MAAM,CAAC;IAEjC,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAEhC,MAAM,CAAC,QAAQ,CAAC,aAAa,mDAwB3B;CACH"}
@@ -0,0 +1,78 @@
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 { V1_PureModelContextData } from '@finos/legend-graph';
17
+ import { SerializationFactory, optionalCustom } from '@finos/legend-shared';
18
+ import { createModelSchema, list, object, optional, primitive, SKIP, } from 'serializr';
19
+ import { V1_deserializeSupportInfo } from '../../../../../models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js';
20
+ class V1_DataSpaceTaggedValueInfo {
21
+ profile;
22
+ tag;
23
+ value;
24
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceTaggedValueInfo, {
25
+ profile: primitive(),
26
+ tag: primitive(),
27
+ value: primitive(),
28
+ }));
29
+ }
30
+ class V1_DataSpaceStereotypeInfo {
31
+ profile;
32
+ value;
33
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceStereotypeInfo, {
34
+ profile: primitive(),
35
+ value: primitive(),
36
+ }));
37
+ }
38
+ class V1_DataSpaceExecutionContextAnalysisResult {
39
+ name;
40
+ description;
41
+ mapping;
42
+ defaultRuntime;
43
+ compatibleRuntimes;
44
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceExecutionContextAnalysisResult, {
45
+ name: primitive(),
46
+ description: optional(primitive()),
47
+ mapping: primitive(),
48
+ defaultRuntime: primitive(),
49
+ compatibleRuntimes: list(primitive()),
50
+ }));
51
+ }
52
+ export class V1_DataSpaceAnalysisResult {
53
+ name;
54
+ package;
55
+ path;
56
+ taggedValues = [];
57
+ stereotypes = [];
58
+ description;
59
+ supportInfo;
60
+ model;
61
+ executionContexts = [];
62
+ defaultExecutionContext;
63
+ featuredDiagrams = [];
64
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceAnalysisResult, {
65
+ name: primitive(),
66
+ package: primitive(),
67
+ path: primitive(),
68
+ taggedValues: list(object(V1_DataSpaceTaggedValueInfo)),
69
+ stereotypes: list(object(V1_DataSpaceStereotypeInfo)),
70
+ description: optional(primitive()),
71
+ supportInfo: optionalCustom(() => SKIP, (val) => V1_deserializeSupportInfo(val)),
72
+ model: object(V1_PureModelContextData),
73
+ executionContexts: list(object(V1_DataSpaceExecutionContextAnalysisResult)),
74
+ defaultExecutionContext: primitive(),
75
+ featuredDiagrams: list(primitive()),
76
+ }));
77
+ }
78
+ //# sourceMappingURL=V1_DataSpaceAnalysis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../../../src/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EACL,iBAAiB,EACjB,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,yBAAyB,EAAE,MAAM,uGAAuG,CAAC;AAElJ,MAAM,2BAA2B;IAC/B,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,2BAA2B,EAAE;QAC7C,OAAO,EAAE,SAAS,EAAE;QACpB,GAAG,EAAE,SAAS,EAAE;QAChB,KAAK,EAAE,SAAS,EAAE;KACnB,CAAC,CACH,CAAC;;AAGJ,MAAM,0BAA0B;IAC9B,OAAO,CAAU;IACjB,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,0BAA0B,EAAE;QAC5C,OAAO,EAAE,SAAS,EAAE;QACpB,KAAK,EAAE,SAAS,EAAE;KACnB,CAAC,CACH,CAAC;;AAGJ,MAAM,0CAA0C;IAC9C,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAU;IACjB,cAAc,CAAU;IACxB,kBAAkB,CAAY;IAE9B,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,0CAA0C,EAAE;QAC5D,IAAI,EAAE,SAAS,EAAE;QACjB,WAAW,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAClC,OAAO,EAAE,SAAS,EAAE;QACpB,cAAc,EAAE,SAAS,EAAE;QAC3B,kBAAkB,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;KACtC,CAAC,CACH,CAAC;;AAGJ,MAAM,OAAO,0BAA0B;IACrC,IAAI,CAAU;IACd,OAAO,CAAU;IACjB,IAAI,CAAU;IAEd,YAAY,GAAkC,EAAE,CAAC;IACjD,WAAW,GAAiC,EAAE,CAAC;IAE/C,WAAW,CAAsB;IACjC,WAAW,CAAuC;IAElD,KAAK,CAA2B;IAEhC,iBAAiB,GAAiD,EAAE,CAAC;IACrE,uBAAuB,CAAU;IAEjC,gBAAgB,GAAa,EAAE,CAAC;IAEhC,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,0BAA0B,EAAE;QAC5C,IAAI,EAAE,SAAS,EAAE;QACjB,OAAO,EAAE,SAAS,EAAE;QACpB,IAAI,EAAE,SAAS,EAAE;QAEjB,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC;QACvD,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC;QAErD,WAAW,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAClC,WAAW,EAAE,cAAc,CACzB,GAAG,EAAE,CAAC,IAAI,EACV,CAAC,GAAG,EAAE,EAAE,CAAC,yBAAyB,CAAC,GAAG,CAAC,CACxC;QAED,KAAK,EAAE,MAAM,CAAC,uBAAuB,CAAC;QAEtC,iBAAiB,EAAE,IAAI,CACrB,MAAM,CAAC,0CAA0C,CAAC,CACnD;QACD,uBAAuB,EAAE,SAAS,EAAE;QAEpC,gBAAgB,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;KACpC,CAAC,CACH,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v4.0.3
1
+ /** @license @finos/legend-extension-dsl-data-space v5.0.0
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- @import'@finos/legend-extension-dsl-diagram/lib/index.css';.data-space__viewer{display:flex;flex-direction:column;height:100%;width:100%;background:var(--color-dark-grey-80)}.data-space__viewer__header{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:2rem;height:13rem}.data-space__viewer__path{display:flex;align-items:center;justify-content:center;height:3.4rem;background:var(--color-blue-150)}.data-space__viewer__path__label{display:flex;align-items:center;justify-content:center;height:100%;font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0)}.data-space__viewer__path__link{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-left:.1rem solid var(--color-dark-shade-230)}.data-space__viewer__path__link svg{font-size:1.6rem;color:var(--color-light-grey-0)}.data-space__viewer__description{cursor:default;user-select:none;padding:1rem;margin-top:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__content{display:flex;align-items:center;justify-content:center;height:calc(100% - 13rem);padding:0 2rem 2rem}.data-space__viewer__body{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.data-space__viewer__activity-bar{width:5rem;background:var(--color-dark-grey-100);height:100%;overflow-x:hidden;overflow-y:hidden}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__main-panel{height:100%;width:calc(100% - 5rem);border:.1rem solid var(--color-dark-grey-100);overflow:auto}.data-space__viewer__main-panel__content{height:100%;width:100%}.data-space__viewer__diagrams{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagrams__header{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__diagrams__footer{display:flex;align-items:center;height:2rem;background:var(--color-dark-grey-250);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagrams__footer__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space__viewer__diagrams__footer__icon svg{font-size:1.2rem}.data-space__viewer__diagrams__footer__text{margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__diagrams__diagram-selector{width:100%}.data-space__viewer__diagrams__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagrams__dropdown{width:100%}.data-space__viewer__diagrams__dropdown__container{padding:.3rem}.data-space__viewer__diagrams__dropdown__option{display:flex;align-items:center}.data-space__viewer__diagrams__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution{padding:2rem}.data-space__viewer__execution__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution__entry__content__dropdown{width:100%}.data-space__viewer__execution__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution__mapping{margin-bottom:.5rem}.data-space__viewer__tags{padding:2rem}.data-space__viewer__tags__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__tags__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__tags__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__tags__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__tags__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__tags__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__tags__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support-info{padding:2rem}.data-space__viewer__support-email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support-email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support-email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support-email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.query-setup__landing-page__option--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-setup__data-space{width:calc(100% - 10rem);height:calc(100% - 10rem)}.query-setup__data-space__header{background:var(--color-yellow-100)}.query-setup__data-space__input-group{padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.query-setup__data-space__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.query-setup__data-space__use-snapshot-btn svg{color:var(--color-light-grey-50)}.query-setup__data-space__use-snapshot-btn--active{background:var(--color-blue-100)}.query-setup__data-space .query-setup__wizard__selector{width:100%}.query-setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__view{height:calc(100% - 3.8rem);width:100%}.query-setup__data-space__view--failed{display:flex;align-items:center;height:2.8rem}.query-setup__data-space__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.query-setup__data-space__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
17
+ @import'@finos/legend-extension-dsl-diagram/lib/index.css';.data-space__viewer{display:flex;flex-direction:column;height:100%;width:100%;background:var(--color-dark-grey-80)}.data-space__viewer__header{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:2rem;height:13rem}.data-space__viewer__path{display:flex;align-items:center;justify-content:center;height:3.4rem;background:var(--color-blue-150)}.data-space__viewer__path__label{display:flex;align-items:center;justify-content:center;height:100%;font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0)}.data-space__viewer__path__link{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-left:.1rem solid var(--color-dark-shade-230)}.data-space__viewer__path__link svg{font-size:1.6rem;color:var(--color-light-grey-0)}.data-space__viewer__description{cursor:default;user-select:none;padding:1rem;margin-top:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__content{display:flex;align-items:center;justify-content:center;height:calc(100% - 13rem);padding:0 2rem 2rem}.data-space__viewer__body{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.data-space__viewer__activity-bar{width:5rem;background:var(--color-dark-grey-100);height:100%;overflow-x:hidden;overflow-y:hidden}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__main-panel{height:100%;width:calc(100% - 5rem);border:.1rem solid var(--color-dark-grey-100);overflow:auto}.data-space__viewer__main-panel__content{height:100%;width:100%}.data-space__viewer__diagrams{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagrams__header{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__diagrams__footer{display:flex;align-items:center;height:2rem;background:var(--color-dark-grey-250);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagrams__footer__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space__viewer__diagrams__footer__icon svg{font-size:1.2rem}.data-space__viewer__diagrams__footer__text{margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__diagrams__diagram-selector{width:100%}.data-space__viewer__diagrams__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagrams__dropdown{width:100%}.data-space__viewer__diagrams__dropdown__container{padding:.3rem}.data-space__viewer__execution{padding:2rem}.data-space__viewer__execution__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution__entry__content__dropdown{width:100%}.data-space__viewer__execution__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution__mapping{margin-bottom:.5rem}.data-space__viewer__tags{padding:2rem}.data-space__viewer__tags__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__tags__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__tags__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__tags__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__tags__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__tags__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__tags__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support-info{padding:2rem}.data-space__viewer__support-email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support-email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support-email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support-email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.query-setup__landing-page__option--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-setup__data-space{width:calc(100% - 10rem);height:calc(100% - 10rem)}.query-setup__data-space__header{background:var(--color-yellow-100)}.query-setup__data-space__input-group{padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.query-setup__data-space__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.query-setup__data-space__use-snapshot-btn svg{color:var(--color-light-grey-50)}.query-setup__data-space__use-snapshot-btn--active{background:var(--color-blue-100)}.query-setup__data-space .query-setup__wizard__selector{width:100%}.query-setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__view{height:calc(100% - 3.8rem);width:100%}.query-setup__data-space__view--failed{display:flex;align-items:center;height:2.8rem}.query-setup__data-space__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.query-setup__data-space__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */