@finos/legend-query-builder 4.14.49 → 4.14.50
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts +1 -1
- package/lib/components/QueryBuilder.js +45 -46
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +18 -19
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +2 -2
- package/lib/components/QueryBuilderDiffPanel.js +6 -7
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +10 -11
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +13 -14
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -2
- package/lib/components/QueryBuilderSideBar.js +11 -12
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +1 -1
- package/lib/components/QueryBuilderTextEditor.js +7 -8
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +3 -4
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryChat.d.ts +1 -1
- package/lib/components/QueryChat.js +2 -3
- package/lib/components/QueryChat.js.map +1 -1
- package/lib/components/QueryLoader.d.ts +2 -2
- package/lib/components/QueryLoader.js +24 -25
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts +1 -1
- package/lib/components/QueryUsageViewer.js +3 -4
- package/lib/components/QueryUsageViewer.js.map +1 -1
- package/lib/components/ServiceQuerySetupUtils.js +3 -4
- package/lib/components/ServiceQuerySetupUtils.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -3
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.d.ts +1 -1
- package/lib/components/data-access/DataAccessOverview.js +16 -17
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +3 -4
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js +2 -3
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js +3 -4
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts +3 -3
- package/lib/components/execution-plan/ExecutionPlanViewer.js +33 -34
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +2 -3
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js +3 -4
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/PartialClassResultViewer.js +2 -3
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +6 -7
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js +3 -4
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +4 -5
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +6 -7
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +5 -6
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TDSResultTypeViewer.js +3 -4
- package/lib/components/execution-plan/TDSResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js +2 -3
- package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +30 -31
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +19 -20
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +3 -4
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +17 -18
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +8 -9
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +3 -3
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +23 -24
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +2 -2
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +26 -27
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +2 -3
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +13 -14
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +8 -9
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +40 -41
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +28 -29
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +19 -20
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +2 -2
- package/lib/components/result/QueryBuilderResultPanel.js +16 -17
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +10 -11
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +4 -5
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +8 -9
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +37 -38
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +20 -21
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +2 -2
- package/lib/components/shared/LambdaEditor.js +13 -14
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +6 -7
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +3 -4
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +9 -10
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +3 -4
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +2 -2
- package/lib/components/shared/QueryBuilderVariableSelector.js +7 -8
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +5 -6
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +5 -6
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +5 -6
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +3 -3
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -50,7 +49,7 @@ const QueryBuilderWindowColumnContextMenu = observer(forwardRef(function QueryBu
|
|
50
49
|
const { columnState } = props;
|
51
50
|
const editColumn = () => columnState.windowState.setEditColumn(columnState);
|
52
51
|
const removeColumn = () => columnState.windowState.removeColumn(columnState);
|
53
|
-
return (
|
52
|
+
return (_jsxs(MenuContent, { ref: ref, children: [_jsx(MenuContentItem, { onClick: editColumn, children: "Open Editor" }), _jsx(MenuContentItem, { onClick: removeColumn, children: "Remove" })] }));
|
54
53
|
}));
|
55
54
|
const TDSColumnSelectorEditor = observer((props) => {
|
56
55
|
const { tdsColOptions, colValue, setColumn, deleteColumn } = props;
|
@@ -69,7 +68,7 @@ const TDSColumnSelectorEditor = observer((props) => {
|
|
69
68
|
}
|
70
69
|
};
|
71
70
|
const removeColumn = () => deleteColumn(colValue);
|
72
|
-
return (
|
71
|
+
return (_jsxs("div", { className: "panel__content__form__section__list__item query-builder__projection__options__sort", children: [_jsx(CustomSelectorInput, { className: "query-builder__projection__options__sort__dropdown", options: options, disabled: options.length < 1, onChange: onChange, value: value, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }), _jsx("button", { className: "query-builder__olap__tds__column__remove-btn btn--dark btn--caution", onClick: removeColumn, tabIndex: -1, title: "Remove", children: _jsx(TimesIcon, {}) })] }));
|
73
72
|
});
|
74
73
|
const QueryBuilderWindowColumnModalEditor = observer((props) => {
|
75
74
|
// Read state
|
@@ -190,25 +189,25 @@ const QueryBuilderWindowColumnModalEditor = observer((props) => {
|
|
190
189
|
windowState.addWindowColumn(windowColumnState);
|
191
190
|
handleCancel();
|
192
191
|
};
|
193
|
-
return (
|
192
|
+
return (_jsx(Dialog, { open: Boolean(windowState.editColumn), onClose: handleCancel, classes: {
|
194
193
|
root: 'editor-modal__root-container',
|
195
194
|
container: 'editor-modal__container',
|
196
195
|
paper: 'editor-modal__content',
|
197
|
-
}, children:
|
196
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx([
|
198
197
|
'query-builder__olap__modal',
|
199
198
|
{
|
200
199
|
'query-editor--light': applicationStore.layoutService
|
201
200
|
.TEMPORARY__isLightColorThemeEnabled,
|
202
201
|
},
|
203
|
-
]), children: [
|
202
|
+
]), children: [_jsx(ModalHeader, { title: isNewWindowFunction
|
204
203
|
? 'Create Window Function Column'
|
205
|
-
: 'Update Window Function Column' }
|
204
|
+
: 'Update Window Function Column' }), _jsxs("div", { className: "query-builder__olap__modal__body", children: [_jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Window Operator" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Window aggregation function to apply and column if required by function" }), _jsx("div", { className: "panel__content__form__section__list", children: _jsx("div", { className: "panel__content__form__section__list__items", children: _jsxs("div", { className: "query-builder__olap__column__operation__operator", children: [windowOperatorColumn && (_jsx("div", { className: "panel__content__form__section__list__item query-builder__olap__tds__column__options", children: _jsx(CustomSelectorInput, { className: "query-builder__olap__tds__column__dropdown", options: allColumnsOptions, disabled: allColumnsOptions.length < 1, onChange: changeWindowOperatorColumn, value: {
|
206
205
|
value: windowOperatorColumn,
|
207
206
|
label: windowOperatorColumn.columnName,
|
208
207
|
}, darkMode: !applicationStore.layoutService
|
209
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
208
|
+
.TEMPORARY__isLightColorThemeEnabled }) })), _jsx("div", { className: clsx('query-builder__olap__column__operation__operator__label', {
|
210
209
|
'query-builder__olap__column__operation__operator__label__agg': !windowOperatorColumn,
|
211
|
-
}), children: selectedOperatorState.operator.getLabel() }
|
210
|
+
}), children: selectedOperatorState.operator.getLabel() }), _jsxs(DropdownMenu, { className: "query-builder__olap__column__operation__operator__dropdown", title: "Choose Window Function Operator...", 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: {
|
212
211
|
anchorOrigin: {
|
213
212
|
vertical: 'bottom',
|
214
213
|
horizontal: 'left',
|
@@ -218,17 +217,17 @@ const QueryBuilderWindowColumnModalEditor = observer((props) => {
|
|
218
217
|
horizontal: 'left',
|
219
218
|
},
|
220
219
|
elevation: 7,
|
221
|
-
}, children: [
|
220
|
+
}, children: [_jsx("div", { className: "query-builder__olap__column__operation__operator__badge", children: _jsx(SigmaIcon, {}) }), _jsx("div", { className: "query-builder__olap__column__operation__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] })] }) }) })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Window Columns" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Represents the window of columns that will partition the rows for which to apply the aggregate function" }), _jsxs("div", { className: "panel__content__form__section__list", children: [_jsx("div", { className: "panel__content__form__section__list__items", children: selectedWindowColumns.map((value, idx) => (_jsx(TDSColumnSelectorEditor, { colValue: value, setColumn: (v) => updateWindowColumn(idx, v), deleteColumn: (v) => deleteWindowColumn(v), tdsColOptions: availableColumns }, 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: !availableColumns.length, onClick: addWindowColumn, tabIndex: -1, children: "Add Value" }) })] })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Sort By" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Orders by the designated column" }), _jsx("div", { className: "panel__content__form__section__header__prompt" }), _jsx("div", { className: "panel__content__form__section__list", children: _jsxs("div", { className: "query-builder__olap__column__sortby__operator", children: [selectedSortBy && (_jsx("div", { className: "panel__content__form__section__list__item query-builder__olap__tds__column__options", children: _jsx(CustomSelectorInput, { className: "query-builder__olap__tds__column__dropdown", options: allColumnsOptions, disabled: allColumnsOptions.length < 1, onChange: changeSortCol, value: {
|
222
221
|
value: selectedSortBy.columnState,
|
223
222
|
label: selectedSortBy.columnState.columnName,
|
224
223
|
}, darkMode: !applicationStore.layoutService
|
225
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
224
|
+
.TEMPORARY__isLightColorThemeEnabled }) })), !selectedSortBy && (_jsx("div", { className: "query-builder__olap__column__sortby__none", children: "(none)" })), selectedSortBy && (_jsx("div", { className: "query-builder__olap__column__sortby__operator__label", children: selectedSortBy.sortType.toLowerCase() })), _jsxs(DropdownMenu, { className: "query-builder__olap__column__sortby__operator__dropdown", title: "Choose Window Function SortBy Operator...", 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: {
|
226
225
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
227
226
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
228
227
|
elevation: 7,
|
229
|
-
}, children: [
|
228
|
+
}, children: [_jsx("div", { className: clsx('query-builder__olap__column__sortby__operator__badge', {
|
230
229
|
'query-builder__olap__column__sortby__operator__badge--activated': Boolean(selectedSortBy),
|
231
|
-
}), tabIndex: -1, children:
|
230
|
+
}), tabIndex: -1, children: _jsx(SortIcon, {}) }), _jsx("div", { className: "query-builder__olap__column__sortby__operator__dropdown__trigger", tabIndex: -1, children: _jsx(CaretDownIcon, {}) })] })] }) })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Window Function Column Name" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Name of Window Function Column that will be part of TDS Result" }), _jsx(InputWithInlineValidation, { className: "query-builder__olap__column__name__input input-group__input", spellCheck: false, value: selectedColumnName, onChange: changeColumnName, error: isDuplicatedColumnName ? 'Duplicated column' : undefined })] })] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isNewWindowFunction ? 'Create' : 'Apply', onClick: handleApply, disabled: isDuplicatedColumnName }), _jsx(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" })] })] }) }));
|
232
231
|
});
|
233
232
|
const TDSColumnReferenceEditor = observer((props) => {
|
234
233
|
const { handleChange, tdsColumn, selectionEditor } = props;
|
@@ -272,14 +271,14 @@ const TDSColumnReferenceEditor = observer((props) => {
|
|
272
271
|
isDragOver: monitor.isOver({ shallow: true }),
|
273
272
|
}),
|
274
273
|
}), [handleDrop]);
|
275
|
-
return (
|
274
|
+
return (_jsxs(_Fragment, { children: [_jsx("button", { onClick: openOpAnchor, className: "query-builder__olap__tds__column", children: _jsx("div", { ref: dropOpConnector, className: "query-builder__olap__tds__column-badge", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Change Column", children: _jsx("div", { className: "query-builder__olap__tds__column-badge__content", children: _jsx("div", { className: "query-builder__olap__tds__column-badge__property", title: `${tdsColumn.columnName}`, children: tdsColumn.columnName }) }) }) }) }), selectionEditor && (_jsx(BasePopover, { open: Boolean(opAnchor), anchorEl: opAnchor, onClose: closeOpAnchor, anchorOrigin: {
|
276
275
|
vertical: 'bottom',
|
277
276
|
horizontal: 'center',
|
278
277
|
}, transformOrigin: {
|
279
278
|
vertical: 'top',
|
280
279
|
horizontal: 'center',
|
281
|
-
}, children:
|
282
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
280
|
+
}, children: _jsx("div", { className: "query-builder__olap__column__window__popover", children: _jsx("div", { className: "panel__content__form__section__list__item query-builder__olap__tds__column__options", children: _jsx(CustomSelectorInput, { className: "query-builder__projection__options__sort__dropdown", options: options, disabled: options.length < 1, onChange: onChange, value: value, darkMode: !applicationStore.layoutService
|
281
|
+
.TEMPORARY__isLightColorThemeEnabled }) }) }) }))] }));
|
283
282
|
});
|
284
283
|
const QueryBuilderWindowColumnEditor = observer((props) => {
|
285
284
|
const { windowColumnState } = props;
|
@@ -407,37 +406,37 @@ const QueryBuilderWindowColumnEditor = observer((props) => {
|
|
407
406
|
isDragOver: monitor.isOver({ shallow: true }),
|
408
407
|
}),
|
409
408
|
}), [handleWindowDrop]);
|
410
|
-
return (
|
409
|
+
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', {
|
411
410
|
'query-builder__olap__column--selected-from-context-menu': isSelectedFromContextMenu,
|
412
|
-
}), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [
|
411
|
+
}), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [_jsx(PanelEntryDragHandle, { isDragging: isBeingDragged, className: "query-builder__olap__column__drag-handle__container", dragSourceConnector: handleRef }), _jsx("div", { className: "query-builder__olap__column__operation", children: _jsxs("div", { className: "query-builder__olap__column__operation__operator", children: [aggregateColumn && (_jsx(TDSColumnReferenceEditor, { tdsColumn: aggregateColumn, handleChange: handleOpDrop, selectionEditor: {
|
413
412
|
options: windowColumnState.possibleReferencedColumns,
|
414
|
-
} }
|
413
|
+
} })), _jsx("div", { className: clsx('query-builder__olap__column__operation__operator__label', {
|
415
414
|
'query-builder__olap__column__operation__operator__label__agg': !aggregateColumn,
|
416
|
-
}), children: operationState.operator.getLabel() }
|
415
|
+
}), children: operationState.operator.getLabel() }), _jsxs(DropdownMenu, { className: "query-builder__olap__column__operation__operator__dropdown", disabled: !operators.length, title: "Choose Window Function Operator...", 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: {
|
417
416
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
418
417
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
419
418
|
elevation: 7,
|
420
|
-
}, children: [
|
419
|
+
}, children: [_jsx("div", { className: "query-builder__olap__column__operation__operator__badge", children: _jsx(SigmaIcon, {}) }), _jsx("div", { className: "query-builder__olap__column__operation__operator__dropdown__trigger", 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, { isDragOver: isDragOver, label: "Add", 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: {
|
421
420
|
vertical: 'bottom',
|
422
421
|
horizontal: 'center',
|
423
422
|
}, transformOrigin: {
|
424
423
|
vertical: 'top',
|
425
424
|
horizontal: 'center',
|
426
|
-
}, children:
|
425
|
+
}, 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: addWindowOptions }, 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(TDSColumnReferenceEditor, { tdsColumn: sortByState.columnState, handleChange: handleSortDrop, selectionEditor: {
|
427
426
|
options: windowColumnState.possibleReferencedColumns,
|
428
|
-
} }
|
427
|
+
} })), !sortByState && (_jsx("div", { className: "query-builder__olap__column__sortby__none", children: "(none)" })), sortByState && (_jsx("div", { className: "query-builder__olap__column__sortby__operator__label", children: sortByState.sortType.toLowerCase() })), _jsxs(DropdownMenu, { className: "query-builder__olap__column__sortby__operator__dropdown", title: "Choose Window Function SortBy Operator...", 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: {
|
429
428
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
430
429
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
431
430
|
elevation: 7,
|
432
|
-
}, children: [
|
431
|
+
}, children: [_jsx("div", { className: clsx('query-builder__olap__column__sortby__operator__badge', {
|
433
432
|
'query-builder__olap__column__sortby__operator__badge--activated': Boolean(sortByState),
|
434
|
-
}), children:
|
433
|
+
}), children: _jsx(SortIcon, {}) }), _jsx("div", { className: "query-builder__olap__column__sortby__operator__dropdown__trigger", 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, error: isDuplicatedColumnName
|
435
434
|
? 'Duplicated column'
|
436
435
|
: isInvalidColumnName
|
437
436
|
? 'Invalid column order'
|
438
|
-
: undefined }
|
437
|
+
: 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
|
439
438
|
? "This column is used in the post filter and can't be removed"
|
440
|
-
: 'Remove', children:
|
439
|
+
: 'Remove', children: _jsx(TimesIcon, {}) })] })] }) }));
|
441
440
|
});
|
442
441
|
export const QueryBuilderTDSWindowPanel = observer((props) => {
|
443
442
|
const { tdsWindowState } = props;
|
@@ -475,6 +474,6 @@ export const QueryBuilderTDSWindowPanel = observer((props) => {
|
|
475
474
|
isDragOver: monitor.isOver({ shallow: true }),
|
476
475
|
}),
|
477
476
|
}), [applicationStore, handleDrop]);
|
478
|
-
return (
|
477
|
+
return (_jsx(Panel, { children: _jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_WINDOW_GROUPBY, className: "panel", children: [_jsxs(PanelHeader, { children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "window function" }), tdsWindowState.windowValidationIssues.length > 0 && (_jsx(QueryBuilderPanelIssueCountBadge, { issues: tdsWindowState.windowValidationIssues }))] }), _jsx(PanelHeaderActions, { children: _jsx(PanelHeaderActionItem, { onClick: createTDSWindow, disabled: !tdsWindowState.tdsState.tdsColumns.length, title: "Create Window Function Column", children: _jsx(PlusIcon, {}) }) })] }), _jsx(PanelContent, { children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [tdsWindowState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add Window Function Column", tooltipText: "Drag and drop columns here" })), !tdsWindowState.isEmpty && (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS, className: "query-builder__olap__columns", children: tdsWindowState.windowColumns.map((col) => (_jsx(QueryBuilderWindowColumnEditor, { windowColumnState: col }, col.uuid))) }))] }) }), tdsWindowState.editColumn && (_jsx(QueryBuilderWindowColumnModalEditor, { windowState: tdsWindowState, windowColumnState: tdsWindowState.editColumn }))] }) }));
|
479
478
|
});
|
480
479
|
//# sourceMappingURL=QueryBuilderTDSWindowPanel.js.map
|
@@ -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,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,iBAA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ACnC,iBAAK,SAAS,EAAC,6BAA6B,qHAAsB,EACjE,cAAc,CAAC,sBAAsB,CAAC,MAAM,GAAG,CAAC,IAAI,CACnD,QAAC,gCAAgC,IAC/B,MAAM,EAAE,cAAc,CAAC,sBAAsB,wFAC7C,CACH,wFACG,EACN,QAAC,kBAAkB,cACjB,QAAC,qBAAqB,IACpB,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,EACpD,KAAK,EAAC,+BAA+B,YAErC,QAAC,QAAQ,0FAAG,wFACU,wFACL,wFACT,EACd,QAAC,YAAY,cACX,QAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,cAAc,CAAC,OAAO,IAAI,CACzB,QAAC,qBAAqB,IACpB,IAAI,EAAC,4BAA4B,EACjC,WAAW,EAAC,4BAA4B,wFACxC,CACH,EACA,CAAC,cAAc,CAAC,OAAO,IAAI,CAC1B,gCACe,qBAAqB,CAAC,iBAAiB,EACpD,SAAS,EAAC,8BAA8B,YAEvC,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACzC,QAAC,8BAA8B,IAC7B,iBAAiB,EAAE,GAAG,IACjB,GAAG,CAAC,IAAI,8EACb,CACH,CAAC,wFACE,CACP,wFACa,wFACH,EACd,cAAc,CAAC,UAAU,IAAI,CAC5B,QAAC,mCAAmC,IAClC,WAAW,EAAE,cAAc,EAC3B,iBAAiB,EAAE,cAAc,CAAC,UAAU,wFAC5C,CACH,uFACG,wFACA,CACT,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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TED: string[];
|
|
26
26
|
export declare const IS_DRAGGABLE_FILTER_DND_TYPES: (QUERY_BUILDER_EXPLORER_TREE_DND_TYPE | QUERY_BUILDER_FILTER_DND_TYPE)[];
|
27
27
|
export declare const QueryBuilderFilterPanel: ((props: {
|
28
28
|
queryBuilderState: QueryBuilderState;
|
29
|
-
}) => import("react/jsx-
|
29
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
30
30
|
displayName: string;
|
31
31
|
};
|
32
32
|
//# sourceMappingURL=QueryBuilderFilterPanel.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/filter/QueryBuilderFilterPanel.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -360,7 +359,7 @@ const QueryBuilderFilterGroupConditionEditor = observer((props) => {
|
|
360
359
|
: QUERY_BUILDER_GROUP_OPERATION.AND);
|
361
360
|
};
|
362
361
|
const operationName = node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.AND ? 'AND' : 'OR';
|
363
|
-
return (
|
362
|
+
return (_jsx("div", { className: "dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: operationName, className: "query-builder-filter-tree__group-node__drop-zone", children: _jsx("div", { className: "query-builder-filter-tree__group-node", title: "Switch Operation", onClick: switchOperation, children: _jsx("div", { className: "query-builder-filter-tree__group-node__label editable-value", children: node.groupOperation }) }) }) }));
|
364
363
|
});
|
365
364
|
const QueryBuilderFilterExistsConditionEditor = observer((props) => {
|
366
365
|
const { node, humanizePropertyName, isDragOver, isDroppable } = props;
|
@@ -371,9 +370,9 @@ const QueryBuilderFilterExistsConditionEditor = observer((props) => {
|
|
371
370
|
node.propertyExpressionState.setIsEditingDerivedProperty(true);
|
372
371
|
}
|
373
372
|
};
|
374
|
-
return (
|
373
|
+
return (_jsx("div", { className: "dnd__entry__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: "Add to Exists Group", className: "query-builder-filter-tree__exists-node__drop-zone", children: _jsxs("div", { className: "query-builder-filter-tree__exists-node", title: "This is an exists filter on the collection property", children: [_jsx("div", { className: "query-builder-filter-tree__exists-node__label", children: getPropertyChainName(node.propertyExpressionState.propertyExpression, humanizePropertyName) }), _jsx("div", { className: "query-builder-filter-tree__exists-node__exists--label", children: "exists" }), hasDerivedPropertyInExpression && (_jsxs("button", { className: clsx('query-builder-filter-tree__exists-node__exists--label__action', {
|
375
374
|
'query-builder-filter-tree__exists-node__exists--label__action--error': !isValid,
|
376
|
-
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid &&
|
375
|
+
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsx(InfoCircleIcon, {}), " (...)"] })), _jsx(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: node.propertyExpressionState })] }) }) }));
|
377
376
|
});
|
378
377
|
const QueryBuilderFilterConditionEditor = observer((props) => {
|
379
378
|
const { node, isDragOver } = props;
|
@@ -423,19 +422,19 @@ const QueryBuilderFilterConditionEditor = observer((props) => {
|
|
423
422
|
reloadValues: debouncedTypeaheadSearch,
|
424
423
|
cleanUpReloadValues,
|
425
424
|
};
|
426
|
-
return (
|
425
|
+
return (_jsx("div", { className: "dnd__entry__container", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_CONTENT, children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Add New Logical Group", children: _jsxs("div", { className: "query-builder-filter-tree__condition-node", children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__property", children: _jsx(QueryBuilderPropertyExpressionBadge, { propertyExpressionState: node.condition.propertyExpressionState }) }), _jsxs(DropdownMenu, { className: "query-builder-filter-tree__condition-node__operator", title: "Choose Operator...", content: _jsx(MenuContent, { children: node.condition.operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel(node.condition) }, op.uuid))) }), menuProps: {
|
427
426
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
428
427
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
429
428
|
elevation: 7,
|
430
|
-
}, children: [
|
429
|
+
}, children: [_jsx("div", { className: "query-builder-filter-tree__condition-node__operator__label", children: node.condition.operator.getLabel(node.condition) }), _jsx("div", { className: "query-builder-filter-tree__condition-node__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), node.condition.value && (_jsx("div", { ref: dropConnector, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_VALUE, className: "query-builder-filter-tree__condition-node__value", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, label: "Change Filter Value", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: node.condition.value, setValueSpecification: changeValueSpecification, graph: graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
|
431
430
|
expectedType: node.condition.propertyExpressionState
|
432
431
|
.propertyExpression.func.value.genericType.value
|
433
432
|
.rawType,
|
434
|
-
}, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(node.condition.value) }
|
433
|
+
}, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(node.condition.value) }) }) }))] }) }) }));
|
435
434
|
});
|
436
435
|
const QueryBuilderFilterBlankConditionEditor = observer((props) => {
|
437
436
|
const { isDragOver, isDroppable } = props;
|
438
|
-
return (
|
437
|
+
return (_jsx("div", { className: "query-builder-filter-tree__node__label__content", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: "Create Condition", children: _jsx("div", { className: "query-builder-filter-tree__blank-node", children: "blank" }) }) }));
|
439
438
|
});
|
440
439
|
const QueryBuilderFilterConditionContextMenu = observer(forwardRef(function QueryBuilderFilterConditionContextMenu(props, ref) {
|
441
440
|
const { queryBuilderState, node } = props;
|
@@ -451,7 +450,7 @@ const QueryBuilderFilterConditionContextMenu = observer(forwardRef(function Quer
|
|
451
450
|
QueryBuilderTelemetryHelper.logEvent_FilterCreateGroupFromConditionLaunched(queryBuilderState.applicationStore.telemetryService);
|
452
451
|
filterState.newGroupWithConditionFromNode(undefined, node);
|
453
452
|
};
|
454
|
-
return (
|
453
|
+
return (_jsxs(MenuContent, { ref: ref, children: [node instanceof QueryBuilderFilterTreeGroupNodeData && (_jsx(MenuContentItem, { onClick: createCondition, children: "Add New Condition" })), node instanceof QueryBuilderFilterTreeGroupNodeData && (_jsx(MenuContentItem, { onClick: createGroupCondition, children: "Add New Logical Group" })), node instanceof QueryBuilderFilterTreeConditionNodeData && (_jsx(MenuContentItem, { onClick: newGroupWithCondition, children: "Form a New Logical Group" })), _jsx(MenuContentItem, { onClick: removeNode, children: "Remove" })] }));
|
455
454
|
}));
|
456
455
|
const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
457
456
|
const { node, onNodeSelect, innerProps } = props;
|
@@ -557,7 +556,7 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
557
556
|
const showRemoveButton = node instanceof QueryBuilderFilterTreeConditionNodeData ||
|
558
557
|
node instanceof QueryBuilderFilterTreeBlankConditionNodeData ||
|
559
558
|
isEmptyExistsNode;
|
560
|
-
return (
|
559
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTAINER, onClick: node instanceof QueryBuilderFilterTreeConditionNodeData ||
|
561
560
|
node instanceof QueryBuilderFilterTreeBlankConditionNodeData
|
562
561
|
? selectNode
|
563
562
|
: undefined, className: clsx('query-builder-filter-tree__node__container', {
|
@@ -569,15 +568,15 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
569
568
|
'query-builder-filter-tree__node__container--no-hover': filterState.isRearrangingConditions,
|
570
569
|
'query-builder-filter-tree__node__container--selected': node === filterState.selectedNode,
|
571
570
|
'query-builder-filter-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
|
572
|
-
}), children:
|
573
|
-
.humanizePropertyName, isDroppable: isDroppable, isDragOver: isDragOver }
|
571
|
+
}), children: _jsxs(ContextMenu, { content: _jsx(QueryBuilderFilterConditionContextMenu, { queryBuilderState: queryBuilderState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, className: "query-builder-filter-tree__node__context-menu", children: [_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTENT, className: "query-builder-filter-tree__node__content", ref: dragRef, children: [node instanceof QueryBuilderFilterTreeGroupNodeData && (_jsx(QueryBuilderFilterGroupConditionEditor, { node: node, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeExistsNodeData && (_jsx(QueryBuilderFilterExistsConditionEditor, { node: node, humanizePropertyName: filterState.queryBuilderState.explorerState
|
572
|
+
.humanizePropertyName, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeConditionNodeData && (_jsx(QueryBuilderFilterConditionEditor, { node: node, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeBlankConditionNodeData && (_jsx(QueryBuilderFilterBlankConditionEditor, { node: node, isDragOver: isDragOver, isDroppable: isDroppable }))] }), showRemoveButton && (_jsx("div", { className: "query-builder-filter-tree__node__actions", children: _jsx("button", { className: "query-builder-filter-tree__node__action", tabIndex: -1, title: "Remove", onClick: removeNode, children: _jsx(TimesIcon, {}) }) }))] }) }));
|
574
573
|
});
|
575
574
|
const QueryBuilderFilterTreeNodeView = observer((props) => {
|
576
575
|
const { node, level, onNodeSelect, getChildNodes, stepPaddingInRem, innerProps, } = props;
|
577
|
-
return (
|
576
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_BLOCK, className: clsx('query-builder-filter-tree__node__block', {
|
578
577
|
'query-builder-filter-tree__node__block--group': node instanceof QueryBuilderFilterTreeGroupNodeData,
|
579
578
|
'query-builder-filter-tree__node__block--exists': node instanceof QueryBuilderFilterTreeExistsNodeData,
|
580
|
-
}), children: [
|
579
|
+
}), children: [_jsx(QueryBuilderFilterTreeNodeContainer, { node: node, level: level + 1, stepPaddingInRem: stepPaddingInRem, onNodeSelect: onNodeSelect, innerProps: innerProps }), node.isOpen && getChildNodes(node).length > 0 && (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CHILDREN, className: "query-builder-filter-tree__node__children", children: getChildNodes(node).map((childNode) => (_jsx(QueryBuilderFilterTreeNodeView, { node: childNode, level: level + 1, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: innerProps }, childNode.id))) }))] }));
|
581
580
|
});
|
582
581
|
const QueryBuilderFilterTree = observer((props) => {
|
583
582
|
const { queryBuilderState } = props;
|
@@ -589,9 +588,9 @@ const QueryBuilderFilterTree = observer((props) => {
|
|
589
588
|
const getChildNodes = (node) => node instanceof QueryBuilderFilterTreeOperationNodeData
|
590
589
|
? node.childrenIds.map((id) => filterState.getNode(id))
|
591
590
|
: [];
|
592
|
-
return (
|
591
|
+
return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE, className: "tree-view__node__root query-builder-filter-tree__root", children: rootNodes.map((node) => (_jsx(QueryBuilderFilterTreeNodeView, { level: 0, node: node, getChildNodes: getChildNodes, onNodeSelect: onNodeSelect, innerProps: {
|
593
592
|
queryBuilderState,
|
594
|
-
} }, node.id
|
593
|
+
} }, node.id))) }));
|
595
594
|
});
|
596
595
|
export const QueryBuilderFilterPanel = observer((props) => {
|
597
596
|
const { queryBuilderState } = props;
|
@@ -693,9 +692,9 @@ export const QueryBuilderFilterPanel = observer((props) => {
|
|
693
692
|
}), [handleDrop]);
|
694
693
|
const addFilterRef = useRef(null);
|
695
694
|
dropTargetConnector(addFilterRef);
|
696
|
-
return (
|
697
|
-
QueryBuilderFilterTreeConditionNodeData), onClick: newGroupWithCondition, children: [
|
695
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_PANEL, className: "panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "filter" }), filterState.allValidationIssues.length !== 0 && (_jsx(QueryBuilderPanelIssueCountBadge, { issues: filterState.allValidationIssues }))] }), _jsx("div", { className: "panel__header__actions", children: _jsx(DropdownMenu, { className: "panel__header__action", title: "Show Filter Options Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: createCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(PlusIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Condition" })] }), _jsxs(MenuContentItem, { disabled: !(filterState.selectedNode instanceof
|
696
|
+
QueryBuilderFilterTreeConditionNodeData), onClick: newGroupWithCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(PlusCircleIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Group From Condition" })] }), _jsxs(MenuContentItem, { disabled: !allowGroupCreation, title: !allowGroupCreation
|
698
697
|
? 'Please select a filter node first to create logical group'
|
699
|
-
: '', onClick: createGroupCondition, children: [
|
698
|
+
: '', onClick: createGroupCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(NewFolderIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Logical Group" })] }), _jsxs(MenuContentItem, { onClick: pruneTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(TrashIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Cleanup Tree" })] }), _jsxs(MenuContentItem, { onClick: simplifyTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(CircleIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Simplify Tree" })] }), _jsxs(MenuContentItem, { onClick: collapseTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(CompressIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Collapse Tree" })] }), _jsxs(MenuContentItem, { onClick: expandTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(ExpandIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Expand Tree" })] })] }), children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) }) })] }), _jsx(PanelContent, { children: _jsxs(PanelDropZone, { isDragOver: isDragOver && filterState.isEmpty, isDroppable: isDroppable && filterState.isEmpty, dropTargetConnector: dropTargetConnector, children: [filterState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add a filter condition", tooltipText: "Drag and drop properties here" })), !filterState.isEmpty && (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_FILTER_DND_TYPE) }), _jsx(QueryBuilderFilterTree, { queryBuilderState: queryBuilderState })] })), isDroppable && !filterState.isEmpty && (_jsx("div", { ref: addFilterRef, className: "query-builder-filter-tree__free-drop-zone__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, className: "query-builder-filter-tree__free-drop-zone", label: "Add filter to main group", children: _jsx(_Fragment, {}) }) }))] }) })] }));
|
700
699
|
});
|
701
700
|
//# sourceMappingURL=QueryBuilderFilterPanel.js.map
|