@finos/legend-query-builder 2.0.1 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +6 -7
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +19 -17
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +31 -29
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +2 -2
- package/lib/stores/QueryBuilderResultState.d.ts +7 -3
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +14 -20
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +3 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +10 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +36 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +6 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +21 -2
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
- package/package.json +9 -9
- package/src/components/QueryBuilderResultPanel.tsx +18 -20
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +128 -126
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +254 -251
- package/src/stores/QueryBuilderResultState.ts +28 -33
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +5 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +44 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +28 -0
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +4 -4
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAgZxE,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;
|
1
|
+
{"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAgZxE,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsSjD,CAAC"}
|
@@ -19,9 +19,9 @@ import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-mod
|
|
19
19
|
import { BlankPanelContent, PanelLoadingIndicator, PlayIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, ContextMenu, clsx, PauseCircleIcon, ExclamationTriangleIcon, PanelContent, MenuContentDivider, } from '@finos/legend-art';
|
20
20
|
import { observer } from 'mobx-react-lite';
|
21
21
|
import { flowResult } from 'mobx';
|
22
|
-
import { InstanceValue, extractExecutionResultValues, TDSExecutionResult, RawExecutionResult,
|
22
|
+
import { InstanceValue, extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, EnumValueInstanceValue, EnumValueExplicitReference, } from '@finos/legend-graph';
|
23
23
|
import { ActionAlertActionType, ActionAlertType, EDITOR_LANGUAGE, ExecutionPlanViewer, TAB_SIZE, TextInputEditor, useApplicationStore, } from '@finos/legend-application';
|
24
|
-
import { assertErrorThrown, guaranteeNonNullable, isBoolean, prettyDuration, } from '@finos/legend-shared';
|
24
|
+
import { assertErrorThrown, guaranteeNonNullable, isBoolean, prettyDuration, prettyCONSTName, } from '@finos/legend-shared';
|
25
25
|
import { forwardRef, useState } from 'react';
|
26
26
|
import { QueryBuilderDerivationProjectionColumnState, QueryBuilderProjectionColumnState, } from '../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
27
27
|
import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, } from '../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
|
@@ -193,6 +193,7 @@ export const QueryBuilderResultPanel = observer((props) => {
|
|
193
193
|
const resultState = queryBuilderState.resultState;
|
194
194
|
const queryParametersState = queryBuilderState.parametersState;
|
195
195
|
const executionResult = resultState.executionResult;
|
196
|
+
const fetchStructureImplementation = queryBuilderState.fetchStructureState.implementation;
|
196
197
|
const USER_ATTESTATION_MESSAGE = 'I attest that I am aware of the sensitive data leakage risk when exporting queried data. The data I export will only be used by me.';
|
197
198
|
const exportQueryResults = async (format) => {
|
198
199
|
if (queryBuilderState.parametersState.parameterStates.length) {
|
@@ -221,10 +222,8 @@ export const QueryBuilderResultPanel = observer((props) => {
|
|
221
222
|
});
|
222
223
|
};
|
223
224
|
const queryValidationIssues = queryBuilderState.validationIssues;
|
224
|
-
const queryWindowValidationIssues =
|
225
|
-
|
226
|
-
? queryBuilderState.fetchStructureState.implementation.windowState
|
227
|
-
.validationIssues
|
225
|
+
const queryWindowValidationIssues = fetchStructureImplementation instanceof QueryBuilderTDSState
|
226
|
+
? fetchStructureImplementation.windowState.validationIssues
|
228
227
|
: undefined;
|
229
228
|
const queryWindowStateIsValid = !queryWindowValidationIssues;
|
230
229
|
const isSupportedQueryValid = queryBuilderState.validationIssues && queryWindowStateIsValid;
|
@@ -282,7 +281,7 @@ export const QueryBuilderResultPanel = observer((props) => {
|
|
282
281
|
: undefined, disabled: isRunQueryDisabled, children: [_jsx(PlayIcon, { className: "query-builder__result__execute-btn__label__icon" }), _jsx("div", { className: "query-builder__result__execute-btn__label__title", children: "Run Query" })] }), _jsx(DropdownMenu, { className: "query-builder__result__execute-btn__dropdown-btn", disabled: isRunQueryDisabled, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "query-builder__result__execute-btn__option", onClick: generatePlan, disabled: isRunQueryDisabled, children: "Generate Plan" }), _jsx(MenuContentItem, { className: "query-builder__result__execute-btn__option", onClick: debugPlanGeneration, disabled: isRunQueryDisabled, children: "Debug" })] }), menuProps: {
|
283
282
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
284
283
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
285
|
-
}, children: _jsx(CaretDownIcon, {}) })] })), _jsxs(DropdownMenu, { className: "query-builder__result__export__dropdown", title: "Export", disabled: !isQueryValid, content: _jsx(MenuContent, { children: Object.values(
|
284
|
+
}, children: _jsx(CaretDownIcon, {}) })] })), _jsxs(DropdownMenu, { className: "query-builder__result__export__dropdown", title: "Export", disabled: !isQueryValid, content: _jsx(MenuContent, { children: Object.values(fetchStructureImplementation.exportDataFormatOptions).map((format) => (_jsx(MenuContentItem, { className: "query-builder__result__export__dropdown__menu__item", onClick: () => confirmExport(format), children: prettyCONSTName(format) }, format))) }), menuProps: {
|
286
285
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
287
286
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
288
287
|
elevation: 7,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAGL,aAAa,EACb,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,EAClB,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,QAAQ,EACR,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EAET,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EACL,2CAA2C,EAC3C,iCAAiC,GAClC,MAAM,+EAA+E,CAAC;AACvF,OAAO,EAEL,wBAAwB,EACxB,2CAA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kDAAkD,YAC/D,KAAC,aAAa,KAAG,GACb,IACO,IACX,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc;4BAC1B,WAAW,CAAC,gBAAgB;4BAC5B,WAAW,CAAC,eAAe,CAAC,YAAY,GAE1C,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"}
|
1
|
+
{"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAGL,aAAa,EACb,4BAA4B,EAC5B,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,QAAQ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GAAS,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,YAEzC,eAAe,CAAC,MAAM,CAAC,IAJnB,MAAM,CAKK,CACnB,CAAC,GACU,EAEhB,SAAS,EAAE;oCACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,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,IACX,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc;4BAC1B,WAAW,CAAC,gBAAgB;4BAC5B,WAAW,CAAC,eAAe,CAAC,YAAY,GAE1C,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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwDH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwDH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAkZrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAqK3C,CAAC"}
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
16
|
*/
|
17
17
|
import { useEffect, useRef, useCallback, useState, forwardRef } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { clsx, BlankPanelPlaceholder, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon,
|
19
|
+
import { clsx, BlankPanelPlaceholder, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, ContextMenu, InputWithInlineValidation, SigmaIcon, PanelDropZone, DragPreviewLayer, useDragPreviewLayer, OptionsIcon, PlusIcon, PanelContent, TrashIcon, PanelDnDEntry, PanelDnDEntryDragHandle, } from '@finos/legend-art';
|
20
20
|
import { buildPropertyExpressionFromExplorerTreeNodeData, QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
21
21
|
import { useDrag, useDrop } from 'react-dnd';
|
22
22
|
import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE, } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
@@ -81,6 +81,7 @@ const QueryBuilderDerivationProjectionColumnEditor = observer((props) => {
|
|
81
81
|
return (_jsx("div", { ref: dropConnector, className: clsx('query-builder__lambda-editor__container query-builder__projection__column__derivation', { backdrop__element: hasParserError }), children: _jsx(LambdaEditor, { className: "query-builder__lambda-editor", disabled: projectionColumnState.tdsState.isConvertDerivationProjectionObjects, lambdaEditorState: projectionColumnState.derivationLambdaEditorState, forceBackdrop: hasParserError }) }));
|
82
82
|
});
|
83
83
|
const QueryBuilderProjectionColumnEditor = observer((props) => {
|
84
|
+
const handleRef = useRef(null);
|
84
85
|
const ref = useRef(null);
|
85
86
|
const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] = useState(false);
|
86
87
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
@@ -136,23 +137,24 @@ const QueryBuilderProjectionColumnEditor = observer((props) => {
|
|
136
137
|
}),
|
137
138
|
}), [projectionColumnState]);
|
138
139
|
const isBeingDragged = projectionColumnState === projectionColumnBeingDragged;
|
139
|
-
dragConnector(
|
140
|
+
dragConnector(handleRef);
|
141
|
+
dropConnector(ref);
|
140
142
|
useDragPreviewLayer(dragPreviewConnector);
|
141
|
-
return (_jsx(
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
143
|
+
return (_jsx(PanelDnDEntry, { ref: ref, showPlaceholder: isBeingDragged, className: "query-builder__projection__column", children: _jsxs(ContextMenu, { content: _jsx(QueryBuilderProjectionColumnContextMenu, { projectionColumnState: projectionColumnState }), disabled: !(projectionColumnState instanceof
|
144
|
+
QueryBuilderSimpleProjectionColumnState), className: clsx('query-builder__projection__column__context-menu', {
|
145
|
+
'query-builder__projection__column--selected-from-context-menu': isSelectedFromContextMenu,
|
146
|
+
}), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [_jsx(PanelDnDEntryDragHandle, { isBeingDragged: isBeingDragged, dropTargetConnector: handleRef, className: "query-builder__projection__column__drag-handle__container" }), _jsx("div", { className: "query-builder__projection__column__name", children: _jsx(InputWithInlineValidation, { className: "query-builder__projection__column__name__input input-group__input", spellCheck: false, value: projectionColumnState.columnName, onChange: changeColumnName, validationErrorMessage: isDuplicatedColumnName ? 'Duplicated column' : undefined }) }), _jsxs("div", { className: "query-builder__projection__column__value", children: [projectionColumnState instanceof
|
147
|
+
QueryBuilderSimpleProjectionColumnState && (_jsx(QueryBuilderSimpleProjectionColumnEditor, { projectionColumnState: projectionColumnState })), projectionColumnState instanceof
|
148
|
+
QueryBuilderDerivationProjectionColumnState && (_jsx(QueryBuilderDerivationProjectionColumnEditor, { projectionColumnState: projectionColumnState }))] }), _jsx("div", { className: "query-builder__projection__column__aggregate", children: _jsxs("div", { className: "query-builder__projection__column__aggregate__operator", children: [aggregateColumnState && (_jsx("div", { className: "query-builder__projection__column__aggregate__operator__label", children: aggregateColumnState.operator.getLabel(projectionColumnState) })), _jsxs(DropdownMenu, { className: "query-builder__projection__column__aggregate__operator__dropdown", title: "Choose Aggregate Operator...", disabled: !aggreateOperators.length, content: _jsxs(MenuContent, { children: [aggregateColumnState && (_jsx(MenuContentItem, { className: "query-builder__projection__column__aggregate__operator__dropdown__option", onClick: changeOperator(undefined), children: "(none)" })), aggreateOperators.map((op) => (_jsx(MenuContentItem, { className: "query-builder__projection__column__aggregate__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel(projectionColumnState) }, op.uuid)))] }), menuProps: {
|
149
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
150
|
+
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
151
|
+
elevation: 7,
|
152
|
+
}, children: [_jsx("div", { className: clsx('query-builder__projection__column__aggregate__operator__badge', {
|
153
|
+
'query-builder__projection__column__aggregate__operator__badge--activated': Boolean(aggregateColumnState),
|
154
|
+
}), children: _jsx(SigmaIcon, {}) }), _jsx("div", { className: "query-builder__projection__column__aggregate__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] })] }) }), _jsx("div", { className: "query-builder__projection__column__actions", children: _jsx("button", { className: "query-builder__projection__column__action", tabIndex: -1, onClick: removeColumn, disabled: isRemovalDisabled, title: isRemovalDisabled
|
155
|
+
? // TODO: We may want to provide a list of all places where column is in use
|
156
|
+
"This column is used and can't be removed"
|
157
|
+
: 'Remove', children: _jsx(TimesIcon, {}) }) })] }) }));
|
156
158
|
});
|
157
159
|
export const QueryBuilderTDSPanel = observer((props) => {
|
158
160
|
const applicationStore = useApplicationStore();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAA0B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAGL,2CAA2C,EAC3C,uCAAuC,EACvC,wCAAwC,GACzC,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,0BAA0B,EAC1B,WAAW,EACX,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,+B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,CAAC,WAAW,CAAC,UAAU,EAEjC,KAAK,EAAE,CAAC,wCAAwC,CAAC,GACjD,EACD,iBAAiB,CAAC,GAAG,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAChD,KAAC,kCAAkC,IAEjC,qBAAqB,EAAE,qBAAqB,IADvC,qBAAqB,CAAC,IAAI,CAE/B,CACH,CAAC,IACE,CACP,EACD,KAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,uBAAuB,GACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAA0B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAGL,2CAA2C,EAC3C,uCAAuC,EACvC,wCAAwC,GACzC,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAA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3C,CACH,EACA,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CACpC,8BACe,qBAAqB,CAAC,iBAAiB,EACpD,SAAS,EAAC,oCAAoC,aAE9C,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA4C,EACpC,EAAE,CACV,IAAI,CAAC,WAAW,CAAC,UAAU,KAAK,EAAE;wCAChC,CAAC,CAAC,WAAW;wCACb,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,EAEjC,KAAK,EAAE,CAAC,wCAAwC,CAAC,GACjD,EACD,iBAAiB,CAAC,GAAG,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAChD,KAAC,kCAAkC,IAEjC,qBAAqB,EAAE,qBAAqB,IADvC,qBAAqB,CAAC,IAAI,CAE/B,CACH,CAAC,IACE,CACP,EACD,KAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSWindowPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSWindowPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAsCH,OAAO,EACL,KAAK,uBAAuB,EAO7B,MAAM,oEAAoE,CAAC;AAsiC5E,eAAO,MAAM,0BAA0B,WAC7B;IAAE,cAAc,EAAE,uBAAuB,CAAA;CAAE;;CAgHpD,CAAC"}
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { useApplicationStore } from '@finos/legend-application';
|
18
|
-
import { PlusIcon, PanelContent, PanelDropZone, BlankPanelPlaceholder, DropdownMenu, InputWithInlineValidation, MenuContent, MenuContentItem, SigmaIcon, CaretDownIcon, clsx, PanelEntryDropZonePlaceholder, ContextMenu,
|
18
|
+
import { PlusIcon, PanelContent, PanelDropZone, BlankPanelPlaceholder, DropdownMenu, InputWithInlineValidation, MenuContent, MenuContentItem, SigmaIcon, CaretDownIcon, clsx, PanelEntryDropZonePlaceholder, ContextMenu, TimesIcon, useDragPreviewLayer, SortIcon, Dialog, CustomSelectorInput, WindowIcon, BasePopover, EditIcon, ModalHeader, Modal, ModalFooter, PanelFormSection, ModalFooterButton, PanelDnDEntryDragHandle, PanelDnDEntry, } from '@finos/legend-art';
|
19
19
|
import { assertErrorThrown, guaranteeNonNullable } from '@finos/legend-shared';
|
20
20
|
import { observer } from 'mobx-react-lite';
|
21
21
|
import { forwardRef, useCallback, useRef, useState } from 'react';
|
@@ -222,6 +222,7 @@ const QueryBuilderWindowColumnEditor = observer((props) => {
|
|
222
222
|
const operators = windowState.operators;
|
223
223
|
// state
|
224
224
|
const ref = useRef(null);
|
225
|
+
const handleRef = useRef(null);
|
225
226
|
const [windowAnchor, setWindowAnchor] = useState(null);
|
226
227
|
const openWindowPopover = (event) => {
|
227
228
|
setWindowAnchor(event.currentTarget);
|
@@ -304,7 +305,8 @@ const QueryBuilderWindowColumnEditor = observer((props) => {
|
|
304
305
|
}),
|
305
306
|
}), [windowColumnState]);
|
306
307
|
const isBeingDragged = windowColumnState === olapColumnBeingDragged;
|
307
|
-
dragConnector(
|
308
|
+
dragConnector(handleRef);
|
309
|
+
dropConnector(ref);
|
308
310
|
useDragPreviewLayer(dragPreviewConnector);
|
309
311
|
const handleOpDrop = (val) => {
|
310
312
|
if (operationState instanceof QueryBuilderTDS_WindowAggreationOperatorState) {
|
@@ -337,33 +339,33 @@ const QueryBuilderWindowColumnEditor = observer((props) => {
|
|
337
339
|
isDragOver: monitor.isOver({ shallow: true }),
|
338
340
|
}),
|
339
341
|
}), [handleWindowDrop]);
|
340
|
-
return (_jsx(
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
342
|
+
return (_jsx(PanelDnDEntry, { ref: ref, className: "query-builder__olap__column", showPlaceholder: isBeingDragged, children: _jsxs(ContextMenu, { content: _jsx(QueryBuilderWindowColumnContextMenu, { columnState: windowColumnState }), className: clsx('query-builder__olap__column__context-menu', {
|
343
|
+
'query-builder__olap__column--selected-from-context-menu': isSelectedFromContextMenu,
|
344
|
+
}), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [_jsx(PanelDnDEntryDragHandle, { isBeingDragged: isBeingDragged, className: "query-builder__olap__column__drag-handle__container", dropTargetConnector: handleRef }), _jsx("div", { className: "query-builder__olap__column__operation", children: _jsxs("div", { className: "query-builder__olap__column__operation__operator", children: [_jsx("div", { className: clsx('query-builder__olap__column__operation__operator__label', {
|
345
|
+
'query-builder__olap__column__operation__operator__label__agg': !aggregateColumn,
|
346
|
+
}), children: operationState.operator.getLabel() }), aggregateColumn && (_jsx(TDSColumnReferenceEditor, { tdsColumn: aggregateColumn, handleChange: handleOpDrop, selectionEditor: {
|
347
|
+
options: windowColumnState.possibleReferencedColumns,
|
348
|
+
} })), _jsxs(DropdownMenu, { className: "query-builder__olap__column__operation__operator__dropdown", disabled: !operators.length, content: _jsx(MenuContent, { children: operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder__olap__column__operation__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel() }, op.uuid))) }), menuProps: {
|
349
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
350
|
+
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
351
|
+
elevation: 7,
|
352
|
+
}, children: [_jsx("button", { className: "query-builder__olap__column__operation__operator__badge", tabIndex: -1, title: "Choose Window Function Operator...", children: _jsx(SigmaIcon, {}) }), _jsx("button", { className: "query-builder__olap__column__operation__operator__dropdown__trigger", tabIndex: -1, title: "Choose Window Function Operator...", children: _jsx(CaretDownIcon, {}) })] })] }) }), _jsxs("div", { className: "query-builder__olap__column__window", children: [_jsx("button", { ref: dropOpConnector, title: "Click to edit or drag and drop columns", onClick: openWindowPopover, className: "query-builder__olap__column__window__content", children: _jsxs(PanelEntryDropZonePlaceholder, { showPlaceholder: isDragOver, label: "Add", className: "query-builder__dnd__placeholder", children: [_jsxs("div", { title: `${windowColumnState.windowColumns.length} columns partitioned`, className: "query-builder__olap__column__window__content__label", children: ["(", windowColumnState.windowColumns.length, ")"] }), _jsx("div", { className: clsx('query-builder__olap__column__window__operator__badge'), tabIndex: -1, title: "Edit window columns...", children: _jsx(WindowIcon, {}) })] }) }), _jsx(BasePopover, { open: Boolean(windowAnchor), anchorEl: windowAnchor, onClose: closeWindowPopover, anchorOrigin: {
|
353
|
+
vertical: 'bottom',
|
354
|
+
horizontal: 'center',
|
355
|
+
}, transformOrigin: {
|
356
|
+
vertical: 'top',
|
357
|
+
horizontal: 'center',
|
358
|
+
}, children: _jsx("div", { className: "query-builder__olap__column__window__popover", children: _jsxs("div", { className: "panel__content__form__section__list", children: [_jsx("div", { className: "panel__content__form__section__list__items", children: windowColumnState.windowColumns.map((value, idx) => (_jsx(TDSColumnSelectorEditor, { colValue: value, setColumn: (v) => windowColumnState.changeWindow(v, idx), deleteColumn: (v) => windowColumnState.deleteWindow(v), tdsColOptions: windowOptions }, value.uuid))) }), _jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: !addWindowOptions.length, onClick: addWindowValue, tabIndex: -1, children: "Add Value" }) })] }) }) })] }), _jsx("div", { className: "query-builder__olap__column__sortby", children: _jsxs("div", { className: "query-builder__olap__column__sortby__operator", children: [sortByState && (_jsx("div", { className: "query-builder__olap__column__sortby__operator__label", children: sortByState.sortType.toLowerCase() })), sortByState && (_jsx(TDSColumnReferenceEditor, { tdsColumn: sortByState.columnState, handleChange: handleSortDrop, selectionEditor: {
|
359
|
+
options: windowColumnState.possibleReferencedColumns,
|
360
|
+
} })), !sortByState && (_jsx("div", { className: "query-builder__olap__column__sortby__none", children: "(none)" })), _jsxs(DropdownMenu, { className: "query-builder__olap__column__sortby__operator__dropdown", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "query-builder__olap__column__sortby__operator__dropdown__option", onClick: changeSortBy(undefined), children: "(none)" }, "none"), Object.values(COLUMN_SORT_TYPE).map((op) => (_jsx(MenuContentItem, { className: "query-builder__olap__column__sortby__operator__dropdown__option", onClick: changeSortBy(op), children: op.toLowerCase() }, op)))] }), menuProps: {
|
361
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
362
|
+
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
363
|
+
elevation: 7,
|
364
|
+
}, children: [_jsx("button", { className: clsx('query-builder__olap__column__sortby__operator__badge', {
|
365
|
+
'query-builder__olap__column__sortby__operator__badge--activated': Boolean(sortByState),
|
366
|
+
}), tabIndex: -1, title: "Choose Window Function SortBy Operator...", children: _jsx(SortIcon, {}) }), _jsx("button", { className: "query-builder__olap__column__sortby__operator__dropdown__trigger", tabIndex: -1, title: "Choose Window Function SortBy Operator...", children: _jsx(CaretDownIcon, {}) })] })] }) }), _jsx("div", { className: "query-builder__olap__column__name", children: _jsx(InputWithInlineValidation, { className: "query-builder__olap__column__name__input input-group__input", spellCheck: false, value: windowColumnState.columnName, onChange: changeColumnName, validationErrorMessage: isDuplicatedColumnName ? 'Duplicated column' : undefined }) }), _jsxs("div", { className: "query-builder__olap__column__actions", children: [_jsx("button", { className: "query-builder__olap__column__action", tabIndex: -1, onClick: editoColumn, children: _jsx(EditIcon, {}) }), _jsx("button", { className: "query-builder__olap__column__action", tabIndex: -1, onClick: removeColumn, disabled: isRemovalDisabled, title: isRemovalDisabled
|
367
|
+
? "This column is used in the post filter and can't be removed"
|
368
|
+
: 'Remove', children: _jsx(TimesIcon, {}) })] })] }) }));
|
367
369
|
});
|
368
370
|
export const QueryBuilderTDSWindowPanel = observer((props) => {
|
369
371
|
const { tdsWindowState } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSWindowPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,yBAAyB,EACzB,WAAW,EACX,eAAe,EACf,SAAS,EACT,aAAa,EACb,IAAI,EACJ,6BAA6B,EAC7B,WAAW,EACX,sBAAsB,EACtB,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAA0B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAErE,OAAO,EAIL,6BAA6B,EAC7B,uCAAuC,EACvC,6CAA6C,EAC7C,oCAAoC,GACrC,MAAM,oEAAoE,CA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AAe,EACxB,QAAQ,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,EACpD,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,+BAA+B,YAErC,KAAC,QAAQ,KAAG,GACL,GACL,IACF,EACN,KAAC,YAAY,cACX,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,cAAc,CAAC,OAAO,IAAI,CACzB,KAAC,qBAAqB,IACpB,IAAI,EAAC,4BAA4B,EACjC,WAAW,EAAC,4BAA4B,GACxC,CACH,EACA,CAAC,cAAc,CAAC,OAAO,IAAI,CAC1B,6BACe,qBAAqB,CAAC,iBAAiB,EACpD,SAAS,EAAC,8BAA8B,YAEvC,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACzC,KAAC,8BAA8B,IAC7B,iBAAiB,EAAE,GAAG,IACjB,GAAG,CAAC,IAAI,CACb,CACH,CAAC,GACE,CACP,IACa,GACH,EACd,cAAc,CAAC,UAAU,IAAI,CAC5B,KAAC,mCAAmC,IAClC,WAAW,EAAE,cAAc,EAC3B,iBAAiB,EAAE,cAAc,CAAC,UAAU,GAC5C,CACH,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSWindowPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,yBAAyB,EACzB,WAAW,EACX,eAAe,EACf,SAAS,EACT,aAAa,EACb,IAAI,EACJ,6BAA6B,EAC7B,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACR,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