@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.
Files changed (147) hide show
  1. package/lib/DSLDataSpace_Extension.d.ts +1 -1
  2. package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
  3. package/lib/DSLDataSpace_Extension.js +3 -3
  4. package/lib/DSLDataSpace_Extension.js.map +1 -1
  5. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  6. package/lib/components/DataSpaceViewer.js +14 -11
  7. package/lib/components/DataSpaceViewer.js.map +1 -1
  8. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts +1 -1
  9. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
  10. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js +2 -2
  11. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +1 -1
  12. package/lib/components/query/DataSpaceQueryEditor.js +1 -1
  13. package/lib/components/query/DataSpaceQueryEditor.js.map +1 -1
  14. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
  15. package/lib/components/query/DataSpaceQuerySetup.js +10 -5
  16. package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
  17. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts +1 -1
  18. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -1
  19. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js +3 -3
  20. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +1 -1
  21. package/lib/{models/DSLDataSpace_ModelUtils.d.ts → graph/DSLDataSpace_HashUtils.d.ts} +1 -1
  22. package/lib/graph/DSLDataSpace_HashUtils.d.ts.map +1 -0
  23. package/lib/{models/DSLDataSpace_ModelUtils.js → graph/DSLDataSpace_HashUtils.js} +1 -1
  24. package/lib/graph/DSLDataSpace_HashUtils.js.map +1 -0
  25. package/lib/graph/DSLDataSpace_PureGraphPlugin.js +1 -1
  26. package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
  27. package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +1 -0
  28. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -0
  29. package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +3 -1
  30. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -0
  31. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts +1 -1
  32. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +1 -1
  33. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js +1 -1
  34. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +1 -1
  35. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +2 -2
  36. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
  37. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +2 -1
  38. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
  39. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +1 -0
  40. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -1
  41. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts +1 -1
  42. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +1 -1
  43. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js +1 -0
  44. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js.map +1 -1
  45. package/lib/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtension.d.ts → pure/DSLDataSpace_PureGraphManagerExtension.d.ts} +2 -2
  46. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  47. package/lib/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtension.js → pure/DSLDataSpace_PureGraphManagerExtension.js} +0 -0
  48. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
  49. package/lib/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts → pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts} +0 -0
  50. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  51. package/lib/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtensionBuilder.js → pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js} +0 -0
  52. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
  53. package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +0 -0
  54. package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -0
  55. package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +3 -1
  56. package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -0
  57. package/lib/graphManager/protocol/{v1 → pure/v1}/V1_DSLDataSpace_PureGraphManagerExtension.d.ts +2 -2
  58. package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  59. package/lib/graphManager/protocol/{v1 → pure/v1}/V1_DSLDataSpace_PureGraphManagerExtension.js +34 -6
  60. package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
  61. package/lib/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
  62. package/lib/graphManager/protocol/{v1 → pure/v1}/engine/analytics/V1_DataSpaceAnalysis.d.ts +2 -1
  63. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -0
  64. package/lib/graphManager/protocol/{v1 → pure/v1}/engine/analytics/V1_DataSpaceAnalysis.js +3 -1
  65. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -0
  66. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts +1 -0
  67. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +1 -0
  68. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +3 -1
  69. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -0
  70. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts +1 -1
  71. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +1 -0
  72. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js +0 -0
  73. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +1 -0
  74. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +0 -0
  75. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -0
  76. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -0
  77. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -0
  78. package/lib/index.css +2 -2
  79. package/lib/index.css.map +1 -1
  80. package/lib/index.d.ts +2 -2
  81. package/lib/index.d.ts.map +1 -1
  82. package/lib/index.js +2 -2
  83. package/lib/index.js.map +1 -1
  84. package/lib/package.json +11 -11
  85. package/lib/stores/DataSpaceViewerState.d.ts +1 -1
  86. package/lib/stores/DataSpaceViewerState.js +1 -1
  87. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts +1 -1
  88. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +1 -1
  89. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js +1 -1
  90. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +1 -1
  91. package/lib/stores/query/DataSpaceQueryEditorStore.d.ts +1 -1
  92. package/lib/stores/query/DataSpaceQueryEditorStore.d.ts.map +1 -1
  93. package/lib/stores/query/DataSpaceQueryEditorStore.js +8 -7
  94. package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -1
  95. package/lib/stores/query/DataSpaceQuerySetupState.d.ts +3 -1
  96. package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
  97. package/lib/stores/query/DataSpaceQuerySetupState.js +9 -4
  98. package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
  99. package/package.json +18 -18
  100. package/src/DSLDataSpace_Extension.ts +3 -3
  101. package/src/components/DataSpaceViewer.tsx +88 -25
  102. package/src/components/query/DSLDataSpace_LegendQueryApplicationPlugin.tsx +2 -2
  103. package/src/components/query/DataSpaceQueryEditor.tsx +1 -1
  104. package/src/components/query/DataSpaceQuerySetup.tsx +23 -3
  105. package/src/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.tsx +3 -3
  106. package/src/{models/DSLDataSpace_ModelUtils.ts → graph/DSLDataSpace_HashUtils.ts} +0 -0
  107. package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -1
  108. package/src/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +3 -1
  109. package/src/graphManager/DSLDataSpace_GraphManagerHelper.ts +1 -1
  110. package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +2 -2
  111. package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +2 -1
  112. package/src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts +2 -1
  113. package/src/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtension.ts → pure/DSLDataSpace_PureGraphManagerExtension.ts} +2 -2
  114. package/src/graphManager/protocol/{DSLDataSpace_PureGraphManagerExtensionBuilder.ts → pure/DSLDataSpace_PureGraphManagerExtensionBuilder.ts} +0 -0
  115. package/src/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +3 -1
  116. package/src/graphManager/protocol/{v1 → pure/v1}/V1_DSLDataSpace_PureGraphManagerExtension.ts +42 -5
  117. package/src/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
  118. package/src/graphManager/protocol/{v1 → pure/v1}/engine/analytics/V1_DataSpaceAnalysis.ts +4 -2
  119. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +3 -1
  120. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts +1 -1
  121. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -0
  122. package/src/index.ts +2 -2
  123. package/src/stores/DataSpaceViewerState.ts +1 -1
  124. package/src/stores/query/DSLDataSpace_LegendQueryRouter.ts +1 -1
  125. package/src/stores/query/DataSpaceQueryEditorStore.ts +10 -8
  126. package/src/stores/query/DataSpaceQuerySetupState.ts +11 -4
  127. package/tsconfig.json +11 -11
  128. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.d.ts.map +0 -1
  129. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js.map +0 -1
  130. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
  131. package/lib/graphManager/protocol/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +0 -1
  132. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +0 -1
  133. package/lib/graphManager/protocol/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +0 -1
  134. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +0 -1
  135. package/lib/graphManager/protocol/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +0 -1
  136. package/lib/models/DSLDataSpace_ModelUtils.d.ts.map +0 -1
  137. package/lib/models/DSLDataSpace_ModelUtils.js.map +0 -1
  138. package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +0 -1
  139. package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +0 -1
  140. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +0 -1
  141. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +0 -1
  142. package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +0 -1
  143. package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +0 -1
  144. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +0 -1
  145. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +0 -1
  146. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +0 -1
  147. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSLDataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,qBAAqB,CAAC;AAI7B,oBAAY,wCAAwC;IAClD,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;CACvC;AAED,MAAM,WAAW,8BAA8B;IAC7C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,wCAAwC,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACnE,CAAC,wCAAwC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACrE,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;CACtD;AAED,eAAO,MAAM,qCAAqC,QAAiO,CAAC;AAEpR,eAAO,MAAM,iCAAiC,YACnC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAkBC,CAAC"}
