@finos/legend-extension-dsl-data-space 5.0.0 → 6.1.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/DSLDataSpace_Extension.d.ts +1 -1
- package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
- package/lib/DSLDataSpace_Extension.js +3 -3
- package/lib/DSLDataSpace_Extension.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +14 -11
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js +2 -2
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQueryEditor.js +1 -1
- package/lib/components/query/DataSpaceQueryEditor.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +10 -5
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js +3 -3
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/{models/DSLDataSpace_ModelUtils.d.ts → graph/DSLDataSpace_HashUtils.d.ts} +1 -1
- package/lib/graph/DSLDataSpace_HashUtils.d.ts.map +1 -0
- package/lib/{models/DSLDataSpace_ModelUtils.js → graph/DSLDataSpace_HashUtils.js} +1 -1
- package/lib/graph/DSLDataSpace_HashUtils.js.map +1 -0
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
- package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -0
- package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +3 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -0
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +2 -2
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +2 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +1 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js +1 -0
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js.map +1 -1
- package/lib/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtension.d.ts → pure/DSLDataSpace_PureGraphManagerExtension.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtension.js → pure/DSLDataSpace_PureGraphManagerExtension.js} +0 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
- package/lib/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts → pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts} +0 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
- package/lib/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtensionBuilder.js → pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js} +0 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +0 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +3 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graphManager/protocol/{v1 → pure/v1}/V1_DSLDataSpace_PureGraphManagerExtension.d.ts +2 -2
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/{v1 → pure/v1}/V1_DSLDataSpace_PureGraphManagerExtension.js +34 -6
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
- package/lib/graphManager/protocol/{v1 → pure/v1}/engine/analytics/V1_DataSpaceAnalysis.d.ts +2 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/protocol/{v1 → pure/v1}/engine/analytics/V1_DataSpaceAnalysis.js +3 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +3 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js +0 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +0 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/package.json +11 -11
- package/lib/stores/DataSpaceViewerState.d.ts +1 -1
- package/lib/stores/DataSpaceViewerState.js +1 -1
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts +1 -1
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +1 -1
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js +1 -1
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +1 -1
- package/lib/stores/query/DataSpaceQueryEditorStore.d.ts +1 -1
- package/lib/stores/query/DataSpaceQueryEditorStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQueryEditorStore.js +8 -7
- package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +3 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +9 -4
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +18 -18
- package/src/DSLDataSpace_Extension.ts +3 -3
- package/src/components/DataSpaceViewer.tsx +88 -25
- package/src/components/query/DSLDataSpace_LegendQueryApplicationPlugin.tsx +2 -2
- package/src/components/query/DataSpaceQueryEditor.tsx +1 -1
- package/src/components/query/DataSpaceQuerySetup.tsx +23 -3
- package/src/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.tsx +3 -3
- package/src/{models/DSLDataSpace_ModelUtils.ts → graph/DSLDataSpace_HashUtils.ts} +0 -0
- package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -1
- package/src/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +3 -1
- package/src/graphManager/DSLDataSpace_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +2 -2
- package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +2 -1
- package/src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts +2 -1
- package/src/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtension.ts → pure/DSLDataSpace_PureGraphManagerExtension.ts} +2 -2
- package/src/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtensionBuilder.ts → pure/DSLDataSpace_PureGraphManagerExtensionBuilder.ts} +0 -0
- package/src/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +3 -1
- package/src/graphManager/protocol/{v1 → pure/v1}/V1_DSLDataSpace_PureGraphManagerExtension.ts +42 -5
- package/src/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
- package/src/graphManager/protocol/{v1 → pure/v1}/engine/analytics/V1_DataSpaceAnalysis.ts +4 -2
- package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +3 -1
- package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts +1 -1
- package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -0
- package/src/index.ts +2 -2
- package/src/stores/DataSpaceViewerState.ts +1 -1
- package/src/stores/query/DSLDataSpace_LegendQueryRouter.ts +1 -1
- package/src/stores/query/DataSpaceQueryEditorStore.ts +10 -8
- package/src/stores/query/DataSpaceQuerySetupState.ts +11 -4
- package/tsconfig.json +11 -11
- package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +0 -1
- package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +0 -1
- package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +0 -1
- package/lib/models/DSLDataSpace_ModelUtils.d.ts.map +0 -1
- package/lib/models/DSLDataSpace_ModelUtils.js.map +0 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +0 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +0 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +0 -1
|
@@ -1 +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"}
|
|
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,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,WAAW,CAAoC;IAE/C,KAAK,CAAa;IAElB,sBAAsB,CAAwD;IAC9E,uBAAuB,CAA2C;IAElE,gBAAgB,GAAc,EAAE,CAAC;CAClC"}
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type { DataSpace } from '../../../
|
|
16
|
+
import type { DataSpace } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
17
17
|
export declare const observe_DataSpace: (metamodel: DataSpace) => DataSpace;
|
|
18
18
|
//# sourceMappingURL=DSLDataSpace_ObserverHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6FAA6F,CAAC;AAE7H,eAAO,MAAM,iBAAiB,qCAmB7B,CAAC"}
|
|
@@ -20,6 +20,7 @@ export const observe_DataSpace = skipObserved((metamodel) => {
|
|
|
20
20
|
makeObservable(metamodel, {
|
|
21
21
|
_elementHashCode: override,
|
|
22
22
|
});
|
|
23
|
+
// TODO
|
|
23
24
|
// metamodel.executionContexts.forEach(observe_DataSpaceExecutionContext);
|
|
24
25
|
// observe_DataSpaceExecutionContext(metamodel.defaultExecutionContext);
|
|
25
26
|
// if (metamodel.supportInfo) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,mBAAmB,EACnB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAGhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAC3C,CAAC,SAAoB,EAAa,EAAE;IAClC,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAE/C,cAAc,CAAgC,SAAS,EAAE;QACvD,gBAAgB,EAAE,QAAQ;KAC3B,CAAC,CAAC;IAEH,0EAA0E;IAC1E,wEAAwE;IACxE,+BAA+B;IAC/B,yDAAyD;IACzD,IAAI;IACJ,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAC3D,SAAS,CAAC,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEpD,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,mBAAmB,EACnB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAGhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAC3C,CAAC,SAAoB,EAAa,EAAE;IAClC,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAE/C,cAAc,CAAgC,SAAS,EAAE;QACvD,gBAAgB,EAAE,QAAQ;KAC3B,CAAC,CAAC;IAEH,OAAO;IACP,0EAA0E;IAC1E,wEAAwE;IACxE,+BAA+B;IAC/B,yDAAyD;IACzD,IAAI;IACJ,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAC3D,SAAS,CAAC,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEpD,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC"}
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { type AbstractPureGraphManager, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
|
|
17
|
-
import type { Entity } from '@finos/legend-
|
|
18
|
-
import type { DataSpaceAnalysisResult } from '
|
|
17
|
+
import type { Entity } from '@finos/legend-storage';
|
|
18
|
+
import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
|
|
19
19
|
export declare abstract class DSLDataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
|
20
20
|
abstract analyzeDataSpace(dataSpacePath: string, entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>): Promise<DataSpaceAnalysisResult>;
|
|
21
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/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,uBAAuB,CAAC;AAEpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAE3F,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"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/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"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/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"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerExtensionBuilder.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/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"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAY9B,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAS5B,2BAA2B,EAC3B,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAM7B,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAoGxE,uBAAuB,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAIjE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;CA4DnE;AAED,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
|
|
@@ -20,7 +20,7 @@ import { guaranteeNonEmptyString, guaranteeNonNullable, UnsupportedOperationErro
|
|
|
20
20
|
import { deserialize, serialize } from 'serializr';
|
|
21
21
|
import { V1_dataSpaceModelSchema, V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js';
|
|
22
22
|
import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper.js';
|
|
23
|
-
import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '
|
|
23
|
+
import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
24
24
|
import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, } from '@finos/legend-graph';
|
|
25
25
|
import { V1_DSLDiagram_PackageableElementPointerType, getDiagram, } from '@finos/legend-extension-dsl-diagram';
|
|
26
26
|
export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::dataSpace::DataSpace';
|
|
@@ -61,6 +61,7 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
61
61
|
});
|
|
62
62
|
element.defaultExecutionContext = guaranteeNonNullable(element.executionContexts.find((execContext) => execContext.name ===
|
|
63
63
|
guaranteeNonEmptyString(elementProtocol.defaultExecutionContext, `Data space 'defaultExecutionContext' field is missing or empty`)), `Can't find default execution context '${elementProtocol.defaultExecutionContext}'`);
|
|
64
|
+
element.title = elementProtocol.title;
|
|
64
65
|
element.description = elementProtocol.description;
|
|
65
66
|
if (elementProtocol.featuredDiagrams) {
|
|
66
67
|
element.featuredDiagrams = elementProtocol.featuredDiagrams.map((pointer) => PackageableElementExplicitReference.create(getDiagram(pointer.path, context.graph)));
|
|
@@ -130,6 +131,7 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
130
131
|
});
|
|
131
132
|
protocol.defaultExecutionContext =
|
|
132
133
|
metamodel.defaultExecutionContext.name;
|
|
134
|
+
protocol.title = metamodel.title;
|
|
133
135
|
protocol.description = metamodel.description;
|
|
134
136
|
protocol.featuredDiagrams = metamodel.featuredDiagrams?.map((diagramPath) => new V1_PackageableElementPointer(V1_DSLDiagram_PackageableElementPointerType, diagramPath.valueForSerialization ?? ''));
|
|
135
137
|
if (metamodel.supportInfo) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EAEL,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,uBAAuB,EACvB,mCAAmC,GACpC,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAC3F,OAAO,EACL,SAAS,EACT,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,6FAA6F,CAAC;AACrG,OAAO,EAWL,oBAAoB,EACpB,mCAAmC,EACnC,4BAA4B,EAC5B,6BAA6B,EAC7B,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,2CAA2C,EAC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AAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,uBAAuB;gBACnD,WAAW,CAAC,GAAG,CAAC,KAAK,KAAK,kBAAkB,CAC/C;iBACA,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;gBACvB,WAAW,CAAC,KAAK;qBACd,KAAK,CAAC,kCAAkC,CAAC;qBACzC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;qBAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;SACN;KACF;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
|
package/lib/graphManager/protocol/{v1 → pure/v1}/V1_DSLDataSpace_PureGraphManagerExtension.d.ts
RENAMED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { V1_PureGraphManager, type AbstractPureGraphManager } from '@finos/legend-graph';
|
|
17
|
-
import type { Entity } from '@finos/legend-
|
|
18
|
-
import { DataSpaceAnalysisResult } from '
|
|
17
|
+
import type { Entity } from '@finos/legend-storage';
|
|
18
|
+
import { DataSpaceAnalysisResult } from '../../../action/analytics/DataSpaceAnalysis.js';
|
|
19
19
|
import { DSLDataSpace_PureGraphManagerExtension } from '../DSLDataSpace_PureGraphManagerExtension.js';
|
|
20
20
|
export declare class V1_DSLDataSpace_PureGraphManagerExtension extends DSLDataSpace_PureGraphManagerExtension {
|
|
21
21
|
graphManager: V1_PureGraphManager;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,mBAAmB,EAEnB,KAAK,wBAAwB,EAS9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAYpD,OAAO,EACL,uBAAuB,EAIxB,MAAM,gDAAgD,CAAC;AACxD,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;CAkMpC"}
|
package/lib/graphManager/protocol/{v1 → pure/v1}/V1_DSLDataSpace_PureGraphManagerExtension.js
RENAMED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
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 '
|
|
20
|
-
import { V1_DataSpaceSupportEmail } from '
|
|
21
|
-
import { DataSpaceAnalysisResult, DataSpaceExecutionContextAnalysisResult, DataSpaceStereotypeInfo, DataSpaceTaggedValueInfo, } from '
|
|
17
|
+
import { PureModel, V1_PureGraphManager, PureClientVersion, CoreModel, SystemModel, V1_Mapping, resolvePackagePathAndElementName, V1_PureModelContextType, V1_PackageableRuntime, V1_EngineRuntime, V1_Class, } from '@finos/legend-graph';
|
|
18
|
+
import { ActionState, guaranteeNonEmptyString, guaranteeNonNullable, guaranteeType, isNonNullable, uniq, } from '@finos/legend-shared';
|
|
19
|
+
import { DataSpaceSupportEmail } from '../../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
20
|
+
import { V1_DataSpaceSupportEmail } from '../../../../graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
|
|
21
|
+
import { DataSpaceAnalysisResult, DataSpaceExecutionContextAnalysisResult, DataSpaceStereotypeInfo, DataSpaceTaggedValueInfo, } from '../../../action/analytics/DataSpaceAnalysis.js';
|
|
22
22
|
import { DSLDataSpace_PureGraphManagerExtension } from '../DSLDataSpace_PureGraphManagerExtension.js';
|
|
23
23
|
import { V1_DataSpaceAnalysisResult } from './engine/analytics/V1_DataSpaceAnalysis.js';
|
|
24
24
|
const ANALYZE_DATA_SPACE_TRACE = 'analyze data space';
|
|
@@ -50,6 +50,7 @@ export class V1_DSLDataSpace_PureGraphManagerExtension extends DSLDataSpace_Pure
|
|
|
50
50
|
result.name = analysisResult.name;
|
|
51
51
|
result.package = analysisResult.package;
|
|
52
52
|
result.path = analysisResult.path;
|
|
53
|
+
result.title = analysisResult.title;
|
|
53
54
|
result.description = analysisResult.description;
|
|
54
55
|
result.taggedValues = analysisResult.taggedValues.map((taggedValue) => {
|
|
55
56
|
const info = new DataSpaceTaggedValueInfo();
|
|
@@ -102,8 +103,35 @@ export class V1_DSLDataSpace_PureGraphManagerExtension extends DSLDataSpace_Pure
|
|
|
102
103
|
return runtime;
|
|
103
104
|
});
|
|
104
105
|
// prepare the model context data
|
|
105
|
-
// scan for models coming from system so we don't duplicate them when building the graph
|
|
106
106
|
const graphEntities = analysisResult.model.elements
|
|
107
|
+
// NOTE: this is a temporary hack to fix a problem with data space analytics
|
|
108
|
+
// where the classes for properties are not properly surveyed
|
|
109
|
+
// We need to wait for the actual fix in backend to be merged and released
|
|
110
|
+
// See https://github.com/finos/legend-engine/pull/836
|
|
111
|
+
.concat(uniq(analysisResult.model.elements.flatMap((element) => {
|
|
112
|
+
if (element instanceof V1_Class) {
|
|
113
|
+
return element.derivedProperties
|
|
114
|
+
.map((prop) => prop.returnType)
|
|
115
|
+
.concat(element.properties.map((prop) => prop.type));
|
|
116
|
+
}
|
|
117
|
+
return [];
|
|
118
|
+
}))
|
|
119
|
+
// make sure to not include types already returned by the analysis
|
|
120
|
+
.filter((path) => !analysisResult.model.elements
|
|
121
|
+
.map((el) => el.path)
|
|
122
|
+
.includes(path))
|
|
123
|
+
.map((path) => {
|
|
124
|
+
const [pkgPath, name] = resolvePackagePathAndElementName(path);
|
|
125
|
+
if (!pkgPath) {
|
|
126
|
+
// exclude package-less elements (i.e. primitive types)
|
|
127
|
+
return undefined;
|
|
128
|
+
}
|
|
129
|
+
const _class = new V1_Class();
|
|
130
|
+
_class.name = name;
|
|
131
|
+
_class.package = pkgPath;
|
|
132
|
+
return _class;
|
|
133
|
+
})
|
|
134
|
+
.filter(isNonNullable))
|
|
107
135
|
.concat(mappingModels)
|
|
108
136
|
.concat(runtimeModels)
|
|
109
137
|
// NOTE: if an element could be found in the graph already it means it comes from system
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/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,EAC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@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { V1_PureModelContextData } from '@finos/legend-graph';
|
|
17
17
|
import { SerializationFactory } from '@finos/legend-shared';
|
|
18
|
-
import type { V1_DataSpaceSupportInfo } from '
|
|
18
|
+
import type { V1_DataSpaceSupportInfo } from '../../../../../../graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
|
|
19
19
|
declare class V1_DataSpaceTaggedValueInfo {
|
|
20
20
|
profile: string;
|
|
21
21
|
tag: string;
|
|
@@ -41,6 +41,7 @@ export declare class V1_DataSpaceAnalysisResult {
|
|
|
41
41
|
path: string;
|
|
42
42
|
taggedValues: V1_DataSpaceTaggedValueInfo[];
|
|
43
43
|
stereotypes: V1_DataSpaceStereotypeInfo[];
|
|
44
|
+
title?: string | undefined;
|
|
44
45
|
description?: string | undefined;
|
|
45
46
|
supportInfo?: V1_DataSpaceSupportInfo | undefined;
|
|
46
47
|
model: V1_PureModelContextData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/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,kHAAkH,CAAC;AAGhK,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,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,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,mDAyB3B;CACH"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { V1_PureModelContextData } from '@finos/legend-graph';
|
|
17
17
|
import { SerializationFactory, optionalCustom } from '@finos/legend-shared';
|
|
18
18
|
import { createModelSchema, list, object, optional, primitive, SKIP, } from 'serializr';
|
|
19
|
-
import { V1_deserializeSupportInfo } from '
|
|
19
|
+
import { V1_deserializeSupportInfo } from '../../../../../../graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js';
|
|
20
20
|
class V1_DataSpaceTaggedValueInfo {
|
|
21
21
|
profile;
|
|
22
22
|
tag;
|
|
@@ -55,6 +55,7 @@ export class V1_DataSpaceAnalysisResult {
|
|
|
55
55
|
path;
|
|
56
56
|
taggedValues = [];
|
|
57
57
|
stereotypes = [];
|
|
58
|
+
title;
|
|
58
59
|
description;
|
|
59
60
|
supportInfo;
|
|
60
61
|
model;
|
|
@@ -67,6 +68,7 @@ export class V1_DataSpaceAnalysisResult {
|
|
|
67
68
|
path: primitive(),
|
|
68
69
|
taggedValues: list(object(V1_DataSpaceTaggedValueInfo)),
|
|
69
70
|
stereotypes: list(object(V1_DataSpaceStereotypeInfo)),
|
|
71
|
+
title: optional(primitive()),
|
|
70
72
|
description: optional(primitive()),
|
|
71
73
|
supportInfo: optionalCustom(() => SKIP, (val) => V1_deserializeSupportInfo(val)),
|
|
72
74
|
model: object(V1_PureModelContextData),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/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,+GAA+G,CAAC;AAE1J,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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AAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAC5B,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"}
|
|
@@ -35,6 +35,7 @@ export declare class V1_DataSpace extends V1_PackageableElement implements Hasha
|
|
|
35
35
|
executionContexts: V1_DataSpaceExecutionContext[];
|
|
36
36
|
defaultExecutionContext: string;
|
|
37
37
|
featuredDiagrams?: V1_PackageableElementPointer[] | undefined;
|
|
38
|
+
title?: string | undefined;
|
|
38
39
|
description?: string | undefined;
|
|
39
40
|
supportInfo?: V1_DataSpaceSupportInfo | undefined;
|
|
40
41
|
get hashCode(): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAE7B,8BAAsB,uBAAwB,YAAW,QAAQ;IAC/D,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,wBACX,SAAQ,uBACR,YAAW,QAAQ;IAEnB,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF;AAED,qBAAa,4BAA6B,YAAW,QAAQ;IAC3D,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,4BAA4B,CAAC;IACvC,cAAc,EAAG,4BAA4B,CAAC;IAE9C,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,YAAa,SAAQ,qBAAsB,YAAW,QAAQ;IACzE,WAAW,EAAE,gBAAgB,EAAE,CAAM;IACrC,YAAY,EAAE,cAAc,EAAE,CAAM;IACpC,iBAAiB,EAAG,4BAA4B,EAAE,CAAC;IACnD,uBAAuB,EAAG,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,GAAG,SAAS,CAAC;IAC9D,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,IAAa,QAAQ,IAAI,MAAM,CAY9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
|
17
|
-
import { DATA_SPACE_HASH_STRUCTURE } from '
|
|
17
|
+
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../../graph/DSLDataSpace_HashUtils.js';
|
|
18
18
|
import { V1_PackageableElement, } from '@finos/legend-graph';
|
|
19
19
|
export class V1_DataSpaceSupportInfo {
|
|
20
20
|
}
|
|
@@ -48,6 +48,7 @@ export class V1_DataSpace extends V1_PackageableElement {
|
|
|
48
48
|
executionContexts;
|
|
49
49
|
defaultExecutionContext;
|
|
50
50
|
featuredDiagrams;
|
|
51
|
+
title;
|
|
51
52
|
description;
|
|
52
53
|
supportInfo;
|
|
53
54
|
get hashCode() {
|
|
@@ -58,6 +59,7 @@ export class V1_DataSpace extends V1_PackageableElement {
|
|
|
58
59
|
hashArray(this.executionContexts),
|
|
59
60
|
this.defaultExecutionContext,
|
|
60
61
|
hashArray((this.featuredDiagrams ?? []).map((pointer) => pointer.path)),
|
|
62
|
+
this.title ?? '',
|
|
61
63
|
this.description ?? '',
|
|
62
64
|
this.supportInfo ?? '',
|
|
63
65
|
]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,sDAAsD,CAAC;AACjG,OAAO,EACL,qBAAqB,GAKtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAgB,uBAAuB;CAE5C;AAED,MAAM,OAAO,wBACX,SAAQ,uBAAuB;IAG/B,OAAO,CAAU;IAEjB,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,wBAAwB;YAClD,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,4BAA4B;IACvC,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAgC;IACvC,cAAc,CAAgC;IAE9C,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,4BAA4B;YACtD,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI;YACjB,IAAI,CAAC,cAAc,CAAC,IAAI;SACzB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,YAAa,SAAQ,qBAAqB;IACrD,WAAW,GAAuB,EAAE,CAAC;IACrC,YAAY,GAAqB,EAAE,CAAC;IACpC,iBAAiB,CAAkC;IACnD,uBAAuB,CAAU;IACjC,gBAAgB,CAA8C;IAC9D,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,WAAW,CAAuC;IAElD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,UAAU;YACpC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3B,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC;YAC5B,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,uBAAuB;YAC5B,SAAS,CAAC,CAAC,IAAI,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACvE,IAAI,CAAC,KAAK,IAAI,EAAE;YAChB,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,WAAW,IAAI,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,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 { DataSpace } from '
|
|
16
|
+
import type { DataSpace } from '../../../../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
17
17
|
import type { PackageableElementImplicitReference, V1_GraphBuilderContext } from '@finos/legend-graph';
|
|
18
18
|
export declare const V1_resolveDataSpace: (path: string, context: V1_GraphBuilderContext) => PackageableElementImplicitReference<DataSpace>;
|
|
19
19
|
//# sourceMappingURL=V1_DSLDataSpace_GraphBuilderHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sGAAsG,CAAC;AACtI,OAAO,KAAK,EACV,mCAAmC,EACnC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,mBAAmB,SACxB,MAAM,WACH,sBAAsB,KAC9B,oCAAoC,SAAS,CAG7C,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_GraphBuilderHelper.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mEAAmE,CAAC;AAOjG,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,IAAY,EACZ,OAA+B,EACiB,EAAE,CAClD,OAAO,CAAC,yCAAyC,CAAC,IAAI,EAAE,CAAC,KAAa,EAAE,EAAE,CACxE,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CACnC,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,EACL,KAAK,WAAW,EAOjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,uBAAuB,EAC5B,YAAY,EAGb,MAAM,wEAAwE,CAAC;AAEhF,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAC/D,eAAO,MAAM,gCAAgC,UAAU,CAAC;AA+BxD,eAAO,MAAM,yBAAyB,SAC9B,YAAY,uBAAuB,CAAC,GAAG,SAAS,KACrD,uBAAuB,GAAG,SAa5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,+CA+DlC,CAAC"}
|
|
@@ -76,5 +76,6 @@ export const V1_dataSpaceModelSchema = createModelSchema(V1_DataSpace, {
|
|
|
76
76
|
}), (values) => deserializeArray(values, (v) => deserialize(V1_taggedValueSchema, v), {
|
|
77
77
|
skipIfEmpty: false,
|
|
78
78
|
})),
|
|
79
|
+
title: optional(primitive()),
|
|
79
80
|
});
|
|
80
81
|
//# sourceMappingURL=V1_DSLDataSpace_ProtocolHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AA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,CACT,cAAc,CACZ,MAAM,EACN,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,oBAAoB,EAAE,KAAK,CAAC,EACjD;QACE,WAAW,EAAE,IAAI;QACjB,gCAAgC,EAAE,IAAI;KACvC,CACF,EACH,CAAC,MAAM,EAAE,EAAE,CACT,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,oBAAoB,EAAE,CAAC,CAAC,EAAE;QACpE,WAAW,EAAE,KAAK;KACnB,CAAC,CACL;IACD,KAAK,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;CAC7B,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license @finos/legend-extension-dsl-data-space
|
|
1
|
+
/** @license @finos/legend-extension-dsl-data-space v6.1.1
|
|
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__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__title{display:flex;align-items:center;justify-content:center;height:3.4rem;max-width:100%;background:var(--color-blue-150)}.data-space__viewer__title__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 3.4rem);font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0);line-height:3.4rem;text-align:left}.data-space__viewer__title__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__title__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__info{padding:2rem}.data-space__viewer__info__project-info__label{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-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__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__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__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__info__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__info__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__info__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__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);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 */
|
package/lib/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,aACA,sBACA,YACA,WACA,qCAEA,4BCDA,aACA,mBACA,uBDEE,sBACA,aACA,aAGF,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,aACA,sBACA,YACA,WACA,qCAEA,4BCDA,aACA,mBACA,uBDEE,sBACA,aACA,aAGF,2BCTA,aACA,mBACA,uBDUE,cACA,eACA,iCAEA,qDCCF,uBACA,gBACA,sBACA,gBDDI,YACA,0BACA,oCACA,iBACA,eACA,iBACA,gCACA,mBACA,gBAGF,iCC9BF,aACA,mBACA,uBD+BI,cACA,aACA,oDAEA,qCACE,iBACA,gCAKN,iCACE,eACA,iBACA,aACA,gBACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,wCC1DF,aACA,mBACA,uBD2DI,gBACA,iCAIJ,6BClEA,aACA,mBACA,uBDmEE,0BACA,oBAGF,0BCzEA,aACA,mBACA,uBD0EE,WACA,YAGF,kCACE,WACA,sCACA,YACA,kBACA,kBAEA,yCACE,YACA,gBACA,kBAGF,wCC7FF,aACA,mBACA,uBD8FI,YACA,WACA,iCACA,eAGF,4CACE,eAGF,8CACE,kCACA,eAGF,gDACE,kCAIJ,gCACE,YACA,wBACA,8CACA,cAEA,yCACE,YACA,WAIJ,8BACE,aACA,sBACA,YACA,WAEA,sCChIF,aACA,mBDkII,cACA,WAGF,sCCvIF,aACA,mBDyII,YACA,sCACA,kCACA,gBACA,iBACA,eAEA,4CCvJJ,aACA,mBACA,uBDwJM,YAEA,gDACE,iBAIJ,4CACE,kBACA,iBACA,gBAIJ,gDACE,WAGF,uCACE,2BACA,WAGF,wCACE,WAEA,mDACE,cAKN,+BACE,aAEA,6CACE,kCAGF,sCC3LF,aACA,mBD6LI,cACA,WAEA,4CCvMJ,aACA,mBACA,uBDwMM,cACA,aACA,8BACA,sCAEA,gDACE,iBAIJ,+CC9MJ,aACA,mBDgNM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,yDACE,WAEA,oEACE,cAGF,iEClOR,aACA,mBDqOQ,sECtOR,aACA,mBDwOU,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,qDACE,oCAKN,4CACE,iBACA,oBACA,eACA,iBACA,aACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,mDC9QJ,aACA,mBACA,uBD+QM,gBACA,iCAIJ,wCACE,oBAIJ,0BACE,aAEA,+CC9QF,mBACA,uBACA,gBACA,sBACA,gBD6QI,YACA,YACA,8BACA,eACA,mBACA,iCACA,iCACA,gBAGF,+CC3RF,mBACA,uBACA,gBACA,sBACA,gBD0RI,YACA,2BACA,eACA,sCACA,gBACA,2BACA,oCAGF,8CCvTF,aACA,mBACA,uBDwTI,YACA,aACA,sCACA,mCACA,8BACA,oDAEA,kDACE,iBAIJ,mCACE,eACA,oBAGF,0CCrUF,aACA,mBDuUI,gBACA,iCACA,mBACA,iBACA,eAGF,0CC/UF,aACA,mBDiVI,cACA,eACA,WAGF,6CC7UF,mBACA,uBACA,gBACA,sBACA,gBD4UI,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC1VF,mBACA,uBACA,gBACA,sBACA,gBDyVI,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCChXF,aACA,mBDkXI,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDClYF,aACA,mBACA,uBDmYI,YACA,WACA,iCACA,gBACA,+CAIJ,kCACE,aAIA,0CC5YF,aACA,mBD8YI,cACA,WAEA,gDCxZJ,aACA,mBACA,uBDyZM,cACA,aACA,8BACA,sCAEA,oDACE,iBACA,kCAIJ,mDChaJ,aACA,mBDkaM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBExbR,qDACE,mCAGF,6CACE,iBAGF,yBACE,yBACA,0BAEA,iCACE,mCAGF,sCACE,cACA,WACA,cACA,sCAGF,2CDjBA,aACA,mBACA,uBCkBE,cACA,aACA,8BACA,sCAEA,+CACE,iCAGF,mDACE,iCAIJ,wDACE,WAGF,iCDtBA,mBACA,uBACA,gBACA,sBACA,gBCqBE,oBAGF,uCACE,iBACA,iCACA,kBACA,mBAGF,sCACE,iBACA,2BACA,kBACA,mBAGF,+BACE,2BACA,WAEA,uCDxDF,aACA,mBC0DI,cAEA,6CDnEJ,aACA,mBACA,uBCoEM,YAGF,6CACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBCpFR,MACE,yCAGF,kBACE","file":"index.css"}
|
package/lib/index.d.ts
CHANGED
|
@@ -17,9 +17,9 @@ export * from './DSLDataSpace_Extension.js';
|
|
|
17
17
|
export { DSLDataSpace_LegendStudioApplicationPlugin } from './components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js';
|
|
18
18
|
export { DSLDataSpace_LegendQueryApplicationPlugin } from './components/query/DSLDataSpace_LegendQueryApplicationPlugin.js';
|
|
19
19
|
export { DataSpaceViewer } from './components/DataSpaceViewer.js';
|
|
20
|
-
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './
|
|
20
|
+
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
21
21
|
export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
|
|
22
22
|
export * from './graphManager/DSLDataSpace_GraphManagerHelper.js';
|
|
23
|
-
export { getDSLDataSpaceGraphManagerExtension } from './graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js';
|
|
23
|
+
export { getDSLDataSpaceGraphManagerExtension } from './graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js';
|
|
24
24
|
export { DataSpaceAnalysisResult } from './graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,0CAA0C,EAAE,MAAM,mEAAmE,CAAC;AAC/H,OAAO,EAAE,yCAAyC,EAAE,MAAM,iEAAiE,CAAC;AAE5H,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,0CAA0C,EAAE,MAAM,mEAAmE,CAAC;AAC/H,OAAO,EAAE,yCAAyC,EAAE,MAAM,iEAAiE,CAAC;AAE5H,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,0EAA0E,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,mDAAmD,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,wEAAwE,CAAC;AAC9H,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -17,9 +17,9 @@ export * from './DSLDataSpace_Extension.js';
|
|
|
17
17
|
export { DSLDataSpace_LegendStudioApplicationPlugin } from './components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js';
|
|
18
18
|
export { DSLDataSpace_LegendQueryApplicationPlugin } from './components/query/DSLDataSpace_LegendQueryApplicationPlugin.js';
|
|
19
19
|
export { DataSpaceViewer } from './components/DataSpaceViewer.js';
|
|
20
|
-
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './
|
|
20
|
+
export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
21
21
|
export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
|
|
22
22
|
export * from './graphManager/DSLDataSpace_GraphManagerHelper.js';
|
|
23
|
-
export { getDSLDataSpaceGraphManagerExtension } from './graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js';
|
|
23
|
+
export { getDSLDataSpaceGraphManagerExtension } from './graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js';
|
|
24
24
|
export { DataSpaceAnalysisResult } from './graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,0CAA0C,EAAE,MAAM,mEAAmE,CAAC;AAC/H,OAAO,EAAE,yCAAyC,EAAE,MAAM,iEAAiE,CAAC;AAE5H,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,0CAA0C,EAAE,MAAM,mEAAmE,CAAC;AAC/H,OAAO,EAAE,yCAAyC,EAAE,MAAM,iEAAiE,CAAC;AAE5H,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,0EAA0E,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,mDAAmD,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,wEAAwE,CAAC;AAC9H,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC"}
|
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@finos/legend-application": "workspace:*",
|
|
47
|
+
"@finos/legend-application-query": "workspace:*",
|
|
48
|
+
"@finos/legend-application-studio": "workspace:*",
|
|
47
49
|
"@finos/legend-art": "workspace:*",
|
|
48
50
|
"@finos/legend-extension-dsl-diagram": "workspace:*",
|
|
49
51
|
"@finos/legend-graph": "workspace:*",
|
|
50
|
-
"@finos/legend-model-storage": "workspace:*",
|
|
51
|
-
"@finos/legend-query": "workspace:*",
|
|
52
52
|
"@finos/legend-server-depot": "workspace:*",
|
|
53
53
|
"@finos/legend-shared": "workspace:*",
|
|
54
|
-
"@finos/legend-
|
|
54
|
+
"@finos/legend-storage": "workspace:*",
|
|
55
55
|
"@types/react": "18.0.15",
|
|
56
56
|
"mobx": "6.6.1",
|
|
57
57
|
"mobx-react-lite": "3.4.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@finos/legend-dev-utils": "workspace:*",
|
|
66
66
|
"@jest/globals": "28.1.3",
|
|
67
67
|
"cross-env": "7.0.3",
|
|
68
|
-
"eslint": "8.
|
|
68
|
+
"eslint": "8.21.0",
|
|
69
69
|
"jest": "28.1.3",
|
|
70
70
|
"npm-run-all": "4.1.5",
|
|
71
71
|
"rimraf": "3.0.2",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"directory": "build/publishContent"
|
|
80
80
|
},
|
|
81
81
|
"extensions": {
|
|
82
|
-
"
|
|
83
|
-
"pureProtocolProcessorPlugin": "@finos/legend-
|
|
84
|
-
"pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-data-space
|
|
85
|
-
"pureGraphPlugin": "@finos/legend-graph-plugin-dsl-data-space
|
|
86
|
-
"
|
|
87
|
-
"
|
|
82
|
+
"graphManagerPreset": "@finos/legend-graph-manager-preset-dsl-data-space",
|
|
83
|
+
"pureProtocolProcessorPlugin": "@finos/legend-pure-protocol-processor-plugin-dsl-data-space",
|
|
84
|
+
"pureGraphManagerPlugin": "@finos/legend-pure-graph-manager-plugin-dsl-data-space",
|
|
85
|
+
"pureGraphPlugin": "@finos/legend-pure-graph-plugin-dsl-data-space",
|
|
86
|
+
"applicationStudioPlugin": "@finos/legend-application-studio-plugin-dsl-data-space",
|
|
87
|
+
"queryApplicationPlugin": "@finos/legend-application-query-plugin-dsl-data-space"
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -22,7 +22,7 @@ export declare enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
|
|
|
22
22
|
ENTITLEMENT = "ENTITLEMENT",
|
|
23
23
|
TEST_DATA = "TEST_DATA",
|
|
24
24
|
TEST_COVERAGE = "TEST_COVERAGE",
|
|
25
|
-
|
|
25
|
+
INFO = "INFO",
|
|
26
26
|
SUPPORT = "SUPPORT"
|
|
27
27
|
}
|
|
28
28
|
export declare class DataSpaceViewerState {
|
|
@@ -23,7 +23,7 @@ export var DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
|
23
23
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["ENTITLEMENT"] = "ENTITLEMENT";
|
|
24
24
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["TEST_DATA"] = "TEST_DATA";
|
|
25
25
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["TEST_COVERAGE"] = "TEST_COVERAGE";
|
|
26
|
-
DATA_SPACE_VIEWER_ACTIVITY_MODE["
|
|
26
|
+
DATA_SPACE_VIEWER_ACTIVITY_MODE["INFO"] = "INFO";
|
|
27
27
|
DATA_SPACE_VIEWER_ACTIVITY_MODE["SUPPORT"] = "SUPPORT";
|
|
28
28
|
})(DATA_SPACE_VIEWER_ACTIVITY_MODE = DATA_SPACE_VIEWER_ACTIVITY_MODE || (DATA_SPACE_VIEWER_ACTIVITY_MODE = {}));
|
|
29
29
|
export class DataSpaceViewerState {
|
|
@@ -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 { LEGEND_QUERY_PATH_PARAM_TOKEN, LEGEND_QUERY_QUERY_PARAM_TOKEN } from '@finos/legend-query';
|
|
16
|
+
import { LEGEND_QUERY_PATH_PARAM_TOKEN, LEGEND_QUERY_QUERY_PARAM_TOKEN } from '@finos/legend-application-query';
|
|
17
17
|
export declare enum DATA_SPACE_QUERY_EDITOR_PATH_PARAM_TOKEN {
|
|
18
18
|
DATA_SPACE_PATH = "dataSpacePath",
|
|
19
19
|
EXECUTION_CONTEXT = "executionContext"
|