@finos/legend-extension-dsl-data-space 0.2.0 → 1.0.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/lib/DSLDataSpace_Extension.d.ts +0 -10
  3. package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
  4. package/lib/DSLDataSpace_Extension.js +0 -24
  5. package/lib/DSLDataSpace_Extension.js.map +1 -1
  6. package/lib/components/DataSpaceViewer.js +17 -17
  7. package/lib/components/DataSpaceViewer.js.map +1 -1
  8. package/lib/components/query/{DSLDataSpace_QueryPlugin.d.ts → DSLDataSpace_LegendQueryPlugin.d.ts} +5 -5
  9. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +1 -0
  10. package/lib/components/query/{DSLDataSpace_QueryPlugin.js → DSLDataSpace_LegendQueryPlugin.js} +4 -4
  11. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +1 -0
  12. package/lib/components/query/DataSpaceQuerySetup.js +7 -7
  13. package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
  14. package/lib/components/studio/{DSLDataSpace_StudioPlugin.d.ts → DSLDataSpace_LegendStudioPlugin.d.ts} +5 -6
  15. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +1 -0
  16. package/lib/components/studio/{DSLDataSpace_StudioPlugin.js → DSLDataSpace_LegendStudioPlugin.js} +4 -19
  17. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -0
  18. package/lib/index.css +2 -2
  19. package/lib/index.css.map +1 -1
  20. package/lib/index.d.ts +5 -0
  21. package/lib/index.d.ts.map +1 -1
  22. package/lib/index.js +5 -0
  23. package/lib/index.js.map +1 -1
  24. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +1 -1
  25. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
  26. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +5 -5
  27. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
  28. package/package.json +16 -17
  29. package/src/DSLDataSpace_Extension.ts +0 -30
  30. package/src/components/query/{DSLDataSpace_QueryPlugin.tsx → DSLDataSpace_LegendQueryPlugin.tsx} +4 -4
  31. package/src/components/query/DataSpaceQuerySetup.tsx +2 -2
  32. package/src/components/studio/{DSLDataSpace_StudioPlugin.tsx → DSLDataSpace_LegendStudioPlugin.tsx} +7 -24
  33. package/src/index.ts +12 -0
  34. package/src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +5 -5
  35. package/tsconfig.json +2 -7
  36. package/lib/components/query/DSLDataSpace_QueryPlugin.d.ts.map +0 -1
  37. package/lib/components/query/DSLDataSpace_QueryPlugin.js.map +0 -1
  38. package/lib/components/studio/DSLDataSpace_StudioPlugin.d.ts.map +0 -1
  39. package/lib/components/studio/DSLDataSpace_StudioPlugin.js.map +0 -1
  40. package/lib/components/studio/EnterpriseModelExplorer.d.ts +0 -21
  41. package/lib/components/studio/EnterpriseModelExplorer.d.ts.map +0 -1
  42. package/lib/components/studio/EnterpriseModelExplorer.js +0 -70
  43. package/lib/components/studio/EnterpriseModelExplorer.js.map +0 -1
  44. package/lib/components/studio/EnterpriseModelExplorerStoreProvider.d.ts +0 -21
  45. package/lib/components/studio/EnterpriseModelExplorerStoreProvider.d.ts.map +0 -1
  46. package/lib/components/studio/EnterpriseModelExplorerStoreProvider.js +0 -35
  47. package/lib/components/studio/EnterpriseModelExplorerStoreProvider.js.map +0 -1
  48. package/lib/components/studio/TaxonomyTree.d.ts +0 -23
  49. package/lib/components/studio/TaxonomyTree.d.ts.map +0 -1
  50. package/lib/components/studio/TaxonomyTree.js +0 -78
  51. package/lib/components/studio/TaxonomyTree.js.map +0 -1
  52. package/lib/components/studio/TaxonomyViewer.d.ts +0 -22
  53. package/lib/components/studio/TaxonomyViewer.d.ts.map +0 -1
  54. package/lib/components/studio/TaxonomyViewer.js +0 -59
  55. package/lib/components/studio/TaxonomyViewer.js.map +0 -1
  56. package/lib/stores/studio/EnterpriseModelExplorerStore.d.ts +0 -93
  57. package/lib/stores/studio/EnterpriseModelExplorerStore.d.ts.map +0 -1
  58. package/lib/stores/studio/EnterpriseModelExplorerStore.js +0 -300
  59. package/lib/stores/studio/EnterpriseModelExplorerStore.js.map +0 -1
  60. package/src/components/studio/EnterpriseModelExplorer.tsx +0 -229
  61. package/src/components/studio/EnterpriseModelExplorerStoreProvider.tsx +0 -61
  62. package/src/components/studio/TaxonomyTree.tsx +0 -179
  63. package/src/components/studio/TaxonomyViewer.tsx +0 -187
  64. package/src/stores/studio/EnterpriseModelExplorerStore.tsx +0 -514