1
+ {"version":3,"file":"DSLDataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSLDataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,iCAAiC,CAAC;AAIzC,oBAAY,wCAAwC;IAClD,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;CACvC;AAED,MAAM,WAAW,8BAA8B;IAC7C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,wCAAwC,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACnE,CAAC,wCAAwC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACrE,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;CACtD;AAED,eAAO,MAAM,qCAAqC,QAAiO,CAAC;AAEpR,eAAO,MAAM,iCAAiC,YACnC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAkBC,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { generateExtensionUrlPattern } from '@finos/legend-application';
17
- import { LEGEND_QUERY_PATH_PARAM_TOKEN, LEGEND_QUERY_QUERY_PARAM_TOKEN, } from '@finos/legend-query';
17
+ import { LEGEND_QUERY_PATH_PARAM_TOKEN, LEGEND_QUERY_QUERY_PARAM_TOKEN, } from '@finos/legend-application-query';
18
18
  import { generateGAVCoordinates } from '@finos/legend-server-depot';
19
19
  import { generatePath } from 'react-router';
20
20
  export var DATA_SPACE_QUERY_EDITOR_PATH_PARAM_TOKEN;
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_LegendQueryRouter.js","sourceRoot":"","sources":["../../../src/stores/query/DSLDataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,wCAGX;AAHD,WAAY,wCAAwC;IAClD,6EAAiC,CAAA;IACjC,kFAAsC,CAAA;AACxC,CAAC,EAHW,wCAAwC,GAAxC,wCAAwC,KAAxC,wCAAwC,QAGnD;AAaD,MAAM,CAAC,MAAM,qCAAqC,GAAG,eAAe,6BAA6B,CAAC,GAAG,KAAK,wCAAwC,CAAC,eAAe,KAAK,wCAAwC,CAAC,iBAAiB,KAAK,6BAA6B,CAAC,YAAY,GAAG,CAAC;AAEpR,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAC/C,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,mBAA2B,EAC3B,WAAgC,EAChC,SAA8B,EACtB,EAAE,CACV,GAAG,YAAY,CACb,2BAA2B,CAAC,qCAAqC,CAAC,EAClE;IACE,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,sBAAsB,CACzD,OAAO,EACP,UAAU,EACV,SAAS,CACV;IACD,CAAC,wCAAwC,CAAC,eAAe,CAAC,EAAE,aAAa;IACzE,CAAC,wCAAwC,CAAC,iBAAiB,CAAC,EAC1D,mBAAmB;IACrB,CAAC,6BAA6B,CAAC,YAAY,CAAC,EAAE,WAAW;CAC1D,CACF,GACC,SAAS;IACP,CAAC,CAAC,IAAI,8BAA8B,CAAC,UAAU,IAAI,SAAS,EAAE;IAC9D,CAAC,CAAC,EACN,EAAE,CAAC"}
1
+ {"version":3,"file":"DSLDataSpace_LegendQueryRouter.js","sourceRoot":"","sources":["../../../src/stores/query/DSLDataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,wCAGX;AAHD,WAAY,wCAAwC;IAClD,6EAAiC,CAAA;IACjC,kFAAsC,CAAA;AACxC,CAAC,EAHW,wCAAwC,GAAxC,wCAAwC,KAAxC,wCAAwC,QAGnD;AAaD,MAAM,CAAC,MAAM,qCAAqC,GAAG,eAAe,6BAA6B,CAAC,GAAG,KAAK,wCAAwC,CAAC,eAAe,KAAK,wCAAwC,CAAC,iBAAiB,KAAK,6BAA6B,CAAC,YAAY,GAAG,CAAC;AAEpR,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAC/C,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,mBAA2B,EAC3B,WAAgC,EAChC,SAA8B,EACtB,EAAE,CACV,GAAG,YAAY,CACb,2BAA2B,CAAC,qCAAqC,CAAC,EAClE;IACE,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,sBAAsB,CACzD,OAAO,EACP,UAAU,EACV,SAAS,CACV;IACD,CAAC,wCAAwC,CAAC,eAAe,CAAC,EAAE,aAAa;IACzE,CAAC,wCAAwC,CAAC,iBAAiB,CAAC,EAC1D,mBAAmB;IACrB,CAAC,6BAA6B,CAAC,YAAY,CAAC,EAAE,WAAW;CAC1D,CACF,GACC,SAAS;IACP,CAAC,CAAC,IAAI,8BAA8B,CAAC,UAAU,IAAI,SAAS,EAAE;IAC9D,CAAC,CAAC,EACN,EAAE,CAAC"}
@@ -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 { QueryEditorStore, type QueryExportConfiguration, type LegendQueryPluginManager, type LegendQueryApplicationStore } from '@finos/legend-query';
16
+ import { QueryEditorStore, type QueryExportConfiguration, type LegendQueryPluginManager, type LegendQueryApplicationStore } from '@finos/legend-application-query';
17
17
  import type { DepotServerClient, ProjectGAVCoordinates } from '@finos/legend-server-depot';
18
18
  export declare class DataSpaceQueryEditorStore extends QueryEditorStore {
19
19
  groupId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryEditorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EACL,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AAkBpC,qBAAa,yBAA0B,SAAQ,gBAAgB;IAC7D,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG5B,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,wBAAwB,EACvC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS;IAalC,cAAc,IAAI,qBAAqB;IAQjC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAoClC,sBAAsB,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAgBlE"}
1
+ {"version":3,"file":"DataSpaceQueryEditorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EACL,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EACjC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AAkBpC,qBAAa,yBAA0B,SAAQ,gBAAgB;IAC7D,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG5B,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,wBAAwB,EACvC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS;IAalC,cAAc,IAAI,qBAAqB;IAQjC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAsClC,sBAAsB,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAgBlE"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { extractElementNameFromPath, QueryTaggedValue, } from '@finos/legend-graph';
17
- import { QueryEditorStore, } from '@finos/legend-query';
17
+ import { QueryEditorStore, } from '@finos/legend-application-query';
18
18
  import { guaranteeNonNullable, uuid } from '@finos/legend-shared';
19
19
  import { QUERY_PROFILE_PATH, QUERY_PROFILE_TAG_DATA_SPACE, } from '../../DSLDataSpace_Const.js';
20
20
  import { getDataSpace } from '../../graphManager/DSLDataSpace_GraphManagerHelper.js';
@@ -60,14 +60,15 @@ export class DataSpaceQueryEditorStore extends QueryEditorStore {
60
60
  ? this.graphManagerState.graph.getRuntime(this.runtimePath)
61
61
  : executionContext.defaultRuntime.value).runtimeValue);
62
62
  if (this.classPath) {
63
- this.queryBuilderState.querySetupState._class =
64
- this.queryBuilderState.graphManagerState.graph.getClass(this.classPath);
63
+ this.queryBuilderState.changeClass(this.queryBuilderState.graphManagerState.graph.getClass(this.classPath));
65
64
  this.queryBuilderState.querySetupState.setClassIsReadOnly(true);
66
65
  }
67
- // TODO?: should we set the class here automatically?
68
- // initialize query builder state after setting up
69
- this.queryBuilderState.resetQueryBuilder();
70
- this.queryBuilderState.resetQuerySetup();
66
+ else {
67
+ // TODO?: should we set the class here automatically?
68
+ // initialize query builder state after setting up
69
+ this.queryBuilderState.resetQueryBuilder();
70
+ this.queryBuilderState.resetQuerySetup();
71
+ }
71
72
  }
72
73
  async getExportConfiguration() {
73
74
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryEditorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,GAIjB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EACL,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAErF,MAAM,+BAA+B,GAAG,CACtC,aAAqB,EACH,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAC3C,WAAW,CAAC,OAAO,GAAG,kBAAkB,CAAC;IACzC,WAAW,CAAC,GAAG,GAAG,4BAA4B,CAAC;IAC/C,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC;IAClC,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,OAAO,yBAA0B,SAAQ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,GAAG,IAAI,CAAC,SAAS,CAAC;gBACjC,KAAK,CAAC,YAAY,GAAG;oBACnB,+BAA+B,CAAC,IAAI,CAAC,aAAa,CAAC;iBACpD,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceQueryEditorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,GAIjB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EACL,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAErF,MAAM,+BAA+B,GAAG,CACtC,aAAqB,EACH,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAC3C,WAAW,CAAC,OAAO,GAAG,kBAAkB,CAAC;IACzC,WAAW,CAAC,GAAG,GAAG,4BAA4B,CAAC;IAC/C,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC;IAClC,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,OAAO,yBAA0B,SAAQ,gBAAgB;IAC7D,OAAO,CAAS;IAChB,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,aAAa,CAAS;IACtB,gBAAgB,CAAS;IACzB,WAAW,CAAqB;IAChC,SAAS,CAAqB;IAE9B,YACE,gBAA6C,EAC7C,iBAAoC,EACpC,aAAuC,EACvC,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,gBAAwB,EACxB,WAA+B,EAC/B,YAAgC;QAEhC,KAAK,CAAC,gBAAgB,EAAE,iBAAi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AAC,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3D,CAAC,CAAC,gBAAgB,CAAC,cAAc,CAAC,KAAK,CACxC,CAAC,YAAY,CACf,CAAC;QAEF,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAChC,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CACxE,CAAC;YACF,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;SACjE;aAAM;YACL,qDAAqD;YAErD,kDAAkD;YAClD,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,EAAE,CAAC;YAC3C,IAAI,CAAC,iBAAiB,CAAC,eAAe,EAAE,CAAC;SAC1C;IACH,CAAC;IAED,KAAK,CAAC,sBAAsB;QAC1B,OAAO;YACL,WAAW,EAAE,iBAAiB,0BAA0B,CACtD,IAAI,CAAC,aAAa,CACnB,IAAI,IAAI,CAAC,gBAAgB,GAAG;YAC7B,SAAS,EAAE,CAAC,KAAY,EAAQ,EAAE;gBAChC,KAAK,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;gBAClB,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;gBAC7B,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;gBACnC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;gBACjC,KAAK,CAAC,YAAY,GAAG;oBACnB,+BAA+B,CAAC,IAAI,CAAC,aAAa,CAAC;iBACpD,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -14,13 +14,15 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { Class } from '@finos/legend-graph';
17
- import { type QuerySetupStore, QuerySetupState } from '@finos/legend-query';
17
+ import { type QuerySetupStore, QuerySetupState } from '@finos/legend-application-query';
18
18
  import { type GeneratorFn, ActionState } from '@finos/legend-shared';
19
19
  import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
20
20
  export interface DataSpaceContext {
21
21
  groupId: string;
22
22
  artifactId: string;
23
23
  versionId: string;
24
+ title: string | undefined;
25
+ name: string;
24
26
  path: string;
25
27
  }
26
28
  export declare class DataSpaceQuerySetupState extends QuerySetupState {
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EACL,KAAK,eAAe,EACpB,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EACL,KAAK,WAAW,EAEhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,wBAAyB,SAAQ,eAAe;IAC3D,UAAU,EAAE,gBAAgB,EAAE,CAAM;IACpC,mBAAmB,cAAwB;IAC3C,kBAAkB,cAAwB;IAC1C,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAChD,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACxD,aAAa,UAAS;gBAEV,UAAU,EAAE,eAAe;IAiBvC,mBAAmB,CAAC,GAAG,EAAE,gBAAgB,GAAG,SAAS,GAAG,IAAI;IAI5D,uBAAuB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;IAIpE,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,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G,IAAI;IAIpE,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAInC,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAmCrD,aAAa,CAAC,SAAS,EAAE,gBAAgB,GAAG,WAAW,CAAC,IAAI,CAAC;IA8E7D,oBAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC;CAmBzD"}
@@ -13,12 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { QuerySetupState, generateStudioProjectViewUrl, } from '@finos/legend-query';
16
+ import { extractEntityNameFromPath } from '@finos/legend-storage';
17
+ import { QuerySetupState, generateStudioProjectViewUrl, } from '@finos/legend-application-query';
17
18
  import { DepotScope, ProjectData, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
18
- import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
19
+ import { ActionState, assertErrorThrown, isString, } from '@finos/legend-shared';
19
20
  import { action, flow, flowResult, makeObservable, observable } from 'mobx';
20
- import { getDSLDataSpaceGraphManagerExtension } from '../../graphManager/protocol/DSLDataSpace_PureGraphManagerExtension.js';
21
- import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
21
+ import { getDSLDataSpaceGraphManagerExtension } from '../../graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js';
22
+ import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
22
23
  import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
23
24
  import { generateDataSpaceQueryEditorRoute } from './DSLDataSpace_LegendQueryRouter.js';
24
25
  export class DataSpaceQuerySetupState extends QuerySetupState {
@@ -69,6 +70,10 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
69
70
  ? SNAPSHOT_VERSION_ALIAS
70
71
  : storedEntity.versionId,
71
72
  path: storedEntity.entity.path,
73
+ name: extractEntityNameFromPath(storedEntity.entity.path),
74
+ title: isString(storedEntity.entity.content.title)
75
+ ? storedEntity.entity.content.title
76
+ : undefined,
72
77
  }));
73
78
  this.loadDataSpacesState.pass();
74
79
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAEL,eAAe,EACf,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE5E,OAAO,EAAE,oCAAoC,EAAE,MAAM,uEAAuE,CAAC;AAC7H,OAAO,EAAE,kCAAkC,EAAE,MAAM,yEAAyE,CAAC;AAC7H,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AASxF,MAAM,OAAO,wBAAyB,SAAQ,eAAe;IAC3D,UAAU,GAAuB,EAAE,CAAC;IACpC,mBAAmB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC3C,kBAAkB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC1C,gBAAgB,CAAgC;IAChD,oBAAoB,CAAoC;IACxD,aAAa,GAAG,KAAK,CAAC;IAEtB,YAAY,UAA2B;QACrC,KAAK,CAAC,UAAU,CAAC,CAAC;QAElB,cAAc,CAAC,IAAI,EAAE;YACnB,UAAU,EAAE,UAAU;YACtB,gBAAgB,EAAE,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EAAE;YAC7B,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAC7C,iCAAiC,CAC/B,IAAI,CAAC,oBAAoB,CAAC,OAAO,EACjC,IAAI,CAAC,oBAAoB,CAAC,UAAU,EACpC,IAAI,CAAC,oBAAoB,CAAC,SAAS,EACnC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACtD,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACtD,IAAI,CAAC,oBAAoB,CAAC,cAAc;gBACtC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,cAAc;gBAChE,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EACjD,MAAM,EAAE,IAAI,CACb,CACF,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAe,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAEL,eAAe,EACf,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,EACjB,QAAQ,GACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE5E,OAAO,EAAE,oCAAoC,EAAE,MAAM,4EAA4E,CAAC;AAClI,OAAO,EAAE,kCAAkC,EAAE,MAAM,8EAA8E,CAAC;AAClI,OAAO,EAAE,o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YACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "5.0.0",
3
+ "version": "6.1.1",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,15 +43,15 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "7.0.0",
47
- "@finos/legend-art": "2.0.9",
48
- "@finos/legend-extension-dsl-diagram": "4.1.7",
49
- "@finos/legend-graph": "11.0.0",
50
- "@finos/legend-model-storage": "2.0.7",
51
- "@finos/legend-query": "4.0.0",
52
- "@finos/legend-server-depot": "3.0.0",
53
- "@finos/legend-shared": "5.0.0",
54
- "@finos/legend-studio": "12.0.0",
46
+ "@finos/legend-application": "7.0.3",
47
+ "@finos/legend-application-query": "5.0.2",
48
+ "@finos/legend-application-studio": "13.0.2",
49
+ "@finos/legend-art": "2.0.12",
50
+ "@finos/legend-extension-dsl-diagram": "5.0.2",
51
+ "@finos/legend-graph": "13.0.1",
52
+ "@finos/legend-server-depot": "3.0.3",
53
+ "@finos/legend-shared": "5.0.2",
54
+ "@finos/legend-storage": "3.0.2",
55
55
  "@types/react": "18.0.15",
56
56
  "mobx": "6.6.1",
57
57
  "mobx-react-lite": "3.4.0",
@@ -62,10 +62,10 @@
62
62
  "serializr": "2.0.5"
63
63
  },
64
64
  "devDependencies": {
65
- "@finos/legend-dev-utils": "2.0.6",
65
+ "@finos/legend-dev-utils": "2.0.8",
66
66
  "@jest/globals": "28.1.3",
67
67
  "cross-env": "7.0.3",
68
- "eslint": "8.20.0",
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
- "graphPreset": "@finos/legend-graph-preset-dsl-data-space",
83
- "pureProtocolProcessorPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-protocol-processor",
84
- "pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph-manager",
85
- "pureGraphPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph",
86
- "studioPlugin": "@finos/legend-studio-plugin-dsl-data-space",
87
- "queryPlugin": "@finos/legend-query-plugin-dsl-data-space"
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
  }
@@ -17,12 +17,12 @@
17
17
  import packageJson from '../package.json';
18
18
  import { AbstractPreset } from '@finos/legend-shared';
19
19
  import { DSLDataSpace_PureGraphManagerPlugin } from './graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
20
- import { DSLDataSpace_PureProtocolProcessorPlugin } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
20
+ import { DSLDataSpace_PureProtocolProcessorPlugin } from './graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
21
21
  import { DSLDataSpace_PureGraphPlugin } from './graph/DSLDataSpace_PureGraphPlugin.js';
22
22
 
23
- export class DSLDataSpace_GraphPreset extends AbstractPreset {
23
+ export class DSLDataSpace_GraphManagerPreset extends AbstractPreset {
24
24
  constructor() {
25
- super(packageJson.extensions.graphPreset, packageJson.version, [
25
+ super(packageJson.extensions.graphManagerPreset, packageJson.version, [
26
26
  new DSLDataSpace_PureGraphPlugin(),
27
27
  new DSLDataSpace_PureGraphManagerPlugin(),
28
28
  new DSLDataSpace_PureProtocolProcessorPlugin(),
@@ -32,14 +32,15 @@ import {
32
32
  FlaskIcon,
33
33
  ExternalLinkSquareIcon,
34
34
  ShieldIcon,
35
- TagsIcon,
36
35
  LightBulbIcon,
36
+ InfoCircleIcon,
37
+ ExternalLinkIcon,
37
38
  } from '@finos/legend-art';
38
39
  import {
39
40
  type Diagram,
40
41
  DiagramRenderer,
41
42
  } from '@finos/legend-extension-dsl-diagram';
42
- import { DataSpaceSupportEmail } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
43
+ import { DataSpaceSupportEmail } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
43
44
  import {
44
45
  extractElementNameFromPath,
45
46
  type PackageableRuntime,
@@ -49,6 +50,7 @@ import {
49
50
  DATA_SPACE_VIEWER_ACTIVITY_MODE,
50
51
  } from '../stores/DataSpaceViewerState.js';
51
52
  import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
53
+ import { generateGAVCoordinates } from '@finos/legend-server-depot';
52
54
 
53
55
  interface DataSpaceViewerActivityConfig {
54
56
  mode: DATA_SPACE_VIEWER_ACTIVITY_MODE;
@@ -306,54 +308,106 @@ const DataSpaceExecutionViewer = observer(
306
308
  },
307
309
  );
308
310
 
309
- const DataSpaceTags = observer(
311
+ const DataSpaceInfo = observer(
310
312
  (props: { dataSpaceViewerState: DataSpaceViewerState }) => {
311
313
  const { dataSpaceViewerState } = props;
312
314
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
315
+ const viewProject = (): void =>
316
+ dataSpaceViewerState.viewProject?.(
317
+ dataSpaceViewerState.groupId,
318
+ dataSpaceViewerState.artifactId,
319
+ dataSpaceViewerState.versionId,
320
+ undefined,
321
+ );
322
+ const viewDataSpaceInProject = (): void =>
323
+ dataSpaceViewerState.viewProject?.(
324
+ dataSpaceViewerState.groupId,
325
+ dataSpaceViewerState.artifactId,
326
+ dataSpaceViewerState.versionId,
327
+ analysisResult.path,
328
+ );
313
329
 
314
330
  return (
315
- <div className="data-space__viewer__tags">
316
- <div className="data-space__viewer__tags__section">
317
- <div className="data-space__viewer__tags__section__title">
331
+ <div className="data-space__viewer__info">
332
+ <div className="data-space__viewer__info__section">
333
+ <div className="data-space__viewer__info__section__entry">
334
+ <div className="data-space__viewer__info__project-info__label">
335
+ Project
336
+ </div>
337
+ <button
338
+ className="data-space__viewer__info__project-info__value"
339
+ tabIndex={-1}
340
+ title="View Project"
341
+ onClick={viewProject}
342
+ >
343
+ {generateGAVCoordinates(
344
+ dataSpaceViewerState.groupId,
345
+ dataSpaceViewerState.artifactId,
346
+ dataSpaceViewerState.versionId,
347
+ )}
348
+ </button>
349
+ <div className="data-space__viewer__info__project-info__link">
350
+ <ExternalLinkIcon />
351
+ </div>
352
+ </div>
353
+ <div className="data-space__viewer__info__section__entry">
354
+ <div className="data-space__viewer__info__project-info__label">
355
+ Data Space
356
+ </div>
357
+ <button
358
+ className="data-space__viewer__info__project-info__value"
359
+ tabIndex={-1}
360
+ title="View Data Space"
361
+ onClick={viewDataSpaceInProject}
362
+ >
363
+ {analysisResult.path}
364
+ </button>
365
+ <div className="data-space__viewer__info__project-info__link">
366
+ <ExternalLinkIcon />
367
+ </div>
368
+ </div>
369
+ </div>
370
+ <div className="data-space__viewer__info__section">
371
+ <div className="data-space__viewer__info__section__title">
318
372
  Tagged Values
319
373
  </div>
320
374
  {analysisResult.taggedValues.length !== 0 &&
321
375
  analysisResult.taggedValues.map((taggedValue) => (
322
376
  <div
323
377
  key={taggedValue._UUID}
324
- className="data-space__viewer__tags__section__entry"
378
+ className="data-space__viewer__info__section__entry"
325
379
  >
326
380
  <div
327
- className="data-space__viewer__tags__tagged-value__tag"
381
+ className="data-space__viewer__info__tagged-value__tag"
328
382
  title={`${taggedValue.profile}.${taggedValue.tag}`}
329
383
  >
330
384
  {`${extractElementNameFromPath(taggedValue.profile)}.${
331
385
  taggedValue.tag
332
386
  }`}
333
387
  </div>
334
- <div className="data-space__viewer__tags__tagged-value__value">
388
+ <div className="data-space__viewer__info__tagged-value__value">
335
389
  {taggedValue.value}
336
390
  </div>
337
391
  </div>
338
392
  ))}
339
393
  {analysisResult.taggedValues.length === 0 && (
340
- <div className="data-space__viewer__tags__section__placeholder">
394
+ <div className="data-space__viewer__info__section__placeholder">
341
395
  (empty)
342
396
  </div>
343
397
  )}
344
398
  </div>
345
- <div className="data-space__viewer__tags__section">
346
- <div className="data-space__viewer__tags__section__title">
399
+ <div className="data-space__viewer__info__section">
400
+ <div className="data-space__viewer__info__section__title">
347
401
  Stereotypes
348
402
  </div>
349
403
  {analysisResult.stereotypes.length !== 0 &&
350
404
  analysisResult.stereotypes.map((stereotype) => (
351
405
  <div
352
406
  key={stereotype._UUID}
353
- className="data-space__viewer__tags__section__entry"
407
+ className="data-space__viewer__info__section__entry"
354
408
  title={`${stereotype.profile}.${stereotype.value}`}
355
409
  >
356
- <div className="data-space__viewer__tags__steoreotype">
410
+ <div className="data-space__viewer__info__steoreotype">
357
411
  {`${extractElementNameFromPath(stereotype.profile)}.${
358
412
  stereotype.value
359
413
  }`}
@@ -361,7 +415,7 @@ const DataSpaceTags = observer(
361
415
  </div>
362
416
  ))}
363
417
  {analysisResult.stereotypes.length === 0 && (
364
- <div className="data-space__viewer__tags__section__placeholder">
418
+ <div className="data-space__viewer__info__section__placeholder">
365
419
  (empty)
366
420
  </div>
367
421
  )}
@@ -454,9 +508,9 @@ export const DataSpaceViewer = observer(
454
508
  icon: <ShieldIcon />,
455
509
  },
456
510
  {
457
- mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.TAGS,
458
- title: 'Tags',
459
- icon: <TagsIcon />,
511
+ mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.INFO,
512
+ title: 'Info',
513
+ icon: <InfoCircleIcon />,
460
514
  },
461
515
  {
462
516
  mode: DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT,
@@ -477,15 +531,24 @@ export const DataSpaceViewer = observer(
477
531
  <div className="data-space__viewer">
478
532
  <div className="data-space__viewer__header">
479
533
  <button
480
- className="data-space__viewer__path"
534
+ className="data-space__viewer__title"
481
535
  tabIndex={-1}
482
- title="View Project"
536
+ title={`View Project (${generateGAVCoordinates(
537
+ dataSpaceViewerState.groupId,
538
+ dataSpaceViewerState.artifactId,
539
+ dataSpaceViewerState.versionId,
540
+ )})`}
483
541
  onClick={viewProject}
484
542
  >
485
- <div className="data-space__viewer__path__label">
486
- {analysisResult.path}
543
+ <div
544
+ className="data-space__viewer__title__label"
545
+ title={`${analysisResult.title ?? analysisResult.name} - ${
546
+ analysisResult.path
547
+ }`}
548
+ >
549
+ {analysisResult.title ?? analysisResult.name}
487
550
  </div>
488
- <div className="data-space__viewer__path__link">
551
+ <div className="data-space__viewer__title__link">
489
552
  <ExternalLinkSquareIcon />
490
553
  </div>
491
554
  </button>
@@ -552,8 +615,8 @@ export const DataSpaceViewer = observer(
552
615
  </BlankPanelContent>
553
616
  )}
554
617
  {dataSpaceViewerState.currentActivity ===
555
- DATA_SPACE_VIEWER_ACTIVITY_MODE.TAGS && (
556
- <DataSpaceTags dataSpaceViewerState={dataSpaceViewerState} />
618
+ DATA_SPACE_VIEWER_ACTIVITY_MODE.INFO && (
619
+ <DataSpaceInfo dataSpaceViewerState={dataSpaceViewerState} />
557
620
  )}
558
621
  {dataSpaceViewerState.currentActivity ===
559
622
  DATA_SPACE_VIEWER_ACTIVITY_MODE.SUPPORT && (
@@ -23,7 +23,7 @@ import {
23
23
  type QuerySetupState,
24
24
  type QuerySetupStore,
25
25
  LegendQueryApplicationPlugin,
26
- } from '@finos/legend-query';
26
+ } from '@finos/legend-application-query';
27
27
  import { SquareIcon } from '@finos/legend-art';
28
28
  import { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState.js';
29
29
  import { DataspaceQuerySetup } from './DataSpaceQuerySetup.js';
@@ -35,7 +35,7 @@ import { extractElementNameFromPath } from '@finos/legend-graph';
35
35
 
36
36
  export class DSLDataSpace_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
37
37
  constructor() {
38
- super(packageJson.extensions.queryPlugin, packageJson.version);
38
+ super(packageJson.extensions.queryApplicationPlugin, packageJson.version);
39
39
  }
40
40
 
41
41
  override getExtraApplicationPageEntries(): ApplicationPageEntry[] {
@@ -28,7 +28,7 @@ import {
28
28
  QueryEditorStoreContext,
29
29
  useLegendQueryApplicationStore,
30
30
  useLegendQueryBaseStore,
31
- } from '@finos/legend-query';
31
+ } from '@finos/legend-application-query';
32
32
  import { useParams } from 'react-router';
33
33
  import { DataSpaceQueryEditorStore } from '../../stores/query/DataSpaceQueryEditorStore.js';
34
34
  import {
@@ -26,8 +26,9 @@ import {
26
26
  ArrowLeftIcon,
27
27
  CustomSelectorInput,
28
28
  SearchIcon,
29
+ createFilter,
29
30
  } from '@finos/legend-art';
30
- import { useQuerySetupStore } from '@finos/legend-query';
31
+ import { useQuerySetupStore } from '@finos/legend-application-query';
31
32
  import { generateGAVCoordinates } from '@finos/legend-server-depot';
32
33
  import { debounce } from '@finos/legend-shared';
33
34
  import { flowResult } from 'mobx';
@@ -41,7 +42,7 @@ import { DataSpaceViewer } from '../DataSpaceViewer.js';
41
42
 
42
43
  type DataSpaceOption = { label: string; value: DataSpaceContext };
43
44
  const buildDataSpaceOption = (value: DataSpaceContext): DataSpaceOption => ({
44
- label: value.path,
45
+ label: value.title ?? value.name,
45
46
  value: value,
46
47
  });
47
48
 
@@ -86,13 +87,31 @@ export const DataspaceQuerySetup = observer(
86
87
  querySetupState.setDataSpaceViewerState(undefined);
87
88
  }
88
89
  };
90
+ const filterOption = createFilter({
91
+ ignoreCase: true,
92
+ ignoreAccents: false,
93
+ stringify: (option: DataSpaceOption): string =>
94
+ `${option.label} - ${option.value.path}`,
95
+ });
89
96
  const formatQueryOptionLabel = (
90
97
  option: DataSpaceOption,
91
98
  ): React.ReactNode => (
92
- <div className="query-setup__data-space__option">
99
+ <div
100
+ className="query-setup__data-space__option"
101
+ title={`${option.label} - ${
102
+ option.value.path
103
+ } - ${generateGAVCoordinates(
104
+ option.value.groupId,
105
+ option.value.artifactId,
106
+ option.value.versionId,
107
+ )}`}
108
+ >
93
109
  <div className="query-setup__data-space__option__label">
94
110
  {option.label}
95
111
  </div>
112
+ <div className="query-setup__data-space__option__path">
113
+ {option.value.path}
114
+ </div>
96
115
  <div className="query-setup__data-space__option__gav">
97
116
  {generateGAVCoordinates(
98
117
  option.value.groupId,
@@ -181,6 +200,7 @@ export const DataspaceQuerySetup = observer(
181
200
  isClearable={true}
182
201
  escapeClearsValue={true}
183
202
  darkMode={true}
203
+ filterOption={filterOption}
184
204
  formatOptionLabel={formatQueryOptionLabel}
185
205
  />
186
206
  <button
@@ -32,7 +32,7 @@ import {
32
32
  type PureGrammarParserElementSnippetSuggestionsGetter,
33
33
  UnsupportedElementEditorState,
34
34
  LegendStudioApplicationPlugin,
35
- } from '@finos/legend-studio';
35
+ } from '@finos/legend-application-studio';
36
36
  import { SquareIcon } from '@finos/legend-art';
37
37
  import {
38
38
  PackageableElementExplicitReference,
@@ -43,7 +43,7 @@ import {
43
43
  import {
44
44
  DataSpace,
45
45
  DataSpaceExecutionContext,
46
- } from '../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
46
+ } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
47
47
  import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSLDataSpace_LegendStudioDocumentation.js';
48
48
  import {
49
49
  PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL,
@@ -61,7 +61,7 @@ export class DSLDataSpace_LegendStudioApplicationPlugin
61
61
  implements DSL_LegendStudioApplicationPlugin_Extension
62
62
  {
63
63
  constructor() {
64
- super(packageJson.extensions.studioPlugin, packageJson.version);
64
+ super(packageJson.extensions.applicationStudioPlugin, packageJson.version);
65
65
  }
66
66
 
67
67
  override getExtraRequiredDocumentationKeys(): string[] {
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../package.json';
18
- import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
18
+ import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
19
19
  import type { Clazz } from '@finos/legend-shared';
20
20
  import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
21
21
 
@@ -22,7 +22,7 @@ import {
22
22
  type PackageableRuntime,
23
23
  type PackageableElementVisitor,
24
24
  } from '@finos/legend-graph';
25
- import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_ModelUtils.js';
25
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_HashUtils.js';
26
26
  import type { Diagram } from '@finos/legend-extension-dsl-diagram';
27
27
 
28
28
  export abstract class DataSpaceSupportInfo implements Hashable {
@@ -64,6 +64,7 @@ export class DataSpace extends PackageableElement implements Hashable {
64
64
  executionContexts: DataSpaceExecutionContext[] = [];
65
65
  defaultExecutionContext!: DataSpaceExecutionContext;
66
66
  featuredDiagrams?: PackageableElementReference<Diagram>[] | undefined;
67
+ title?: string | undefined;
67
68
  description?: string | undefined;
68
69
  supportInfo?: DataSpaceSupportInfo | undefined;
69
70
 
@@ -81,6 +82,7 @@ export class DataSpace extends PackageableElement implements Hashable {
81
82
  (diagram) => diagram.valueForSerialization ?? '',
82
83
  ),
83
84
  ),
85
+ this.title ?? '',
84
86
  this.description ?? '',
85
87
  this.supportInfo ?? '',
86
88
  ]);
@@ -16,7 +16,7 @@
16
16
 
17
17
  import type { BasicModel, PureModel } from '@finos/legend-graph';
18
18
  import { guaranteeNonNullable } from '@finos/legend-shared';
19
- import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
19
+ import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
20
20
 
21
21
  export const getDataSpace = (path: string, graph: PureModel): DataSpace =>
22
22
  graph.getExtensionElement(path, DataSpace, `Can't find data space '${path}'`);