@finos/legend-application-query 13.7.57 → 13.7.59

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,6BAA6B,EAClC,4BAA4B,EAE7B,MAAM,2CAA2C,CAAC;AAmCnD,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAG5B,MAAM,2BAA2B,CAAC;AAanC,OAAO,EAEL,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACxC,KAAK,iDAAiD,EAEtD,KAAK,6BAA6B,EACnC,MAAM,6BAA6B,CAAC;AAuDrC,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAqB5D,eAAO,MAAM,kBAAkB;;CA6C7B,CAAC;AAEH,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,yBAAyB,IAAI,sBAAsB,EAAE;IASrD,8BAA8B,IAAI,oBAAoB,EAAE;IA+BxD,sCAAsC,IAAI,6BAA6B,EAAE;IAyGlF,gCAAgC,IAAI,6BAA6B,EAAE;IAWnE,kDAAkD,CAAC,IAAI,mCAAmC,EAAE;IAuF5F,gDAAgD,CAAC,IAAI,mCAAmC,EAAE;IAiI1F,8CAA8C,CAAC,IAAI,qCAAqC,EAAE;IA0N1F,6CAA6C,CAAC,IAAI,qCAAqC;IAoDvF,yDAAyD,CAAC,IAAI,iDAAiD,EAAE;CAiPlH"}
1
+ {"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,6BAA6B,EAClC,4BAA4B,EAE7B,MAAM,2CAA2C,CAAC;AAmCnD,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAG5B,MAAM,2BAA2B,CAAC;AAanC,OAAO,EAEL,KAAK,qCAAqC,EAC1C,KAAK,mCAAmC,EACxC,KAAK,iDAAiD,EAEtD,KAAK,6BAA6B,EACnC,MAAM,6BAA6B,CAAC;AAwDrC,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAwC5D,eAAO,MAAM,kBAAkB;;CAkC7B,CAAC;AAEH,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,yBAAyB,IAAI,sBAAsB,EAAE;IASrD,8BAA8B,IAAI,oBAAoB,EAAE;IA+BxD,sCAAsC,IAAI,6BAA6B,EAAE;IAyGlF,gCAAgC,IAAI,6BAA6B,EAAE;IAWnE,kDAAkD,CAAC,IAAI,mCAAmC,EAAE;IA0H5F,gDAAgD,CAAC,IAAI,mCAAmC,EAAE;IAiI1F,8CAA8C,CAAC,IAAI,qCAAqC,EAAE;IA0N1F,6CAA6C,CAAC,IAAI,qCAAqC;IAoDvF,yDAAyD,CAAC,IAAI,iDAAiD,EAAE;CAiPlH"}
@@ -48,23 +48,27 @@ export const QUERY_DATACUBE_USAGE_TITLE = 'Legend DataCube';
48
48
  const QUERY_DATACUBE_SOURCE_TYPE = 'legendQuery';
49
49
  const CopyButton = ({ onClick }) => (_jsxs("button", { className: "query-usage-viewer__code-action__action", tabIndex: -1, title: "Copy", onClick: onClick, children: [_jsx(CopyIcon, {}), "Copy"] }));
50
50
  const MoreButton = () => (_jsx("button", { className: "query-usage-viewer__code-action__action", tabIndex: -1, children: _jsx(MoreVerticalIcon, {}) }));
