@finos/legend-extension-dsl-data-space 10.4.1 → 10.4.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +3 -4
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilder.d.ts.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilder.js +6 -20
- package/lib/components/query-builder/DataSpaceQueryBuilder.js.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.js +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
- package/lib/graph-manager/index.d.ts +0 -1
- package/lib/graph-manager/index.d.ts.map +1 -1
- package/lib/graph-manager/index.js +0 -1
- package/lib/graph-manager/index.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +2 -6
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts +3 -15
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +48 -185
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts +11 -5
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js +30 -19
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js.map +1 -1
- package/package.json +8 -8
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +8 -6
- package/src/components/query-builder/DataSpaceQueryBuilder.tsx +9 -40
- package/src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +1 -1
- package/src/graph-manager/index.ts +0 -4
- package/src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +1 -19
- package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +79 -359
- package/src/stores/query-builder/DataSpaceQueryBuilderState.ts +40 -32
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type LegendApplicationSetup, type LegendApplicationPluginManager, type KeyedCommandConfigEntry
|
16
|
+
import { LegendApplicationPlugin, type LegendApplicationSetup, type LegendApplicationPluginManager, type KeyedCommandConfigEntry } from '@finos/legend-application';
|
17
17
|
import type { CuratedTemplateQuerySpecification, LoadQueryFilterOption, QueryBuilderState, QueryBuilder_LegendApplicationPlugin_Extension, TemplateQueryPanelContentRenderer } from '@finos/legend-query-builder';
|
18
18
|
export declare class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlugin implements QueryBuilder_LegendApplicationPlugin_Extension {
|
19
19
|
static NAME: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EAEnC,KAAK,uBAAuB,EAC7B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAEV,iCAAiC,EACjC,qBAAqB,EACrB,iBAAiB,EACjB,8CAA8C,EAC9C,iCAAiC,EAClC,MAAM,6BAA6B,CAAC;AAarC,qBAAa,qCACX,SAAQ,uBACR,YAAW,8CAA8C;IAEzD,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,yBAAyB,IAAI,sBAAsB,EAAE;IAQ9D,8BAA8B,IAAI,qBAAqB,EAAE;IAkDzD,2CAA2C,IAAI,CAC7C,iBAAiB,EAAE,iBAAiB,KACjC,MAAM,EAAE;IASb,yCAAyC,IAAI,iCAAiC,EAAE;IAahF,qCAAqC,IAAI,iCAAiC,EAAE;CA0D7E"}
|
@@ -13,11 +13,10 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import {
|
16
|
+
import { LegendApplicationPlugin, collectKeyedCommandConfigEntriesFromConfig, } from '@finos/legend-application';
|
17
17
|
import packageJson from '../../package.json' with { type: 'json' };
|
18
18
|
import { DataSpaceQueryBuilderState } from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
19
19
|
import { DSL_DATA_SPACE_LEGEND_APPLICATION_COMMAND_CONFIG } from '../__lib__/DSL_DataSpace_LegendApplicationCommand.js';
|
20
|
-
import {} from '@finos/legend-graph';
|
21
20
|
import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
|
22
21
|
import { DataSpaceExecutableTemplate } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
23
22
|
import { filterByType } from '@finos/legend-shared';
|
@@ -120,14 +119,14 @@ export class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlug
|
|
120
119
|
}
|
121
120
|
return [];
|
122
121
|
},
|
123
|
-
loadCuratedTemplateQuery:
|
122
|
+
loadCuratedTemplateQuery: (templateQuery, queryBuilderState) => {
|
124
123
|
if (queryBuilderState instanceof DataSpaceQueryBuilderState) {
|
125
124
|
if (queryBuilderState.executionContext.name !==
|
126
125
|
templateQuery.executionContextKey) {
|
127
126
|
const executionContext = queryBuilderState.dataSpace.executionContexts.find((c) => c.name === templateQuery.executionContextKey);
|
128
127
|
if (executionContext) {
|
129
128
|
queryBuilderState.setExecutionContext(executionContext);
|
130
|
-
|
129
|
+
queryBuilderState.propagateExecutionContextChange(executionContext);
|
131
130
|
queryBuilderState.initializeWithQuery(templateQuery.query);
|
132
131
|
queryBuilderState.onExecutionContextChange?.(executionContext);
|
133
132
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EAGvB,0CAA0C,GAE3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AASnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,EAAE,gDAAgD,EAAE,MAAM,sDAAsD,CAAC;AAExH,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,wFAAwF,CA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oBACH,CAAC;gBACH,CAAC;aACF;SACF,CAAC;IACJ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqBH,OAAO,EACL,KAAK,0BAA0B,EAGhC,MAAM,0DAA0D,CAAC;
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqBH,OAAO,EACL,KAAK,0BAA0B,EAGhC,MAAM,0DAA0D,CAAC;AAYlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAK1E,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,2FAA2F,CAAC;AAI3I,MAAM,MAAM,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,KAAK,CAAC,SAiBR,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,yBAAyB,CAAC;CAClC,CAAC;AACF,eAAO,MAAM,2BAA2B,UAC/B,yBAAyB,KAC/B,sBAGD,CAAC;AAwUH,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,KAAK,CAAC,SAIR,CAAC"}
|
@@ -34,14 +34,6 @@ export const buildDataSpaceOption = (value) => ({
|
|
34
34
|
export const formatDataSpaceOptionLabel = (option) => (_jsx("div", { className: "query-builder__setup__data-space__option", title: `${option.label} - ${option.value.path} - ${option.value.groupId && option.value.artifactId && option.value.versionId
|
35
35
|
? generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId)
|
36
36
|
: ''}`, children: _jsx("div", { className: "query-builder__setup__data-space__option__label", children: option.label }) }));
|
37
|
-
const resolveExecutionContextRuntimes = (queryBuilderState) => {
|
38
|
-
if (queryBuilderState.dataSpaceAnalysisResult) {
|
39
|
-
const executionContext = Array.from(queryBuilderState.dataSpaceAnalysisResult.executionContextsIndex.values()).find((e) => e.mapping.path ===
|
40
|
-
queryBuilderState.executionContext.mapping.value.path);
|
41
|
-
return guaranteeNonNullable(executionContext).compatibleRuntimes;
|
42
|
-
}
|
43
|
-
return getMappingCompatibleRuntimes(queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState.usableRuntimes);
|
44
|
-
};
|
45
37
|
export const buildExecutionContextOption = (value) => ({
|
46
38
|
label: value.name,
|
47
39
|
value,
|
@@ -86,9 +78,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
|
|
86
78
|
},
|
87
79
|
};
|
88
80
|
const onDataSpaceOptionChange = (option) => {
|
89
|
-
queryBuilderState
|
90
|
-
.onDataSpaceChange(option.value)
|
91
|
-
.catch(queryBuilderState.applicationStore.alertUnhandledError);
|
81
|
+
queryBuilderState.onDataSpaceChange(option.value);
|
92
82
|
};
|
93
83
|
const openDataSpaceAdvancedSearch = () => {
|
94
84
|
if (repo.isAdvancedDataSpaceSearchEnabled && depotRepo) {
|
@@ -101,20 +91,16 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
|
|
101
91
|
.sort(compareLabelFn);
|
102
92
|
const showExecutionContextOptions = executionContextOptions.length > 1;
|
103
93
|
const selectedExecutionContextOption = buildExecutionContextOption(queryBuilderState.executionContext);
|
104
|
-
const onExecutionContextOptionChange =
|
94
|
+
const onExecutionContextOptionChange = (option) => {
|
105
95
|
if (option.value === queryBuilderState.executionContext) {
|
106
96
|
return;
|
107
97
|
}
|
108
|
-
const currentMapping = queryBuilderState.executionContext.mapping.value.path;
|
109
98
|
queryBuilderState.setExecutionContext(option.value);
|
110
|
-
|
99
|
+
queryBuilderState.propagateExecutionContextChange(option.value);
|
111
100
|
queryBuilderState.onExecutionContextChange?.(option.value);
|
112
101
|
};
|
113
|
-
const handleExecutionContextOptionChange = (option) => {
|
114
|
-
flowResult(onExecutionContextOptionChange(option));
|
115
|
-
};
|
116
102
|
// runtime
|
117
|
-
const runtimeOptions =
|
103
|
+
const runtimeOptions = getMappingCompatibleRuntimes(queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState.usableRuntimes)
|
118
104
|
.map((rt) => new RuntimePointer(PackageableElementExplicitReference.create(rt)))
|
119
105
|
.map(buildRuntimeValueOption)
|
120
106
|
.sort(compareLabelFn);
|
@@ -136,7 +122,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
|
|
136
122
|
.value.path,
|
137
123
|
});
|
138
124
|
// class
|
139
|
-
const classes = resolveUsableDataSpaceClasses(queryBuilderState.dataSpace, queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState
|
125
|
+
const classes = resolveUsableDataSpaceClasses(queryBuilderState.dataSpace, queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState);
|
140
126
|
useEffect(() => {
|
141
127
|
flowResult(queryBuilderState.dataSpaceRepo.loadDataSpaces()).catch(applicationStore.alertUnhandledError);
|
142
128
|
}, [queryBuilderState, applicationStore]);
|
@@ -161,7 +147,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
|
|
161
147
|
}, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) })] }) }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "data space", htmlFor: "query-builder__setup__data-space-selector", children: "Data Space" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__data-space-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", options: dataSpaceOptions, isLoading: queryBuilderState.dataSpaceRepo.loadDataSpacesState.isInProgress, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space...", escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
162
148
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatDataSpaceOptionLabel }), depotRepo && (_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, {}) }), depotRepo.advancedSearchState && (_jsx(DataSpaceAdvancedSearchModal, { searchState: depotRepo.advancedSearchState, onClose: () => depotRepo.hideAdvancedSearchPanel() }))] }))] }), Boolean(showExecutionContextOptions) && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "execution context", htmlFor: "query-builder__setup__context-selector", children: "Context" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__context-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose an execution context...", options: executionContextOptions, disabled: executionContextOptions.length < 1 ||
|
163
149
|
(executionContextOptions.length === 1 &&
|
164
|
-
Boolean(selectedExecutionContextOption)), onChange:
|
150
|
+
Boolean(selectedExecutionContextOption)), onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: !applicationStore.layoutService
|
165
151
|
.TEMPORARY__isLightColorThemeEnabled })] })), queryBuilderState.showRuntimeSelector && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", htmlFor: "query-builder__setup__runtime-selector", children: "Runtime" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__runtime-selector", 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.layoutService
|
166
152
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
|
167
153
|
darkMode: !applicationStore.layoutService
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,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AC,wCAAwC,wBAG1C,EACR,KAAC,mBAAmB,IAClB,OAAO,EAAC,wCAAwC,EAChD,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,EACN,CAAC,gBAAgB,CAAC,aAAa;qCAC5B,mCAAmC,EAExC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,yBAAyB,CAAC;oCAC3C,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;yCAC5B,mCAAmC;iCACzC,CAAC,GACF,IACE,CACP,EACD,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,iBAAiB,CAAC,aAAa,EAC9C,cAAc,EAAC,4DAA4D,GAC3E,GACE,IACF,IACF,CACP,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"}
|
@@ -41,7 +41,7 @@ const DataSpaceTemplateQueryDialog = observer((props) => {
|
|
41
41
|
if (executionContext &&
|
42
42
|
executionContext.name !== queryBuilderState.executionContext.name) {
|
43
43
|
queryBuilderState.setExecutionContext(executionContext);
|
44
|
-
|
44
|
+
queryBuilderState.propagateExecutionContextChange(executionContext);
|
45
45
|
queryBuilderState.initializeWithQuery(query);
|
46
46
|
queryBuilderState.onExecutionContextChange?.(executionContext);
|
47
47
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.t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,CAAC,MAAM,CAClD,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,KAAK,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CACvD,CAAC,CAAC,CAAC,CAAC;YACP,IACE,gBAAgB;gBAChB,gBAAgB,CAAC,IAAI,KAAK,iBAAiB,CAAC,gBAAgB,CAAC,IAAI,EACjE,CAAC;gBACD,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;gBACxD,
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,6CAA6C,EAAE,MAAM,+DAA+D,CAAC;AAC9H,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlC,MAAM,4BAA4B,GAAG,QAAQ,CAC3C,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IACrE,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAS,EAAE;QAC7B,iBAAiB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,KA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B,CAAC,wBAAwB,CAAC;IACnE,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,iBAAiB,CAAC,SAAS,EAAE,CAAC,CAAC,KAAK,CAC7C,gBAAgB,CAAC,mBAAmB,CACrC,CAAC;IACJ,CAAC,EAAE,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAE9D,OAAO,CACL,4BACG,CAAC,eAAe,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAClD,KAAC,WAAW,IAAC,SAAS,EAAC,2CAA2C,YAChE,iBACE,SAAS,EAAC,gDAAgD,EAC1D,GAAG,EAAE,sBAAsB,EAC3B,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,IAAI,gCAGP,GACG,CACf,CAAC,CAAC,CAAC,CACF,MAAC,WAAW,IAAC,SAAS,EAAC,2CAA2C,aAChE,kBACE,SAAS,EAAC,gDAAgD,EAC1D,GAAG,EAAE,sBAAsB,EAC3B,OAAO,EAAE,mBAAmB,6BAEf,eAAe,CAAC,MAAM,UAC5B,EACR,iBAAiB,CAAC,yBAAyB,IAAI,CAC9C,KAAC,4BAA4B,IAC3B,cAAc,EAAE,sBAAsB,CAAC,OAAO,EAC9C,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,GAChC,CACH,IACW,CACf,GACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oDAAoD,GAAG,CAClE,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,uCAAuC,IACtC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
|
@@ -27,5 +27,4 @@ export * from './protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
27
27
|
export * from '../stores/shared/DataSpaceInfo.js';
|
28
28
|
export * from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
29
29
|
export { observe_DataSpace } from '../graph-manager/action/changeDetection/DSL_DataSpace_ObserverHelper.js';
|
30
|
-
export { V1_DataSpaceExecutionContext, V1_DataSpace, } from '../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
31
30
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,wFAAwF,CAAC;AACvG,cAAc,oGAAoG,CAAC;AACnH,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAEzG,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8DAA8D,CAAC;AAEtE,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,MAAM,4DAA4D,CAAC;AAEpH,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yEAAyE,CAAC
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,wFAAwF,CAAC;AACvG,cAAc,oGAAoG,CAAC;AACnH,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAEzG,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8DAA8D,CAAC;AAEtE,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,MAAM,4DAA4D,CAAC;AAEpH,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yEAAyE,CAAC"}
|
@@ -28,5 +28,4 @@ export * from './protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
28
28
|
export * from '../stores/shared/DataSpaceInfo.js';
|
29
29
|
export * from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
30
30
|
export { observe_DataSpace } from '../graph-manager/action/changeDetection/DSL_DataSpace_ObserverHelper.js';
|
31
|
-
export { V1_DataSpaceExecutionContext, V1_DataSpace, } from '../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
32
31
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,QAAQ;AACR,cAAc,wFAAwF,CAAC;AACvG,cAAc,oGAAoG,CAAC;AACnH,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAEzG,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8DAA8D,CAAC;AAEtE,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,MAAM,4DAA4D,CAAC;AAEpH,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yEAAyE,CAAC
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,QAAQ;AACR,cAAc,wFAAwF,CAAC;AACvG,cAAc,oGAAoG,CAAC;AACnH,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAEzG,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8DAA8D,CAAC;AAEtE,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,MAAM,4DAA4D,CAAC;AAEpH,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yEAAyE,CAAC"}
|
@@ -13,18 +13,14 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type AbstractPureGraphManager, type PureProtocolProcessorPlugin, AbstractPureGraphManagerExtension, type QueryInfo
|
17
|
-
import type { Entity
|
16
|
+
import { type AbstractPureGraphManager, type PureProtocolProcessorPlugin, AbstractPureGraphManagerExtension, type QueryInfo } from '@finos/legend-graph';
|
17
|
+
import type { Entity } from '@finos/legend-storage';
|
18
18
|
import { type ActionState, type PlainObject } from '@finos/legend-shared';
|
19
19
|
import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
|
20
20
|
import type { V1_DataSpaceAnalysisResult } from './v1/engine/analytics/V1_DataSpaceAnalysis.js';
|
21
21
|
export declare abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
22
22
|
abstract analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
|
23
23
|
abstract retrieveDataSpaceAnalysisFromCache(cacheRetriever: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult | undefined>;
|
24
|
-
abstract analyzeDataSpaceCoverage(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, entitiesWithClassifierRetriever: () => Promise<[
|
25
|
-
PlainObject<Entity>[],
|
26
|
-
PlainObject<Entity>[]
|
27
|
-
]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState, graphReport?: GraphManagerOperationReport | undefined, pureGraph?: PureModel | undefined, executionContext?: string | undefined, mappingPath?: string | undefined, projectInfo?: ProjectGAVCoordinates, templateQueryId?: string): Promise<DataSpaceAnalysisResult>;
|
28
24
|
abstract addNewExecutableToDataSpaceEntity(dataSpaceEntity: Entity, currentQuery: QueryInfo, executable: {
|
29
25
|
id: string;
|
30
26
|
title: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,iCAAiC,EACjC,KAAK,SAAS,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,iCAAiC,EACjC,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,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":"DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,iCAAiC,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,iCAAiC,GAElC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAI9B,MAAM,OAAgB,uCAAwC,SAAQ,iCAAiC;CA6BtG;AAED,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,YAAsC,EACG,EAAE,CAC3C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,uCAAuC,CAC/D,EACD,wDAAwD,CACzD,CAAC"}
|
@@ -13,8 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type QueryInfo, type AbstractPureGraphManager, type PureProtocolProcessorPlugin,
|
17
|
-
import type { Entity
|
16
|
+
import { type QueryInfo, type AbstractPureGraphManager, type PureProtocolProcessorPlugin, V1_PureGraphManager } from '@finos/legend-graph';
|
17
|
+
import type { Entity } from '@finos/legend-storage';
|
18
18
|
import { type PlainObject, ActionState } from '@finos/legend-shared';
|
19
19
|
import { V1_DataSpace } from '../../../../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
20
20
|
import { DataSpaceAnalysisResult } from '../../../action/analytics/DataSpaceAnalysis.js';
|
@@ -32,20 +32,8 @@ export declare class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_Data
|
|
32
32
|
description?: string;
|
33
33
|
}): Promise<Entity>;
|
34
34
|
analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
|
35
|
-
retrieveExecutionContextFromTemplateQueryId(dataSpaceAnalysisResult: PlainObject<V1_DataSpaceAnalysisResult>, templateQueryId: string, plugins: PureProtocolProcessorPlugin[]): string | undefined;
|
36
|
-
analyzeDataSpaceCoverage(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, entitiesWithClassifierRetriever: () => Promise<[
|
37
|
-
PlainObject<Entity>[],
|
38
|
-
PlainObject<Entity>[]
|
39
|
-
]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState, graphReport?: GraphManagerOperationReport | undefined, pureGraph?: PureModel | undefined, executionContext?: string | undefined, mappingPath?: string | undefined, projectInfo?: ProjectGAVCoordinates, templateQueryId?: string): Promise<DataSpaceAnalysisResult>;
|
40
35
|
retrieveDataSpaceAnalysisFromCache(cacheRetriever: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult | undefined>;
|
41
36
|
private fetchDataSpaceAnalysisFromCache;
|
42
|
-
|
43
|
-
PlainObject<Entity>[],
|
44
|
-
PlainObject<Entity>[]
|
45
|
-
]>, graph: PureModel, dataSpaceAnalysisResult: DataSpaceAnalysisResult, plugins: PureProtocolProcessorPlugin[]): Promise<void>;
|
46
|
-
buildDataSpaceAnalytics(analytics: PlainObject<V1_DataSpaceAnalysisResult>, plugins: PureProtocolProcessorPlugin[], graphReport?: GraphManagerOperationReport | undefined, pureGraph?: PureModel | undefined, executionContext?: string | undefined, mappingPath?: string | undefined, projectInfo?: ProjectGAVCoordinates, entitiesWithClassifierRetriever?: () => Promise<[
|
47
|
-
PlainObject<Entity>[],
|
48
|
-
PlainObject<Entity>[]
|
49
|
-
]>): Promise<DataSpaceAnalysisResult>;
|
37
|
+
buildDataSpaceAnalytics(json: PlainObject<V1_DataSpaceAnalysisResult>, plugins: PureProtocolProcessorPlugin[]): Promise<DataSpaceAnalysisResult>;
|
50
38
|
}
|
51
39
|
//# sourceMappingURL=V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map
|
package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAGhC,mBAAmB,EAgBpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EASZ,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EACL,YAAY,EAIb,MAAM,8GAA8G,CAAC;AACtH,OAAO,EACL,uBAAuB,EAoBxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,OAAO,EACL,KAAK,0BAA0B,EAUhC,MAAM,4CAA4C,CAAC;AAMpD,qBAAa,0CAA2C,SAAQ,uCAAuC;IA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