package/lib/index.d.ts CHANGED
@@ -14,4 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export * from './DSLDataSpace_Extension';
17
+ export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin';
18
+ export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin';
19
+ export { DataSpaceViewer } from './components/DataSpaceViewer';
20
+ export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, getResolvedDataSpace, } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
21
+ export { DataSpaceViewerState } from './stores/DataSpaceViewerState';
17
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,+BAA+B,EAAE,MAAM,qDAAqD,CAAC;AACtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,mDAAmD,CAAC;AAEnG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EACL,kCAAkC,EAClC,6BAA6B,EAC7B,oBAAoB,GACrB,MAAM,kEAAkE,CAAC;AAE1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC"}
package/lib/index.js CHANGED
@@ -14,4 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export * from './DSLDataSpace_Extension';
17
+ export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin';
18
+ export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin';
19
+ export { DataSpaceViewer } from './components/DataSpaceViewer';
20
+ export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, getResolvedDataSpace, } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
21
+ export { DataSpaceViewerState } from './stores/DataSpaceViewerState';
17
22
  //# 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,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,+BAA+B,EAAE,MAAM,qDAAqD,CAAC;AACtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,mDAAmD,CAAC;AAEnG,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EACL,kCAAkC,EAClC,6BAA6B,EAC7B,oBAAoB,GACrB,MAAM,kEAAkE,CAAC;AAE1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -63,5 +63,5 @@ export declare class ResolvedDataSpace {
63
63
  supportInfo?: DataSpaceSupportInfo | undefined;
64
64
  }
65
65
  export declare const getResolvedDataSpace: (json: PlainObject<V1_DataSpace>, graph: PureModel) => ResolvedDataSpace;
66
- export declare const extractDataSpaceTaxonomyNodePaths: (json: PlainObject<V1_DataSpace>) => string[];
66
+ export declare const extractDataSpaceTaxonomyNodes: (json: PlainObject<V1_DataSpace>) => string[];
67
67
  //# sourceMappingURL=DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAexD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qEAAqE,CAAC;AAMhH,OAAO,KAAK,EACV,kBAAkB,EAClB,OAAO,EAEP,2BAA2B,EAC3B,kBAAkB,EAClB,SAAS,EACT,sCAAsC,EACtC,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EAGrB,qBAAqB,EACrB,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAQL,2BAA2B,EAC3B,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,OAAO,EAER,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQvF,OAAO,CAAC,aAAa,EAAE,kBAAkB,GAAG,IAAI;IAIvC,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA6GxE,uBAAuB,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AC"}
1
+ {"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAexD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qEAAqE,CAAC;AAMhH,OAAO,KAAK,EACV,kBAAkB,EAClB,OAAO,EAEP,2BAA2B,EAC3B,kBAAkB,EAClB,SAAS,EACT,sCAAsC,EACtC,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EAGrB,qBAAqB,EACrB,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAQL,2BAA2B,EAC3B,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,OAAO,EAER,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQvF,OAAO,CAAC,aAAa,EAAE,kBAAkB,GAAG,IAAI;IAIvC,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA6GxE,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;CA+DnE;AAED,qBAAa,iCAAiC;IAC5C,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAC/C,cAAc,EAAG,2BAA2B,CAAC,kBAAkB,CAAC,CAAC;CAClE;AAED;;;GAGG;AACH,qBAAa,iBAAiB;IAC5B,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAM;IACT,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAM;IAC1E,IAAI,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IACjB,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,EAAG,MAAM,CAAC;IACnB,iBAAiB,EAAE,iCAAiC,EAAE,CAAM;IAC5D,uBAAuB,EAAG,iCAAiC,CAAC;IAC5D,gBAAgB,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAAE,CAAM;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAChD;AAED,eAAO,MAAM,oBAAoB,SACzB,YAAY,YAAY,CAAC,SACxB,SAAS,KACf,iBAkGF,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
@@ -236,20 +236,20 @@ export const getResolvedDataSpace = (json, graph) => {
236
236
  }
237
237
  throw new UnsupportedOperationError(`Can't resolve data space`, json);
238
238
  };
