@finos/legend-extension-dsl-data-space 8.0.1 → 9.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 (60) hide show
  1. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  2. package/lib/components/DataSpaceViewer.js +12 -5
  3. package/lib/components/DataSpaceViewer.js.map +1 -1
  4. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts +2 -4
  5. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
  6. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +24 -35
  7. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
  8. package/lib/components/query/DataSpaceAdvancedSearchModal.d.ts +24 -0
  9. package/lib/components/query/DataSpaceAdvancedSearchModal.d.ts.map +1 -0
  10. package/lib/components/query/DataSpaceAdvancedSearchModal.js +82 -0
  11. package/lib/components/query/DataSpaceAdvancedSearchModal.js.map +1 -0
  12. package/lib/components/query/DataSpaceQueryBuilder.d.ts +7 -0
  13. package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +1 -1
  14. package/lib/components/query/DataSpaceQueryBuilder.js +7 -5
  15. package/lib/components/query/DataSpaceQueryBuilder.js.map +1 -1
  16. package/lib/components/query/DataSpaceQuerySetup.d.ts +3 -4
  17. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
  18. package/lib/components/query/DataSpaceQuerySetup.js +45 -56
  19. package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
  20. package/lib/index.css +2 -2
  21. package/lib/index.css.map +1 -1
  22. package/lib/package.json +4 -4
  23. package/lib/stores/DataSpaceViewerState.d.ts +9 -5
  24. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  25. package/lib/stores/DataSpaceViewerState.js +8 -4
  26. package/lib/stores/DataSpaceViewerState.js.map +1 -1
  27. package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.d.ts +5 -1
  28. package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.d.ts.map +1 -1
  29. package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js +10 -5
  30. package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js.map +1 -1
  31. package/lib/stores/query/{DataSpaceQuerySetupState.d.ts → DataSpaceAdvancedSearchState.d.ts} +16 -7
  32. package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts.map +1 -0
  33. package/lib/stores/query/{DataSpaceQuerySetupState.js → DataSpaceAdvancedSearchState.js} +28 -16
  34. package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -0
  35. package/lib/stores/query/DataSpaceQueryBuilderState.d.ts +9 -2
  36. package/lib/stores/query/DataSpaceQueryBuilderState.d.ts.map +1 -1
  37. package/lib/stores/query/DataSpaceQueryBuilderState.js +32 -2
  38. package/lib/stores/query/DataSpaceQueryBuilderState.js.map +1 -1
  39. package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +1 -1
  40. package/lib/stores/query/DataSpaceQueryCreatorStore.js +6 -6
  41. package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -1
  42. package/lib/stores/query/DataSpaceQuerySetupStore.d.ts +50 -0
  43. package/lib/stores/query/DataSpaceQuerySetupStore.d.ts.map +1 -0
  44. package/lib/stores/query/DataSpaceQuerySetupStore.js +112 -0
  45. package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -0
  46. package/package.json +15 -15
  47. package/src/components/DataSpaceViewer.tsx +53 -24
  48. package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +35 -69
  49. package/src/components/query/DataSpaceAdvancedSearchModal.tsx +248 -0
  50. package/src/components/query/DataSpaceQueryBuilder.tsx +57 -37
  51. package/src/components/query/DataSpaceQuerySetup.tsx +124 -186
  52. package/src/stores/DataSpaceViewerState.ts +28 -15
  53. package/src/stores/query/DSL_DataSpace_LegendQueryRouter.ts +34 -20
  54. package/src/stores/query/{DataSpaceQuerySetupState.ts → DataSpaceAdvancedSearchState.ts} +63 -37
  55. package/src/stores/query/DataSpaceQueryBuilderState.ts +61 -2
  56. package/src/stores/query/DataSpaceQueryCreatorStore.ts +11 -4
  57. package/src/stores/query/DataSpaceQuerySetupStore.ts +207 -0
  58. package/tsconfig.json +3 -1
  59. package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +0 -1
  60. package/lib/stores/query/DataSpaceQuerySetupState.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAiCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAwa3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA+JvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAya3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAuLvD,CAAC"}
@@ -16,12 +16,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
16
  */
17
17
  import { useRef, useEffect, forwardRef } from 'react';
18
18
  import { observer } from 'mobx-react-lite';
19
- import { BlankPanelContent, ShapesIcon, PlayIcon, QuestionCircleIcon, EnvelopIcon, clsx, CustomSelectorInput, PURE_MappingIcon, PURE_RuntimeIcon, CogIcon, KeyIcon, FlaskIcon, ExternalLinkSquareIcon, ShieldIcon, LightBulbIcon, InfoCircleIcon, ExternalLinkIcon, useResizeDetector, } from '@finos/legend-art';
19
+ import { BlankPanelContent, ShapesIcon, PlayIcon, QuestionCircleIcon, EnvelopIcon, clsx, CustomSelectorInput, PURE_MappingIcon, PURE_RuntimeIcon, CogIcon, KeyIcon, FlaskIcon, ExternalLinkSquareIcon, ShieldIcon, LightBulbIcon, InfoCircleIcon, ExternalLinkIcon, useResizeDetector, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, } from '@finos/legend-art';
20
20
  import { DiagramRenderer, } from '@finos/legend-extension-dsl-diagram';
21
21
  import { DataSpaceSupportEmail } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
22
22
  import { extractElementNameFromPath, } from '@finos/legend-graph';
