@finos/legend-extension-dsl-data-space 8.0.1 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -14,74 +14,63 @@ 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 { useApplicationStore } from '@finos/legend-application';
18
- import { BoltIcon, ArrowRightIcon, clsx, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, ArrowLeftIcon, CustomSelectorInput, SearchIcon, } from '@finos/legend-art';
19
- import { useQuerySetupStore } from '@finos/legend-application-query';
20
- import { generateGAVCoordinates } from '@finos/legend-storage';
17
+ import { observer, useLocalObservable } from 'mobx-react-lite';
21
18
  import { debounce } from '@finos/legend-shared';
22
- import { flowResult } from 'mobx';
23
- import { observer } from 'mobx-react-lite';
19
+ import { useApplicationStore } from '@finos/legend-application';
20
+ import { useDepotServerClient } from '@finos/legend-server-depot';
21
+ import { QueryEditor, QueryEditorStoreContext, useLegendQueryApplicationStore, } from '@finos/legend-application-query';
24
22
  import { useEffect, useMemo, useRef, useState } from 'react';
25
- import { DataSpaceViewer } from '../DataSpaceViewer.js';
26
- const buildDataSpaceOption = (value) => ({
27
- label: value.title ?? value.name,
28
- value,
29
- });
30
- export const DataspaceQuerySetup = observer((props) => {
31
- const { querySetupState } = props;
23
+ import { flowResult } from 'mobx';
24
+ import { QueryBuilderClassSelector } from '@finos/legend-query-builder';
25
+ import { CustomSelectorInput, SearchIcon, } from '@finos/legend-art';
26
+ import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
27
+ import { DataSpaceQuerySetupStore, } from '../../stores/query/DataSpaceQuerySetupStore.js';
28
+ import { buildDataSpaceOption, formatDataSpaceOptionLabel, } from './DataSpaceQueryBuilder.js';
29
+ import { DataSpaceAdvancedSearchModal } from './DataSpaceAdvancedSearchModal.js';
30
+ const DataSpaceQuerySetupStoreProvider = ({ children }) => {
31
+ const applicationStore = useLegendQueryApplicationStore();
32
+ const depotServerClient = useDepotServerClient();
33
+ const store = useLocalObservable(() => new DataSpaceQuerySetupStore(applicationStore, depotServerClient));
34
+ return (_jsx(QueryEditorStoreContext.Provider, { value: store, children: children }));
35
+ };
36
+ export const DataSpaceQuerySetup = observer(() => (_jsx(DataSpaceQuerySetupStoreProvider, { children: _jsx(QueryEditor, {}) })));
37
+ /**
38
+ * This setup panel supports cascading in order: Data-space -> Execution context (-> Runtime) -> Class
39
+ *
40
+ * In other words, we will only show:
41
+ * - For runtime selector: the list of compatible runtimes with the selected execution context mapping
42
+ * - For class selector: the list of compatible class with the selected execution context mapping
43
+ *
44
+ * See details on propagation/cascading in {@link DataSpaceQuerySetupState}
45
+ */
46
+ const DataSpaceQuerySetupSetupPanelContent = observer((props) => {
47
+ const { queryBuilderState } = props;
32
48
  const applicationStore = useApplicationStore();
33
- const setupStore = useQuerySetupStore();
34
49
  const dataSpaceSearchRef = useRef(null);
35
- const [searchText, setSearchText] = useState('');
36
- const toggleGetSnapshot = () => {
37
- querySetupState.setToGetSnapShot(!querySetupState.toGetSnapShot);
38
- flowResult(querySetupState.loadDataSpaces(searchText)).catch(applicationStore.alertUnhandledError);
39
- };
40
- const next = () => {
41
- if (querySetupState.dataSpaceViewerState) {
42
- flowResult(querySetupState.proceedToCreateQuery()).catch(applicationStore.alertUnhandledError);
43
- }
44
- };
45
- const canProceed = querySetupState.dataSpaceViewerState;
46
- const back = () => {
47
- setupStore.setSetupState(undefined);
48
- };
50
+ const [dataSpaceSearchText, setDataSpaceSearchText] = useState('');
49
51
  // data space
50
- const dataSpaceOptions = querySetupState.dataSpaces.map(buildDataSpaceOption);
51
- const selectedDataSpaceOption = querySetupState.currentDataSpace
52
- ? buildDataSpaceOption(querySetupState.currentDataSpace)
53
- : null;
52
+ const dataSpaceOptions = queryBuilderState.dataSpaces.map(buildDataSpaceOption);
53
+ const selectedDataSpaceOption = null;
54
54
  const onDataSpaceOptionChange = (option) => {
55
- querySetupState.setCurrentDataSpace(option?.value);
56
- querySetupState.setDataSpaceViewerState(undefined);
55
+ queryBuilderState.onDataSpaceChange(option.value);
57
56
  };
58
- const formatDataSpaceOptionLabel = (option) => (_jsxs("div", { className: "query-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-setup__data-space__option__label", children: option.label }), _jsx("div", { className: "query-setup__data-space__option__path", children: option.value.path }), _jsx("div", { className: "query-setup__data-space__option__gav", children: generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId) })] }));
59
- // search text
57
+ // data space search text
60
58
  const debouncedLoadDataSpaces = useMemo(() => debounce((input) => {
61
- flowResult(querySetupState.loadDataSpaces(input)).catch(applicationStore.alertUnhandledError);
62
- }, 500), [applicationStore, querySetupState]);
63
- const onSearchTextChange = (value) => {
64
- if (value !== searchText) {
65
- setSearchText(value);
59
+ flowResult(queryBuilderState.loadDataSpaces(input)).catch(applicationStore.alertUnhandledError);
60
+ }, 500), [applicationStore, queryBuilderState]);
61
+ const onDataSpaceSearchTextChange = (value) => {
62
+ if (value !== dataSpaceSearchText) {
63
+ setDataSpaceSearchText(value);
66
64
  debouncedLoadDataSpaces.cancel();
67
65
  debouncedLoadDataSpaces(value);
68
66
  }
69
67
  };
