@finos/legend-extension-dsl-data-space-studio 0.1.5 → 0.1.6
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 +2 -1
- package/lib/components/DataSpaceQueryAction.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +2 -1
- package/package.json +4 -3
- package/src/components/DataSpaceQueryAction.tsx +2 -0
@@ -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;
|
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;AAOzE,eAAO,MAAM,cAAc,cACd,SAAS,eACP,WAAW,KACvB,QAAQ,IAAI,CAsDd,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAUjC,CAAC"}
|
@@ -21,6 +21,7 @@ import { flowResult } from 'mobx';
|
|
21
21
|
import { guaranteeType } from '@finos/legend-shared';
|
22
22
|
import { DataSpace } from '@finos/legend-extension-dsl-data-space/graph';
|
23
23
|
import { DataSpaceQueryBuilderState, } from '@finos/legend-extension-dsl-data-space/application';
|
24
|
+
import { QueryBuilderAdvancedWorkflowState } from '@finos/legend-query-builder';
|
24
25
|
export const queryDataSpace = async (dataSpace, editorStore) => {
|
25
26
|
const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
|
26
27
|
await flowResult(embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
|
@@ -28,7 +29,7 @@ export const queryDataSpace = async (dataSpace, editorStore) => {
|
|
28
29
|
const sourceInfo = Object.assign({}, editorStore.editorMode.getSourceInfo(), {
|
29
30
|
dataSpace: dataSpace.path,
|
30
31
|
});
|
31
|
-
const queryBuilderState = new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, editorStore.depotServerClient, dataSpace, dataSpace.defaultExecutionContext, (dataSpaceInfo) => {
|
32
|
+
const queryBuilderState = new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, editorStore.depotServerClient, QueryBuilderAdvancedWorkflowState.INSTANCE, dataSpace, dataSpace.defaultExecutionContext, (dataSpaceInfo) => {
|
32
33
|
queryBuilderState.dataSpace = guaranteeType(queryBuilderState.graphManagerState.graph.getElement(dataSpaceInfo.path), DataSpace);
|
33
34
|
queryBuilderState.setExecutionContext(queryBuilderState.dataSpace.defaultExecutionContext);
|
34
35
|
queryBuilderState.propagateExecutionContextChange(queryBuilderState.dataSpace.defaultExecutionContext);
|
@@ -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;
|
1
|
+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,IAAI,CACnB,EACD,SAAS,CACV,CAAC;gBACF,iBAAiB,CAAC,mBAAmB,CACnC,iBAAiB,CAAC,SAAS,CAAC,uBAAuB,CACpD,CAAC;gBACF,iBAAiB,CAAC,+BAA+B,CAC/C,iBAAiB,CAAC,SAAS,CAAC,uBAAuB,CACpD,CAAC;YACJ,CAAC,EACD,KAAK,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,EAC9D,UAAU,CACX,CAAC;YACF,iBAAiB,CAAC,mBAAmB,CACnC,SAAS,CAAC,uBAAuB,CAClC,CAAC;YACF,iBAAiB,CAAC,+BAA+B,CAC/C,SAAS,CAAC,uBAAuB,CAClC,CAAC;YACF,OAAO,iBAAiB,CAAC;QAC3B,CAAC;QACD,aAAa,EAAE,EAAE;QACjB,cAAc,EAAE,IAAI;KACrB,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAC1C,CAAC,KAA+B,EAAE,EAAE;IAClC,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,WAAW,GAAG,cAAc,EAAE,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
@@ -1,4 +1,4 @@
|
|
1
|
-
/** @license @finos/legend-extension-dsl-data-space-studio v0.1.
|
1
|
+
/** @license @finos/legend-extension-dsl-data-space-studio v0.1.6
|
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
|
-
.
|
17
|
+
.template-query-promotor{height:100%;position:relative;background:var(--color-dark-grey-50)}.template-query-promotor__body{height:calc(100% - 2.2rem);width:100%}.template-query-promotor__title{font-size:3.6rem;font-family:"Roboto Condensed",sans-serif;font-weight:700;color:var(--color-light-grey-200);margin-bottom:1.8rem}.template-query-promotor__title__prompt{font-family:"Roboto Mono",monospace;font-size:1.4rem;padding-bottom:1rem;border-radius:.2rem 0 0 .2rem;color:var(--color-dark-grey-500)}.template-query-promotor__content{height:100%;width:calc(100% - 5rem)}.template-query-promotor__content__main{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:60vh;width:60vw}.template-query-promotor__actions{margin-top:.5rem;width:100%;display:flex;justify-content:flex-end}.template-query-promotor__group__header{display:flex;align-items:center;justify-content:center;height:1.8rem;width:13rem;padding:0 1rem;background:var(--color-dark-grey-400);color:var(--color-light-grey-0);font-weight:500;font-size:1.2rem;border-radius:.2rem .2rem 0 0}.template-query-promotor__group__content{padding:.5rem;border:.1rem solid var(--color-dark-grey-400);border-radius:0 .2rem .2rem}.template-query-promotor__group--workspace .template-query-promotor__group__header{background:var(--color-purple-400)}.template-query-promotor__group--workspace .template-query-promotor__group__content{border-color:var(--color-purple-400)}.template-query-promotor__group--template .template-query-promotor__group__header{background:var(--color-blue-200)}.template-query-promotor__group--template .template-query-promotor__group__content{border-color:var(--color-blue-200)}.template-query-promotor__group+.template-query-promotor__group{margin-top:1.5rem}.template-query-promotor__input{display:flex}.template-query-promotor__input__label{display:flex;align-items:center;width:11rem;background:var(--color-dark-grey-200);font-family:"Roboto Mono",monospace;font-size:1.4rem;padding:0 1rem;border-radius:.2rem 0 0 .2rem;color:var(--color-dark-grey-500)}.template-query-promotor__input__icon{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;background:var(--color-dark-grey-200);border-radius:.2rem 0 0 .2rem}.template-query-promotor__input__icon svg{color:var(--color-dark-grey-400)}.template-query-promotor__input__icon--query,.template-query-promotor__input__icon--project,.template-query-promotor__input__icon--workspace{font-size:1.8rem}.template-query-promotor__input__input{flex:1 0}.template-query-promotor__input+.template-query-promotor__input{margin-top:.5rem}.template-query-promotor__next-btn{padding:1rem}/*# sourceMappingURL=index.css.map */
|
package/lib/index.css.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../style/_data-space-
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../style/_data-space-template-query-promotor.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss"],"names":[],"mappings":"AAkBA,yBACE,YACA,kBACA,qCAEA,+BACE,2BACA,WAGF,gCACE,iBACA,0CACA,gBACA,kCACA,qBAEA,wCACE,oCACA,iBACA,oBACA,8BACA,iCAIJ,kCACE,YACA,wBAGF,wCChCA,kBACA,QACA,SACA,gCDgCE,YACA,WAGF,kCACE,iBACA,WACA,aACA,yBAIA,wCCxCF,aACA,mBACA,uBDyCI,cACA,YACA,eACA,sCACA,gCACA,gBACA,iBACA,8BAGF,yCACE,cACA,8CACA,4BAGF,mFACE,mCAGF,oFACE,qCAGF,kFACE,iCAGF,mFACE,mCAGF,gEACE,kBAIJ,gCACE,aAEA,uCC7EF,aACA,mBD+EI,YACA,sCACA,oCACA,iBACA,eACA,8BACA,iCAGF,sCC/FF,aACA,mBACA,uBDgGI,cACA,aACA,sCACA,8BAEA,0CACE,iCAIJ,6IAGE,iBAGF,uCACE,SAGF,gEACE,iBAIJ,mCACE","file":"index.css"}
|
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.6",
|
4
4
|
"description": "Legend extension for Data Space DSL - Studio",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -46,6 +46,7 @@
|
|
46
46
|
"@finos/legend-application-studio": "workspace:*",
|
47
47
|
"@finos/legend-art": "workspace:*",
|
48
48
|
"@finos/legend-extension-dsl-data-space": "workspace:*",
|
49
|
+
"@finos/legend-query-builder": "workspace:*",
|
49
50
|
"@finos/legend-server-depot": "workspace:*",
|
50
51
|
"@finos/legend-server-sdlc": "workspace:*",
|
51
52
|
"@finos/legend-shared": "workspace:*",
|
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.6",
|
4
4
|
"description": "Legend extension for Data Space DSL - Studio",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -43,9 +43,10 @@
|
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
45
|
"@finos/legend-application": "15.0.75",
|
46
|
-
"@finos/legend-application-studio": "28.16.
|
46
|
+
"@finos/legend-application-studio": "28.16.18",
|
47
47
|
"@finos/legend-art": "7.1.27",
|
48
|
-
"@finos/legend-extension-dsl-data-space": "10.3.
|
48
|
+
"@finos/legend-extension-dsl-data-space": "10.3.6",
|
49
|
+
"@finos/legend-query-builder": "4.14.30",
|
49
50
|
"@finos/legend-server-depot": "6.0.39",
|
50
51
|
"@finos/legend-server-sdlc": "5.3.10",
|
51
52
|
"@finos/legend-shared": "10.0.34",
|
@@ -27,6 +27,7 @@ import {
|
|
27
27
|
DataSpaceQueryBuilderState,
|
28
28
|
type DataSpaceInfo,
|
29
29
|
} from '@finos/legend-extension-dsl-data-space/application';
|
30
|
+
import { QueryBuilderAdvancedWorkflowState } from '@finos/legend-query-builder';
|
30
31
|
|
31
32
|
export const queryDataSpace = async (
|
32
33
|
dataSpace: DataSpace,
|
@@ -47,6 +48,7 @@ export const queryDataSpace = async (
|
|
47
48
|
editorStore.applicationStore,
|
48
49
|
editorStore.graphManagerState,
|
49
50
|
editorStore.depotServerClient,
|
51
|
+
QueryBuilderAdvancedWorkflowState.INSTANCE,
|
50
52
|
dataSpace,
|
51
53
|
dataSpace.defaultExecutionContext,
|
52
54
|
(dataSpaceInfo: DataSpaceInfo) => {
|