239
- export const extractDataSpaceTaxonomyNodePaths = (json) => {
239
+ export const extractDataSpaceTaxonomyNodes = (json) => {
240
240
  const ENTERPRISE_PROFILE_PATH = `meta::pure::profiles::enterprise`;
241
- const ENTERPRISE_TAXONOMY_NODES_TAG = `taxonomyNodes`;
242
- const ENTERPRISE_TAXONOMY_NODES_TAG_VALUE_DELIMITER = `,`;
241
+ const TAXONOMY_NODES_TAG = `taxonomyNodes`;
242
+ const TAXONOMY_NODES_TAG_VALUE_DELIMITER = `,`;
243
243
  const taxonomyNodes = new Set();
244
244
  if (json._type === V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE) {
245
245
  if (Array.isArray(json.taggedValues)) {
246
246
  const taggedValues = json.taggedValues.map((taggedValueJson) => deserialize(V1_taggedValueSchema, taggedValueJson));
247
247
  taggedValues
248
248
  .filter((taggedValue) => taggedValue.tag.profile === ENTERPRISE_PROFILE_PATH &&
249
- taggedValue.tag.value === ENTERPRISE_TAXONOMY_NODES_TAG)
249
+ taggedValue.tag.value === TAXONOMY_NODES_TAG)
250
250
  .forEach((taggedValue) => {
251
251
  taggedValue.value
252
- .split(ENTERPRISE_TAXONOMY_NODES_TAG_VALUE_DELIMITER)
252
+ .split(TAXONOMY_NODES_TAG_VALUE_DELIMITER)
253
253
  .map((value) => value.trim())
254
254
  .filter((value) => Boolean(value))
255
255
  .forEach((value) => taxonomyNodes.add(value));
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/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,uDAAuD,CAAC;AAE/D,OAAO,EACL,IAAI,EACJ,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,iEAAiE,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAErF,OAAO,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G,GAAG,CAAC;IAE1D,MAAM,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;IACxC,IAAI,IAAI,CAAC,KAAK,KAAK,mCAAmC,EAAE;QACtD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;YACpC,MAAM,YAAY,GAChB,IAAI,CAAC,YACN,CAAC,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE,CACxB,WAAW,CAAC,oBAAoB,EAAE,eAAe,CAAC,CACnD,CAAC;YACF,YAAY;iBACT,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,uBAAuB;gBACnD,WAAW,CAAC,GAAG,CAAC,KAAK,KAAK,6BAA6B,CAC1D;iBACA,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;gBACvB,WAAW,CAAC,KAAK;qBACd,KAAK,CAAC,6CAA6C,CAAC;qBACpD,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"}
1
+ {"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/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,4BA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AO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "0.2.0",
3
+ "version": "1.0.1",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -25,11 +25,11 @@
25
25
  "types": "lib/index.d.ts",
26
26
  "scripts": {
27
27
  "build": "yarn clean && yarn build:sass && yarn build:tsc",
28
- "build:sass": "cross-env INIT_CWD=$INIT_CWD sass ./style/index.scss ./lib/index.css --style=compressed && node ../../scripts/copyright/addBundledCodeCopyrightHeader.js ./lib/index.css",
28
+ "build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
29
29
  "build:tsc": "tsc --project ./tsconfig.build.json",
30
30
  "clean": "rimraf \"lib\" \"build\"",
31
31
  "dev": "npm-run-all --parallel dev:sass dev:tsc",
32
- "dev:sass": "sass ./style/index.scss ./lib/index.css --watch",
32
+ "dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
33
33
  "dev:tsc": "tsc --watch --preserveWatchOutput",
34
34
  "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
35
35
  "publish:prepare": "node ../../scripts/release/preparePublishContent.js",
@@ -38,16 +38,16 @@
38
38
  "test:watch": "jest --watch"
39
39
  },
40
40
  "dependencies": {
41
- "@finos/legend-application": "0.1.2",
42
- "@finos/legend-art": "0.1.1",
43
- "@finos/legend-extension-dsl-diagram": "0.1.2",
44
- "@finos/legend-graph": "0.2.2",
45
- "@finos/legend-model-storage": "0.0.8",
46
- "@finos/legend-query": "0.1.2",
47
- "@finos/legend-server-depot": "0.0.11",
48
- "@finos/legend-shared": "0.0.8",
49
- "@finos/legend-studio": "1.0.0",
50
- "@types/react": "17.0.34",
41
+ "@finos/legend-application": "0.2.1",
42
+ "@finos/legend-art": "0.1.2",
43
+ "@finos/legend-extension-dsl-diagram": "1.0.1",
44
+ "@finos/legend-graph": "0.2.4",
45
+ "@finos/legend-model-storage": "0.0.9",
46
+ "@finos/legend-query": "0.1.4",
47
+ "@finos/legend-server-depot": "0.0.12",
48
+ "@finos/legend-shared": "0.0.9",
49
+ "@finos/legend-studio": "2.0.1",
50
+ "@types/react": "17.0.36",
51
51
  "@types/react-router-dom": "5.3.2",
52
52
  "mobx": "6.3.7",
53
53
  "mobx-react-lite": "3.2.2",
@@ -60,14 +60,14 @@
60
60
  "serializr": "2.0.5"
61
61
  },
62
62
  "devDependencies": {
63
- "@finos/legend-dev-utils": "0.2.0",
63
+ "@finos/legend-dev-utils": "0.2.1",
64
64
  "cross-env": "7.0.3",
65
- "eslint": "8.2.0",
65
+ "eslint": "8.3.0",
66
66
  "jest": "27.3.1",
67
67
  "npm-run-all": "4.1.5",
68
68
  "rimraf": "3.0.2",
69
69
  "sass": "1.43.4",
70
- "typescript": "4.4.4"
70
+ "typescript": "4.5.2"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^17.0.0"
@@ -80,7 +80,6 @@
80
80
  "pureProtocolProcessorPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-protocol-processor",
81
81
  "pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph-manager",
82
82
  "pureGraphPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph",
83
- "studioPreset": "@finos/legend-studio-preset-dsl-data-space",
84
83
  "studioPlugin": "@finos/legend-studio-plugin-dsl-data-space",
85
84
  "queryPlugin": "@finos/legend-query-plugin-dsl-data-space"
86
85
  }
@@ -19,11 +19,7 @@ import { AbstractPreset } from '@finos/legend-shared';
19
19
  import { DSLDataSpace_PureGraphManagerPlugin } from './graphManager/DSLDataSpace_PureGraphManagerPlugin';
20
20
  import { DSLDataSpace_PureProtocolProcessorPlugin } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
21
21
  import type { GraphPluginManager } from '@finos/legend-graph';
22
- import type { StudioPluginManager } from '@finos/legend-studio';
23
- import { DSLDataSpace_StudioPlugin } from './components/studio/DSLDataSpace_StudioPlugin';
24
22
  import { DSLDataSpace_PureGraphPlugin } from './graph/DSLDataSpace_PureGraphPlugin';
25
- import type { QueryPluginManager } from '@finos/legend-query';
26
- import { DSLDataSpace_QueryPlugin } from './components/query/DSLDataSpace_QueryPlugin';
27
23
 
28
24
  export class DSLDataSpace_GraphPreset extends AbstractPreset {
29
25
  constructor() {
@@ -36,29 +32,3 @@ export class DSLDataSpace_GraphPreset extends AbstractPreset {
36
32
  new DSLDataSpace_PureProtocolProcessorPlugin().install(pluginManager);
37
33
  }
38
34
  }
39
-
40
- export class DSLDataSpace_StudioPreset extends AbstractPreset {
41
- constructor() {
42
- super(packageJson.extensions.studioPreset, packageJson.version);
43
- }
44
-
45
- install(pluginManager: StudioPluginManager): void {
46
- new DSLDataSpace_StudioPlugin().install(pluginManager);
47
- new DSLDataSpace_PureGraphPlugin().install(pluginManager);
48
- new DSLDataSpace_PureGraphManagerPlugin().install(pluginManager);
49
- new DSLDataSpace_PureProtocolProcessorPlugin().install(pluginManager);
50
- }
51
- }
52
-
53
- export class DSLDataSpace_QueryPreset extends AbstractPreset {
54
- constructor() {
55
- super(packageJson.extensions.studioPreset, packageJson.version);
56
- }
57
-
58
- install(pluginManager: QueryPluginManager): void {
59
- new DSLDataSpace_QueryPlugin().install(pluginManager);
60
- new DSLDataSpace_PureGraphPlugin().install(pluginManager);
61
- new DSLDataSpace_PureGraphManagerPlugin().install(pluginManager);
62
- new DSLDataSpace_PureProtocolProcessorPlugin().install(pluginManager);
63
- }
64
- }
@@ -16,23 +16,23 @@
16
16
 
17
17
  import packageJson from '../../../package.json';
18
18
  import type {
19
- QueryPluginManager,
19
+ LegendQueryPluginManager,
20
20
  QuerySetupOptionRendererConfiguration,
21
21
  QuerySetupRenderer,
22
22
  QuerySetupState,
23
23
  QuerySetupStore,
24
24
  } from '@finos/legend-query';
25
- import { QueryPlugin } from '@finos/legend-query';
25
+ import { LegendQueryPlugin } from '@finos/legend-query';
26
26
  import { SquareIcon } from '@finos/legend-art';
27
27
  import { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState';
28
28
  import { DataspaceQuerySetup } from './DataSpaceQuerySetup';
29
29
 
30
- export class DSLDataSpace_QueryPlugin extends QueryPlugin {
30
+ export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
31
31
  constructor() {
32
32
  super(packageJson.extensions.queryPlugin, packageJson.version);
33
33
  }
34
34
 
35
- install(pluginManager: QueryPluginManager): void {
35
+ install(pluginManager: LegendQueryPluginManager): void {
36
36
  pluginManager.registerQueryPlugin(this);
37
37
  }
38
38
 
@@ -27,7 +27,7 @@ import {
27
27
  CustomSelectorInput,
28
28
  SearchIcon,
29
29
  } from '@finos/legend-art';
30
- import { useQuerySetupStore, useQueryStore } from '@finos/legend-query';
30
+ import { useQuerySetupStore, useLegendQueryStore } from '@finos/legend-query';
31
31
  import { generateGAVCoordinates } from '@finos/legend-server-depot';
32
32
  import { debounce } from '@finos/legend-shared';
33
33
  import { flowResult } from 'mobx';
@@ -50,7 +50,7 @@ export const DataspaceQuerySetup = observer(
50
50
  const { querySetupState } = props;
51
51
  const applicationStore = useApplicationStore();
52
52
  const setupStore = useQuerySetupStore();
53
- const queryStore = useQueryStore();
53
+ const queryStore = useLegendQueryStore();
54
54
  const dataSpaceSearchRef = useRef<SelectComponent>(null);
55
55
  const [searchText, setSearchText] = useState('');
56
56
 
@@ -16,21 +16,20 @@
16
16
 
17
17
  import packageJson from '../../../package.json';
18
18
  import type {
19
- StudioPluginManager,
19
+ LegendStudioPluginManager,
20
20
  NewElementFromStateCreator,
21
21
  ElementTypeGetter,
22
22
  ElementProjectExplorerDnDTypeGetter,
23
23
  ElementIconGetter,
24
- DSL_StudioPlugin_Extension,
24
+ DSL_LegendStudioPlugin_Extension,
25
25
  NewElementState,
26
26
  ElementEditorStateCreator,
27
27
  EditorStore,
28
28
  ElementEditorState,
29
- ApplicationPageRenderEntry,
30
29
  } from '@finos/legend-studio';
31
30
  import {
32
31
  UnsupportedElementEditorState,
33
- StudioPlugin,
32
+ LegendStudioPlugin,
34
33
  } from '@finos/legend-studio';
35
34
  import { SquareIcon } from '@finos/legend-art';
36
35
  import type { PackageableElement } from '@finos/legend-graph';
@@ -38,40 +37,24 @@ import {
38
37
  DataSpace,
39
38
  DataSpaceExecutionContext,
40
39
  } from '../../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
41
- import { EnterpriseModelExplorer } from './EnterpriseModelExplorer';
42
- import { ENTERPRISE_MODEL_EXPLORER_ROUTE_PATTERN } from '../../stores/studio/EnterpriseModelExplorerStore';
43
40
  import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
44
41
 
45
42
  const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
46
43
  const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE =
47
44
  'PROJECT_EXPLORER_DATA_SPACE';
48
45
 
49
- export class DSLDataSpace_StudioPlugin
50
- extends StudioPlugin
51
- implements DSL_StudioPlugin_Extension
46
+ export class DSLDataSpace_LegendStudioPlugin
47
+ extends LegendStudioPlugin
48
+ implements DSL_LegendStudioPlugin_Extension
52
49
  {
53
50
  constructor() {
54
51
  super(packageJson.extensions.studioPlugin, packageJson.version);
55
52
  }
56
53
 
57
- install(pluginManager: StudioPluginManager): void {
54
+ install(pluginManager: LegendStudioPluginManager): void {
58
55
  pluginManager.registerStudioPlugin(this);
59
56
  }
60
57
 
61
- override getExtraApplicationPageRenderEntries(): ApplicationPageRenderEntry[] {
62
- return [
63
- {
64
- key: 'enterprise-application-page',
65
- urlPatterns: [
66
- ENTERPRISE_MODEL_EXPLORER_ROUTE_PATTERN.ENTERPRISE_VIEW,
67
- ENTERPRISE_MODEL_EXPLORER_ROUTE_PATTERN.ENTERPRISE_VIEW_BY_DATA_SPACE,
68
- ENTERPRISE_MODEL_EXPLORER_ROUTE_PATTERN.ENTERPRISE_VIEW_BY_TAXONOMY_NODE,
69
- ],
70
- component: EnterpriseModelExplorer,
71
- },
72
- ];
73
- }
74
-
75
58
  getExtraSupportedElementTypes(): string[] {
76
59
  return [DATA_SPACE_ELEMENT_TYPE];
77
60
  }
package/src/index.ts CHANGED
@@ -15,3 +15,15 @@
15
15
  */
16
16
 
17
17
  export * from './DSLDataSpace_Extension';
18
+ export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin';
19
+ export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin';
20
+
21
+ export { DataSpaceViewer } from './components/DataSpaceViewer';
22
+
23
+ export {
24
+ DATA_SPACE_ELEMENT_CLASSIFIER_PATH,
25
+ extractDataSpaceTaxonomyNodes,
26
+ getResolvedDataSpace,
27
+ } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
28
+
29
+ export { DataSpaceViewerState } from './stores/DataSpaceViewerState';
@@ -442,12 +442,12 @@ export const getResolvedDataSpace = (
442
442
  throw new UnsupportedOperationError(`Can't resolve data space`, json);
443
443
  };
444
444
 
445
- export const extractDataSpaceTaxonomyNodePaths = (
445
+ export const extractDataSpaceTaxonomyNodes = (
446
446
  json: PlainObject<V1_DataSpace>,
447
447
  ): string[] => {
448
448
  const ENTERPRISE_PROFILE_PATH = `meta::pure::profiles::enterprise`;
449
- const ENTERPRISE_TAXONOMY_NODES_TAG = `taxonomyNodes`;
450
- const ENTERPRISE_TAXONOMY_NODES_TAG_VALUE_DELIMITER = `,`;
449
+ const TAXONOMY_NODES_TAG = `taxonomyNodes`;
450
+ const TAXONOMY_NODES_TAG_VALUE_DELIMITER = `,`;
451
451
 
452
452
  const taxonomyNodes = new Set<string>();
453
453
  if (json._type === V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE) {
@@ -461,11 +461,11 @@ export const extractDataSpaceTaxonomyNodePaths = (
461
461
  .filter(
462
462
  (taggedValue) =>
463
463
  taggedValue.tag.profile === ENTERPRISE_PROFILE_PATH &&
464
- taggedValue.tag.value === ENTERPRISE_TAXONOMY_NODES_TAG,
464
+ taggedValue.tag.value === TAXONOMY_NODES_TAG,
465
465
  )
466
466
  .forEach((taggedValue) => {
467
467
  taggedValue.value
468
- .split(ENTERPRISE_TAXONOMY_NODES_TAG_VALUE_DELIMITER)
468
+ .split(TAXONOMY_NODES_TAG_VALUE_DELIMITER)
469
469
  .map((value) => value.trim())
470
470
  .filter((value) => Boolean(value))
471
471
  .forEach((value) => taxonomyNodes.add(value));
package/tsconfig.json CHANGED
@@ -50,14 +50,9 @@
50
50
  "./src/stores/DataSpaceViewerState.ts",
51
51
  "./src/stores/query/DataSpaceQuerySetupState.ts",
52
52
  "./src/components/DataSpaceViewer.tsx",
53
- "./src/components/query/DSLDataSpace_QueryPlugin.tsx",
53
+ "./src/components/query/DSLDataSpace_LegendQueryPlugin.tsx",
54
54
  "./src/components/query/DataSpaceQuerySetup.tsx",
55
- "./src/components/studio/DSLDataSpace_StudioPlugin.tsx",
56
- "./src/components/studio/EnterpriseModelExplorer.tsx",
57
- "./src/components/studio/EnterpriseModelExplorerStoreProvider.tsx",
58
- "./src/components/studio/TaxonomyTree.tsx",
59
- "./src/components/studio/TaxonomyViewer.tsx",
60
- "./src/stores/studio/EnterpriseModelExplorerStore.tsx",
55
+ "./src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx",
61
56
  "./src/models/protocols/pure/v1/V1_DSLDataSpace_SystemModels.json"
62
57
  ],
63
58
  "include": [
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLDataSpace_QueryPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_QueryPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,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KAAC,UAAU,IAAC,SAAS,EAAC,6CAA6C,WAAG,YAClE,EACN,4BAAK,SAAS,EAAC,0CAA0C,0DAEnD,aACC,CACV,CAAC;gBACJ,CAAC;aACF;SACF,CAAC;IACJ,CAAC;IAEQ,2BAA2B;QAClC,OAAO;YACL,CAAC,eAAgC,EAA+B,EAAE;gBAChE,IAAI,eAAe,YAAY,wBAAwB,EAAE;oBACvD,OAAO,KAAC,mBAAmB,IAAC,eAAe,EAAE,eAAe,WAAI,CAAC;iBAClE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLDataSpace_StudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_StudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,iBAAiB,EACjB,mCAAmC,EACnC,iBAAiB,EACjB,0BAA0B,EAE1B,yBAAyB,EAGzB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,YAAY,EACb,MAAM,sBAAsB,CAAC;AAe9B,qBAAa,yBACX,SAAQ,YACR,YAAW,0BAA0B;;IAMrC,OAAO,CAAC,aAAa,EAAE,mBAAmB,GAAG,IAAI;IAIxC,oCAAoC,IAAI,0BAA0B,EAAE;IAc7E,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,mCAAmC,IAAI,0BAA0B,EAAE;IA2BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,iCAAiC,IAAI,MAAM,EAAE;CAG9C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLDataSpace_StudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL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BAChE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,4CAA4C;QAC1C,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,4CAA4C,CAAC;iBACrD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iCAAiC;QAC/B,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACxD,CAAC;CACF"}
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- /// <reference types="react" />
17
- export declare const EnterpriseModelExplorerInner: (() => JSX.Element) & {
18
- displayName: string;
19
- };
20
- export declare const EnterpriseModelExplorer: React.FC;
21
- //# sourceMappingURL=EnterpriseModelExplorer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnterpriseModelExplorer.d.ts","sourceRoot":"","sources":["../../../src/components/studio/EnterpriseModelExplorer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAsIH,eAAO,MAAM,4BAA4B;;CA0EvC,CAAC;AAEH,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAI3C,CAAC"}
@@ -1,70 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- * Copyright (c) 2020-present, Goldman Sachs
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { useEffect } from 'react';
18
- import { NotificationSnackbar, useApplicationStore, } from '@finos/legend-application';
19
- import { AppHeader, AppHeaderMenu } from '@finos/legend-studio';
20
- import { observer } from 'mobx-react-lite';
21
- import { useParams } from 'react-router-dom';
22
- import { EnterpriseModelExplorerStoreProvider, useEnterpriseModelExplorerStore, } from './EnterpriseModelExplorerStoreProvider';
23
- import { flowResult } from 'mobx';
24
- import { CompressIcon, PanelLoadingIndicator, WindowMaximizeIcon, clsx, getControlledResizablePanelProps, ListIcon, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, } from '@finos/legend-art';
25
- import { TaxonomyTree } from './TaxonomyTree';
26
- import { TaxonomyViewer } from './TaxonomyViewer';
27
- const EnterpriseModelExplorerStatusBar = observer(() => {
28
- const enterpriseModelExplorerStore = useEnterpriseModelExplorerStore();
29
- const toggleExpandMode = () => enterpriseModelExplorerStore.setExpandedMode(!enterpriseModelExplorerStore.isInExpandedMode);
30
- return (_jsxs("div", Object.assign({ className: "editor__status-bar " }, { children: [_jsx("div", { className: "editor__status-bar__left" }, void 0), _jsx("div", Object.assign({ className: "editor__status-bar__right" }, { children: _jsx("button", Object.assign({ className: clsx('editor__status-bar__action editor__status-bar__action__toggler', {
31
- 'editor__status-bar__action__toggler--active': enterpriseModelExplorerStore.isInExpandedMode,
32
- }), onClick: toggleExpandMode, tabIndex: -1, title: 'Maximize/Minimize' }, { children: _jsx(WindowMaximizeIcon, {}, void 0) }), void 0) }), void 0)] }), void 0));
33
- });
34
- const EnterpriseModelExplorerActivityBar = observer(() => (_jsx("div", Object.assign({ className: "activity-bar" }, { children: _jsx("div", Object.assign({ className: "activity-bar__items" }, { children: _jsx("button", Object.assign({ className: clsx('activity-bar__item', 'activity-bar__item--active'), tabIndex: -1, title: "Explorer" }, { children: _jsx(ListIcon, {}, void 0) }), void 0) }), void 0) }), void 0)));
35
- const EnterpriseModelExplorerSideBar = observer(() => {
36
- const enterpriseModelExplorerStore = useEnterpriseModelExplorerStore();
37
- const collapseTree = () => {
38
- if (enterpriseModelExplorerStore.treeData) {
39
- enterpriseModelExplorerStore.treeData.nodes.forEach((node) => {
40
- node.isOpen = false;
41
- });
42
- enterpriseModelExplorerStore.setTreeData({
43
- ...enterpriseModelExplorerStore.treeData,
44
- });
45
- }
46
- };
47
- return (_jsx("div", Object.assign({ className: "side-bar" }, { children: _jsx("div", Object.assign({ className: "side-bar__view" }, { children: _jsxs("div", Object.assign({ className: "panel" }, { children: [_jsx("div", Object.assign({ className: "panel__header side-bar__header" }, { children: _jsx("div", Object.assign({ className: "panel__header__title" }, { children: _jsx("div", Object.assign({ className: "panel__header__title__content side-bar__header__title__content" }, { children: "EXPLORER" }), void 0) }), void 0) }), void 0), _jsx("div", Object.assign({ className: "panel__content side-bar__content" }, { children: _jsxs("div", Object.assign({ className: "panel" }, { children: [_jsxs("div", Object.assign({ className: "panel__header enterprise-model-explorer__side-bar__header" }, { children: [_jsx("div", Object.assign({ className: "panel__header__title" }, { children: _jsx("div", Object.assign({ className: "panel__header__title__content" }, { children: "Enterprise Taxonomy" }), void 0) }), void 0), _jsx("div", Object.assign({ className: "panel__header__actions" }, { children: _jsx("button", Object.assign({ className: "panel__header__action enterprise-model-explorer__side-bar__header__action", onClick: collapseTree, tabIndex: -1, title: "Collapse All" }, { children: _jsx(CompressIcon, {}, void 0) }), void 0) }), void 0)] }), void 0), _jsx(PanelLoadingIndicator, { isLoading: enterpriseModelExplorerStore.initState.isInProgress }, void 0), _jsx("div", Object.assign({ className: "panel__content enterprise-model-explorer__taxonomy-tree-container" }, { children: enterpriseModelExplorerStore.treeData && (_jsx(TaxonomyTree, { treeData: enterpriseModelExplorerStore.treeData }, void 0)) }), void 0)] }), void 0) }), void 0)] }), void 0) }), void 0) }), void 0));
48
- });
49
- export const EnterpriseModelExplorerInner = observer(() => {
50
- const params = useParams();
51
- const applicationStore = useApplicationStore();
52
- const enterpriseModelExplorerStore = useEnterpriseModelExplorerStore();
53
- const resizeSideBar = (handleProps) => enterpriseModelExplorerStore.sideBarDisplayState.setSize(handleProps.domElement.getBoundingClientRect().width);
54
- useEffect(() => {
55
- enterpriseModelExplorerStore.internalizeDataSpacePath(params);
56
- }, [enterpriseModelExplorerStore, params]);
57
- // NOTE: since we internalize the data space path in the route, we should not re-initialize the graph
58
- // on the second call when we remove path from the route
59
- useEffect(() => {
60
- flowResult(enterpriseModelExplorerStore.initialize(params)).catch(applicationStore.alertIllegalUnhandledError);
61
- }, [applicationStore, enterpriseModelExplorerStore, params]);
62
- return (_jsxs("div", Object.assign({ className: "app__page" }, { children: [_jsx(AppHeader, { children: _jsx(AppHeaderMenu, {}, void 0) }, void 0), _jsx("div", Object.assign({ className: "app__content" }, { children: _jsxs("div", Object.assign({ className: "editor" }, { children: [_jsxs("div", Object.assign({ className: "editor__body" }, { children: [_jsx(EnterpriseModelExplorerActivityBar, {}, void 0), _jsx(NotificationSnackbar, {}, void 0), _jsx("div", Object.assign({ className: "editor__content-container" }, { children: _jsx("div", Object.assign({ className: clsx('editor__content', {
63
- 'editor__content--expanded': enterpriseModelExplorerStore.isInExpandedMode,
64
- }) }, { children: _jsxs(ResizablePanelGroup, Object.assign({ orientation: "vertical" }, { children: [_jsx(ResizablePanel, Object.assign({}, getControlledResizablePanelProps(enterpriseModelExplorerStore.sideBarDisplayState.size ===
65
- 0, {
66
- onStopResize: resizeSideBar,
67
- }), { direction: 1, size: enterpriseModelExplorerStore.sideBarDisplayState.size }, { children: _jsx(EnterpriseModelExplorerSideBar, {}, void 0) }), void 0), _jsx(ResizablePanelSplitter, {}, void 0), _jsx(ResizablePanel, Object.assign({ minSize: 300 }, { children: enterpriseModelExplorerStore.currentTaxonomyViewerState ? (_jsx(TaxonomyViewer, { taxonomyViewerState: enterpriseModelExplorerStore.currentTaxonomyViewerState }, void 0)) : (_jsx("div", {}, void 0)) }), void 0)] }), void 0) }), void 0) }), void 0)] }), void 0), _jsx(EnterpriseModelExplorerStatusBar, {}, void 0)] }), void 0) }), void 0)] }), void 0));
68
- });
69
- export const EnterpriseModelExplorer = () => (_jsx(EnterpriseModelExplorerStoreProvider, { children: _jsx(EnterpriseModelExplorerInner, {}, void 0) }, void 0));
70
- //# sourceMappingURL=EnterpriseModelExplorer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnterpriseModelExplorer.js","sourceRoot":"","sources":["../../../src/components/studio/EnterpriseModelExplorer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EACL,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EACL,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,IAAI,EACJ,gCAAgC,EAChC,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,gCAAgC,GAAG,QAAQ,CAAC,GAAG,EAAE;IACrD,MAAM,4BAA4B,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AAC,CAAC,CACzD,KAAC,cAAc,IACb,mBAAmB,EACjB,4BAA4B,CAAC,0BAA0B,WAEzD,CACH,CAAC,CAAC,CAAC,CACF,uBAAO,CACR,YACc,aACG,YAClB,YACF,aACF,EACN,KAAC,gCAAgC,aAAG,aAChC,YACF,aACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAa,GAAG,EAAE,CAAC,CACrD,KAAC,oCAAoC,cACnC,KAAC,4BAA4B,aAAG,WACK,CACxC,CAAC"}
@@ -1,21 +0,0 @@
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 { EnterpriseModelExplorerStore } from '../../stores/studio/EnterpriseModelExplorerStore';
17
- export declare const EnterpriseModelExplorerStoreProvider: ({ children, }: {
18
- children: React.ReactNode;
19
- }) => React.ReactElement;
20
- export declare const useEnterpriseModelExplorerStore: () => EnterpriseModelExplorerStore;
21
- //# sourceMappingURL=EnterpriseModelExplorerStoreProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnterpriseModelExplorerStoreProvider.d.ts","sourceRoot":"","sources":["../../../src/components/studio/EnterpriseModelExplorerStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAQhG,eAAO,MAAM,oCAAoC;cAGrC,MAAM,SAAS;MACvB,MAAM,YAmBT,CAAC;AAEF,eAAO,MAAM,+BAA+B,QACtC,4BAID,CAAC"}