68
+ const openDataSpaceAdvancedSearch = () => queryBuilderState.showAdvancedSearchPanel();
70
69
  useEffect(() => {
71
- flowResult(querySetupState.loadDataSpaces('')).catch(applicationStore.alertUnhandledError);
72
- }, [querySetupState, applicationStore]);
73
- useEffect(() => {
74
- if (querySetupState.currentDataSpace) {
75
- flowResult(querySetupState.loadDataSpace(querySetupState.currentDataSpace)).catch(applicationStore.alertUnhandledError);
76
- }
77
- }, [querySetupState, applicationStore, querySetupState.currentDataSpace]);
78
- useEffect(() => {
79
- dataSpaceSearchRef.current?.focus();
80
- }, []);
81
- return (_jsxs("div", { className: "query-setup__wizard query-setup__data-space", children: [_jsxs("div", { className: "query-setup__wizard__header query-setup__data-space__header", children: [_jsx("button", { className: "query-setup__wizard__header__btn", onClick: back, title: "Back to Main Menu", children: _jsx(ArrowLeftIcon, {}) }), _jsx("div", { className: "query-setup__wizard__header__title", children: "Creating query from data space..." }), _jsx("button", { className: clsx('query-setup__wizard__header__btn', {
82
- 'query-setup__wizard__header__btn--ready': canProceed,
83
- }), onClick: next, disabled: !canProceed, title: "Create a new query", children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "query-setup__wizard__content", children: [_jsxs("div", { className: "query-setup__wizard__group query-setup__wizard__group--inline query-setup__data-space__input-group", children: [_jsx("div", { className: "query-setup__wizard__group__title", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "query-setup__wizard__selector", options: dataSpaceOptions, isLoading: querySetupState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space...", isClearable: true, escapeClearsValue: true, darkMode: true, formatOptionLabel: formatDataSpaceOptionLabel }), _jsx("button", { className: clsx('query-setup__data-space__use-snapshot-btn', {
84
- 'query-setup__data-space__use-snapshot-btn--active': querySetupState.toGetSnapShot,
85
- }), tabIndex: -1, title: `[${querySetupState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}) })] }), _jsxs("div", { className: "query-setup__data-space__view", children: [_jsx(PanelLoadingIndicator, { isLoading: querySetupState.loadDataSpaceState.isInProgress }), querySetupState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: querySetupState.dataSpaceViewerState })), !querySetupState.dataSpaceViewerState && (_jsxs(_Fragment, { children: [querySetupState.loadDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: querySetupState.loadDataSpaceState.message })), querySetupState.loadDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "query-setup__data-space__view--failed", children: [_jsx("div", { className: "query-setup__data-space__view--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "query-setup__data-space__view--failed__text", children: "Can't load data space" })] }) }))] }))] })] })] }));
70
+ flowResult(queryBuilderState.loadDataSpaces('')).catch(applicationStore.alertUnhandledError);
71
+ }, [queryBuilderState, applicationStore]);
72
+ useEffect(() => dataSpaceSearchRef.current?.focus());
73
+ return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-builder__setup__config-group", children: [_jsx("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("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, { ref: dataSpaceSearchRef, 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 }), _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() }))] }) })] }), _jsx(QueryBuilderClassSelector, { queryBuilderState: queryBuilderState, classes: [], noMatchMessage: "No compatible class found" })] }));
86
74
  });
75
+ export const renderDataSpaceQuerySetupSetupPanelContent = (queryBuilderState) => (_jsx(DataSpaceQuerySetupSetupPanelContent, { queryBuilderState: queryBuilderState }));
87
76
  //# sourceMappingURL=DataSpaceQuerySetup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,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;AAE7D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIxD,MAAM,oBAAoB,GAAG,CAAC,KAAoB,EAAmB,EAAE,CAAC,CAAC;IACvE,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI;IAChC,KAAK;CACN,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CACzC,CA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AS,EAAC,0DAA0D,EACpE,OAAO,EAAE,2BAA2B,EACpC,KAAK,EAAC,wCAAwC,YAE9C,KAAC,UAAU,KAAG,GACP,EACR,iBAAiB,CAAC,mBAAmB,IAAI,CACxC,KAAC,4BAA4B,IAC3B,WAAW,EAAE,iBAAiB,CAAC,mBAAmB,EAClD,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,uBAAuB,EAAE,GAC1D,CACH,IACG,GACF,IACF,EACN,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,EAAE,EACX,cAAc,EAAC,2BAA2B,GAC1C,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,iBAA2C,EAC1B,EAAE,CAAC,CACpB,KAAC,oCAAoC,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAC/E,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v8.0.1
1
+ /** @license @finos/legend-extension-dsl-data-space v9.0.0
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- @import'@finos/legend-extension-dsl-diagram/lib/index.css';.data-space__viewer{display:flex;flex-direction:column;height:100%;width:100%;background:var(--color-dark-grey-80)}.data-space__viewer__header{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:2rem;height:13rem}.data-space__viewer__title{display:flex;align-items:center;justify-content:center;height:3.4rem;max-width:100%;background:var(--color-blue-150)}.data-space__viewer__title__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 3.4rem);font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0);line-height:3.4rem;text-align:left}.data-space__viewer__title__link{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-left:.1rem solid var(--color-dark-shade-230)}.data-space__viewer__title__link svg{font-size:1.6rem;color:var(--color-light-grey-0)}.data-space__viewer__description{cursor:default;user-select:none;padding:1rem;margin-top:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__content{display:flex;align-items:center;justify-content:center;height:calc(100% - 13rem);padding:0 2rem 2rem}.data-space__viewer__body{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.data-space__viewer__activity-bar{width:5rem;background:var(--color-dark-grey-100);height:100%;overflow-x:hidden;overflow-y:hidden}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__main-panel{height:100%;width:calc(100% - 5rem);border:.1rem solid var(--color-dark-grey-100);overflow:auto}.data-space__viewer__main-panel__content{height:100%;width:100%}.data-space__viewer__diagrams{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagrams__header{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__diagrams__footer{display:flex;align-items:center;height:2rem;background:var(--color-dark-grey-250);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagrams__footer__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space__viewer__diagrams__footer__icon svg{font-size:1.2rem}.data-space__viewer__diagrams__footer__text{margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__diagrams__diagram-selector{width:100%}.data-space__viewer__diagrams__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagrams__dropdown{width:100%}.data-space__viewer__diagrams__dropdown__container{padding:.3rem}.data-space__viewer__execution{padding:2rem}.data-space__viewer__execution__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution__entry__content__dropdown{width:100%}.data-space__viewer__execution__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution__mapping{margin-bottom:.5rem}.data-space__viewer__info{padding:2rem}.data-space__viewer__info__project-info__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__info__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support-info{padding:2rem}.data-space__viewer__support-email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support-email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support-email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support-email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.query-setup__landing-page__option--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-setup__data-space{width:calc(100% - 10rem);height:calc(100% - 10rem)}.query-setup__data-space__header{background:var(--color-yellow-100)}.query-setup__data-space__input-group{padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.query-setup__data-space__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.query-setup__data-space__use-snapshot-btn svg{color:var(--color-light-grey-50)}.query-setup__data-space__use-snapshot-btn--active{background:var(--color-blue-100)}.query-setup__data-space .query-setup__wizard__selector{width:100%}.query-setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-setup__data-space__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__view{height:calc(100% - 3.8rem);width:100%}.query-setup__data-space__view--failed{display:flex;align-items:center;height:2.8rem}.query-setup__data-space__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.query-setup__data-space__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-builder__setup__data-space--with-runtime .query-builder__setup.panel{height:16.4rem}.query-builder__setup__data-space--with-runtime .query-builder__side-bar__content{height:calc(100% - 16.4rem)}.query-builder__setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-builder__setup__data-space__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__icon__execution-context{color:var(--color-lime-75)}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
17
+ @import"@finos/legend-extension-dsl-diagram/lib/index.css";.data-space__viewer{display:flex;flex-direction:column;height:100%;width:100%;background:var(--color-dark-grey-80)}.data-space__viewer__header{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:2rem;height:13rem}.data-space__viewer__title{display:flex;align-items:center}.data-space__viewer__title__btn{display:flex;align-items:center;justify-content:center;height:3.4rem;max-width:100%;background:var(--color-blue-150)}.data-space__viewer__title__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 3.4rem);font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0);line-height:3.4rem;text-align:left}.data-space__viewer__title__link{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-left:.1rem solid var(--color-dark-shade-230)}.data-space__viewer__title__link svg{font-size:1.6rem;color:var(--color-light-grey-0)}.data-space__viewer__title__dropdown-trigger{display:flex;align-items:center;justify-content:center;width:1.6rem;height:3.4rem;background:var(--color-blue-150);cursor:pointer;border-left:.1rem solid var(--color-dark-shade-50)}.data-space__viewer__title__dropdown-trigger svg{color:var(--color-light-grey-0);font-size:1.2rem}.data-space__viewer__description{cursor:default;user-select:none;padding:1rem;margin-top:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__content{display:flex;align-items:center;justify-content:center;height:calc(100% - 13rem);padding:0 2rem 2rem}.data-space__viewer__body{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.data-space__viewer__activity-bar{width:5rem;background:var(--color-dark-grey-100);height:100%;overflow-x:hidden;overflow-y:hidden}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__main-panel{height:100%;width:calc(100% - 5rem);border:.1rem solid var(--color-dark-grey-100);overflow:auto}.data-space__viewer__main-panel__content{height:100%;width:100%}.data-space__viewer__diagrams{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagrams__header{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__diagrams__footer{display:flex;align-items:center;height:2rem;background:var(--color-dark-grey-250);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagrams__footer__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space__viewer__diagrams__footer__icon svg{font-size:1.2rem}.data-space__viewer__diagrams__footer__text{margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__diagrams__diagram-selector{width:100%}.data-space__viewer__diagrams__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagrams__dropdown{width:100%}.data-space__viewer__diagrams__dropdown__container{padding:.3rem}.data-space__viewer__execution{padding:2rem}.data-space__viewer__execution__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution__entry__content__dropdown{width:100%}.data-space__viewer__execution__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution__mapping{margin-bottom:.5rem}.data-space__viewer__info{padding:2rem}.data-space__viewer__info__project-info__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__info__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__info__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support-info{padding:2rem}.data-space__viewer__support-email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support-email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support-email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support-email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.query-setup__landing-page__action--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-builder__setup__data-space-setup .query-builder__setup.panel{height:9.8rem}.query-builder__setup__data-space-setup .query-builder__side-bar__content{height:calc(100% - 9.8rem)}.query-builder__setup__data-space--with-runtime .query-builder__setup.panel{height:16.4rem}.query-builder__setup__data-space--with-runtime .query-builder__side-bar__content{height:calc(100% - 16.4rem)}.query-builder__setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-builder__setup__data-space__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.query-builder__setup__data-space__icon__execution-context{color:var(--color-lime-75)}.query-builder__setup__data-space-searcher__btn{flex-grow:0;flex-shrink:0;height:2.8rem;width:2.8rem;margin-left:.5rem}.data-space-advanced-search__dialog{height:calc(100vh - 4rem);width:calc(100vw - 4rem);border:none !important}.data-space-advanced-search__dialog__container__content{max-height:100vh !important}.data-space-advanced-search__dialog__header{display:flex;align-items:center;height:3.8rem}.data-space-advanced-search__dialog__header__actions{display:flex;align-items:center;height:100%}.data-space-advanced-search__dialog__header__action{display:flex;align-items:center;justify-content:center;height:100%;width:3.8rem}.data-space-advanced-search__dialog__header__action svg{font-size:1.6rem;color:var(--color-dark-shade-300)}.data-space-advanced-search__dialog__header__action:hover svg{color:var(--color-dark-shade-800)}.data-space-advanced-search__dialog__content{height:calc(100% - 3.8rem);border:.1rem solid var(--color-dark-grey-80)}.data-space-advanced-search__dialog__input{display:flex;align-items:center;padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.data-space-advanced-search__dialog__input__icon{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;margin-right:.5rem}.data-space-advanced-search__dialog__input__selector{width:calc(100% - 3.3rem)}.data-space-advanced-search__dialog__input__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.data-space-advanced-search__dialog__input__use-snapshot-btn svg{color:var(--color-light-grey-50)}.data-space-advanced-search__dialog__input__use-snapshot-btn--active{background:var(--color-blue-100)}.data-space-advanced-search__dialog__input__proceed-btn{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:2.8rem;height:2.8rem;color:var(--color-light-grey-200);margin-left:.5rem}.data-space-advanced-search__dialog__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.data-space-advanced-search__dialog__option__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__option__gav{font-size:1.2rem;color:var(--color-blue-50);margin-left:.5rem;line-height:1.4rem}.data-space-advanced-search__dialog__view{height:calc(100% - 3.8rem);width:100%}.data-space-advanced-search__dialog__view--failed{display:flex;align-items:center;height:2.8rem}.data-space-advanced-search__dialog__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space-advanced-search__dialog__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}.query-builder__setup__mapping-execution .query-builder__setup.panel{height:9.8rem}.query-builder__setup__mapping-execution .query-builder__side-bar__content{height:calc(100% - 9.8rem)}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
package/lib/index.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,aACA,sBACA,YACA,WACA,qCAEA,4BCDA,aACA,mBACA,uBDEE,sBACA,aACA,aAGF,2BCTA,aACA,mBACA,uBDUE,cACA,eACA,iCAEA,qDCCF,uBACA,gBACA,sBACA,gBDDI,YACA,0BACA,oCACA,iBACA,eACA,iBACA,gCACA,mBACA,gBAGF,iCC9BF,aACA,mBACA,uBD+BI,cACA,aACA,oDAEA,qCACE,iBACA,gCAKN,iCACE,eACA,iBACA,aACA,gBACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,wCC1DF,aACA,mBACA,uBD2DI,gBACA,iCAIJ,6BClEA,aACA,mBACA,uBDmEE,0BACA,oBAGF,0BCzEA,aACA,mBACA,uBD0EE,WACA,YAGF,kCACE,WACA,sCACA,YACA,kBACA,kBAEA,yCACE,YACA,gBACA,kBAGF,wCC7FF,aACA,mBACA,uBD8FI,YACA,WACA,iCACA,eAGF,4CACE,eAGF,8CACE,kCACA,eAGF,gDACE,kCAIJ,gCACE,YACA,wBACA,8CACA,cAEA,yCACE,YACA,WAIJ,8BACE,aACA,sBACA,YACA,WAEA,sCChIF,aACA,mBDkII,cACA,WAGF,sCCvIF,aACA,mBDyII,YACA,sCACA,kCACA,gBACA,iBACA,eAEA,4CCvJJ,aACA,mBACA,uBDwJM,YAEA,gDACE,iBAIJ,4CACE,kBACA,iBACA,gBAIJ,gDACE,WAGF,uCACE,2BACA,WAGF,wCACE,WAEA,mDACE,cAKN,+BACE,aAEA,6CACE,kCAGF,sCC3LF,aACA,mBD6LI,cACA,WAEA,4CCvMJ,aACA,mBACA,uBDwMM,cACA,aACA,8BACA,sCAEA,gDACE,iBAIJ,+CC9MJ,aACA,mBDgNM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,yDACE,WAEA,oEACE,cAGF,iEClOR,aACA,mBDqOQ,sECtOR,aACA,mBDwOU,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,qDACE,oCAKN,4CACE,iBACA,oBACA,eACA,iBACA,aACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,mDC9QJ,aACA,mBACA,uBD+QM,gBACA,iCAIJ,wCACE,oBAIJ,0BACE,aAEA,+CC9QF,mBACA,uBACA,gBACA,sBACA,gBD6QI,YACA,YACA,8BACA,eACA,mBACA,iCACA,iCACA,gBAGF,+CC3RF,mBACA,uBACA,gBACA,sBACA,gBD0RI,YACA,2BACA,eACA,sCACA,gBACA,2BACA,oCAGF,8CCvTF,aACA,mBACA,uBDwTI,YACA,aACA,sCACA,mCACA,8BACA,oDAEA,kDACE,iBAIJ,mCACE,eACA,oBAGF,0CCrUF,aACA,mBDuUI,gBACA,iCACA,mBACA,iBACA,eAGF,0CC/UF,aACA,mBDiVI,cACA,eACA,WAGF,6CC7UF,mBACA,uBACA,gBACA,sBACA,gBD4UI,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC1VF,mBACA,uBACA,gBACA,sBACA,gBDyVI,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCChXF,aACA,mBDkXI,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDClYF,aACA,mBACA,uBDmYI,YACA,WACA,iCACA,gBACA,+CAIJ,kCACE,aAIA,0CC5YF,aACA,mBD8YI,cACA,WAEA,gDCxZJ,aACA,mBACA,uBDyZM,cACA,aACA,8BACA,sCAEA,oDACE,iBACA,kCAIJ,mDChaJ,aACA,mBDkaM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBExbR,qDACE,mCAGF,6CACE,iBAGF,yBACE,yBACA,0BAEA,iCACE,mCAGF,sCACE,cACA,WACA,cACA,sCAGF,2CDjBA,aACA,mBACA,uBCkBE,cACA,aACA,8BACA,sCAEA,+CACE,iCAGF,mDACE,iCAIJ,wDACE,WAGF,iCDtBA,mBACA,uBACA,gBACA,sBACA,gBCqBE,oBAGF,uCACE,iBACA,iCACA,kBACA,mBAGF,sCACE,iBACA,2BACA,kBACA,mBAGF,+BACE,2BACA,WAEA,uCDxDF,aACA,mBC0DI,cAEA,6CDnEJ,aACA,mBACA,uBCoEM,YAGF,6CACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBAQJ,4EACE,eAGF,kFACE,4BAIJ,0CDjFA,mBACA,uBACA,gBACA,sBACA,gBCgFE,oBAGF,gDACE,iBACA,iCACA,kBACA,mBAGF,+CACE,iBACA,2BACA,kBACA,mBAGF,2DACE,2BC1HJ,MACE,yCAGF,kBACE","file":"index.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,aACA,sBACA,YACA,WACA,qCAEA,4BCDA,aACA,mBACA,uBDEE,sBACA,aACA,aAGF,2BCHA,aACA,mBDKE,gCCZF,aACA,mBACA,uBDaI,cACA,eACA,iCAGF,kCCJF,mBACA,uBACA,gBACA,sBACA,gBDGI,YACA,0BACA,oCACA,iBACA,eACA,iBACA,gCACA,mBACA,gBAGF,iCClCF,aACA,mBACA,uBDmCI,cACA,aACA,oDAEA,qCACE,iBACA,gCAIJ,6CC/CF,aACA,mBACA,uBDgDI,aACA,cACA,iCACA,eACA,mDAEA,iDACE,gCACA,iBAKN,iCACE,eACA,iBACA,aACA,gBACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,wCC7EF,aACA,mBACA,uBD8EI,gBACA,iCAIJ,6BCrFA,aACA,mBACA,uBDsFE,0BACA,oBAGF,0BC5FA,aACA,mBACA,uBD6FE,WACA,YAGF,kCACE,WACA,sCACA,YACA,kBACA,kBAEA,yCACE,YACA,gBACA,kBAGF,wCChHF,aACA,mBACA,uBDiHI,YACA,WACA,iCACA,eAGF,4CACE,eAGF,8CACE,kCACA,eAGF,gDACE,kCAIJ,gCACE,YACA,wBACA,8CACA,cAEA,yCACE,YACA,WAIJ,8BACE,aACA,sBACA,YACA,WAEA,sCCnJF,aACA,mBDqJI,cACA,WAGF,sCC1JF,aACA,mBD4JI,YACA,sCACA,kCACA,gBACA,iBACA,eAEA,4CC1KJ,aACA,mBACA,uBD2KM,YAEA,gDACE,iBAIJ,4CACE,kBACA,iBACA,gBAIJ,gDACE,WAGF,uCACE,2BACA,WAGF,wCACE,WAEA,mDACE,cAKN,+BACE,aAEA,6CACE,kCAGF,sCC9MF,aACA,mBDgNI,cACA,WAEA,4CC1NJ,aACA,mBACA,uBD2NM,cACA,aACA,8BACA,sCAEA,gDACE,iBAIJ,+CCjOJ,aACA,mBDmOM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,yDACE,WAEA,oEACE,cAGF,iECrPR,aACA,mBDwPQ,sECzPR,aACA,mBD2PU,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,qDACE,oCAKN,4CACE,iBACA,oBACA,eACA,iBACA,aACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,mDCjSJ,aACA,mBACA,uBDkSM,gBACA,iCAIJ,wCACE,oBAIJ,0BACE,aAEA,+CCjSF,mBACA,uBACA,gBACA,sBACA,gBDgSI,YACA,YACA,8BACA,eACA,mBACA,iCACA,iCACA,gBAGF,+CC9SF,mBACA,uBACA,gBACA,sBACA,gBD6SI,YACA,2BACA,eACA,sCACA,gBACA,2BACA,oCAGF,8CC1UF,aACA,mBACA,uBD2UI,YACA,aACA,sCACA,mCACA,8BACA,oDAEA,kDACE,iBAIJ,mCACE,eACA,oBAGF,0CCxVF,aACA,mBD0VI,gBACA,iCACA,mBACA,iBACA,eAGF,0CClWF,aACA,mBDoWI,cACA,eACA,WAGF,6CChWF,mBACA,uBACA,gBACA,sBACA,gBD+VI,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC7WF,mBACA,uBACA,gBACA,sBACA,gBD4WI,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCCnYF,aACA,mBDqYI,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDCrZF,aACA,mBACA,uBDsZI,YACA,WACA,iCACA,gBACA,+CAIJ,kCACE,aAIA,0CC/ZF,aACA,mBDiaI,cACA,WAEA,gDC3aJ,aACA,mBACA,uBD4aM,cACA,aACA,8BACA,sCAEA,oDACE,iBACA,kCAIJ,mDCnbJ,aACA,mBDqbM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBE3cR,qDACE,mCAGF,6CACE,iBAIA,oEACE,cAGF,0EACE,2BAMA,4EACE,eAGF,kFACE,4BAIJ,0CDPA,mBACA,uBACA,gBACA,sBACA,gBCME,oBAGF,gDACE,iBACA,iCACA,kBACA,mBAGF,+CACE,iBACA,2BACA,kBACA,mBAGF,2DACE,2BAKF,gDDpBA,YACA,cCsBE,cACA,aACA,kBAIJ,oCACE,0BACA,yBACA,uBAEA,wDACE,4BAGF,4CD7DA,aACA,mBC+DE,cAGF,qDDnEA,aACA,mBCqEE,YAGF,oDD/EA,aACA,mBACA,uBCgFE,YACA,aAEA,wDACE,iBACA,kCAGF,8DACE,kCAIJ,6CACE,2BACA,6CAGF,2CD9FA,aACA,mBCgGE,cACA,WACA,cACA,sCAGF,iDD7GA,aACA,mBACA,uBA2BA,YACA,cCmFE,aACA,mBAGF,qDACE,0BAGF,6DDzHA,aACA,mBACA,uBC0HE,cACA,aACA,8BACA,sCAEA,iEACE,iCAGF,qEACE,iCAIJ,wDD1IA,aACA,mBACA,uBA2BA,YACA,cCgHE,aACA,cACA,kCACA,kBAGF,4CDpIA,mBACA,uBACA,gBACA,sBACA,gBCmIE,oBAGF,kDACE,iBACA,iCACA,kBACA,mBAGF,iDACE,iBACA,2BACA,kBACA,mBAGF,0CACE,2BACA,WAEA,kDDtKF,aACA,mBCwKI,cAEA,wDDjLJ,aACA,mBACA,uBCkLM,YAGF,wDACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBAON,qEACE,cAGF,2EACE,2BC9MJ,MACE,yCAGF,kBACE","file":"index.css"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "8.0.1",
3
+ "version": "9.0.0",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -58,14 +58,14 @@
58
58
  "mobx-react-lite": "3.4.0",
59
59
  "react": "18.2.0",
60
60
  "react-dom": "18.2.0",
61
- "serializr": "2.0.5"
61
+ "serializr": "3.0.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@finos/legend-dev-utils": "workspace:*",
65
- "@jest/globals": "29.1.2",
65
+ "@jest/globals": "29.2.1",
66
66
  "cross-env": "7.0.3",
67
67
  "eslint": "8.25.0",
68
- "jest": "29.1.2",
68
+ "jest": "29.2.1",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
71
  "sass": "1.55.0",
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import type { GenericLegendApplicationStore } from '@finos/legend-application';
16
17
  import { type ClassView, type DiagramRenderer, type Diagram } from '@finos/legend-extension-dsl-diagram';
17
18
  import type { PackageableRuntime } from '@finos/legend-graph';
18
19
  import type { DataSpaceAnalysisResult, DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
@@ -26,6 +27,7 @@ export declare enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
26
27
  SUPPORT = "SUPPORT"
27
28
  }
28
29
  export declare class DataSpaceViewerState {
30
+ readonly applicationStore: GenericLegendApplicationStore;
29
31
  groupId: string;
30
32
  artifactId: string;
31
33
  versionId: string;
@@ -35,11 +37,13 @@ export declare class DataSpaceViewerState {
35
37
  currentActivity: DATA_SPACE_VIEWER_ACTIVITY_MODE;
36
38
  currentExecutionContext: DataSpaceExecutionContextAnalysisResult;
37
39
  currentRuntime: PackageableRuntime;
38
- viewProject?: ((groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void) | undefined;
39
- onDiagramClassDoubleClick?: ((classView: ClassView) => void) | undefined;
40
- constructor(groupId: string, artifactId: string, versionId: string, dataSpaceAnalysisResult: DataSpaceAnalysisResult, options?: {
41
- viewProject?: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
42
- onDiagramClassDoubleClick?: (classView: ClassView) => void;
40
+ viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
41
+ viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>;
42
+ onDiagramClassDoubleClick: (classView: ClassView) => void;
43
+ constructor(applicationStore: GenericLegendApplicationStore, groupId: string, artifactId: string, versionId: string, dataSpaceAnalysisResult: DataSpaceAnalysisResult, actions: {
44
+ viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
45
+ viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>;
46
+ onDiagramClassDoubleClick: (classView: ClassView) => void;
43
47
  });
44
48
  get renderer(): DiagramRenderer;
45
49
  get isDiagramRendererInitialized(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,OAAO,EAEb,MAAM,qCAAqC,CAAC;AAC7C,OAAO,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AI;IAI9D,0BAA0B,CACxB,GAAG,EAAE,uCAAuC,GAC3C,IAAI;IAKP,iBAAiB,CAAC,GAAG,EAAE,kBAAkB,GAAG,IAAI;IAIhD,aAAa,IAAI,IAAI;CAKtB"}
@@ -27,6 +27,7 @@ export var DATA_SPACE_VIEWER_ACTIVITY_MODE;
27
27
  DATA_SPACE_VIEWER_ACTIVITY_MODE["SUPPORT"] = "SUPPORT";
28
28
  })(DATA_SPACE_VIEWER_ACTIVITY_MODE = DATA_SPACE_VIEWER_ACTIVITY_MODE || (DATA_SPACE_VIEWER_ACTIVITY_MODE = {}));
29
29
  export class DataSpaceViewerState {
30
+ applicationStore;
30
31
  groupId;
31
32
  artifactId;
32
33
  versionId;
@@ -37,8 +38,9 @@ export class DataSpaceViewerState {
37
38
  currentExecutionContext;
38
39
  currentRuntime;
39
40
  viewProject;
41
+ viewSDLCProject;
40
42
  onDiagramClassDoubleClick;
41
- constructor(groupId, artifactId, versionId, dataSpaceAnalysisResult, options) {
43
+ constructor(applicationStore, groupId, artifactId, versionId, dataSpaceAnalysisResult, actions) {
42
44
  makeObservable(this, {
43
45
  _renderer: observable,
44
46
  currentDiagram: observable,
@@ -52,6 +54,7 @@ export class DataSpaceViewerState {
52
54
  setCurrentExecutionContext: action,
53
55
  setCurrentRuntime: action,
54
56
  });
57
+ this.applicationStore = applicationStore;
55
58
  this.dataSpaceAnalysisResult = dataSpaceAnalysisResult;
56
59
  this.groupId = groupId;
57
60
  this.artifactId = artifactId;
@@ -60,8 +63,9 @@ export class DataSpaceViewerState {
60
63
  dataSpaceAnalysisResult.defaultExecutionContext;
61
64
  this.currentRuntime = this.currentExecutionContext.defaultRuntime;
62
65
  this.currentDiagram = getNullableFirstElement(this.dataSpaceAnalysisResult.featuredDiagrams);
63
- this.viewProject = options?.viewProject;
64
- this.onDiagramClassDoubleClick = options?.onDiagramClassDoubleClick;
66
+ this.viewProject = actions.viewProject;
67
+ this.viewSDLCProject = actions.viewSDLCProject;
68
+ this.onDiagramClassDoubleClick = actions.onDiagramClassDoubleClick;
65
69
  }
66
70
  get renderer() {
67
71
  return guaranteeNonNullable(this._renderer, `Diagram renderer must be initialized (this is likely caused by calling this method at the wrong place)`);
@@ -109,7 +113,7 @@ export class DataSpaceViewerState {
109
113
  }
110
114
  setupRenderer() {
111
115
  this.renderer.setIsReadOnly(true);
112
- this.renderer.onClassViewDoubleClick = (classView) => this.onDiagramClassDoubleClick?.(classView);
116
+ this.renderer.onClassViewDoubleClick = (classView) => this.onDiagramClassDoubleClick(classView);
113
117
  }
114
118
  }
115
119
  //# sourceMappingURL=DataSpaceViewerState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMpE,MAAM,CAAN,IAAY,+BAQX;AARD,WAAY,+BAA+B;IACzC,sEAAmC,CAAA;IACnC,0DAAuB,CAAA;IACvB,8DAA2B,CAAA;IAC3B,0DAAuB,CAAA;IACvB,kEAA+B,CAAA;IAC/B,gDAAa,CAAA;IACb,sDAAmB,CAAA;AACrB,CAAC,EARW,+BAA+B,GAA/B,+BAA+B,KAA/B,+BAA+B,QAQ1C;AAED,MAAM,OAAO,oBAAoB;IAC/B,OAAO,CAAS;IAChB,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,uBAAuB,CAA0B;IACjD,SAAS,CAA+B;IACxC,cAAc,CAAuB;IACrC,eAAe,GAAG,+BAA+B,CAAC,eAAe,CAAC;IAClE,uBAAuB,CAA0C;IACjE,cAAc,CAAqB;IACnC,WAAW,CAOG;IACd,y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C;aACX;YACD;gBACE,OAAO,EAAE,CAAC;SACb;IACH,CAAC;IAED,WAAW,CAAC,GAAoB;QAC9B,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;IACvB,CAAC;IAED,iBAAiB,CAAC,GAAY;QAC5B,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,kBAAkB,CAAC,GAAoC;QACrD,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;IAC7B,CAAC;IAED,0BAA0B,CACxB,GAA4C;QAE5C,IAAI,CAAC,uBAAuB,GAAG,GAAG,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;IAC3C,CAAC;IAED,iBAAiB,CAAC,GAAuB;QACvC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,aAAa;QACX,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,QAAQ,CAAC,sBAAsB,GAAG,CAAC,SAAoB,EAAQ,EAAE,CACpE,IAAI,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC;IAC9C,CAAC;CACF"}
@@ -30,6 +30,10 @@ export interface DataSpaceQueryCreatorPathParams {
30
30
  export interface DataSpaceQueryEditorQueryParams {
31
31
  [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]?: string;
32
32
  }
33
- export declare const CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN: string;
33
+ export declare const DATA_SPACE_QUERY_ROUTE_PATTERN: Readonly<{
34
+ SETUP: "/dataspace";
35
+ CREATE: "/dataspace/:gav/:dataSpacePath/:executionContext/:runtimePath?";
36
+ }>;
37
+ export declare const generateDataSpaceQuerySetupRoute: () => string;
34
38
  export declare const generateDataSpaceQueryCreatorRoute: (groupId: string, artifactId: string, versionId: string, dataSpacePath: string, executionContextKey: string, runtimePath?: string | undefined, classPath?: string | undefined) => string;
35
39
  //# sourceMappingURL=DSL_DataSpace_LegendQueryRouter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,oBAAY,yCAAyC;IACnD,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;CACvC;AAED,oBAAY,0CAA0C;IACpD,UAAU,UAAU;CACrB;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,yCAAyC,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACpE,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACtE,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;CAClE;AAED,eAAO,MAAM,0CAA0C,QAA+O,CAAC;AAEvS,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAmBC,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOhF,oBAAY,yCAAyC;IACnD,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;CACvC;AAED,oBAAY,0CAA0C;IACpD,UAAU,UAAU;CACrB;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,yCAAyC,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACpE,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACtE,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;CAClE;AAED,eAAO,MAAM,8BAA8B;;;EAGzC,CAAC;AAEH,eAAO,MAAM,gCAAgC,QAAO,MAIjD,CAAC;AAEJ,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAoBA,CAAC"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
  import { generateExtensionUrlPattern, generatePath, } from '@finos/legend-application';
17
17
  import { LEGEND_QUERY_PATH_PARAM_TOKEN } from '@finos/legend-application-query';
18
+ import { addQueryParamsStringToUrl, stringifyQueryParams, } from '@finos/legend-shared';
18
19
  import { generateGAVCoordinates } from '@finos/legend-storage';
19
20
  export var DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN;
20
21
  (function (DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN) {
@@ -25,13 +26,17 @@ export var DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN;
25
26
  (function (DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN) {
26
27
  DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN["CLASS_PATH"] = "class";
27
28
  })(DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN = DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN || (DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN = {}));
28
- export const CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN = `/create-from-dataspace/:${LEGEND_QUERY_PATH_PARAM_TOKEN.GAV}/:${DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.EXECUTION_CONTEXT}/:${LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH}?`;
29
- export const generateDataSpaceQueryCreatorRoute = (groupId, artifactId, versionId, dataSpacePath, executionContextKey, runtimePath, classPath) => `${generatePath(generateExtensionUrlPattern(CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN), {
29
+ export const DATA_SPACE_QUERY_ROUTE_PATTERN = Object.freeze({
30
+ SETUP: `/dataspace`,
31
+ CREATE: `/dataspace/:${LEGEND_QUERY_PATH_PARAM_TOKEN.GAV}/:${DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.EXECUTION_CONTEXT}/:${LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH}?`,
32
+ });
33
+ export const generateDataSpaceQuerySetupRoute = () => generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP), {});
34
+ export const generateDataSpaceQueryCreatorRoute = (groupId, artifactId, versionId, dataSpacePath, executionContextKey, runtimePath, classPath) => addQueryParamsStringToUrl(generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.CREATE), {
30
35
  [LEGEND_QUERY_PATH_PARAM_TOKEN.GAV]: generateGAVCoordinates(groupId, artifactId, versionId),
31
36
  [DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.DATA_SPACE_PATH]: dataSpacePath,
32
37
  [DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.EXECUTION_CONTEXT]: executionContextKey,
33
38
  [LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH]: runtimePath,
34
- })}${classPath
35
- ? `?${DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH}=${classPath}`
36
- : ''}`;
39
+ }), stringifyQueryParams({
40
+ [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]: classPath,
41
+ }));
37
42
  //# sourceMappingURL=DSL_DataSpace_LegendQueryRouter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_LegendQueryRouter.js","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,yCAGX;AAHD,WAAY,yCAAyC;IACnD,8EAAiC,CAAA;IACjC,mFAAsC,CAAA;AACxC,CAAC,EAHW,yCAAyC,GAAzC,yCAAyC,KAAzC,yCAAyC,QAGpD;AAED,MAAM,CAAN,IAAY,0CAEX;AAFD,WAAY,0CAA0C;IACpD,kEAAoB,CAAA;AACtB,CAAC,EAFW,0CAA0C,GAA1C,0CAA0C,KAA1C,0CAA0C,QAErD;AAaD,MAAM,CAAC,MAAM,0CAA0C,GAAG,2BAA2B,6BAA6B,CAAC,GAAG,KAAK,yCAAyC,CAAC,eAAe,KAAK,yCAAyC,CAAC,iBAAiB,KAAK,6BAA6B,CAAC,YAAY,GAAG,CAAC;AAEvS,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAChD,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,mBAA2B,EAC3B,WAAgC,EAChC,SAA8B,EACtB,EAAE,CACV,GAAG,YAAY,CACb,2BAA2B,CAAC,0CAA0C,CAAC,EACvE;IACE,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,sBAAsB,CACzD,OAAO,EACP,UAAU,EACV,SAAS,CACV;IACD,CAAC,yCAAyC,CAAC,eAAe,CAAC,EACzD,aAAa;IACf,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAC3D,mBAAmB;IACrB,CAAC,6BAA6B,CAAC,YAAY,CAAC,EAAE,WAAW;CAC1D,CACF,GACC,SAAS;IACP,CAAC,CAAC,IAAI,0CAA0C,CAAC,UAAU,IAAI,SAAS,EAAE;IAC1E,CAAC,CAAC,EACN,EAAE,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryRouter.js","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EACL,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,yCAGX;AAHD,WAAY,yCAAyC;IACnD,8EAAiC,CAAA;IACjC,mFAAsC,CAAA;AACxC,CAAC,EAHW,yCAAyC,GAAzC,yCAAyC,KAAzC,yCAAyC,QAGpD;AAED,MAAM,CAAN,IAAY,0CAEX;AAFD,WAAY,0CAA0C;IACpD,kEAAoB,CAAA;AACtB,CAAC,EAFW,0CAA0C,GAA1C,0CAA0C,KAA1C,0CAA0C,QAErD;AAaD,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC,MAAM,CAAC;IAC1D,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,eAAe,6BAA6B,CAAC,GAAG,KAAK,yCAAyC,CAAC,eAAe,KAAK,yCAAyC,CAAC,iBAAiB,KAAK,6BAA6B,CAAC,YAAY,GAAG;CACzO,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAW,EAAE,CAC3D,YAAY,CACV,2BAA2B,CAAC,8BAA8B,CAAC,KAAK,CAAC,EACjE,EAAE,CACH,CAAC;AAEJ,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAChD,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,mBAA2B,EAC3B,WAAgC,EAChC,SAA8B,EACtB,EAAE,CACV,yBAAyB,CACvB,YAAY,CACV,2BAA2B,CAAC,8BAA8B,CAAC,MAAM,CAAC,EAClE;IACE,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,sBAAsB,CACzD,OAAO,EACP,UAAU,EACV,SAAS,CACV;IACD,CAAC,yCAAyC,CAAC,eAAe,CAAC,EACzD,aAAa;IACf,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAC3D,mBAAmB;IACrB,CAAC,6BAA6B,CAAC,YAAY,CAAC,EAAE,WAAW;CAC1D,CACF,EACD,oBAAoB,CAAC;IACnB,CAAC,0CAA0C,CAAC,UAAU,CAAC,EAAE,SAAS;CACnE,CAAC,CACH,CAAC"}
@@ -13,19 +13,28 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { Class } from '@finos/legend-graph';
17
- import { type QuerySetupStore, QuerySetupState } from '@finos/legend-application-query';
16
+ import type { Class, GraphManagerState } from '@finos/legend-graph';
17
+ import { type DepotServerClient } from '@finos/legend-server-depot';
18
18
  import { type GeneratorFn, ActionState } from '@finos/legend-shared';
19
19
  import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
20
20
  import { type DataSpaceInfo } from './DataSpaceInfo.js';
21
- export declare class DataSpaceQuerySetupState extends QuerySetupState {
21
+ import { type GenericLegendApplicationStore } from '@finos/legend-application';
22
+ export declare class DataSpaceAdvancedSearchState {
23
+ readonly applicationStore: GenericLegendApplicationStore;
24
+ readonly graphManagerState: GraphManagerState;
25
+ readonly depotServerClient: DepotServerClient;
26
+ readonly viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
27
+ readonly viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>;
22
28
  dataSpaces: DataSpaceInfo[];
23
- loadDataSpacesState: ActionState;
24
- loadDataSpaceState: ActionState;
29
+ readonly loadDataSpacesState: ActionState;
30
+ readonly loadDataSpaceState: ActionState;
25
31
  currentDataSpace?: DataSpaceInfo | undefined;
26
32
  dataSpaceViewerState?: DataSpaceViewerState | undefined;
27
33
  toGetSnapShot: boolean;
28
- constructor(setupStore: QuerySetupStore);
34
+ constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, depotServerClient: DepotServerClient, actions: {
35
+ viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
36
+ viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>;
37
+ }, currentDataSpace?: DataSpaceInfo | undefined, toGetSnapshot?: boolean | undefined);
29
38
  setCurrentDataSpace(val: DataSpaceInfo | undefined): void;
30
39
  setDataSpaceViewerState(val: DataSpaceViewerState | undefined): void;
31
40
  setToGetSnapShot(val: boolean): void;
@@ -33,4 +42,4 @@ export declare class DataSpaceQuerySetupState extends QuerySetupState {
33
42
  loadDataSpace(dataSpace: DataSpaceInfo): GeneratorFn<void>;
34
43
  proceedToCreateQuery(_class?: Class): GeneratorFn<void>;
35
44
  }
36
- //# sourceMappingURL=DataSpaceQuerySetupState.d.ts.map
45
+ //# sourceMappingURL=DataSpaceAdvancedSearchState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceAdvancedSearchState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;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