@finos/legend-query-builder 4.16.14 → 4.16.15

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":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAsCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EACL,KAAK,eAAe,EAMrB,MAAM,qBAAqB,CAAC;AAsB7B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AASvF,eAAO,MAAM,+BAA+B,WAClC;IACN,WAAW,EAAE,uBAAuB,CAAC;IACrC,cAAc,EAAE,MAAM,GAAG,KAAK,CAAC;CAChC;;CA4GF,CAAC;AAEF,eAAO,MAAM,qCAAqC,WACxC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAmCjD,CAAC;AAEF,eAAO,MAAM,wBAAwB,WAC3B;IACN,eAAe,EAAE,eAAe,CAAC;IACjC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAmDF,CAAC;AAEF,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAuoBjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EACL,KAAK,eAAe,EAKrB,MAAM,qBAAqB,CAAC;AAsB7B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AASvF,eAAO,MAAM,+BAA+B,WAClC;IACN,WAAW,EAAE,uBAAuB,CAAC;IACrC,cAAc,EAAE,MAAM,GAAG,KAAK,CAAC;CAChC;;CA4GF,CAAC;AAEF,eAAO,MAAM,qCAAqC,WACxC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAmCjD,CAAC;AAEF,eAAO,MAAM,wBAAwB,WAC3B;IACN,eAAe,EAAE,eAAe,CAAC;IACjC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC;;CAmDF,CAAC;AAEF,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAomBjD,CAAC"}
@@ -14,10 +14,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { BlankPanelContent, PlayIcon, ControlledDropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, clsx, PauseCircleIcon, ExclamationTriangleIcon, PanelContent, Button, SQLIcon, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelDivider, SquareIcon, CheckSquareIcon, MenuContentItemIcon, MenuContentItemLabel, ChartIcon, CsvIcon, DebugIcon, ReportIcon, CubesLoadingIndicatorIcon, CubesLoadingIndicator, InfoCircleIcon, ShareBoxIcon, CubeIcon, } from '@finos/legend-art';
17
+ import { BlankPanelContent, PlayIcon, ControlledDropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, clsx, PauseCircleIcon, ExclamationTriangleIcon, PanelContent, Button, SQLIcon, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelDivider, SquareIcon, CheckSquareIcon, MenuContentItemIcon, MenuContentItemLabel, ChartIcon, CsvIcon, DebugIcon, ReportIcon, CubesLoadingIndicatorIcon, CubesLoadingIndicator, InfoCircleIcon, ShareBoxIcon, } from '@finos/legend-art';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { flowResult } from 'mobx';
20
- import { extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, ExecutionError, RuntimePointer, } from '@finos/legend-graph';
20
+ import { extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, ExecutionError, } from '@finos/legend-graph';
21
21
  import { ActionAlertActionType, ActionAlertType, DEFAULT_TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
22
22
  import { prettyDuration } from '@finos/legend-shared';
23
23
  import { useRef, useState } from 'react';
@@ -169,19 +169,6 @@ export const QueryBuilderResultPanel = observer((props) => {
169
169
  }
170
170
  resultState.pressedRunQuery.complete();
171
171
  };
172
- const openDataCube = () => {
173
- if (queryParametersState.parameterStates.length &&
174
- queryParametersState.parameterStates.find((param) => !queryBuilderState.milestoningState.isMilestoningParameter(param.parameter))) {
175
- queryParametersState.parameterValuesEditorState.open(async () => {
176
- await queryBuilderState.openDataCubeEngine();
177
- }, PARAMETER_SUBMIT_ACTION.DATA_CUBE);
178
- }
179
- else {
180
- queryBuilderState
181
- .openDataCubeEngine()
182
- .catch(applicationStore.alertUnhandledError);
183
- }
184
- };
185
172
  const cancelQuery = applicationStore.guardUnhandledError(() => flowResult(resultState.cancelQuery()));
186
173
  const generatePlan = applicationStore.guardUnhandledError(() => flowResult(resultState.generatePlan(false)));
187
174
  const debugPlanGeneration = applicationStore.guardUnhandledError(() => flowResult(resultState.generatePlan(true)));
@@ -244,7 +231,9 @@ export const QueryBuilderResultPanel = observer((props) => {
244
231
  const extraExportMenuContentItems = applicationStore.pluginManager
245
232
  .getApplicationPlugins()
246
233
  .flatMap((plugin) => plugin.getExtraQueryBuilderExportMenuActionConfigurations?.() ?? [])
247
- .map((item) => (_jsxs(MenuContentItem, { title: item.title ?? '', disabled: item.disableFunc?.(queryBuilderState) ?? false, onClick: () => {
234
+ .map((item) => (_jsxs(MenuContentItem, { title: !item.disableFunc?.(queryBuilderState)
235
+ ? item.title
236
+ : (item.disableMessage ?? 'Unsupported'), disabled: item.disableFunc?.(queryBuilderState) ?? false, onClick: () => {
248
237
  item.onClick(queryBuilderState);
249
238
  }, children: [item.icon && _jsx(MenuContentItemIcon, { children: item.icon }), _jsx(MenuContentItemLabel, { children: item.label })] }, item.key)));
250
239
  const isLoading = resultState.isRunningQuery || resultState.isGeneratingPlan;
@@ -276,10 +265,7 @@ export const QueryBuilderResultPanel = observer((props) => {
276
265
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
277
266
  transformOrigin: { vertical: 'top', horizontal: 'right' },
278
267
  }, children: _jsx(CaretDownIcon, {}) })] })) }), _jsxs(ControlledDropdownMenu, { className: "query-builder__result__export__dropdown", title: "Export", disabled: !isQueryValid, content: _jsxs(MenuContent, { children: [Object.values(fetchStructureImplementation.exportDataFormatOptions).map((format) => (_jsxs(MenuContentItem, { onClick: () => confirmExport(format), children: [_jsx(MenuContentItemIcon, { children: _jsx(CsvIcon, {}) }), _jsx(MenuContentItemLabel, { children: format })] }, format))), _jsxs(MenuContentItem, { onClick: () => resultState.setIsQueryUsageViewerOpened(true), disabled: queryBuilderState.changeDetectionState.hasChanged ||
279
- !isExtraQueryUsageOptionsConfigured, children: [_jsx(MenuContentItemIcon, { children: _jsx(ChartIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Others..." })] }), queryBuilderState.config?.TEMPORARY__enableExportToCube && (_jsxs(MenuContentItem, { onClick: openDataCube, disabled: !queryBuilderState.fetchStructureState.implementation
280
- .canBeExportedToCube ||
281
- !(queryBuilderState.executionContextState
282
- .runtimeValue instanceof RuntimePointer), children: [_jsx(MenuContentItemIcon, { children: _jsx(CubeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Data Cube (BETA)" })] })), extraExportMenuContentItems] }), menuProps: {
268
+ !isExtraQueryUsageOptionsConfigured, children: [_jsx(MenuContentItemIcon, { children: _jsx(ChartIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Others..." })] }), extraExportMenuContentItems] }), menuProps: {
283
269
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
284
270
  transformOrigin: { vertical: 'top', horizontal: 'right' },
285
271
  elevation: 7,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,aAAa,EACb,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,MAAM,EACN,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,SAAS,EACT,UAAU,EACV,yBAAyB,EACzB,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAEL,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAChG,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC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,IAAI,CAAC,WAAW,CAAC,cAAc,IAAI,CAC/D,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,aAAa,EACb,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,MAAM,EACN,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,OAAO,EACP,SAAS,EACT,UAAU,EACV,yBAAyB,EACzB,qBAAqB,EACrB,cAAc,EACd,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAEL,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,oBAAoB,E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iCACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,kDAAkD,EAAE,EAAE;gCACxD,EAAE,CACL;iCACA,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACb,wBACG,IAAI,CAAC,oBAAoB;oCACxB,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;oCAC9C,CAAC,CAAC,SAAS,IAHL,IAAI,CAAC,GAAG,CAIZ,CACP,CAAC,IACA,IACF,EACN,MAAC,YAAY,IAAC,SAAS,EAAC,gCAAgC,aACtD,KAAC,qBAAqB,IAAC,SAAS,EAAE,SAAS,YACzC,KAAC,yBAAyB,KAAG,GACP,EACvB,CAAC,eAAe,IAAI,CAAC,SAAS,IAAI,CAAC,WAAW,CAAC,cAAc,IAAI,CAChE,KAAC,iBAAiB,oDAEE,CACrB,EACA,CAAC,SAAS,IAAI,WAAW,CAAC,cAAc,IAAI,CAC3C,KAAC,+BAA+B,IAC9B,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,WAAW,CAAC,cAAc,GAC1C,CACH,EACA,eAAe,IAAI,CAAC,SAAS,IAAI,CAAC,WAAW,CAAC,cAAc,IAAI,CAC/D,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v4.16.14
1
+ /** @license @finos/legend-query-builder v4.16.15
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-query-builder",
3
- "version": "4.16.14",
3
+ "version": "4.16.15",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -60,6 +60,7 @@ export type QueryBuilderMenuActionConfiguration = {
60
60
  onClick: (queryBuilderState: QueryBuilderState) => void;
61
61
  icon?: React.ReactNode;
62
62
  renderExtraComponent?: (queryBuilderState: QueryBuilderState) => React.ReactNode;
63
+ disableMessage?: string | undefined;
63
64
  };
64
65
  export type QueryBuilderPropagateExecutionContextChangeHelper = (queryBuilderState: QueryBuilderState, isGraphBuildingNotRequired?: boolean) => (() => Promise<void>) | undefined;
65
66
  export interface QueryBuilder_LegendApplicationPlugin_Extension extends LegendApplicationPlugin {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,KAAK,EAAE,SAAS,CAAC;IACjB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C,yBAAyB,CACvB,iBAAiB,EAAE,iBAAiB,GACnC,oBAAoB,EAAE,CAAC;IAC1B,wBAAwB,CACtB,aAAa,EAAE,oBAAoB,EACnC,iBAAiB,EAAE,iBAAiB,G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;IACH,kDAAkD,CAAC,IAAI,mCAAmC,EAAE,CAAC;IAE7F;;OAEG;IACH,yDAAyD,CAAC,IAAI,iDAAiD,EAAE,CAAC;CACnH"}
1
+ {"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,KAAK,EAAE,SAAS,CAAC;IACjB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG;IAC9C,yBAAyB,CACvB,iBAAiB,EAAE,iBAAiB,GACnC,oBAAoB,EAAE,CAAC;IAC1B,wBAAwB,CACtB,aAAa,EAAE,oBAAoB,EACnC,iBAAiB,EAAE,iBAAiB,GACnC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,cAAc,EAAE,CACd,mBAAmB,EAAE,wBAAwB,EAC7C,iBAAiB,EAAE,iBAAiB,KACjC,wBAAwB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iDAAiD,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c,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAC9D,iBAAiB,EAAE,iBAAiB,EACpC,0BAA0B,CAAC,EAAE,OAAO,KACjC,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAAC;AAEvC,MAAM,WAAW,8CACf,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,qCAAqC,CAAC,IAAI,iCAAiC,EAAE,CAAC;IAE9E;;OAEG;IACH,8BAA8B,CAAC,IAAI,qBAAqB,EAAE,CAAC;IAE3D;;OAEG;IACH,2CAA2C,CAAC,IAAI,CAC9C,iBAAiB,EAAE,iBAAiB,KACjC,MAAM,EAAE,CAAC;IAEd;;OAEG;IACH,8BAA8B,CAAC,IAAI,0BAA0B,EAAE,CAAC;IAEhE;;OAEG;IACH,oEAAoE,CAAC,IAAI,iDAAiD,EAAE,CAAC;IAE7H;;OAEG;IACH,gCAAgC,CAAC,IAAI,6BAA6B,EAAE,CAAC;IAErE;;OAEG;IACH,0BAA0B,CAAC,IAAI,iBAAiB,EAAE,CAAC;IAEnD;;OAEG;IACH,yCAAyC,CAAC,IAAI,iCAAiC,EAAE,CAAC;IAElF;;OAEG;IACH,8CAA8C,CAAC,IAAI,qCAAqC,EAAE,CAAC;IAE3F;;OAEG;IACH,6CAA6C,CAAC,IAAI,qCAAqC,EAAE,CAAC;IAE1F;;OAEG;IACH,gDAAgD,CAAC,IAAI,mCAAmC,EAAE,CAAC;IAE3F;;OAEG;IACH,kDAAkD,CAAC,IAAI,mCAAmC,EAAE,CAAC;IAE7F;;OAEG;IACH,yDAAyD,CAAC,IAAI,iDAAiD,EAAE,CAAC;CACnH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.16.14",
3
+ "version": "4.16.15",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -46,7 +46,6 @@ import {
46
46
  CubesLoadingIndicator,
47
47
  InfoCircleIcon,
48
48
  ShareBoxIcon,
49
- CubeIcon,
50
49
  } from '@finos/legend-art';
51
50
  import { observer } from 'mobx-react-lite';
52
51
  import { flowResult } from 'mobx';
@@ -57,7 +56,6 @@ import {
57
56
  TDSExecutionResult,
58
57
  RawExecutionResult,
59
58
  ExecutionError,
60
- RuntimePointer,
61
59
  } from '@finos/legend-graph';
62
60
  import {
63
61
  ActionAlertActionType,
@@ -409,25 +407,6 @@ export const QueryBuilderResultPanel = observer(
409
407
  resultState.pressedRunQuery.complete();
410
408
  };
411
409
 
412
- const openDataCube = (): void => {
413
- if (
414
- queryParametersState.parameterStates.length &&
415
- queryParametersState.parameterStates.find(
416
- (param) =>
417
- !queryBuilderState.milestoningState.isMilestoningParameter(
418
- param.parameter,
419
- ),
420
- )
421
- ) {
422
- queryParametersState.parameterValuesEditorState.open(async () => {
423
- await queryBuilderState.openDataCubeEngine();
424
- }, PARAMETER_SUBMIT_ACTION.DATA_CUBE);
425
- } else {
426
- queryBuilderState
427
- .openDataCubeEngine()
428
- .catch(applicationStore.alertUnhandledError);
429
- }
430
- };
431
410
  const cancelQuery = applicationStore.guardUnhandledError(() =>
432
411
  flowResult(resultState.cancelQuery()),
433
412
  );
@@ -533,7 +512,11 @@ export const QueryBuilderResultPanel = observer(
533
512
  .map((item) => (
534
513
  <MenuContentItem
535
514
  key={item.key}
536
- title={item.title ?? ''}
515
+ title={
516
+ !item.disableFunc?.(queryBuilderState)
517
+ ? item.title
518
+ : (item.disableMessage ?? 'Unsupported')
519
+ }
537
520
  disabled={item.disableFunc?.(queryBuilderState) ?? false}
538
521
  onClick={() => {
539
522
  item.onClick(queryBuilderState);
@@ -859,26 +842,6 @@ export const QueryBuilderResultPanel = observer(
859
842
  </MenuContentItemIcon>
860
843
  <MenuContentItemLabel>Others...</MenuContentItemLabel>
861
844
  </MenuContentItem>
862
- {queryBuilderState.config?.TEMPORARY__enableExportToCube && (
863
- <MenuContentItem
864
- onClick={openDataCube}
865
- disabled={
866
- !queryBuilderState.fetchStructureState.implementation
867
- .canBeExportedToCube ||
868
- !(
869
- queryBuilderState.executionContextState
870
- .runtimeValue instanceof RuntimePointer
871
- )
872
- }
873
- >
874
- <MenuContentItemIcon>
875
- <CubeIcon />
876
- </MenuContentItemIcon>
877
- <MenuContentItemLabel>
878
- Data Cube (BETA)
879
- </MenuContentItemLabel>
880
- </MenuContentItem>
881
- )}
882
845
  {extraExportMenuContentItems}
883
846
  </MenuContent>
884
847
  }
@@ -93,6 +93,7 @@ export type QueryBuilderMenuActionConfiguration = {
93
93
  renderExtraComponent?: (
94
94
  queryBuilderState: QueryBuilderState,
95
95
  ) => React.ReactNode;
96
+ disableMessage?: string | undefined;
96
97
  };
97
98
 
98
99
  export type QueryBuilderPropagateExecutionContextChangeHelper = (