51
+ const generateDataCubeUrl = (queryEditorStore) => {
52
+ if (queryEditorStore instanceof ExistingQueryEditorStore &&
53
+ queryEditorStore.query &&
54
+ queryEditorStore.applicationStore.config.dataCubeApplicationUrl) {
55
+ return EXTERNAL_APPLICATION_NAVIGATION__generateNewDataCubeUrl(queryEditorStore.applicationStore.config.dataCubeApplicationUrl, {
56
+ _type: QUERY_DATACUBE_SOURCE_TYPE,
57
+ queryId: queryEditorStore.query.id,
58
+ });
59
+ }
60
+ return undefined;
61
+ };
51
62
  export const QueryDataCubeUsage = observer(() => {
52
63
  const applicationStore = useLegendQueryApplicationStore();
53
64
  const queryEditorStore = useQueryEditorStore();
54
- const generateDataCubeUrl = () => {
55
- if (queryEditorStore instanceof ExistingQueryEditorStore &&
56
- queryEditorStore.query &&
57
- applicationStore.config.dataCubeApplicationUrl) {
58
- return EXTERNAL_APPLICATION_NAVIGATION__generateNewDataCubeUrl(applicationStore.config.dataCubeApplicationUrl, {
59
- _type: QUERY_DATACUBE_SOURCE_TYPE,
60
- queryId: queryEditorStore.query.id,
61
- });
62
- }
63
- return 'Legend DataCube URL could not be created\n\nEnsure the following:\n1)You are working with a saved query\n2)Typed TDS is enabled (Advanced > Enable Typed TDS)';
65
+ const getDataCubeUrl = () => {
66
+ const errorMsg = 'Legend DataCube URL could not be created\n\nEnsure the following:\n1)You are working with a saved query\n2)Typed TDS is enabled (Advanced > Enable Typed TDS)';
67
+ return generateDataCubeUrl(queryEditorStore) ?? errorMsg;
64
68
  };
65
- return (_jsxs("div", { className: "query-usage-viewer__code-action", children: [_jsx("div", { className: "query-usage-viewer__code-action__content", children: _jsx(CodeEditor, { inputValue: generateDataCubeUrl(), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT, hideMinimap: true, hideGutter: true, extraEditorOptions: { scrollBeyondLastLine: false, wordWrap: 'on' } }) }), _jsxs("div", { className: "query-usage-viewer__code-action__actions", children: [_jsx(CopyButton, { onClick: () => {
69
+ return (_jsxs("div", { className: "query-usage-viewer__code-action", children: [_jsx("div", { className: "query-usage-viewer__code-action__content", children: _jsx(CodeEditor, { inputValue: getDataCubeUrl(), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT, hideMinimap: true, hideGutter: true, extraEditorOptions: { scrollBeyondLastLine: false, wordWrap: 'on' } }) }), _jsxs("div", { className: "query-usage-viewer__code-action__actions", children: [_jsx(CopyButton, { onClick: () => {
66
70
  applicationStore.clipboardService
67
- .copyTextToClipboard(generateDataCubeUrl())
71
+ .copyTextToClipboard(getDataCubeUrl())
68
72
  .catch(applicationStore.alertUnhandledError);
69
73
  } }), _jsx(MoreButton, {})] })] }));
70
74
  });
@@ -254,6 +258,32 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
254
258
  }
255
259
  },
256
260
  icon: _jsx(ArrowCircleUpIcon, {}),
261
+ disableMessage: 'Requires saved query',
262
+ },
263
+ {
264
+ key: 'legend-datacube-query',
265
+ title: 'Launch Legend DataCube...',
266
+ label: 'Legend DataCube',
267
+ disableFunc: (queryBuilderState) => {
268
+ if (queryBuilderState.workflowState.actionConfig instanceof
269
+ QueryBuilderActionConfig_QueryApplication) {
270
+ const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
271
+ return !(editorStore instanceof ExistingQueryEditorStore);
272
+ }
273
+ return true;
274
+ },
275
+ onClick: (queryBuilderState) => {
276
+ if (queryBuilderState.workflowState.actionConfig instanceof
277
+ QueryBuilderActionConfig_QueryApplication) {
278
+ const editorStore = queryBuilderState.workflowState.actionConfig.editorStore;
279
+ const dataCubeUrl = generateDataCubeUrl(editorStore);
280
+ if (dataCubeUrl) {
281
+ editorStore.applicationStore.navigationService.navigator.visitAddress(dataCubeUrl);
282
+ }
283
+ }
284
+ },
285
+ icon: _jsx(CubeIcon, {}),
286
+ disableMessage: 'Requires saved query',
257
287
  },
258
288
  ];
259
289
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,4BAA4B,EAC5B,mBAAmB,GACpB,MAAM,2CAA2C,CAAC;AACnD,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CAAC;SACF,CAAC;IACJ,CAAC"}
1
+ {"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,4BAA4B,EAC5B,mBAAmB,GACpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEnE,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,aAAa,EACb,SAAS,EACT,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,uDAAuD,EACvD,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,qCAAqC,EACrC,uCAAuC,EACvC,0BAA0B,GAC3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EACL,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,kCAAkC,EAClC,gCAAgC,GACjC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAKL,yCAAyC,GAE1C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,wB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1C,yCAAyC,EAC3C,CAAC;oBACD,OAAO,+BAA+B,CAAC;gBACzC,CAAC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-query v13.7.57
1
+ /** @license @finos/legend-application-query v13.7.59
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.7.57",
3
+ "version": "13.7.59",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.7.57",
3
+ "version": "13.7.59",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,14 +43,14 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "16.0.30",
47
- "@finos/legend-art": "7.1.87",
46
+ "@finos/legend-application": "16.0.31",
47
+ "@finos/legend-art": "7.1.88",
48
48
  "@finos/legend-code-editor": "2.0.53",
49
- "@finos/legend-data-cube": "0.1.13",
50
- "@finos/legend-extension-dsl-data-space": "10.4.55",
49
+ "@finos/legend-data-cube": "0.1.14",
50
+ "@finos/legend-extension-dsl-data-space": "10.4.57",
51
51
  "@finos/legend-graph": "32.1.11",
52
- "@finos/legend-lego": "2.0.56",
53
- "@finos/legend-query-builder": "4.16.13",
52
+ "@finos/legend-lego": "2.0.57",
53
+ "@finos/legend-query-builder": "4.16.15",
54
54
  "@finos/legend-server-depot": "6.0.86",
55
55
  "@finos/legend-shared": "11.0.9",
56
56
  "@finos/legend-storage": "3.0.128",
@@ -82,6 +82,7 @@ import {
82
82
  import {
83
83
  ExistingQueryEditorStore,
84
84
  QueryBuilderActionConfig_QueryApplication,
85
+ type QueryEditorStore,
85
86
  } from '../stores/QueryEditorStore.js';
86
87
  import {
87
88
  DataSpaceQueryBuilderState,
@@ -154,32 +155,40 @@ const MoreButton: React.FC = () => (
154
155
  </button>
155
156
  );
156
157
 
158
+ const generateDataCubeUrl = (
159
+ queryEditorStore: QueryEditorStore,
160
+ ): string | undefined => {
161
+ if (
162
+ queryEditorStore instanceof ExistingQueryEditorStore &&
163
+ queryEditorStore.query &&
164
+ queryEditorStore.applicationStore.config.dataCubeApplicationUrl
165
+ ) {
166
+ return EXTERNAL_APPLICATION_NAVIGATION__generateNewDataCubeUrl(
167
+ queryEditorStore.applicationStore.config.dataCubeApplicationUrl,
168
+ {
169
+ _type: QUERY_DATACUBE_SOURCE_TYPE,
170
+ queryId: queryEditorStore.query.id,
171
+ },
172
+ );
173
+ }
174
+ return undefined;
175
+ };
176
+
157
177
  export const QueryDataCubeUsage = observer(() => {
158
178
  const applicationStore = useLegendQueryApplicationStore();
159
179
  const queryEditorStore = useQueryEditorStore();
160
180
 
161
- const generateDataCubeUrl = (): string => {
162
- if (
163
- queryEditorStore instanceof ExistingQueryEditorStore &&
164
- queryEditorStore.query &&
165
- applicationStore.config.dataCubeApplicationUrl
166
- ) {
167
- return EXTERNAL_APPLICATION_NAVIGATION__generateNewDataCubeUrl(
168
- applicationStore.config.dataCubeApplicationUrl,
169
- {
170
- _type: QUERY_DATACUBE_SOURCE_TYPE,
171
- queryId: queryEditorStore.query.id,
172
- },
173
- );
174
- }
175
- return 'Legend DataCube URL could not be created\n\nEnsure the following:\n1)You are working with a saved query\n2)Typed TDS is enabled (Advanced > Enable Typed TDS)';
181
+ const getDataCubeUrl = (): string => {
182
+ const errorMsg =
183
+ 'Legend DataCube URL could not be created\n\nEnsure the following:\n1)You are working with a saved query\n2)Typed TDS is enabled (Advanced > Enable Typed TDS)';
184
+ return generateDataCubeUrl(queryEditorStore) ?? errorMsg;
176
185
  };
177
186
 
178
187
  return (
179
188
  <div className="query-usage-viewer__code-action">
180
189
  <div className="query-usage-viewer__code-action__content">
181
190
  <CodeEditor
182
- inputValue={generateDataCubeUrl()}
191
+ inputValue={getDataCubeUrl()}
183
192
  isReadOnly={true}
184
193
  language={CODE_EDITOR_LANGUAGE.TEXT}
185
194
  hideMinimap={true}
@@ -191,7 +200,7 @@ export const QueryDataCubeUsage = observer(() => {
191
200
  <CopyButton
192
201
  onClick={() => {
193
202
  applicationStore.clipboardService
194
- .copyTextToClipboard(generateDataCubeUrl())
203
+ .copyTextToClipboard(getDataCubeUrl())
195
204
  .catch(applicationStore.alertUnhandledError);
196
205
  }}
197
206
  />
@@ -447,6 +456,41 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
447
456
  }
448
457
  },
449
458
  icon: <ArrowCircleUpIcon />,
459
+ disableMessage: 'Requires saved query',
460
+ },
461
+ {
462
+ key: 'legend-datacube-query',
463
+ title: 'Launch Legend DataCube...',
464
+ label: 'Legend DataCube',
465
+ disableFunc: (queryBuilderState): boolean => {
466
+ if (
467
+ queryBuilderState.workflowState.actionConfig instanceof
468
+ QueryBuilderActionConfig_QueryApplication
469
+ ) {
470
+ const editorStore =
471
+ queryBuilderState.workflowState.actionConfig.editorStore;
472
+ return !(editorStore instanceof ExistingQueryEditorStore);
473
+ }
474
+ return true;
475
+ },
476
+ onClick: (queryBuilderState): void => {
477
+ if (
478
+ queryBuilderState.workflowState.actionConfig instanceof
479
+ QueryBuilderActionConfig_QueryApplication
480
+ ) {
481
+ const editorStore =
482
+ queryBuilderState.workflowState.actionConfig.editorStore;
483
+ const dataCubeUrl = generateDataCubeUrl(editorStore);
484
+
485
+ if (dataCubeUrl) {
486
+ editorStore.applicationStore.navigationService.navigator.visitAddress(
487
+ dataCubeUrl,
488
+ );
489
+ }
490
+ }
491
+ },
492
+ icon: <CubeIcon />,
493
+ disableMessage: 'Requires saved query',
450
494
  },
451
495
  ];
452
496
  }