@finos/legend-extension-dsl-data-space 10.0.7 → 10.0.9
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.
- package/lib/components/DataSpaceDataAccess.d.ts +0 -1
- package/lib/components/DataSpaceDataAccess.d.ts.map +1 -1
- package/lib/components/DataSpaceDescription.d.ts +0 -1
- package/lib/components/DataSpaceDescription.d.ts.map +1 -1
- package/lib/components/DataSpaceDiagramViewer.d.ts +0 -1
- package/lib/components/DataSpaceDiagramViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceExecutionContextViewer.d.ts +0 -1
- package/lib/components/DataSpaceExecutionContextViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceInfoPanel.d.ts +0 -1
- package/lib/components/DataSpaceInfoPanel.d.ts.map +1 -1
- package/lib/components/DataSpaceModelsDocumentation.d.ts +0 -1
- package/lib/components/DataSpaceModelsDocumentation.d.ts.map +1 -1
- package/lib/components/DataSpaceQuickStart.d.ts +0 -1
- package/lib/components/DataSpaceQuickStart.d.ts.map +1 -1
- package/lib/components/DataSpaceSupportPanel.d.ts +0 -1
- package/lib/components/DataSpaceSupportPanel.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts +0 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewerActivityBar.d.ts +0 -1
- package/lib/components/DataSpaceViewerActivityBar.d.ts.map +1 -1
- package/lib/components/DataSpaceWiki.d.ts +0 -1
- package/lib/components/DataSpaceWiki.d.ts.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +2 -2
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceAdvancedSearchModal.d.ts +0 -1
- package/lib/components/query/DataSpaceAdvancedSearchModal.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryCreator.d.ts +0 -1
- package/lib/components/query/DataSpaceQueryCreator.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts +0 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/studio/DataSpacePreviewAction.d.ts +0 -1
- package/lib/components/studio/DataSpacePreviewAction.d.ts.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts +5 -3
- package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.js +4 -2
- package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.d.ts +4 -2
- package/lib/stores/query/DataSpaceQuerySetupStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -1
- package/package.json +13 -13
- package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +2 -2
- package/src/stores/query/DataSpaceQueryCreatorStore.ts +11 -5
- package/src/stores/query/DataSpaceQuerySetupStore.ts +5 -2
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceDataAccess: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceDataAccess.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDataAccess.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceDataAccess.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDataAccess.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AA+G3C,eAAO,MAAM,mBAAmB,WACtB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiEvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceDescription: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceDescription.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceDescription.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDescription.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AAM3C,eAAO,MAAM,oBAAoB,WACvB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiDvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceDiagramViewer: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceDiagramViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceDiagramViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceDiagramViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EAGL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAuD3C,eAAO,MAAM,sBAAsB,WACzB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiJvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceExecutionContextViewer: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceExecutionContextViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceExecutionContextViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceExecutionContextViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceExecutionContextViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAwB9E,eAAO,MAAM,+BAA+B,WAClC;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAqHvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceInfoPanel: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceInfoPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceInfoPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceInfoPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceInfoPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAI9E,eAAO,MAAM,kBAAkB,WACrB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAiJvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceModelsDocumentation: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceModelsDocumentation.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceModelsDocumentation.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceModelsDocumentation.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceModelsDocumentation.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6BH,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AA29B3C,eAAO,MAAM,4BAA4B,WAC/B;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAoFvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceQuickStart: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuickStart.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQuickStart.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceQuickStart.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQuickStart.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,EAGL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AA6V3C,eAAO,MAAM,mBAAmB,WACtB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAuEvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceSupportPanel: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceSupportPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceSupportPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceSupportPanel.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceSupportPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAiD9E,eAAO,MAAM,qBAAqB,WACxB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAUvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceViewer: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,mCAAmC,CAAC;AAkE3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA8HvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceViewerActivityBar: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewerActivityBar.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewerActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerActivityBar.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewerActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuBH,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,mCAAmC,CAAC;AA6C3C,eAAO,MAAM,0BAA0B,WAC7B;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CA2IvD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
|
18
17
|
export declare const DataSpaceWiki: ((props: {
|
|
19
18
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceWiki.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceWiki.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceWiki.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceWiki.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAS9E,eAAO,MAAM,aAAa,WAChB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAuCvD,CAAC"}
|
|
@@ -80,7 +80,7 @@ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryAppli
|
|
|
80
80
|
}
|
|
81
81
|
return new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, editorStore.depotServerClient, dataSpace, matchingExecutionContext, query.groupId, query.artifactId, query.versionId, createViewProjectHandler(editorStore.applicationStore), createViewSDLCProjectHandler(editorStore.applicationStore, editorStore.depotServerClient), (dataSpaceInfo) => {
|
|
82
82
|
if (dataSpaceInfo.defaultExecutionContext) {
|
|
83
|
-
const
|
|
83
|
+
const createQuery = async () => {
|
|
84
84
|
// prepare the new query to save
|
|
85
85
|
const _query = new Query();
|
|
86
86
|
_query.name = query.name;
|
|
@@ -128,7 +128,7 @@ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryAppli
|
|
|
128
128
|
: 'Create new query',
|
|
129
129
|
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
130
130
|
handler: () => {
|
|
131
|
-
|
|
131
|
+
createQuery().catch(editorStore.applicationStore.alertUnhandledError);
|
|
132
132
|
},
|
|
133
133
|
},
|
|
134
134
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAIL,4BAA4B,EAC5B,gCAAgC,EAChC,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,qBAAqB,EACrB,eAAe,GAEhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,kBAAkB,EAClB,4BAA4B,G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E;gBACjC,MAAM,oBAAoB,GAAG,KAAK,CAAC,YAAY,EAAE,IAAI,CACnD,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,OAAO,KAAK,kBAAkB;oBAC1C,WAAW,CAAC,GAAG,KAAK,4BAA4B;oBAChD,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CACrC,CAAC;gBAEF,IAAI,oBAAoB,EAAE;oBACxB,MAAM,aAAa,GAAG,oBAAoB,CAAC,KAAK,CAAC;oBACjD,MAAM,SAAS,GAAG,eAAe,CAC/B,aAAa,EACb,WAAW,CAAC,iBAAiB,CAAC,KAAK,CACpC,CAAC;oBACF,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;oBACpC,MAAM,wBAAwB,GAAG,SAAS,CAAC,iBAAiB,CAAC,IAAI,CAC/D,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,KAAK,OAAO,CACrC,CAAC;oBACF,IAAI,CAAC,wBAAwB,EAAE;wBAC7B,2EAA2E;wBAC3E,6EAA6E;wBAC7E,OAAO,SAAS,CAAC;qBAClB;oBACD,OAAO,IAAI,0BAA0B,CACnC,WAAW,CAAC,gBAAgB,EAC5B,WAAW,CAAC,iBAAiB,EAC7B,WAAW,CAAC,iBAAiB,EAC7B,SAAS,EACT,wBAAwB,EACxB,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,SAAS,EACf,wBAAwB,CAAC,WAAW,CAAC,gBAAgB,CAAC,EACtD,4BAA4B,CAC1B,WAAW,CAAC,gBAAgB,EAC5B,WAAW,CAAC,iBAAiB,CAC9B,EACD,CAAC,aAA4B,EAAE,EAAE;wBAC/B,IAAI,aAAa,CAAC,uBAAuB,EAAE;4BACzC,MAAM,
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPl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N,CAAC;oCACF,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAC1D,KAAK,CACN,CAAC;iCACH;4BACH,CAAC,CAAC;4BAEF,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,kBAAkB,CAAC;gCAC3D,OAAO,EAAE,oEACP,KAAK,CAAC,kBAAkB;oCACtB,CAAC,CAAC,kBAAkB;oCACpB,CAAC,CAAC,oBACN,aAAa;gCACb,IAAI,EAAE,eAAe,CAAC,OAAO;gCAC7B,OAAO,EAAE;oCACP;wCACE,KAAK,EAAE,KAAK,CAAC,kBAAkB;4CAC7B,CAAC,CAAC,cAAc;4CAChB,CAAC,CAAC,kBAAkB;wCACtB,IAAI,EAAE,qBAAqB,CAAC,oBAAoB;wCAChD,OAAO,EAAE,GAAG,EAAE;4CACZ,WAAW,EAAE,CAAC,KAAK,CACjB,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACjD,CAAC;wCACJ,CAAC;qCACF;oCACD;wCACE,KAAK,EAAE,OAAO;wCACd,IAAI,EAAE,qBAAqB,CAAC,OAAO;wCACnC,OAAO,EAAE,IAAI;qCACd;iCACF;6BACF,CAAC,CAAC;yBACJ;6BAAM;4BACL,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CAC5D,kEAAkE,CACnE,CAAC;yBACH;oBACH,CAAC,CACF,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { DataSpaceAdvancedSearchState } from '../../stores/query/DataSpaceAdvancedSearchState.js';
|
|
18
17
|
export declare const DataSpaceAdvancedSearchModal: ((props: {
|
|
19
18
|
searchState: DataSpaceAdvancedSearchState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2BH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAQvG,eAAO,MAAM,4BAA4B,WAC/B;IACN,WAAW,EAAE,4BAA4B,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;;CAyMF,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
export declare const DataSpaceQueryCreator: (() => JSX.Element) & {
|
|
18
17
|
displayName: string;
|
|
19
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0DH,eAAO,MAAM,qBAAqB;;CA0BhC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupStore.js';
|
|
18
17
|
export declare const DataSpaceQuerySetup: (() => JSX.Element) & {
|
|
19
18
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoBH,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,gDAAgD,CAAC;AA2BxD,eAAO,MAAM,mBAAmB;;CAI9B,CAAC;AAkHH,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { DataSpace } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
|
18
17
|
export declare const DataSpacePreviewAction: ((props: {
|
|
19
18
|
dataSpace: DataSpace;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpacePreviewAction.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DataSpacePreviewAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DataSpacePreviewAction.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DataSpacePreviewAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2FAA2F,CAAC;AAI3H,eAAO,MAAM,sBAAsB,WACzB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAiBjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAsEjC,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",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.9",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@finos/legend-server-depot": "workspace:*",
|
|
56
56
|
"@finos/legend-shared": "workspace:*",
|
|
57
57
|
"@finos/legend-storage": "workspace:*",
|
|
58
|
-
"@types/react": "18.0
|
|
58
|
+
"@types/react": "18.2.0",
|
|
59
59
|
"mobx": "6.9.0",
|
|
60
60
|
"mobx-react-lite": "3.4.3",
|
|
61
61
|
"react": "18.2.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"jest": "29.5.0",
|
|
71
71
|
"npm-run-all": "4.1.5",
|
|
72
72
|
"rimraf": "5.0.0",
|
|
73
|
-
"sass": "1.62.
|
|
73
|
+
"sass": "1.62.1",
|
|
74
74
|
"typescript": "5.0.4"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
@@ -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 { QueryTaggedValue } from '@finos/legend-graph';
|
|
17
|
-
import { QueryEditorStore, type
|
|
16
|
+
import { QueryTaggedValue, type RawLambda } from '@finos/legend-graph';
|
|
17
|
+
import { QueryEditorStore, type QueryPersistConfiguration, type LegendQueryApplicationStore } from '@finos/legend-application-query';
|
|
18
18
|
import type { DepotServerClient } from '@finos/legend-server-depot';
|
|
19
19
|
import type { QueryBuilderState } from '@finos/legend-query-builder';
|
|
20
20
|
import type { ProjectGAVCoordinates } from '@finos/legend-storage';
|
|
@@ -31,6 +31,8 @@ export declare class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
|
31
31
|
constructor(applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient, groupId: string, artifactId: string, versionId: string, dataSpacePath: string, executionContext: string, runtimePath: string | undefined, executionKey: string | undefined);
|
|
32
32
|
getProjectInfo(): ProjectGAVCoordinates;
|
|
33
33
|
initializeQueryBuilderState(): Promise<QueryBuilderState>;
|
|
34
|
-
getExportConfiguration(
|
|
34
|
+
getExportConfiguration(lambda: RawLambda, options?: {
|
|
35
|
+
update?: boolean | undefined;
|
|
36
|
+
}): Promise<QueryPersistConfiguration>;
|
|
35
37
|
}
|
|
36
38
|
//# sourceMappingURL=DataSpaceQueryCreatorStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,EAKhB,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAGjC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAgBpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,eAAO,MAAM,+BAA+B,kBAC3B,MAAM,KACpB,gBAMF,CAAC;AAEF,eAAO,MAAM,2BAA2B,cAC3B,MAAM,KAChB,gBAMF,CAAC;AAEF,qBAAa,0BAA2B,SAAQ,gBAAgB;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG5B,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS;IAalC,cAAc,IAAI,qBAAqB;IAQjC,2BAA2B,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAgIzD,sBAAsB,CAC1B,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE,GACzC,OAAO,CAAC,yBAAyB,CAAC;CAqBtC"}
|
|
@@ -102,9 +102,11 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
|
102
102
|
}
|
|
103
103
|
return queryBuilderState;
|
|
104
104
|
}
|
|
105
|
-
async getExportConfiguration() {
|
|
105
|
+
async getExportConfiguration(lambda, options) {
|
|
106
106
|
return {
|
|
107
|
-
defaultName:
|
|
107
|
+
defaultName: options?.update
|
|
108
|
+
? `${extractElementNameFromPath(this.dataSpacePath)}`
|
|
109
|
+
: `New Query for ${extractElementNameFromPath(this.dataSpacePath)}[${this.executionContext}]`,
|
|
108
110
|
decorator: (query) => {
|
|
109
111
|
query.id = uuid();
|
|
110
112
|
query.groupId = this.groupId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,mCAAmC,
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,mCAAmC,GAIpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAGhB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yDAAyD,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,OAAO,EAAE,kCAAkC,EAAE,MAAM,4DAA4D,CAAC;AAKhH,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAC7C,aAAqB,EACH,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;IAC3C,WAAW,CAAC,OAAO,GAAG,kBAAkB,CAAC;IACzC,WAAW,CAAC,GAAG,GAAG,4BAA4B,CAAC;IAC/C,WAAW,CAAC,KAAK,GAAG,aAAa,CAAC;IAClC,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,SAAiB,EACC,EAAE;IACpB,MAAM,WAAW,GAAG,IAAI,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,CAAC;gBACnC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;gBACjC,KAAK,CAAC,YAAY,GAAG;oBACnB,+BAA+B,CAAC,IAAI,CAAC,aAAa,CAAC;oBACnD,2BAA2B,CACzB,oBAAoB,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,EAAE,IAAI,CAAC,CAC1D;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -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 { QueryEditorStore, type
|
|
16
|
+
import { QueryEditorStore, type QueryPersistConfiguration } from '@finos/legend-application-query';
|
|
17
17
|
import { type DepotServerClient } from '@finos/legend-server-depot';
|
|
18
18
|
import type { GraphManagerState, RawLambda } from '@finos/legend-graph';
|
|
19
19
|
import { type GenericLegendApplicationStore } from '@finos/legend-application';
|
|
@@ -43,7 +43,9 @@ export declare class DataSpaceQuerySetupStore extends QueryEditorStore {
|
|
|
43
43
|
get isViewProjectActionDisabled(): boolean;
|
|
44
44
|
get isSaveActionDisabled(): boolean;
|
|
45
45
|
getProjectInfo(): ProjectGAVCoordinates;
|
|
46
|
-
getExportConfiguration(lambda: RawLambda
|
|
46
|
+
getExportConfiguration(lambda: RawLambda, options?: {
|
|
47
|
+
update?: boolean | undefined;
|
|
48
|
+
}): Promise<QueryPersistConfiguration>;
|
|
47
49
|
initializeQueryBuilderState(): Promise<QueryBuilderState>;
|
|
48
50
|
buildGraph(): GeneratorFn<void>;
|
|
49
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,EAChB,KAAK,
|
|
1
|
+
{"version":3,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UnsupportedOperationError();
|
|
93
93
|
}
|
|
94
|
-
getExportConfiguration(lambda) {
|
|
94
|
+
getExportConfiguration(lambda, options) {
|
|
95
95
|
throw new UnsupportedOperationError();
|
|
96
96
|
}
|
|
97
97
|
async initializeQueryBuilderState() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GAEjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,UAAU,GAGX,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAE/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAE1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAsB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,kCAAkC,EAAE,MAAM,gFAAgF,CAAC;AACpI,OAAO,EAAE,kCAAkC,EAAE,MAAM,4DAA4D,CAAC;AAChH,OAAO,EAAE,0CAA0C,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IACpD,iBAAiB,CAAoB;IACrC,mBAAmB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC3C,iBAAiB,CAA+B;IAChD,WAAW,CAKV;IACD,eAAe,CAIL;IAEV,oCAAoC,GAAG,GAAoB,EAAE,CACpE,0CAA0C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AC,UAAU,GACb,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,2BAA2B,CACvD,kCAAkC,EAClC;gBACE,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS;gBACpD,KAAK,EAAE,UAAU,CAAC,QAAQ;gBAC1B,KAAK,EAAE,8BAA8B;aACtC,CACF,CACF,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,oBAAoB,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC;YACnE,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC;SACjC;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC;YAChC,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC9D;IACH,CAAC;CACF;AAED,MAAM,OAAO,wBAAyB,SAAQ,gBAAgB;IAC5D,IAAa,2BAA2B;QACtC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAa,oBAAoB;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,cAAc;QACZ,MAAM,IAAI,yBAAyB,EAAE,CAAC;IACxC,CAAC;IAED,sBAAsB,
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GAEjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,UAAU,GAGX,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAE/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU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.
|
|
3
|
+
"version": "10.0.9",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"test:watch": "jest --watch"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@finos/legend-application": "15.0.
|
|
48
|
-
"@finos/legend-application-query": "12.0.
|
|
49
|
-
"@finos/legend-application-studio": "24.1.
|
|
50
|
-
"@finos/legend-art": "7.0.
|
|
51
|
-
"@finos/legend-extension-dsl-diagram": "8.0.
|
|
52
|
-
"@finos/legend-graph": "28.1.
|
|
53
|
-
"@finos/legend-lego": "0.1.
|
|
54
|
-
"@finos/legend-query-builder": "3.0.
|
|
55
|
-
"@finos/legend-server-depot": "6.0.
|
|
47
|
+
"@finos/legend-application": "15.0.5",
|
|
48
|
+
"@finos/legend-application-query": "12.0.8",
|
|
49
|
+
"@finos/legend-application-studio": "24.1.3",
|
|
50
|
+
"@finos/legend-art": "7.0.6",
|
|
51
|
+
"@finos/legend-extension-dsl-diagram": "8.0.9",
|
|
52
|
+
"@finos/legend-graph": "28.1.2",
|
|
53
|
+
"@finos/legend-lego": "0.1.11",
|
|
54
|
+
"@finos/legend-query-builder": "3.0.8",
|
|
55
|
+
"@finos/legend-server-depot": "6.0.3",
|
|
56
56
|
"@finos/legend-shared": "10.0.2",
|
|
57
57
|
"@finos/legend-storage": "3.0.52",
|
|
58
|
-
"@types/react": "18.0
|
|
58
|
+
"@types/react": "18.2.0",
|
|
59
59
|
"mobx": "6.9.0",
|
|
60
60
|
"mobx-react-lite": "3.4.3",
|
|
61
61
|
"react": "18.2.0",
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
"serializr": "3.0.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@finos/legend-dev-utils": "2.0.
|
|
66
|
+
"@finos/legend-dev-utils": "2.0.57",
|
|
67
67
|
"@jest/globals": "29.5.0",
|
|
68
68
|
"cross-env": "7.0.3",
|
|
69
69
|
"eslint": "8.39.0",
|
|
70
70
|
"jest": "29.5.0",
|
|
71
71
|
"npm-run-all": "4.1.5",
|
|
72
72
|
"rimraf": "5.0.0",
|
|
73
|
-
"sass": "1.62.
|
|
73
|
+
"sass": "1.62.1",
|
|
74
74
|
"typescript": "5.0.4"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
@@ -136,7 +136,7 @@ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryAppli
|
|
|
136
136
|
),
|
|
137
137
|
(dataSpaceInfo: DataSpaceInfo) => {
|
|
138
138
|
if (dataSpaceInfo.defaultExecutionContext) {
|
|
139
|
-
const
|
|
139
|
+
const createQuery = async (): Promise<void> => {
|
|
140
140
|
// prepare the new query to save
|
|
141
141
|
const _query = new Query();
|
|
142
142
|
_query.name = query.name;
|
|
@@ -211,7 +211,7 @@ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryAppli
|
|
|
211
211
|
: 'Create new query',
|
|
212
212
|
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
213
213
|
handler: () => {
|
|
214
|
-
|
|
214
|
+
createQuery().catch(
|
|
215
215
|
editorStore.applicationStore.alertUnhandledError,
|
|
216
216
|
);
|
|
217
217
|
},
|
|
@@ -22,10 +22,11 @@ import {
|
|
|
22
22
|
PackageableElementExplicitReference,
|
|
23
23
|
type Runtime,
|
|
24
24
|
type Class,
|
|
25
|
+
type RawLambda,
|
|
25
26
|
} from '@finos/legend-graph';
|
|
26
27
|
import {
|
|
27
28
|
QueryEditorStore,
|
|
28
|
-
type
|
|
29
|
+
type QueryPersistConfiguration,
|
|
29
30
|
type LegendQueryApplicationStore,
|
|
30
31
|
createViewProjectHandler,
|
|
31
32
|
createViewSDLCProjectHandler,
|
|
@@ -236,11 +237,16 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
|
236
237
|
return queryBuilderState;
|
|
237
238
|
}
|
|
238
239
|
|
|
239
|
-
async getExportConfiguration(
|
|
240
|
+
async getExportConfiguration(
|
|
241
|
+
lambda: RawLambda,
|
|
242
|
+
options?: { update?: boolean | undefined },
|
|
243
|
+
): Promise<QueryPersistConfiguration> {
|
|
240
244
|
return {
|
|
241
|
-
defaultName:
|
|
242
|
-
this.dataSpacePath
|
|
243
|
-
|
|
245
|
+
defaultName: options?.update
|
|
246
|
+
? `${extractElementNameFromPath(this.dataSpacePath)}`
|
|
247
|
+
: `New Query for ${extractElementNameFromPath(this.dataSpacePath)}[${
|
|
248
|
+
this.executionContext
|
|
249
|
+
}]`,
|
|
244
250
|
decorator: (query: Query): void => {
|
|
245
251
|
query.id = uuid();
|
|
246
252
|
query.groupId = this.groupId;
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
createViewProjectHandler,
|
|
19
19
|
createViewSDLCProjectHandler,
|
|
20
20
|
QueryEditorStore,
|
|
21
|
-
type
|
|
21
|
+
type QueryPersistConfiguration,
|
|
22
22
|
} from '@finos/legend-application-query';
|
|
23
23
|
import {
|
|
24
24
|
DepotScope,
|
|
@@ -163,7 +163,10 @@ export class DataSpaceQuerySetupStore extends QueryEditorStore {
|
|
|
163
163
|
throw new UnsupportedOperationError();
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
getExportConfiguration(
|
|
166
|
+
getExportConfiguration(
|
|
167
|
+
lambda: RawLambda,
|
|
168
|
+
options?: { update?: boolean | undefined },
|
|
169
|
+
): Promise<QueryPersistConfiguration> {
|
|
167
170
|
throw new UnsupportedOperationError();
|
|
168
171
|
}
|
|
169
172
|
|