23
23
  import { DATA_SPACE_VIEWER_ACTIVITY_MODE, } from '../stores/DataSpaceViewerState.js';
24
24
  import { generateGAVCoordinates } from '@finos/legend-storage';
25
+ import { useApplicationStore } from '@finos/legend-application';
25
26
  const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanvas(props, ref) {
26
27
  const { dataSpaceViewerState, diagram } = props;
27
28
  const diagramCanvasRef = ref;
@@ -109,8 +110,8 @@ const DataSpaceExecutionViewer = observer((props) => {
109
110
  const DataSpaceInfo = observer((props) => {
110
111
  const { dataSpaceViewerState } = props;
111
112
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
112
- const viewProject = () => dataSpaceViewerState.viewProject?.(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, undefined);
113
- const viewDataSpaceInProject = () => dataSpaceViewerState.viewProject?.(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, analysisResult.path);
113
+ const viewProject = () => dataSpaceViewerState.viewProject(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, undefined);
114
+ const viewDataSpaceInProject = () => dataSpaceViewerState.viewProject(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, analysisResult.path);
114
115
  return (_jsxs("div", { className: "data-space__viewer__info", children: [_jsxs("div", { className: "data-space__viewer__info__section", children: [_jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__project-info__label", children: "Project" }), _jsx("button", { className: "data-space__viewer__info__project-info__value", tabIndex: -1, title: "View Project", onClick: viewProject, children: generateGAVCoordinates(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId) }), _jsx("div", { className: "data-space__viewer__info__project-info__link", children: _jsx(ExternalLinkIcon, {}) })] }), _jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__project-info__label", children: "Data Space" }), _jsx("button", { className: "data-space__viewer__info__project-info__value", tabIndex: -1, title: "View Data Space", onClick: viewDataSpaceInProject, children: analysisResult.path }), _jsx("div", { className: "data-space__viewer__info__project-info__link", children: _jsx(ExternalLinkIcon, {}) })] })] }), _jsxs("div", { className: "data-space__viewer__info__section", children: [_jsx("div", { className: "data-space__viewer__info__section__title", children: "Tagged Values" }), analysisResult.taggedValues.length !== 0 &&
115
116
  analysisResult.taggedValues.map((taggedValue) => (_jsxs("div", { className: "data-space__viewer__info__section__entry", children: [_jsx("div", { className: "data-space__viewer__info__tagged-value__tag", title: `${taggedValue.profile}.${taggedValue.tag}`, children: `${extractElementNameFromPath(taggedValue.profile)}.${taggedValue.tag}` }), _jsx("div", { className: "data-space__viewer__info__tagged-value__value", children: taggedValue.value })] }, taggedValue._UUID))), analysisResult.taggedValues.length === 0 && (_jsx("div", { className: "data-space__viewer__info__section__placeholder", children: "(empty)" }))] }), _jsxs("div", { className: "data-space__viewer__info__section", children: [_jsx("div", { className: "data-space__viewer__info__section__title", children: "Stereotypes" }), analysisResult.stereotypes.length !== 0 &&
116
117
  analysisResult.stereotypes.map((stereotype) => (_jsx("div", { className: "data-space__viewer__info__section__entry", title: `${stereotype.profile}.${stereotype.value}`, children: _jsx("div", { className: "data-space__viewer__info__steoreotype", children: `${extractElementNameFromPath(stereotype.profile)}.${stereotype.value}` }) }, stereotype._UUID))), analysisResult.stereotypes.length === 0 && (_jsx("div", { className: "data-space__viewer__info__section__placeholder", children: "(empty)" }))] })] }));
@@ -132,6 +133,7 @@ const DataSpaceSupportInfoViewerInner = observer((props) => {
132
133
  });
