@finos/legend-extension-dsl-data-space-studio 0.1.89 → 0.1.91
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DataSpaceQueryAction.d.ts.map +1 -1
- package/lib/components/DataSpaceQueryAction.js +4 -4
- package/lib/components/DataSpaceQueryAction.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +3 -3
- package/package.json +14 -14
- package/src/components/DataSpaceQueryAction.tsx +8 -5
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryAction.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQueryAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAUzE,eAAO,MAAM,cAAc,cACd,SAAS,eACP,WAAW,KACvB,OAAO,CAAC,IAAI,
|
1
|
+
{"version":3,"file":"DataSpaceQueryAction.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQueryAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAUzE,eAAO,MAAM,cAAc,cACd,SAAS,eACP,WAAW,KACvB,OAAO,CAAC,IAAI,CAqDd,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAUjC,CAAC"}
|
@@ -25,17 +25,17 @@ import { QueryBuilderActionConfig, QueryBuilderAdvancedWorkflowState, } from '@f
|
|
25
25
|
export const queryDataSpace = async (dataSpace, editorStore) => {
|
26
26
|
const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
|
27
27
|
await flowResult(embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
|
28
|
-
setupQueryBuilderState:
|
28
|
+
setupQueryBuilderState: () => {
|
29
29
|
const sourceInfo = Object.assign({}, editorStore.editorMode.getSourceInfo(), {
|
30
30
|
dataSpace: dataSpace.path,
|
31
31
|
});
|
32
|
-
const queryBuilderState = new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, QueryBuilderAdvancedWorkflowState.INSTANCE, QueryBuilderActionConfig.INSTANCE, dataSpace, dataSpace.defaultExecutionContext,
|
32
|
+
const queryBuilderState = new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, QueryBuilderAdvancedWorkflowState.INSTANCE, QueryBuilderActionConfig.INSTANCE, dataSpace, dataSpace.defaultExecutionContext, undefined, (dataSpaceInfo) => {
|
33
33
|
queryBuilderState.dataSpace = guaranteeType(queryBuilderState.graphManagerState.graph.getElement(dataSpaceInfo.path), DataSpace);
|
34
34
|
queryBuilderState.setExecutionContext(queryBuilderState.dataSpace.defaultExecutionContext);
|
35
|
-
|
35
|
+
queryBuilderState.propagateExecutionContextChange(queryBuilderState.dataSpace.defaultExecutionContext);
|
36
36
|
}, undefined, undefined, undefined, undefined, editorStore.applicationStore.config.options.queryBuilderConfig, sourceInfo);
|
37
37
|
queryBuilderState.setExecutionContext(dataSpace.defaultExecutionContext);
|
38
|
-
|
38
|
+
queryBuilderState.propagateExecutionContextChange(dataSpace.defaultExecutionContext);
|
39
39
|
return queryBuilderState;
|
40
40
|
},
|
41
41
|
actionConfigs: [],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryAction.js","sourceRoot":"","sources":["../../src/components/DataSpaceQueryAction.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,cAAc,GACf,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EACL,0BAA0B,GAE3B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EACjC,SAAoB,EACpB,WAAwB,EACT,EAAE;IACjB,MAAM,yBAAyB,GAAG,WAAW,CAAC,yBAAyB,CAAC;IACxE,MAAM,UAAU,CACd,yBAAyB,CAAC,oCAAoC,CAAC;QAC7D,sBAAsB,EAAE,
|
1
|
+
{"version":3,"file":"DataSpaceQueryAction.js","sourceRoot":"","sources":["../../src/components/DataSpaceQueryAction.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,cAAc,GACf,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EACL,0BAA0B,GAE3B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EACjC,SAAoB,EACpB,WAAwB,EACT,EAAE;IACjB,MAAM,yBAAyB,GAAG,WAAW,CAAC,yBAAyB,CAAC;IACxE,MAAM,UAAU,CACd,yBAAyB,CAAC,oCAAoC,CAAC;QAC7D,sBAAsB,EAAE,GAAG,EAAE;YAC3B,MAAM,UAAU,GAAG,MAA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AAE,CAAC;IACrC,MAAM,UAAU,GAAG,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACjE,KAAK,IAAI,EAAE;QACT,MAAM,cAAc,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAC/C,CAAC,CACF,CAAC;IACF,OAAO,KAAC,eAAe,IAAC,OAAO,EAAE,UAAU,yBAA4B,CAAC;AAC1E,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space-studio",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.91",
|
4
4
|
"description": "Legend extension for Data Space DSL - Studio",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -61,11 +61,11 @@
|
|
61
61
|
"@finos/legend-dev-utils": "workspace:*",
|
62
62
|
"@jest/globals": "29.7.0",
|
63
63
|
"cross-env": "7.0.3",
|
64
|
-
"eslint": "9.
|
64
|
+
"eslint": "9.14.0",
|
65
65
|
"jest": "29.7.0",
|
66
66
|
"npm-run-all": "4.1.5",
|
67
67
|
"rimraf": "6.0.1",
|
68
|
-
"sass": "1.80.
|
68
|
+
"sass": "1.80.7",
|
69
69
|
"typescript": "5.6.3"
|
70
70
|
},
|
71
71
|
"peerDependencies": {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space-studio",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.91",
|
4
4
|
"description": "Legend extension for Data Space DSL - Studio",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,30 +42,30 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "16.0.
|
46
|
-
"@finos/legend-application-studio": "28.18.
|
47
|
-
"@finos/legend-art": "7.1.
|
48
|
-
"@finos/legend-code-editor": "2.0.
|
49
|
-
"@finos/legend-extension-dsl-data-space": "10.4.
|
50
|
-
"@finos/legend-graph": "31.10.
|
51
|
-
"@finos/legend-query-builder": "4.15.
|
52
|
-
"@finos/legend-server-depot": "6.0.
|
53
|
-
"@finos/legend-server-sdlc": "5.3.
|
54
|
-
"@finos/legend-shared": "10.0.
|
45
|
+
"@finos/legend-application": "16.0.9",
|
46
|
+
"@finos/legend-application-studio": "28.18.53",
|
47
|
+
"@finos/legend-art": "7.1.67",
|
48
|
+
"@finos/legend-code-editor": "2.0.14",
|
49
|
+
"@finos/legend-extension-dsl-data-space": "10.4.4",
|
50
|
+
"@finos/legend-graph": "31.10.48",
|
51
|
+
"@finos/legend-query-builder": "4.15.13",
|
52
|
+
"@finos/legend-server-depot": "6.0.67",
|
53
|
+
"@finos/legend-server-sdlc": "5.3.36",
|
54
|
+
"@finos/legend-shared": "10.0.60",
|
55
55
|
"@types/react": "18.3.12",
|
56
56
|
"mobx": "6.13.5",
|
57
57
|
"mobx-react-lite": "4.0.7",
|
58
58
|
"react": "18.3.1"
|
59
59
|
},
|
60
60
|
"devDependencies": {
|
61
|
-
"@finos/legend-dev-utils": "2.1.
|
61
|
+
"@finos/legend-dev-utils": "2.1.28",
|
62
62
|
"@jest/globals": "29.7.0",
|
63
63
|
"cross-env": "7.0.3",
|
64
|
-
"eslint": "9.
|
64
|
+
"eslint": "9.14.0",
|
65
65
|
"jest": "29.7.0",
|
66
66
|
"npm-run-all": "4.1.5",
|
67
67
|
"rimraf": "6.0.1",
|
68
|
-
"sass": "1.80.
|
68
|
+
"sass": "1.80.7",
|
69
69
|
"typescript": "5.6.3"
|
70
70
|
},
|
71
71
|
"peerDependencies": {
|
@@ -39,7 +39,7 @@ export const queryDataSpace = async (
|
|
39
39
|
const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
|
40
40
|
await flowResult(
|
41
41
|
embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
|
42
|
-
setupQueryBuilderState:
|
42
|
+
setupQueryBuilderState: () => {
|
43
43
|
const sourceInfo = Object.assign(
|
44
44
|
{},
|
45
45
|
editorStore.editorMode.getSourceInfo(),
|
@@ -54,9 +54,8 @@ export const queryDataSpace = async (
|
|
54
54
|
QueryBuilderActionConfig.INSTANCE,
|
55
55
|
dataSpace,
|
56
56
|
dataSpace.defaultExecutionContext,
|
57
|
-
false,
|
58
57
|
undefined,
|
59
|
-
|
58
|
+
(dataSpaceInfo: DataSpaceInfo) => {
|
60
59
|
queryBuilderState.dataSpace = guaranteeType(
|
61
60
|
queryBuilderState.graphManagerState.graph.getElement(
|
62
61
|
dataSpaceInfo.path,
|
@@ -66,7 +65,9 @@ export const queryDataSpace = async (
|
|
66
65
|
queryBuilderState.setExecutionContext(
|
67
66
|
queryBuilderState.dataSpace.defaultExecutionContext,
|
68
67
|
);
|
69
|
-
|
68
|
+
queryBuilderState.propagateExecutionContextChange(
|
69
|
+
queryBuilderState.dataSpace.defaultExecutionContext,
|
70
|
+
);
|
70
71
|
},
|
71
72
|
undefined,
|
72
73
|
undefined,
|
@@ -78,7 +79,9 @@ export const queryDataSpace = async (
|
|
78
79
|
queryBuilderState.setExecutionContext(
|
79
80
|
dataSpace.defaultExecutionContext,
|
80
81
|
);
|
81
|
-
|
82
|
+
queryBuilderState.propagateExecutionContextChange(
|
83
|
+
dataSpace.defaultExecutionContext,
|
84
|
+
);
|
82
85
|
return queryBuilderState;
|
83
86
|
},
|
84
87
|
actionConfigs: [],
|