@finos/legend-query-builder 4.14.5 → 4.14.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA8KxE,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAigBjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AA8KxE,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAogBjD,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
- import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarClockIcon, ChatIcon, } from '@finos/legend-art';
18
+ import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarClockIcon, ChatIcon, PanelLoadingIndicator, } from '@finos/legend-art';
19
19
  import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
20
20
  import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
21
21
  import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
@@ -176,7 +176,7 @@ export const QueryBuilder = observer((props) => {
176
176
  }
177
177
  return null;
178
178
  };
179
- return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: "query-builder__body", children: [_jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__header", children: [_jsxs("div", { className: "query-builder__header__statuses", children: [queryBuilderState.watermarkState.value && (_jsx("button", { className: "query-builder__header__status query-builder__header__status--action", onClick: openWatermark, tabIndex: -1, title: "Used watermark", children: _jsx(WaterDropIcon, {}) })), queryBuilderState.isCalendarEnabled && (_jsx("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsx(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsx("div", { className: "query-builder__header__actions", children: _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
179
+ return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: "query-builder__body", children: [_jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.resultState.exportState.isInProgress }), _jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__header", children: [_jsxs("div", { className: "query-builder__header__statuses", children: [queryBuilderState.watermarkState.value && (_jsx("button", { className: "query-builder__header__status query-builder__header__status--action", onClick: openWatermark, tabIndex: -1, title: "Used watermark", children: _jsx(WaterDropIcon, {}) })), queryBuilderState.isCalendarEnabled && (_jsx("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsx(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsx("div", { className: "query-builder__header__actions", children: _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
180
180
  queryBuilderState.parametersState.parameterStates
181
181
  .length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Parameter(s)" })] })), _jsxs(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
182
182
  queryBuilderState.constantState.constants.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.constantState
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAA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,CAAC,CAAC,CAAC,CACnB,KAAC,kBAAkB,IACjB,eAAe,EACb,iBAAiB,CAAC,sBAAsB;iDACrC,eAAe,GAEpB,CACH,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,uDAEE,CACrB,GACG,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,WAAW,GAAI,GAC5C,IACR,GACD,CACV,IACG,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;A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AChC,KAAC,MAAM,IACL,IAAI,EACF,iBAAiB,CAAC,sBAAsB;6BACrC,2BAA2B,EAEhC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE;4BACP,IAAI,EAAE,8BAA8B;4BACpC,SAAS,EAAE,yBAAyB;4BACpC,KAAK,EAAE,uBAAuB;yBAC/B,YAED,MAAC,KAAK,IAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAC,cAAc,aAC7C,KAAC,WAAW,IAAC,KAAK,EAAC,oBAAoB,GAAG,EAC1C,KAAC,SAAS,IAAC,SAAS,EAAC,qCAAqC,YACxD,cAAK,SAAS,EAAC,gDAAgD,YAC5D,iBAAiB,CAAC,sBAAsB;6CACtC,eAAe,CAAC,CAAC,CAAC,CACnB,KAAC,kBAAkB,IACjB,eAAe,EACb,iBAAiB,CAAC,sBAAsB;iDACrC,eAAe,GAEpB,CACH,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,uDAEE,CACrB,GACG,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,WAAW,GAAI,GAC5C,IACR,GACD,CACV,IACG,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA+E3E,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAybjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../../src/components/result/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgF3E,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA2cjD,CAAC"}
@@ -94,6 +94,9 @@ export const QueryBuilderResultPanel = observer((props) => {
94
94
  const isQueryValidForLocalMode = isQueryValid &&
95
95
  queryBuilderState.fetchStructureState.implementation instanceof
96
96
  QueryBuilderTDSState;
97
+ const isExtraQueryUsageOptionsConfigured = applicationStore.pluginManager
98
+ .getApplicationPlugins()
99
+ .flatMap((plugin) => plugin.getExtraQueryUsageConfigurations?.() ?? []).length > 0;
97
100
  const runQuery = () => {
98
101
  resultState.setSelectedCells([]);
99
102
  resultState.pressedRunQuery.inProgress();
@@ -165,7 +168,7 @@ export const QueryBuilderResultPanel = observer((props) => {
165
168
  resultState.setExecutionResult(undefined);
166
169
  queryBuilderState.setIsLocalModeEnabled(!queryBuilderState.isLocalModeEnabled);
167
170
  };
168
- return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_PANEL, className: "panel query-builder__result", children: [showSqlModal && executedSql && (_jsx(Dialog, { open: Boolean(showSqlModal), onClose: () => setShowSqlModal(false), children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Executed SQL Query" }), _jsx(ModalBody, { className: "query-builder__sql__modal", children: _jsxs(_Fragment, { children: [_jsx(CodeEditor, { inputValue: executedSql, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.SQL, hideMinimap: true }), _jsx(PanelDivider, {})] }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { formatText: false, onClick: () => copyExpression(executedSql), text: "Copy SQL to Clipboard" }), _jsx(ModalFooterButton, { onClick: () => setShowSqlModal(false), text: "Close" })] })] }) })), _jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "result" }), executedSql && (_jsx(Button, { onClick: () => setShowSqlModal(true), title: "Executed SQL", className: "query-builder__result__sql__actions", children: _jsx(SQLIcon, {}) })), resultState.pressedRunQuery.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running Query..." })), _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_ANALYTICS, className: "query-builder__result__analytics", children: resultDescription ?? '' }), executionResult && resultState.checkForStaleResults && (_jsxs("div", { className: "query-builder__result__stale-status", children: [_jsx("div", { className: "query-builder__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "query-builder__result__stale-status__label", children: "Preview data might be stale" })] }))] }), _jsxs("div", { className: "panel__header__actions query-builder__result__header__actions", children: [allowSettingLocalMode && (_jsxs("div", { className: "query-builder__result__advanced__mode", children: [_jsxs("div", { className: "query-builder__result__advanced__mode__label", children: ["Local Mode", _jsx(DocumentationLink, { title: "The grid in local mode performs all operations like grouping, sorting, filtering, etc after initial query execution locally withought reaching out to server. This limits the number of rows to smaller number so they can fit in memory", documentationKey: QUERY_BUILDER_DOCUMENTATION_KEY.QUESTION_HOW_TO_USE_LOCAL_GRID_MODE })] }), _jsx("button", { className: clsx('query-builder__result__advanced__mode__toggler__btn', {
171
+ return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_PANEL, className: "panel query-builder__result", children: [showSqlModal && executedSql && (_jsx(Dialog, { open: Boolean(showSqlModal), onClose: () => setShowSqlModal(false), children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Executed SQL Query" }), _jsx(ModalBody, { className: "query-builder__sql__modal", children: _jsxs(_Fragment, { children: [_jsx(CodeEditor, { inputValue: executedSql, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.SQL, hideMinimap: true }), _jsx(PanelDivider, {})] }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { formatText: false, onClick: () => copyExpression(executedSql), text: "Copy SQL to Clipboard" }), _jsx(ModalFooterButton, { onClick: () => setShowSqlModal(false), text: "Close" })] })] }) })), _jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "result" }), executedSql && (_jsx(Button, { onClick: () => setShowSqlModal(true), title: "Executed SQL", className: "query-builder__result__sql__actions", children: _jsx(SQLIcon, {}) })), resultState.pressedRunQuery.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running Query..." })), _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_ANALYTICS, className: "query-builder__result__analytics", children: resultDescription ?? '' }), executionResult && resultState.checkForStaleResults && (_jsxs("div", { className: "query-builder__result__stale-status", children: [_jsx("div", { className: "query-builder__result__stale-status__icon", children: _jsx(ExclamationTriangleIcon, {}) }), _jsx("div", { className: "query-builder__result__stale-status__label", children: "Preview data might be stale" })] }))] }), _jsxs("div", { className: "panel__header__actions query-builder__result__header__actions", children: [resultState.exportState.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Exporting..." })), allowSettingLocalMode && (_jsxs("div", { className: "query-builder__result__advanced__mode", children: [_jsxs("div", { className: "query-builder__result__advanced__mode__label", children: ["Local Mode", _jsx(DocumentationLink, { title: "The grid in local mode performs all operations like grouping, sorting, filtering, etc after initial query execution locally withought reaching out to server. This limits the number of rows to smaller number so they can fit in memory", documentationKey: QUERY_BUILDER_DOCUMENTATION_KEY.QUESTION_HOW_TO_USE_LOCAL_GRID_MODE })] }), _jsx("button", { className: clsx('query-builder__result__advanced__mode__toggler__btn', {
169
172
  'query-builder__result__advanced__mode__toggler__btn--toggled': queryBuilderState.isLocalModeEnabled,
170
173
  }), disabled: !isQueryValidForLocalMode, onClick: toggleIsLocalModeEnabled, tabIndex: -1, children: queryBuilderState.isLocalModeEnabled ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) })] })), allowSettingPreviewLimit && (_jsxs("div", { className: "query-builder__result__limit", children: [_jsx("div", { className: "query-builder__result__limit__label", children: "preview limit" }), _jsx("input", { ref: inputRef, className: "input--dark query-builder__result__limit__input", spellCheck: false, type: "number", value: previewLimitValue, onChange: changePreviewLimit, onBlur: getPreviewLimit, onKeyDown: onKeyDown, disabled: !isQueryValid })] })), _jsx("div", { className: "query-builder__result__execute-btn btn__dropdown-combo btn__dropdown-combo--primary", children: resultState.isRunningQuery ? (_jsx("button", { className: "btn__dropdown-combo__canceler", onClick: cancelQuery, tabIndex: -1, disabled: !isQueryValid, children: _jsxs("div", { className: "btn--dark btn--caution btn__dropdown-combo__canceler__label", children: [_jsx(PauseCircleIcon, { className: "btn__dropdown-combo__canceler__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__canceler__label__title", children: "Stop" })] }) })) : (_jsxs(_Fragment, { children: [_jsxs("button", { className: "btn__dropdown-combo__label", onClick: runQuery, tabIndex: -1, title: allValidationIssues.length
171
174
  ? `Query is not valid:\n${allValidationIssues
@@ -174,7 +177,8 @@ export const QueryBuilderResultPanel = observer((props) => {
174
177
  : undefined, disabled: isRunQueryDisabled, children: [_jsx(PlayIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Run Query" })] }), _jsx(DropdownMenu, { className: "btn__dropdown-combo__dropdown-btn", disabled: isRunQueryDisabled, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: generatePlan, disabled: isRunQueryDisabled, children: "Generate Plan" }), _jsx(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: debugPlanGeneration, disabled: isRunQueryDisabled, children: "Debug" })] }), menuProps: {
175
178
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
176
179
  transformOrigin: { vertical: 'top', horizontal: 'right' },
177
- }, children: _jsx(CaretDownIcon, {}) })] })) }), _jsxs(DropdownMenu, { className: "query-builder__result__export__dropdown", title: "Export", disabled: !isQueryValid, content: _jsxs(MenuContent, { children: [Object.values(fetchStructureImplementation.exportDataFormatOptions).map((format) => (_jsx(MenuContentItem, { className: "query-builder__result__export__dropdown__menu__item", onClick: () => confirmExport(format), children: format }, format))), _jsx(MenuContentItem, { className: "query-builder__result__export__dropdown__menu__item", onClick: () => resultState.setIsQueryUsageViewerOpened(true), disabled: queryBuilderState.changeDetectionState.hasChanged, children: "View Query Usage..." })] }), menuProps: {
180
+ }, children: _jsx(CaretDownIcon, {}) })] })) }), _jsxs(DropdownMenu, { className: "query-builder__result__export__dropdown", title: "Export", disabled: !isQueryValid, content: _jsxs(MenuContent, { children: [Object.values(fetchStructureImplementation.exportDataFormatOptions).map((format) => (_jsx(MenuContentItem, { className: "query-builder__result__export__dropdown__menu__item", onClick: () => confirmExport(format), children: format }, format))), _jsx(MenuContentItem, { className: "query-builder__result__export__dropdown__menu__item", onClick: () => resultState.setIsQueryUsageViewerOpened(true), disabled: queryBuilderState.changeDetectionState.hasChanged ||
181
+ !isExtraQueryUsageOptionsConfigured, children: "View Query Usage..." })] }), menuProps: {
178
182
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
179
183
  transformOrigin: { vertical: 'top', horizontal: 'right' },
180
184
  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,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,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,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,C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E,OAAO,EAAE;oCACzD,SAAS,EAAE,CAAC;iCACb,aAED,cAAK,SAAS,EAAC,gDAAgD,uBAEzD,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,aAAa,KAAG,GACb,IACO,EACd,WAAW,CAAC,wBAAwB,IAAI,CACvC,KAAC,gBAAgB,IAAC,WAAW,EAAE,WAAW,GAAI,CAC/C,IACG,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc,IAAI,WAAW,CAAC,gBAAgB,GAE5D,EACD,CAAC,eAAe,IAAI,CACnB,KAAC,iBAAiB,oDAEE,CACrB,EACA,eAAe,IAAI,CAClB,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.14.5
1
+ /** @license @finos/legend-query-builder v4.14.7
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.14.5",
3
+ "version": "4.14.7",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,6 +44,7 @@ type QueryBuilderDataGridConfig = {
44
44
  export declare class QueryBuilderResultState {
45
45
  readonly queryBuilderState: QueryBuilderState;
46
46
  readonly executionPlanState: ExecutionPlanState;
47
+ readonly exportState: ActionState;
47
48
  previewLimit: number;
48
49
  pressedRunQuery: ActionState;
49
50
  isRunningQuery: boolean;
@@ -1 +1 @@
1
- {"version":3,"file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AAM,GAAG,IAAI;IAIlC,eAAe,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI;IAIzD,gBAAgB,CAAC,GAAG,EAAE,6BAA6B,EAAE,GAAG,IAAI;IAI5D,gBAAgB,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI,GAAG,IAAI;IAIjE,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI;IAIvE,2BAA2B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI/C,IAAI,oBAAoB,IAAI,OAAO,CAKlC;IAED,uBAAuB,CACrB,gBAAgB,CAAC,EAAE,2BAA2B,GAC7C,SAAS;IA2BX,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IAyE7C,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAiF7B,WAAW,IAAI,WAAW,CAAC,IAAI,CAAC;IAiBhC,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;CAgGjD"}
@@ -26,6 +26,7 @@ export const DEFAULT_LIMIT = 1000;
26
26
  export class QueryBuilderResultState {
27
27
  queryBuilderState;
28
28
  executionPlanState;
29
+ exportState = ActionState.create();
29
30
  previewLimit = DEFAULT_LIMIT;
30
31
  pressedRunQuery = ActionState.create();
31
32
  isRunningQuery = false;
@@ -136,6 +137,7 @@ export class QueryBuilderResultState {
136
137
  }
137
138
  *exportData(format) {
138
139
  try {
140
+ this.exportState.inProgress();
139
141
  this.queryBuilderState.applicationStore.notificationService.notifySuccess(`Export ${format} will run in background`);
140
142
  const exportData = this.queryBuilderState.fetchStructureState.implementation.getExportDataInfo(format);
141
143
  const contentType = exportData.contentType;
@@ -153,6 +155,7 @@ export class QueryBuilderResultState {
153
155
  .then(() => {
154
156
  const reportWithState = Object.assign({}, report, this.queryBuilderState.getStateInfo());
155
157
  QueryBuilderTelemetryHelper.logEvent_ExportQueryDatSucceeded(this.queryBuilderState.applicationStore.telemetryService, reportWithState);
158
+ this.exportState.pass();
156
159
  })
157
160
  .catch((error) => {
158
161
  assertErrorThrown(error);
@@ -160,9 +163,11 @@ export class QueryBuilderResultState {
160
163
  });
161
164
  }
162
165
  catch (error) {
166
+ this.exportState.fail();
163
167
  assertErrorThrown(error);
164
168
  this.queryBuilderState.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE), error);
165
169
  this.queryBuilderState.applicationStore.notificationService.notifyError(error);
170
+ this.exportState.complete();
166
171
  }
167
172
  }
168
173
  *runQuery() {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,EAEpB,WAAW,EACX,SAAS,EACT,2BAA2B,GAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,gCAAgC,EAChC,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;AAkClC,MAAM,OAAO,uBAAuB;IACzB,iBAAiB,CAAoB;IACrC,kBAAkB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,CAAC,CAAC;YAEpE,SAAS;YACT,MAAM,CAAC,OAAO;gBACZ,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,WAAW,CAAC,qBAAqB,CACvE,SAAS,EACT,MAAM,CAAC,OAAO,CACf,CAAC;YACJ,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CACnC,EAAE,EACF,MAAM,EACN,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CACtC,CAAC;YACF,IAAI,KAAK,EAAE;gBACT,2BAA2B,CAAC,oCAAoC,CAC9D,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,eAAe,CAChB,CAAC;aACH;iBAAM;gBACL,2BAA2B,CAAC,yCAAyC,CACnE,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,eAAe,CAChB,CAAC;aACH;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACtD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;YACF,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;SACH;gBAAS;YACR,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;SAC/B;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderResultState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderResultState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,EAEpB,WAAW,EACX,SAAS,EACT,2BAA2B,GAC5B,MAAM,sBA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C,yCAAyC,CACnE,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,gBAAgB,EACxD,eAAe,CAChB,CAAC;aACH;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CACtD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;YACF,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CACrE,KAAK,CACN,CAAC;SACH;gBAAS;YACR,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;SAC/B;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.14.5",
3
+ "version": "4.14.7",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,8 +44,8 @@
44
44
  "dependencies": {
45
45
  "@finos/legend-application": "15.0.67",
46
46
  "@finos/legend-art": "7.1.19",
47
- "@finos/legend-graph": "31.8.1",
48
- "@finos/legend-lego": "1.2.5",
47
+ "@finos/legend-graph": "31.8.2",
48
+ "@finos/legend-lego": "1.2.7",
49
49
  "@finos/legend-server-depot": "6.0.36",
50
50
  "@finos/legend-shared": "10.0.32",
51
51
  "@finos/legend-storage": "3.0.82",
@@ -42,6 +42,7 @@ import {
42
42
  ModalFooterButton,
43
43
  CalendarClockIcon,
44
44
  ChatIcon,
45
+ PanelLoadingIndicator,
45
46
  } from '@finos/legend-art';
46
47
  import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
47
48
  import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
@@ -376,6 +377,9 @@ export const QueryBuilder = observer(
376
377
  elementId={QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER}
377
378
  />
378
379
  <div className="query-builder__body">
380
+ <PanelLoadingIndicator
381
+ isLoading={queryBuilderState.resultState.exportState.isInProgress}
382
+ />
379
383
  <div className="query-builder__content">
380
384
  <div className="query-builder__header">
381
385
  <div className="query-builder__header__statuses">
@@ -69,6 +69,7 @@ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../../__lib__/QueryBuilderDocum
69
69
  import { QueryBuilderTDSSimpleGridResult } from './tds/QueryBuilderTDSSimpleGridResult.js';
70
70
  import { getExecutedSqlFromExecutionResult } from './tds/QueryBuilderTDSResultShared.js';
71
71
  import { QueryBuilderTDSGridResult } from './tds/QueryBuilderTDSGridResult.js';
72
+ import type { QueryBuilder_LegendApplicationPlugin_Extension } from '../../stores/QueryBuilder_LegendApplicationPlugin_Extension.js';
72
73
 
73
74
  const QueryBuilderResultValues = observer(
74
75
  (props: {
@@ -183,6 +184,16 @@ export const QueryBuilderResultPanel = observer(
183
184
  queryBuilderState.fetchStructureState.implementation instanceof
184
185
  QueryBuilderTDSState;
185
186
 
187
+ const isExtraQueryUsageOptionsConfigured =
188
+ applicationStore.pluginManager
189
+ .getApplicationPlugins()
190
+ .flatMap(
191
+ (plugin) =>
192
+ (
193
+ plugin as QueryBuilder_LegendApplicationPlugin_Extension
194
+ ).getExtraQueryUsageConfigurations?.() ?? [],
195
+ ).length > 0;
196
+
186
197
  const runQuery = (): void => {
187
198
  resultState.setSelectedCells([]);
188
199
  resultState.pressedRunQuery.inProgress();
@@ -372,6 +383,11 @@ export const QueryBuilderResultPanel = observer(
372
383
  )}
373
384
  </div>
374
385
  <div className="panel__header__actions query-builder__result__header__actions">
386
+ {resultState.exportState.isInProgress && (
387
+ <div className="panel__header__title__label__status">
388
+ Exporting...
389
+ </div>
390
+ )}
375
391
  {allowSettingLocalMode && (
376
392
  <div className="query-builder__result__advanced__mode">
377
393
  <div className="query-builder__result__advanced__mode__label">
@@ -511,7 +527,10 @@ export const QueryBuilderResultPanel = observer(
511
527
  onClick={(): void =>
512
528
  resultState.setIsQueryUsageViewerOpened(true)
513
529
  }
514
- disabled={queryBuilderState.changeDetectionState.hasChanged}
530
+ disabled={
531
+ queryBuilderState.changeDetectionState.hasChanged ||
532
+ !isExtraQueryUsageOptionsConfigured
533
+ }
515
534
  >
516
535
  View Query Usage...
517
536
  </MenuContentItem>
@@ -85,6 +85,7 @@ type QueryBuilderDataGridConfig = {
85
85
  export class QueryBuilderResultState {
86
86
  readonly queryBuilderState: QueryBuilderState;
87
87
  readonly executionPlanState: ExecutionPlanState;
88
+ readonly exportState = ActionState.create();
88
89
 
89
90
  previewLimit = DEFAULT_LIMIT;
90
91
  pressedRunQuery = ActionState.create();
@@ -228,6 +229,7 @@ export class QueryBuilderResultState {
228
229
 
229
230
  *exportData(format: string): GeneratorFn<void> {
230
231
  try {
232
+ this.exportState.inProgress();
231
233
  this.queryBuilderState.applicationStore.notificationService.notifySuccess(
232
234
  `Export ${format} will run in background`,
233
235
  );
@@ -275,6 +277,7 @@ export class QueryBuilderResultState {
275
277
  this.queryBuilderState.applicationStore.telemetryService,
276
278
  reportWithState,
277
279
  );
280
+ this.exportState.pass();
278
281
  })
279
282
  .catch((error) => {
280
283
  assertErrorThrown(error);
@@ -284,6 +287,7 @@ export class QueryBuilderResultState {
284
287
  );
285
288
  });
286
289
  } catch (error) {
290
+ this.exportState.fail();
287
291
  assertErrorThrown(error);
288
292
  this.queryBuilderState.applicationStore.logService.error(
289
293
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
@@ -292,6 +296,7 @@ export class QueryBuilderResultState {
292
296
  this.queryBuilderState.applicationStore.notificationService.notifyError(
293
297
  error,
294
298
  );
299
+ this.exportState.complete();
295
300
  }
296
301
  }
297
302