133
134
  export const DataSpaceViewer = observer((props) => {
134
135
  const { dataSpaceViewerState } = props;
136
+ const applicationStore = useApplicationStore();
135
137
  const analysisResult = dataSpaceViewerState.dataSpaceAnalysisResult;
136
138
  const changeActivity = (activity) => () => dataSpaceViewerState.setCurrentActivity(activity);
137
139
  const activities = [
@@ -171,8 +173,13 @@ export const DataSpaceViewer = observer((props) => {
171
173
  icon: _jsx(QuestionCircleIcon, {}),
172
174
  },
173
175
  ];
174
- const viewProject = () => dataSpaceViewerState.viewProject?.(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, analysisResult.path);
175
- return (_jsxs("div", { className: "data-space__viewer", children: [_jsxs("div", { className: "data-space__viewer__header", children: [_jsxs("button", { className: "data-space__viewer__title", tabIndex: -1, title: `View Project (${generateGAVCoordinates(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId)})`, onClick: viewProject, children: [_jsx("div", { className: "data-space__viewer__title__label", title: `${analysisResult.title ?? analysisResult.name} - ${analysisResult.path}`, children: analysisResult.title ?? analysisResult.name }), _jsx("div", { className: "data-space__viewer__title__link", children: _jsx(ExternalLinkSquareIcon, {}) })] }), _jsx("div", { className: clsx('data-space__viewer__description', {
176
+ const viewProject = () => dataSpaceViewerState.viewProject(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId, analysisResult.path);
177
+ const viewSDLCProject = () => {
178
+ dataSpaceViewerState
179
+ .viewSDLCProject(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, analysisResult.path)
180
+ .catch(applicationStore.alertUnhandledError);
181
+ };
182
+ return (_jsxs("div", { className: "data-space__viewer", children: [_jsxs("div", { className: "data-space__viewer__header", children: [_jsxs("div", { className: "data-space__viewer__title", children: [_jsxs("button", { className: "data-space__viewer__title__btn", tabIndex: -1, title: `View Project (${generateGAVCoordinates(dataSpaceViewerState.groupId, dataSpaceViewerState.artifactId, dataSpaceViewerState.versionId)})`, onClick: viewProject, children: [_jsx("div", { className: "data-space__viewer__title__label", title: `${analysisResult.title ?? analysisResult.name} - ${analysisResult.path}`, children: analysisResult.title ?? analysisResult.name }), _jsx("div", { className: "data-space__viewer__title__link", children: _jsx(ExternalLinkSquareIcon, {}) })] }), _jsx(DropdownMenu, { className: "data-space__viewer__title__dropdown-trigger", content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { onClick: viewSDLCProject, children: "View SDLC project" }) }), children: _jsx(CaretDownIcon, { title: "Show more options..." }) })] }), _jsx("div", { className: clsx('data-space__viewer__description', {
176
183
  'data-space__viewer__description--empty': !analysisResult.description,
177
184
  }), children: analysisResult.description
178
185
  ? analysisResult.description
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,OAAO,EACP,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wFAAwF,CAAC;AAC/H,OAAO,EACL,0BAA0B,GAE3B,MA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CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,iBAAiB,oDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,aAAa,IAAI,CACjD,KAAC,iBAAiB,wDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,aAAa,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,cAAK,SAAS,EAAC,0EAA0E,YACvF,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,GAC1C,GACE,CACP,IACG,IACF,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,OAAO,EACP,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wFAAwF,CAAC;AAC/H,OAAO,EACL,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC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tC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,QAAQ,CAAC,KAAK,YAEpB,QAAQ,CAAC,IAAI,IATT,QAAQ,CAAC,IAAI,CAUX,CACV,CAAC,GACE,GACF,EACN,eAAK,SAAS,EAAC,gCAAgC,aAC5C,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,eAAe,IAAI,CACnD,KAAC,uBAAuB,IACtB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,wBAAwB,IACvB,oBAAoB,EAAE,oBAAoB,GAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,WAAW,IAAI,CAC/C,KAAC,iBAAiB,4DAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,iBAAiB,oDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,aAAa,IAAI,CACjD,KAAC,iBAAiB,wDAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,aAAa,IAAC,oBAAoB,EAAE,oBAAoB,GAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,cAAK,SAAS,EAAC,0EAA0E,YACvF,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,GAC1C,GACE,CACP,IACG,IACF,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,14 +13,12 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type QueryEditorHeaderLabeler, type QuerySetupOptionRendererConfiguration, type QuerySetupRenderer, type ExistingQueryEditorStateBuilder, LegendQueryApplicationPlugin } from '@finos/legend-application-query';
16
+ import { type QuerySetupActionConfiguration, type ExistingQueryEditorStateBuilder, LegendQueryApplicationPlugin } from '@finos/legend-application-query';
17
17
  import { type ApplicationPageEntry } from '@finos/legend-application';
18
18
  export declare class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
19
19
  constructor();
20
20
  getExtraApplicationPageEntries(): ApplicationPageEntry[];
21
- getExtraQuerySetupOptionRendererConfigurations(): QuerySetupOptionRendererConfiguration[];
22
- getExtraQuerySetupRenderers(): QuerySetupRenderer[];
23
- getExtraQueryEditorHeaderLabelers(): QueryEditorHeaderLabeler[];
21
+ getExtraQuerySetupActionConfigurations(): QuerySetupActionConfiguration[];
24
22
  getExtraExistingQueryEditorStateBuilders(): ExistingQueryEditorStateBuilder[];
25
23
  }
26
24
  //# sourceMappingURL=DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,qCAAqC,EAC1C,KAAK,kBAAkB,EAGvB,KAAK,+BAA+B,EAEpC,4BAA4B,EAI7B,MAAM,iCAAiC,CAAC;AAIzC,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAsBnC,qBAAa,0CAA2C,SAAQ,4BAA4B;;IAKjF,8BAA8B,IAAI,oBAAoB,EAAE;IAWxD,8CAA8C,IAAI,qCAAqC,EAAE;IA2BzF,2BAA2B,IAAI,kBAAkB,EAAE;IAWnD,iCAAiC,IAAI,wBAAwB,EAAE;IAmB/D,wCAAwC,IAAI,+BAA+B,EAAE;CAuIvF"}
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EAEpC,4BAA4B,EAM7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAmBnC,qBAAa,0CAA2C,SAAQ,4BAA4B;;IAKjF,8BAA8B,IAAI,oBAAoB,EAAE;IAiBxD,sCAAsC,IAAI,6BAA6B,EAAE;IAoBzE,wCAAwC,IAAI,+BAA+B,EAAE;CA4IvF"}
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -15,61 +15,50 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import packageJson from '../../../package.json';
18
- import { LegendQueryApplicationPlugin, generateExistingQueryEditorRoute, LegendQueryEventService, LEGEND_QUERY_APP_EVENT, } from '@finos/legend-application-query';
18
+ import { LegendQueryApplicationPlugin, generateExistingQueryEditorRoute, LegendQueryEventService, LEGEND_QUERY_APP_EVENT, createViewProjectHandler, createViewSDLCProjectHandler, } from '@finos/legend-application-query';
19
19
  import { SquareIcon } from '@finos/legend-art';
20
- import { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState.js';
21
- import { DataspaceQuerySetup } from './DataSpaceQuerySetup.js';
22
20
  import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
23
- import { CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN } from '../../stores/query/DSL_DataSpace_LegendQueryRouter.js';
21
+ import { DATA_SPACE_QUERY_ROUTE_PATTERN, generateDataSpaceQuerySetupRoute, } from '../../stores/query/DSL_DataSpace_LegendQueryRouter.js';
24
22
  import { DataSpaceQueryCreator } from './DataSpaceQueryCreator.js';
25
- import { createQueryDataSpaceTaggedValue, DataSpaceQueryCreatorStore, } from '../../stores/query/DataSpaceQueryCreatorStore.js';
26
- import { Query, extractElementNameFromPath, isValidFullPath, } from '@finos/legend-graph';
23
+ import { createQueryDataSpaceTaggedValue } from '../../stores/query/DataSpaceQueryCreatorStore.js';
24
+ import { Query, isValidFullPath } from '@finos/legend-graph';
27
25
  import { QUERY_PROFILE_PATH, QUERY_PROFILE_TAG_DATA_SPACE, } from '../../DSL_DataSpace_Const.js';
28
26
  import { DataSpaceQueryBuilderState } from '../../stores/query/DataSpaceQueryBuilderState.js';
29
27
  import { getOwnDataSpace } from '../../graphManager/DSL_DataSpace_GraphManagerHelper.js';
30
28
  import { assertErrorThrown, LogEvent, uuid } from '@finos/legend-shared';
29
+ import { DataSpaceQuerySetup } from './DataSpaceQuerySetup.js';
31
30
  export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
32
31
  constructor() {
33
32
  super(packageJson.extensions.queryApplicationPlugin, packageJson.version);
34
33
  }
35
34
  getExtraApplicationPageEntries() {
36
35
  return [
36
+ // data space query editor setup
37
+ {
38
+ key: 'data-space-query-setup-application-page',
39
+ urlPatterns: [DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP],
40
+ renderer: DataSpaceQuerySetup,
41
+ },
37
42
  // data space query editor
38
43
  {
39
44
  key: 'data-space-query-editor-application-page',
40
- urlPatterns: [CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN],
45
+ urlPatterns: [DATA_SPACE_QUERY_ROUTE_PATTERN.CREATE],
41
46
  renderer: DataSpaceQueryCreator,
42
47
  },
43
48
  ];
44
49
  }
45
- getExtraQuerySetupOptionRendererConfigurations() {
50
+ getExtraQuerySetupActionConfigurations() {
46
51
  return [
47
52
  {
48
- key: 'data-space-query-option',
49
- renderer: (setupStore) => {
50
- const createQuery = () => setupStore.setSetupState(new DataSpaceQuerySetupState(setupStore));
51
- return (_jsxs("button", { className: "query-setup__landing-page__option query-setup__landing-page__option--data-space", onClick: createQuery, children: [_jsx("div", { className: "query-setup__landing-page__option__icon", children: _jsx(SquareIcon, { className: "query-setup__landing-page__icon--data-space" }) }), _jsx("div", { className: "query-setup__landing-page__option__label", children: "Create query from data space" })] }));
53
+ key: 'create-query-from-data-space',
54
+ isAdvanced: false,
55
+ isCreateAction: true,
56
+ action: async (setupStore) => {
57
+ setupStore.applicationStore.navigator.goToLocation(generateDataSpaceQuerySetupRoute());
52
58
  },
53
- },
54
- ];
55
- }
56
- getExtraQuerySetupRenderers() {
57
- return [
58
- (querySetupState) => {
59
- if (querySetupState instanceof DataSpaceQuerySetupState) {
60
- return _jsx(DataspaceQuerySetup, { querySetupState: querySetupState });
61
- }
62
- return undefined;
63
- },
64
- ];
65
- }
66
- getExtraQueryEditorHeaderLabelers() {
67
- return [
68
- (editorStore) => {
69
- if (editorStore instanceof DataSpaceQueryCreatorStore) {
70
- return (_jsxs("div", { className: "query-editor__header__label", children: [_jsx(SquareIcon, { className: "query-editor__header__label__icon icon--data-space" }), extractElementNameFromPath(editorStore.dataSpacePath), _jsx("div", { className: "query-editor__header__label__tag", children: editorStore.executionContext })] }));
71
- }
72
- return undefined;
59
+ label: 'Create query from data space',
60
+ className: 'query-setup__landing-page__action--data-space',
61
+ icon: (_jsx(SquareIcon, { className: "query-setup__landing-page__icon--data-space" })),
73
62
  },
74
63
  ];
75
64
  }
@@ -89,7 +78,7 @@ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryAppli
89
78
  // properly created from a data space, therefore, we cannot support this case
90
79
  return undefined;
91
80
  }
92
- return new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, editorStore.depotServerClient, dataSpace, matchingExecutionContext, query.groupId, query.artifactId, query.versionId, (dataSpaceInfo) => {
81
+ return new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, editorStore.depotServerClient, dataSpace, matchingExecutionContext, query.groupId, query.artifactId, query.versionId, createViewProjectHandler(editorStore.applicationStore), createViewSDLCProjectHandler(editorStore.applicationStore, editorStore.depotServerClient), (dataSpaceInfo) => {
93
82
  if (dataSpaceInfo.defaultExecutionContext) {
94
83
  const persistQuery = async () => {
95
84
  // prepare the new query to save
@@ -113,7 +102,7 @@ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryAppli
113
102
  const newQuery = await editorStore.graphManagerState.graphManager.createQuery(_query, editorStore.graphManagerState.graph);
114
103
  editorStore.applicationStore.notifySuccess(`Successfully created query!`);
115
104
  LegendQueryEventService.create(editorStore.applicationStore.eventService).notify_QueryCreated({ queryId: newQuery.id });
116
- editorStore.applicationStore.navigator.reloadToLocation(generateExistingQueryEditorRoute(newQuery.id));
105
+ editorStore.applicationStore.navigator.goToLocation(generateExistingQueryEditorRoute(newQuery.id));
117
106
  }
118
107
  else {
119
108
  await editorStore.graphManagerState.graphManager.updateQuery(_query, editorStore.graphManagerState.graph);
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EASL,4BAA4B,EAC5B,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EACL,qBAAqB,EACrB,eAAe,GAEhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,0CAA0C,EAAE,MAAM,uDAAuD,CAAC;AACnH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,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gB,CAAC,kBAAkB,CAAC;gCAC9C,OAAO,EAAE,oEACP,KAAK,CAAC,kBAAkB;oCACtB,CAAC,CAAC,kBAAkB;oCACpB,CAAC,CAAC,oBACN,aAAa;gCACb,IAAI,EAAE,eAAe,CAAC,OAAO;gCAC7B,OAAO,EAAE;oCACP;wCACE,KAAK,EAAE,KAAK,CAAC,kBAAkB;4CAC7B,CAAC,CAAC,cAAc;4CAChB,CAAC,CAAC,kBAAkB;wCACtB,IAAI,EAAE,qBAAqB,CAAC,oBAAoB;wCAChD,OAAO,EAAE,GAAG,EAAE;4CACZ,YAAY,EAAE,CAAC,KAAK,CAClB,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACjD,CAAC;wCACJ,CAAC;qCACF;oCACD;wCACE,KAAK,EAAE,OAAO;wCACd,IAAI,EAAE,qBAAqB,CAAC,OAAO;wCACnC,OAAO,EAAE,IAAI;qCACd;iCACF;6BACF,CAAC,CAAC;yBACJ;6BAAM;4BACL,WAAW,CAAC,gBAAgB,CAAC,aAAa,CACxC,kEAAkE,CACnE,CAAC;yBACH;oBACH,CAAC,CACF,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAIL,4BAA4B,EAC5B,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,qBAAqB,EACrB,eAAe,GAEhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,8BAA8B,EAC9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,EAAE,qBAAqB,CAAC,oBAAoB;wCAChD,OAAO,EAAE,GAAG,EAAE;4CACZ,YAAY,EAAE,CAAC,KAAK,CAClB,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACjD,CAAC;wCACJ,CAAC;qCACF;oCACD;wCACE,KAAK,EAAE,OAAO;wCACd,IAAI,EAAE,qBAAqB,CAAC,OAAO;wCACnC,OAAO,EAAE,IAAI;qCACd;iCACF;6BACF,CAAC,CAAC;yBACJ;6BAAM;4BACL,WAAW,CAAC,gBAAgB,CAAC,aAAa,CACxC,kEAAkE,CACnE,CAAC;yBACH;oBACH,CAAC,CACF,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,24 @@
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" resolution-mode="require"/>
17
+ import type { DataSpaceAdvancedSearchState } from '../../stores/query/DataSpaceAdvancedSearchState.js';
18
+ export declare const DataSpaceAdvancedSearchModal: ((props: {
19
+ searchState: DataSpaceAdvancedSearchState;
20
+ onClose: () => void;
21
+ }) => JSX.Element) & {
22
+ displayName: string;
23
+ };
24
+ //# sourceMappingURL=DataSpaceAdvancedSearchModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAuBH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAQvG,eAAO,MAAM,4BAA4B,WAC/B;IACN,WAAW,EAAE,4BAA4B,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;;CAsMF,CAAC"}
@@ -0,0 +1,82 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { useApplicationStore } from '@finos/legend-application';
18
+ import { BoltIcon, clsx, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, CustomSelectorInput, SearchIcon, Dialog, TimesIcon, ArrowRightIcon, } from '@finos/legend-art';
19
+ import { generateGAVCoordinates } from '@finos/legend-storage';
20
+ import { debounce } from '@finos/legend-shared';
21
+ import { flowResult } from 'mobx';
22
+ import { observer } from 'mobx-react-lite';
23
+ import { useEffect, useMemo, useRef, useState } from 'react';
24
+ import { DataSpaceViewer } from '../DataSpaceViewer.js';
25
+ const buildDataSpaceOption = (value) => ({
26
+ label: value.title ?? value.name,
27
+ value,
28
+ });
29
+ export const DataSpaceAdvancedSearchModal = observer((props) => {
30
+ const { searchState, onClose } = props;
31
+ const applicationStore = useApplicationStore();
32
+ const dataSpaceSearchRef = useRef(null);
33
+ const [searchText, setSearchText] = useState('');
34
+ const handleEnter = () => dataSpaceSearchRef.current?.focus();
35
+ const proceedToCreateQuery = () => {
36
+ flowResult(searchState.proceedToCreateQuery()).catch(applicationStore.alertUnhandledError);
37
+ };
38
+ const toggleGetSnapshot = () => {
39
+ searchState.setToGetSnapShot(!searchState.toGetSnapShot);
40
+ flowResult(searchState.loadDataSpaces(searchText)).catch(applicationStore.alertUnhandledError);
41
+ };
42
+ // data space
43
+ const dataSpaceOptions = searchState.dataSpaces.map(buildDataSpaceOption);
44
+ const selectedDataSpaceOption = searchState.currentDataSpace
45
+ ? buildDataSpaceOption(searchState.currentDataSpace)
46
+ : null;
47
+ const onDataSpaceOptionChange = (option) => {
48
+ searchState.setCurrentDataSpace(option?.value);
49
+ searchState.setDataSpaceViewerState(undefined);
50
+ };
51
+ const formatDataSpaceOptionLabel = (option) => (_jsxs("div", { className: "data-space-advanced-search__dialog__option", title: `${option.label} - ${option.value.path} - ${generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId)}`, children: [_jsx("div", { className: "data-space-advanced-search__dialog__option__label", children: option.label }), _jsx("div", { className: "data-space-advanced-search__dialog__option__path", children: option.value.path }), _jsx("div", { className: "data-space-advanced-search__dialog__option__gav", children: generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId) })] }));
52
+ // search text
53
+ const debouncedLoadDataSpaces = useMemo(() => debounce((input) => {
54
+ flowResult(searchState.loadDataSpaces(input)).catch(applicationStore.alertUnhandledError);
55
+ }, 500), [applicationStore, searchState]);
56
+ const onSearchTextChange = (value) => {
57
+ if (value !== searchText) {
58
+ setSearchText(value);
59
+ debouncedLoadDataSpaces.cancel();
60
+ debouncedLoadDataSpaces(value);
61
+ }
62
+ };
63
+ useEffect(() => {
64
+ searchState.loadDataSpaces('');
65
+ flowResult(searchState.loadDataSpaces('')).catch(applicationStore.alertUnhandledError);
66
+ }, [searchState, applicationStore]);
67
+ useEffect(() => {
68
+ if (searchState.currentDataSpace) {
69
+ flowResult(searchState.loadDataSpace(searchState.currentDataSpace)).catch(applicationStore.alertUnhandledError);
70
+ }
71
+ }, [searchState, applicationStore, searchState.currentDataSpace]);
72
+ return (_jsx(Dialog, { open: true, onClose: onClose, classes: {
73
+ root: 'editor-modal__root-container',
74
+ container: 'editor-modal__container',
75
+ paper: 'editor-modal__content data-space-advanced-search__dialog__container__content',
76
+ }, TransitionProps: {
77
+ onEnter: handleEnter,
78
+ }, children: _jsxs("div", { className: "modal modal--dark editor-modal data-space-advanced-search__dialog", children: [_jsxs("div", { className: "data-space-advanced-search__dialog__header modal__header", children: [_jsx("div", { className: "modal__title", children: "Search for data space" }), _jsx("div", { className: "modal__header__actions", children: _jsx("button", { className: "modal__header__action", title: "Close", onClick: onClose, children: _jsx(TimesIcon, {}) }) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__content", children: [_jsxs("div", { className: "data-space-advanced-search__dialog__input", children: [_jsx("div", { className: "data-space-advanced-search__dialog__input__icon", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "data-space-advanced-search__dialog__input__selector", options: dataSpaceOptions, isLoading: searchState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: true, formatOptionLabel: formatDataSpaceOptionLabel }), _jsx("button", { className: clsx('data-space-advanced-search__dialog__input__use-snapshot-btn', {
79
+ 'data-space-advanced-search__dialog__input__use-snapshot-btn--active': searchState.toGetSnapShot,
80
+ }), tabIndex: -1, title: `[${searchState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}) }), _jsx("button", { className: "data-space-advanced-search__dialog__input__proceed-btn", tabIndex: -1, title: "Proceed to create query", onClick: proceedToCreateQuery, children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__view", children: [_jsx(PanelLoadingIndicator, { isLoading: searchState.loadDataSpaceState.isInProgress }), searchState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: searchState.dataSpaceViewerState })), !searchState.dataSpaceViewerState && (_jsxs(_Fragment, { children: [searchState.loadDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: searchState.loadDataSpaceState.message })), searchState.loadDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "data-space-advanced-search__dialog__view--failed", children: [_jsx("div", { className: "data-space-advanced-search__dialog__view--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "data-space-advanced-search__dialog__view--failed__text", children: "Can't load data space" })] }) }))] }))] })] })] }) }));
81
+ });
82
+ //# sourceMappingURL=DataSpaceAdvancedSearchModal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceAdvancedSearchModal.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,MAAM,EACN,SAAS,EACT,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAKxD,MAAM,oBAAoB,GAAG,CAAC,KAAoB,EAAmB,EAAE,CAAC,CAAC;IACvE,KAA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C,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,wDAAwD,sCAEjE,IACF,GACY,CACrB,IACA,CACJ,IACG,IACF,IACF,GACC,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -14,5 +14,12 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { DataSpaceQueryBuilderState } from '../../stores/query/DataSpaceQueryBuilderState.js';
17
+ import type { DataSpaceInfo } from '../../stores/query/DataSpaceInfo.js';
18
+ export declare type DataSpaceOption = {
19
+ label: string;
20
+ value: DataSpaceInfo;
21
+ };
22
+ export declare const buildDataSpaceOption: (value: DataSpaceInfo) => DataSpaceOption;
23
+ export declare const formatDataSpaceOptionLabel: (option: DataSpaceOption) => React.ReactNode;
17
24
  export declare const renderDataSpaceQueryBuilderSetupPanelContent: (queryBuilderState: DataSpaceQueryBuilderState) => React.ReactNode;
18
25
  //# sourceMappingURL=DataSpaceQueryBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AA2SnG,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,MAAM,SAIR,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAanG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AASzE,oBAAY,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,oBAAoB,UACxB,aAAa,KACnB,eAGD,CAAC;AACH,eAAO,MAAM,0BAA0B,WAC7B,eAAe,KACtB,MAAM,SAuBR,CAAC;AAqQF,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,MAAM,SAIR,CAAC"}
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { CustomSelectorInput, createFilter, PURE_RuntimeIcon, PlayIcon, DropdownMenu, MoreHorizontalIcon, MenuContentItem, MenuContent, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, } from '@finos/legend-art';
17
+ import { CustomSelectorInput, createFilter, PURE_RuntimeIcon, PlayIcon, DropdownMenu, MoreHorizontalIcon, MenuContentItem, MenuContent, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, SearchIcon, } from '@finos/legend-art';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { useApplicationStore } from '@finos/legend-application';
20
20
  import { buildRuntimeValueOption, getRuntimeOptionFormatter, QueryBuilderClassSelector, } from '@finos/legend-query-builder';
@@ -24,10 +24,12 @@ import { useEffect, useMemo, useState } from 'react';
24
24
  import { debounce, guaranteeType } from '@finos/legend-shared';
25
25
  import { flowResult } from 'mobx';
26
26
  import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
27
- const buildDataSpaceOption = (value) => ({
27
+ import { DataSpaceAdvancedSearchModal } from './DataSpaceAdvancedSearchModal.js';
28
+ export const buildDataSpaceOption = (value) => ({
28
29
  label: value.title ?? value.name,
29
30
  value,
30
31
  });
32
+ export const formatDataSpaceOptionLabel = (option) => (_jsxs("div", { className: "query-builder__setup__data-space__option", title: `${option.label} - ${option.value.path} - ${generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId)}`, children: [_jsx("div", { className: "query-builder__setup__data-space__option__label", children: option.label }), _jsx("div", { className: "query-builder__setup__data-space__option__path", children: option.value.path }), _jsx("div", { className: "query-builder__setup__data-space__option__gav", children: generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId) })] }));
31
33
  const buildExecutionContextOption = (value) => ({
32
34
  label: value.name,
33
35
  value,
@@ -62,7 +64,6 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
62
64
  const onDataSpaceOptionChange = (option) => {
63
65
  queryBuilderState.onDataSpaceChange(option.value);
64
66
  };
65
- const formatDataSpaceOptionLabel = (option) => (_jsxs("div", { className: "query-builder__setup__data-space__option", title: `${option.label} - ${option.value.path} - ${generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId)}`, children: [_jsx("div", { className: "query-builder__setup__data-space__option__label", children: option.label }), _jsx("div", { className: "query-builder__setup__data-space__option__path", children: option.value.path }), _jsx("div", { className: "query-builder__setup__data-space__option__gav", children: generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId) })] }));
66
67
  // data space search text
67
68
  const debouncedLoadDataSpaces = useMemo(() => debounce((input) => {
68
69
  flowResult(queryBuilderState.loadDataSpaces(input)).catch(applicationStore.alertUnhandledError);
@@ -74,6 +75,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
74
75
  debouncedLoadDataSpaces(value);
75
76
  }
76
77
  };
78
+ const openDataSpaceAdvancedSearch = () => queryBuilderState.showAdvancedSearchPanel();
77
79
  // execution context
78
80
  const executionContextOptions = queryBuilderState.dataSpace.executionContexts.map(buildExecutionContextOption);
79
81
  const selectedExecutionContextOption = buildExecutionContextOption(queryBuilderState.executionContext);
@@ -110,10 +112,10 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
110
112
  useEffect(() => {
111
113
  flowResult(queryBuilderState.loadDataSpaces('')).catch(applicationStore.alertUnhandledError);
112
114
  }, [queryBuilderState, applicationStore]);
113
- return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-builder__setup__config-group", children: [_jsxs("div", { className: "query-builder__setup__config-group__header", children: [_jsx("div", { className: "query-builder__setup__config-group__header__title", children: "data space execution context" }), _jsx(DropdownMenu, { className: "query-builder__setup__config-group__header__dropdown", content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { onClick: () => queryBuilderState.setShowRuntimeSelector(!queryBuilderState.showRuntimeSelector), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showRuntimeSelector ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Runtime Selector" })] }) }), menuProps: {
115
+ return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-builder__setup__config-group", children: [_jsxs("div", { className: "query-builder__setup__config-group__header", children: [_jsx("div", { className: "query-builder__setup__config-group__header__title", children: "data space execution context" }), _jsx(DropdownMenu, { className: "query-builder__setup__config-group__header__dropdown-trigger", title: "Show Settings...", content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { onClick: () => queryBuilderState.setShowRuntimeSelector(!queryBuilderState.showRuntimeSelector), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showRuntimeSelector ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Runtime Selector" })] }) }), menuProps: {
114
116
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
115
117
  transformOrigin: { vertical: 'top', horizontal: 'right' },
116
- }, children: _jsx("button", { className: "query-builder__setup__config-group__header__dropdown-trigger", title: "Show Settings...", children: _jsx(MoreHorizontalIcon, {}) }) })] }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "data space", children: _jsx(DataSpaceIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", options: dataSpaceOptions, isLoading: queryBuilderState.loadDataSpacesState.isInProgress, onInputChange: onDataSpaceSearchTextChange, inputValue: dataSpaceSearchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space...", escapeClearsValue: true, darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled, formatOptionLabel: formatDataSpaceOptionLabel })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "execution context", children: _jsx(PlayIcon, { className: "query-builder__setup__data-space__icon__execution-context" }) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose an execution context...", options: executionContextOptions, disabled: executionContextOptions.length <= 1, onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled })] }), queryBuilderState.showRuntimeSelector && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified execution context", options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
118
+ }, children: _jsx(MoreHorizontalIcon, {}) })] }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "data space", children: _jsx(DataSpaceIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", options: dataSpaceOptions, isLoading: queryBuilderState.loadDataSpacesState.isInProgress, onInputChange: onDataSpaceSearchTextChange, inputValue: dataSpaceSearchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space...", escapeClearsValue: true, darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled, formatOptionLabel: formatDataSpaceOptionLabel }), queryBuilderState.isAdvancedDataSpaceSearchEnabled && (_jsxs(_Fragment, { children: [_jsx("button", { tabIndex: -1, className: "query-builder__setup__data-space-searcher__btn btn--dark", onClick: openDataSpaceAdvancedSearch, title: "Open advanced search for data space...", children: _jsx(SearchIcon, {}) }), queryBuilderState.advancedSearchState && (_jsx(DataSpaceAdvancedSearchModal, { searchState: queryBuilderState.advancedSearchState, onClose: () => queryBuilderState.hideAdvancedSearchPanel() }))] }))] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "execution context", children: _jsx(PlayIcon, { className: "query-builder__setup__data-space__icon__execution-context" }) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose an execution context...", options: executionContextOptions, disabled: executionContextOptions.length <= 1, onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled })] }), queryBuilderState.showRuntimeSelector && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified execution context", options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
117
119
  darkMode: !applicationStore.TEMPORARY__isLightThemeEnabled,
118
120
  }) })] }))] })] }), _jsx(QueryBuilderClassSelector, { queryBuilderState: queryBuilderState, classes: classes, onClassChange: queryBuilderState.onClassChange, noMatchMessage: "No compatible class found for specified execution context" })] }));
119
121
  });
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query/DataSpace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,gCAAgC,EAC5C,OAAO,EAAE,uBAAuB,EAChC,QAAQ,EAAE,uBAAuB,CAAC,MAAM,IAAI,CAAC,EAC7C,QAAQ,EAAE,8BAA8B,EACxC,KAAK,EAAE,8BAA8B,EACrC,QAAQ,EAAE,CAAC,gBAAgB,CAAC,8BAA8B,GAC1D,IACE,EACL,iBAAiB,CAAC,mBAAmB,IAAI,CACxC,eAAK,SAAS,EAAC,0CAA0C,aACvD,cACE,SAAS,EAAC,yDAAyD,EACnE,KAAK,EAAC,SAAS,YAEf,KAAC,gBAAgB,KAAG,GAChB,EACN,KAAC,mBAAmB,IAClB,SAAS,EAAC,4FAA4F,EACtG,WAAW,EAAC,qBAAqB,EACjC,cAAc,EAAC,6DAA6D,EAC5E,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EAAE,CAAC,gBAAgB,CAAC,8BAA8B,EAC1D,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,yBAAyB,CAAC;4CAC3C,QAAQ,EAAE,CAAC,gBAAgB,CAAC,8BAA8B;yCAC3D,CAAC,GACF,IACE,CACP,IACG,IACF,EACN,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,iBAAiB,CAAC,aAAa,EAC9C,cAAc,EAAC,2DAA2D,GAC1E,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAC1D,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,sCAAsC,IACrC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
@@ -14,10 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  /// <reference types="react" resolution-mode="require"/>
17
- import type { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState.js';
18
- export declare const DataspaceQuerySetup: ((props: {
19
- querySetupState: DataSpaceQuerySetupState;
20
- }) => JSX.Element) & {
17
+ import { type DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupStore.js';
18
+ export declare const DataSpaceQuerySetup: (() => JSX.Element) & {
21
19
  displayName: string;
22
20
  };
21
+ export declare const renderDataSpaceQuerySetupSetupPanelContent: (queryBuilderState: DataSpaceQuerySetupState) => React.ReactNode;
23
22
  //# sourceMappingURL=DataSpaceQuerySetup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAU/F,eAAO,MAAM,mBAAmB,WACtB;IAAE,eAAe,EAAE,wBAAwB,CAAA;CAAE;;CAmMtD,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAoBH,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,gDAAgD,CAAC;AAuBxD,eAAO,MAAM,mBAAmB;;CAI9B,CAAC;AA+GH,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}