@finos/legend-query-builder 4.14.47 → 4.14.49
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderDocumentation.d.ts +3 -1
- package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderDocumentation.js +2 -0
- package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +59 -46
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +22 -22
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +2 -2
- package/lib/components/QueryBuilderDiffPanel.js +7 -6
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +29 -10
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +14 -13
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -2
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +14 -24
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +1 -1
- package/lib/components/QueryBuilderTextEditor.js +8 -7
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +4 -3
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryChat.d.ts +1 -1
- package/lib/components/QueryChat.js +3 -2
- package/lib/components/QueryChat.js.map +1 -1
- package/lib/components/QueryLoader.d.ts +2 -2
- package/lib/components/QueryLoader.js +25 -24
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts +1 -1
- package/lib/components/QueryUsageViewer.js +4 -3
- package/lib/components/QueryUsageViewer.js.map +1 -1
- package/lib/components/ServiceQuerySetupUtils.js +4 -3
- package/lib/components/ServiceQuerySetupUtils.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +3 -2
- 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 +17 -16
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +4 -3
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js +3 -2
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js +4 -3
- 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 +34 -33
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +3 -2
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js +4 -3
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/PartialClassResultViewer.js +3 -2
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +7 -6
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js +4 -3
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +5 -4
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +7 -6
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TDSResultTypeViewer.js +4 -3
- package/lib/components/execution-plan/TDSResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js +3 -2
- 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 +31 -30
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +20 -19
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/{QueryBuilderMilestoningEditor.d.ts → QueryBuilderMilestoningParameterEditor.d.ts} +6 -3
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts.map +1 -0
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +53 -0
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +18 -17
- 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 +9 -8
- 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 +24 -23
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +4 -3
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +76 -54
- 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 +3 -2
- 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.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +201 -29
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +9 -8
- 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.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +55 -36
- 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 +29 -28
- 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 +20 -19
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +2 -2
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +19 -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 +11 -10
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +5 -4
- 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 +9 -8
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +38 -37
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +21 -20
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +2 -2
- package/lib/components/shared/LambdaEditor.js +14 -13
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +7 -6
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +4 -3
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +10 -9
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +4 -3
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +2 -2
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +15 -7
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +6 -5
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +6 -5
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +6 -5
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.d.ts +4 -0
- package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.js +5 -0
- package/lib/graph-manager/QueryBuilderConfig.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +3 -3
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/QueryLoaderState.d.ts +1 -0
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +1 -0
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +8 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js +4 -2
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +13 -2
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +8 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +25 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +5 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +62 -3
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +8 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -0
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/package.json +4 -4
- package/src/__lib__/QueryBuilderDocumentation.ts +2 -0
- package/src/components/QueryBuilder.tsx +44 -0
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +13 -4
- package/src/components/QueryBuilderParametersPanel.tsx +55 -0
- package/src/components/QueryBuilderSideBar.tsx +0 -42
- package/src/components/explorer/QueryBuilderMilestoningParameterEditor.tsx +114 -0
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +143 -78
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +445 -19
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +134 -21
- package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
- package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
- package/src/graph-manager/QueryBuilderConfig.ts +6 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +4 -1
- package/src/stores/QueryLoaderState.ts +1 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +11 -0
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.ts +6 -2
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -0
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -0
- package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +23 -0
- package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +13 -0
- package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +45 -0
- package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +3 -0
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +95 -7
- package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +13 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +11 -0
- package/tsconfig.json +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +0 -102
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +0 -1
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +0 -364
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -49,7 +50,7 @@ const QueryBuilderWindowColumnContextMenu = observer(forwardRef(function QueryBu
|
|
49
50
|
const { columnState } = props;
|
50
51
|
const editColumn = () => columnState.windowState.setEditColumn(columnState);
|
51
52
|
const removeColumn = () => columnState.windowState.removeColumn(columnState);
|
52
|
-
return (
|
53
|
+
return (_jsxDEV(MenuContent, { ref: ref, children: [_jsxDEV(MenuContentItem, { onClick: editColumn, children: "Open Editor" }, void 0, false, { fileName: _jsxFileName, lineNumber: 141, columnNumber: 9 }, this), _jsxDEV(MenuContentItem, { onClick: removeColumn, children: "Remove" }, void 0, false, { fileName: _jsxFileName, lineNumber: 142, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 139, columnNumber: 13 }, this));
|
53
54
|
}));
|
54
55
|
const TDSColumnSelectorEditor = observer((props) => {
|
55
56
|
const { tdsColOptions, colValue, setColumn, deleteColumn } = props;
|
@@ -68,7 +69,7 @@ const TDSColumnSelectorEditor = observer((props) => {
|
|
68
69
|
}
|
69
70
|
};
|
70
71
|
const removeColumn = () => deleteColumn(colValue);
|
71
|
-
return (
|
72
|
+
return (_jsxDEV("div", { className: "panel__content__form__section__list__item query-builder__projection__options__sort", children: [_jsxDEV(CustomSelectorInput, { className: "query-builder__projection__options__sort__dropdown", options: options, disabled: options.length < 1, onChange: onChange, value: value, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 176, columnNumber: 9 }, this), _jsxDEV("button", { className: "query-builder__olap__tds__column__remove-btn btn--dark btn--caution", onClick: removeColumn, tabIndex: -1, title: "Remove", children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 192, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 174, columnNumber: 13 }, this));
|
72
73
|
});
|
73
74
|
const QueryBuilderWindowColumnModalEditor = observer((props) => {
|
74
75
|
// Read state
|
@@ -189,25 +190,25 @@ const QueryBuilderWindowColumnModalEditor = observer((props) => {
|
|
189
190
|
windowState.addWindowColumn(windowColumnState);
|
190
191
|
handleCancel();
|
191
192
|
};
|
192
|
-
return (
|
193
|
+
return (_jsxDEV(Dialog, { open: Boolean(windowState.editColumn), onClose: handleCancel, classes: {
|
193
194
|
root: 'editor-modal__root-container',
|
194
195
|
container: 'editor-modal__container',
|
195
196
|
paper: 'editor-modal__content',
|
196
|
-
}, children:
|
197
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx([
|
197
198
|
'query-builder__olap__modal',
|
198
199
|
{
|
199
200
|
'query-editor--light': applicationStore.layoutService
|
200
201
|
.TEMPORARY__isLightColorThemeEnabled,
|
201
202
|
},
|
202
|
-
]), children: [
|
203
|
+
]), children: [_jsxDEV(ModalHeader, { title: isNewWindowFunction
|
203
204
|
? 'Create Window Function Column'
|
204
|
-
: 'Update Window Function Column' }),
|
205
|
+
: 'Update Window Function Column' }, void 0, false, { fileName: _jsxFileName, lineNumber: 394, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__olap__modal__body", children: [_jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Window Operator" }, void 0, false, { fileName: _jsxFileName, lineNumber: 403, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Window aggregation function to apply and column if required by function" }, void 0, false, { fileName: _jsxFileName, lineNumber: 406, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__list", children: _jsxDEV("div", { className: "panel__content__form__section__list__items", children: _jsxDEV("div", { className: "query-builder__olap__column__operation__operator", children: [windowOperatorColumn && (_jsxDEV("div", { className: "panel__content__form__section__list__item query-builder__olap__tds__column__options", children: _jsxDEV(CustomSelectorInput, { className: "query-builder__olap__tds__column__dropdown", options: allColumnsOptions, disabled: allColumnsOptions.length < 1, onChange: changeWindowOperatorColumn, value: {
|
205
206
|
value: windowOperatorColumn,
|
206
207
|
label: windowOperatorColumn.columnName,
|
207
208
|
}, darkMode: !applicationStore.layoutService
|
208
|
-
.TEMPORARY__isLightColorThemeEnabled }) })),
|
209
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 415, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 413, columnNumber: 47 }, this)), _jsxDEV("div", { className: clsx('query-builder__olap__column__operation__operator__label', {
|
209
210
|
'query-builder__olap__column__operation__operator__label__agg': !windowOperatorColumn,
|
210
|
-
}), children: selectedOperatorState.operator.getLabel() }),
|
211
|
+
}), children: selectedOperatorState.operator.getLabel() }, void 0, false, { fileName: _jsxFileName, lineNumber: 431, columnNumber: 21 }, this), _jsxDEV(DropdownMenu, { className: "query-builder__olap__column__operation__operator__dropdown", title: "Choose Window Function Operator...", disabled: !operators.length, content: _jsxDEV(MenuContent, { children: operators.map((op) => (_jsxDEV(MenuContentItem, { className: "query-builder__olap__column__operation__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel() }, op.uuid, false, { fileName: _jsxFileName, lineNumber: 448, columnNumber: 51 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 446, columnNumber: 32 }, this), menuProps: {
|
211
212
|
anchorOrigin: {
|
212
213
|
vertical: 'bottom',
|
213
214
|
horizontal: 'left',
|
@@ -217,17 +218,17 @@ const QueryBuilderWindowColumnModalEditor = observer((props) => {
|
|
217
218
|
horizontal: 'left',
|
218
219
|
},
|
219
220
|
elevation: 7,
|
220
|
-
}, children: [
|
221
|
+
}, children: [_jsxDEV("div", { className: "query-builder__olap__column__operation__operator__badge", children: _jsxDEV(SigmaIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 472, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 471, columnNumber: 23 }, this), _jsxDEV("div", { className: "query-builder__olap__column__operation__operator__dropdown__trigger", children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 475, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 474, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 442, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 412, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 411, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 410, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 402, columnNumber: 13 }, this), _jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Window Columns" }, void 0, false, { fileName: _jsxFileName, lineNumber: 483, columnNumber: 15 }, this), _jsxDEV("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" }, void 0, false, { fileName: _jsxFileName, lineNumber: 486, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__list", children: [_jsxDEV("div", { className: "panel__content__form__section__list__items", children: selectedWindowColumns.map((value, idx) => (_jsxDEV(TDSColumnSelectorEditor, { colValue: value, setColumn: (v) => updateWindowColumn(idx, v), deleteColumn: (v) => deleteWindowColumn(v), tdsColOptions: availableColumns }, value.uuid, false, { fileName: _jsxFileName, lineNumber: 492, columnNumber: 63 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 491, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__list__new-item__add", children: _jsxDEV("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: !availableColumns.length, onClick: addWindowColumn, tabIndex: -1, children: "Add Value" }, void 0, false, { fileName: _jsxFileName, lineNumber: 507, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 506, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 490, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 482, columnNumber: 13 }, this), _jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Sort By" }, void 0, false, { fileName: _jsxFileName, lineNumber: 519, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Orders by the designated column" }, void 0, false, { fileName: _jsxFileName, lineNumber: 522, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt" }, void 0, false, { fileName: _jsxFileName, lineNumber: 525, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__list", children: _jsxDEV("div", { className: "query-builder__olap__column__sortby__operator", children: [selectedSortBy && (_jsxDEV("div", { className: "panel__content__form__section__list__item query-builder__olap__tds__column__options", children: _jsxDEV(CustomSelectorInput, { className: "query-builder__olap__tds__column__dropdown", options: allColumnsOptions, disabled: allColumnsOptions.length < 1, onChange: changeSortCol, value: {
|
221
222
|
value: selectedSortBy.columnState,
|
222
223
|
label: selectedSortBy.columnState.columnName,
|
223
224
|
}, darkMode: !applicationStore.layoutService
|
224
|
-
.TEMPORARY__isLightColorThemeEnabled }) })), !selectedSortBy && (
|
225
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 530, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 528, columnNumber: 39 }, this)), !selectedSortBy && (_jsxDEV("div", { className: "query-builder__olap__column__sortby__none", children: "(none)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 546, columnNumber: 40 }, this)), selectedSortBy && (_jsxDEV("div", { className: "query-builder__olap__column__sortby__operator__label", children: selectedSortBy.sortType.toLowerCase() }, void 0, false, { fileName: _jsxFileName, lineNumber: 551, columnNumber: 39 }, this)), _jsxDEV(DropdownMenu, { className: "query-builder__olap__column__sortby__operator__dropdown", title: "Choose Window Function SortBy Operator...", content: _jsxDEV(MenuContent, { children: [_jsxDEV(MenuContentItem, { className: "query-builder__olap__column__sortby__operator__dropdown__option", onClick: changeSortBy(undefined), children: "(none)" }, "none", false, { fileName: _jsxFileName, lineNumber: 561, columnNumber: 25 }, this), Object.values(COLUMN_SORT_TYPE).map((op) => (_jsxDEV(MenuContentItem, { className: "query-builder__olap__column__sortby__operator__dropdown__option", onClick: changeSortBy(op), children: op.toLowerCase() }, op, false, { fileName: _jsxFileName, lineNumber: 569, columnNumber: 71 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 559, columnNumber: 30 }, this), menuProps: {
|
225
226
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
226
227
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
227
228
|
elevation: 7,
|
228
|
-
}, children: [
|
229
|
+
}, children: [_jsxDEV("div", { className: clsx('query-builder__olap__column__sortby__operator__badge', {
|
229
230
|
'query-builder__olap__column__sortby__operator__badge--activated': Boolean(selectedSortBy),
|
230
|
-
}), tabIndex: -1, children:
|
231
|
+
}), tabIndex: -1, children: _jsxDEV(SortIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 596, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 586, columnNumber: 21 }, this), _jsxDEV("div", { className: "query-builder__olap__column__sortby__operator__dropdown__trigger", tabIndex: -1, children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 602, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 598, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 556, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 527, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 526, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 518, columnNumber: 13 }, this), _jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Window Function Column Name" }, void 0, false, { fileName: _jsxFileName, lineNumber: 610, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Name of Window Function Column that will be part of TDS Result" }, void 0, false, { fileName: _jsxFileName, lineNumber: 613, columnNumber: 15 }, this), _jsxDEV(InputWithInlineValidation, { className: "query-builder__olap__column__name__input input-group__input", spellCheck: false, value: selectedColumnName, onChange: changeColumnName, error: isDuplicatedColumnName ? 'Duplicated column' : undefined }, void 0, false, { fileName: _jsxFileName, lineNumber: 616, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 609, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 401, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { text: isNewWindowFunction ? 'Create' : 'Apply', onClick: handleApply, disabled: isDuplicatedColumnName }, void 0, false, { fileName: _jsxFileName, lineNumber: 626, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 631, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 625, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 381, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 371, columnNumber: 13 }, this));
|
231
232
|
});
|
232
233
|
const TDSColumnReferenceEditor = observer((props) => {
|
233
234
|
const { handleChange, tdsColumn, selectionEditor } = props;
|
@@ -271,14 +272,14 @@ const TDSColumnReferenceEditor = observer((props) => {
|
|
271
272
|
isDragOver: monitor.isOver({ shallow: true }),
|
272
273
|
}),
|
273
274
|
}), [handleDrop]);
|
274
|
-
return (
|
275
|
+
return (_jsxDEV(_Fragment, { children: [_jsxDEV("button", { onClick: openOpAnchor, className: "query-builder__olap__tds__column", children: _jsxDEV("div", { ref: dropOpConnector, className: "query-builder__olap__tds__column-badge", children: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Change Column", children: _jsxDEV("div", { className: "query-builder__olap__tds__column-badge__content", children: _jsxDEV("div", { className: "query-builder__olap__tds__column-badge__property", title: `${tdsColumn.columnName}`, children: tdsColumn.columnName }, void 0, false, { fileName: _jsxFileName, lineNumber: 724, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 723, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 719, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 715, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 711, columnNumber: 9 }, this), selectionEditor && (_jsxDEV(BasePopover, { open: Boolean(opAnchor), anchorEl: opAnchor, onClose: closeOpAnchor, anchorOrigin: {
|
275
276
|
vertical: 'bottom',
|
276
277
|
horizontal: 'center',
|
277
278
|
}, transformOrigin: {
|
278
279
|
vertical: 'top',
|
279
280
|
horizontal: 'center',
|
280
|
-
}, children:
|
281
|
-
.TEMPORARY__isLightColorThemeEnabled }) }) }) }))] }));
|
281
|
+
}, children: _jsxDEV("div", { className: "query-builder__olap__column__window__popover", children: _jsxDEV("div", { className: "panel__content__form__section__list__item query-builder__olap__tds__column__options", children: _jsxDEV(CustomSelectorInput, { className: "query-builder__projection__options__sort__dropdown", options: options, disabled: options.length < 1, onChange: onChange, value: value, darkMode: !applicationStore.layoutService
|
282
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 750, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 749, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 748, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 734, columnNumber: 30 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 709, columnNumber: 13 }, this));
|
282
283
|
});
|
283
284
|
const QueryBuilderWindowColumnEditor = observer((props) => {
|
284
285
|
const { windowColumnState } = props;
|
@@ -406,37 +407,37 @@ const QueryBuilderWindowColumnEditor = observer((props) => {
|
|
406
407
|
isDragOver: monitor.isOver({ shallow: true }),
|
407
408
|
}),
|
408
409
|
}), [handleWindowDrop]);
|
409
|
-
return (
|
410
|
+
return (_jsxDEV(PanelDnDEntry, { ref: ref, className: "query-builder__olap__column", showPlaceholder: isBeingDragged, children: _jsxDEV(ContextMenu, { content: _jsxDEV(QueryBuilderWindowColumnContextMenu, { columnState: windowColumnState }, void 0, false, { fileName: _jsxFileName, lineNumber: 970, columnNumber: 20 }, this), className: clsx('query-builder__olap__column__context-menu', {
|
410
411
|
'query-builder__olap__column--selected-from-context-menu': isSelectedFromContextMenu,
|
411
|
-
}), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [
|
412
|
+
}), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [_jsxDEV(PanelEntryDragHandle, { isDragging: isBeingDragged, className: "query-builder__olap__column__drag-handle__container", dragSourceConnector: handleRef }, void 0, false, { fileName: _jsxFileName, lineNumber: 983, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__olap__column__operation", children: _jsxDEV("div", { className: "query-builder__olap__column__operation__operator", children: [aggregateColumn && (_jsxDEV(TDSColumnReferenceEditor, { tdsColumn: aggregateColumn, handleChange: handleOpDrop, selectionEditor: {
|
412
413
|
options: windowColumnState.possibleReferencedColumns,
|
413
|
-
} })),
|
414
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 990, columnNumber: 36 }, this)), _jsxDEV("div", { className: clsx('query-builder__olap__column__operation__operator__label', {
|
414
415
|
'query-builder__olap__column__operation__operator__label__agg': !aggregateColumn,
|
415
|
-
}), children: operationState.operator.getLabel() }),
|
416
|
+
}), children: operationState.operator.getLabel() }, void 0, false, { fileName: _jsxFileName, lineNumber: 999, columnNumber: 15 }, this), _jsxDEV(DropdownMenu, { className: "query-builder__olap__column__operation__operator__dropdown", disabled: !operators.length, title: "Choose Window Function Operator...", content: _jsxDEV(MenuContent, { children: operators.map((op) => (_jsxDEV(MenuContentItem, { className: "query-builder__olap__column__operation__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel() }, op.uuid, false, { fileName: _jsxFileName, lineNumber: 1016, columnNumber: 45 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1014, columnNumber: 26 }, this), menuProps: {
|
416
417
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
417
418
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
418
419
|
elevation: 7,
|
419
|
-
}, children: [
|
420
|
+
}, children: [_jsxDEV("div", { className: "query-builder__olap__column__operation__operator__badge", children: _jsxDEV(SigmaIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1034, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1033, columnNumber: 17 }, this), _jsxDEV("div", { className: "query-builder__olap__column__operation__operator__dropdown__trigger", children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1037, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1036, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1010, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 989, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 988, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__olap__column__window", children: [_jsxDEV("button", { ref: dropOpConnector, title: "Click to edit or drag and drop columns", onClick: openWindowPopover, className: "query-builder__olap__column__window__content", children: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Add", children: [_jsxDEV("div", { title: `${windowColumnState.windowColumns.length} columns partitioned`, className: "query-builder__olap__column__window__content__label", children: ["(", windowColumnState.windowColumns.length, ")"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1053, columnNumber: 17 }, this), _jsxDEV("div", { className: clsx('query-builder__olap__column__window__operator__badge'), tabIndex: -1, title: "Edit window columns...", children: _jsxDEV(WindowIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1066, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1059, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1049, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1043, columnNumber: 13 }, this), _jsxDEV(BasePopover, { open: Boolean(windowAnchor), anchorEl: windowAnchor, onClose: closeWindowPopover, anchorOrigin: {
|
420
421
|
vertical: 'bottom',
|
421
422
|
horizontal: 'center',
|
422
423
|
}, transformOrigin: {
|
423
424
|
vertical: 'top',
|
424
425
|
horizontal: 'center',
|
425
|
-
}, children:
|
426
|
+
}, children: _jsxDEV("div", { className: "query-builder__olap__column__window__popover", children: _jsxDEV("div", { className: "panel__content__form__section__list", children: [_jsxDEV("div", { className: "panel__content__form__section__list__items", children: windowColumnState.windowColumns.map((value, idx) => (_jsxDEV(TDSColumnSelectorEditor, { colValue: value, setColumn: (v) => windowColumnState.changeWindow(v, idx), deleteColumn: (v) => windowColumnState.deleteWindow(v), tdsColOptions: addWindowOptions }, value.uuid, false, { fileName: _jsxFileName, lineNumber: 1086, columnNumber: 75 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1085, columnNumber: 19 }, this), _jsxDEV("div", { className: "panel__content__form__section__list__new-item__add", children: _jsxDEV("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: !addWindowOptions.length, onClick: addWindowValue, tabIndex: -1, children: "Add Value" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1101, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1100, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1084, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1083, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1070, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1042, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__olap__column__sortby", children: _jsxDEV("div", { className: "query-builder__olap__column__sortby__operator", children: [sortByState && (_jsxDEV(TDSColumnReferenceEditor, { tdsColumn: sortByState.columnState, handleChange: handleSortDrop, selectionEditor: {
|
426
427
|
options: windowColumnState.possibleReferencedColumns,
|
427
|
-
} })), !sortByState && (
|
428
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 1116, columnNumber: 32 }, this)), !sortByState && (_jsxDEV("div", { className: "query-builder__olap__column__sortby__none", children: "(none)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1125, columnNumber: 33 }, this)), sortByState && (_jsxDEV("div", { className: "query-builder__olap__column__sortby__operator__label", children: sortByState.sortType.toLowerCase() }, void 0, false, { fileName: _jsxFileName, lineNumber: 1130, columnNumber: 32 }, this)), _jsxDEV(DropdownMenu, { className: "query-builder__olap__column__sortby__operator__dropdown", title: "Choose Window Function SortBy Operator...", content: _jsxDEV(MenuContent, { children: [_jsxDEV(MenuContentItem, { className: "query-builder__olap__column__sortby__operator__dropdown__option", onClick: changeSortBy(undefined), children: "(none)" }, "none", false, { fileName: _jsxFileName, lineNumber: 1140, columnNumber: 21 }, this), Object.values(COLUMN_SORT_TYPE).map((op) => (_jsxDEV(MenuContentItem, { className: "query-builder__olap__column__sortby__operator__dropdown__option", onClick: changeSortBy(op), children: op.toLowerCase() }, op, false, { fileName: _jsxFileName, lineNumber: 1148, columnNumber: 67 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1138, columnNumber: 26 }, this), menuProps: {
|
428
429
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
429
430
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
430
431
|
elevation: 7,
|
431
|
-
}, children: [
|
432
|
+
}, children: [_jsxDEV("div", { className: clsx('query-builder__olap__column__sortby__operator__badge', {
|
432
433
|
'query-builder__olap__column__sortby__operator__badge--activated': Boolean(sortByState),
|
433
|
-
}), children:
|
434
|
+
}), children: _jsxDEV(SortIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1174, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1165, columnNumber: 17 }, this), _jsxDEV("div", { className: "query-builder__olap__column__sortby__operator__dropdown__trigger", children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1177, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1176, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1135, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1115, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1114, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__olap__column__name", children: _jsxDEV(InputWithInlineValidation, { className: "query-builder__olap__column__name__input input-group__input", spellCheck: false, value: windowColumnState.columnName, onChange: changeColumnName, error: isDuplicatedColumnName
|
434
435
|
? 'Duplicated column'
|
435
436
|
: isInvalidColumnName
|
436
437
|
? 'Invalid column order'
|
437
|
-
: undefined }) }),
|
438
|
+
: undefined }, void 0, false, { fileName: _jsxFileName, lineNumber: 1183, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1182, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__olap__column__actions", children: [_jsxDEV("button", { className: "query-builder__olap__column__action", tabIndex: -1, onClick: editoColumn, children: _jsxDEV(EditIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1203, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1198, columnNumber: 13 }, this), _jsxDEV("button", { className: "query-builder__olap__column__action", tabIndex: -1, onClick: removeColumn, disabled: isRemovalDisabled, title: isRemovalDisabled
|
438
439
|
? "This column is used in the post filter and can't be removed"
|
439
|
-
: 'Remove', children:
|
440
|
+
: 'Remove', children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1216, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1205, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1197, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 969, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 963, columnNumber: 13 }, this));
|
440
441
|
});
|
441
442
|
export const QueryBuilderTDSWindowPanel = observer((props) => {
|
442
443
|
const { tdsWindowState } = props;
|
@@ -474,6 +475,6 @@ export const QueryBuilderTDSWindowPanel = observer((props) => {
|
|
474
475
|
isDragOver: monitor.isOver({ shallow: true }),
|
475
476
|
}),
|
476
477
|
}), [applicationStore, handleDrop]);
|
477
|
-
return (
|
478
|
+
return (_jsxDEV(Panel, { children: _jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_WINDOW_GROUPBY, className: "panel", children: [_jsxDEV(PanelHeader, { children: [_jsxDEV("div", { className: "panel__header__title", children: [_jsxDEV("div", { className: "panel__header__title__label", children: "window function" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1285, columnNumber: 15 }, this), tdsWindowState.windowValidationIssues.length > 0 && (_jsxDEV(QueryBuilderPanelIssueCountBadge, { issues: tdsWindowState.windowValidationIssues }, void 0, false, { fileName: _jsxFileName, lineNumber: 1286, columnNumber: 69 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1284, columnNumber: 13 }, this), _jsxDEV(PanelHeaderActions, { children: _jsxDEV(PanelHeaderActionItem, { onClick: createTDSWindow, disabled: !tdsWindowState.tdsState.tdsColumns.length, title: "Create Window Function Column", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1298, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1293, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1292, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1283, columnNumber: 11 }, this), _jsxDEV(PanelContent, { children: _jsxDEV(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [tdsWindowState.isEmpty && (_jsxDEV(BlankPanelPlaceholder, { text: "Add Window Function Column", tooltipText: "Drag and drop columns here" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1307, columnNumber: 43 }, this)), !tdsWindowState.isEmpty && (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS, className: "query-builder__olap__columns", children: tdsWindowState.windowColumns.map((col) => (_jsxDEV(QueryBuilderWindowColumnEditor, { windowColumnState: col }, col.uuid, false, { fileName: _jsxFileName, lineNumber: 1318, columnNumber: 63 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1313, columnNumber: 44 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1303, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1302, columnNumber: 11 }, this), tdsWindowState.editColumn && (_jsxDEV(QueryBuilderWindowColumnModalEditor, { windowState: tdsWindowState, windowColumnState: tdsWindowState.editColumn }, void 0, false, { fileName: _jsxFileName, lineNumber: 1328, columnNumber: 42 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1279, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1277, columnNumber: 13 }, this));
|
478
479
|
});
|
479
480
|
//# 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,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,KAAK,GACN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,KAAK,EACL,WAAW,EACX,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,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,EACpC,8BAA8B,GAC/B,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAAE,wCAAwC,EAAE,MAAM,kFAAkF,CAAC;AAG5I,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAE,gBAAgB,EA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C,mCAAmC,IAClC,WAAW,EAAE,cAAc,EAC3B,iBAAiB,EAAE,cAAc,CAAC,UAAU,GAC5C,CACH,IACG,GACA,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,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,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,KAAK,GACN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,KAAK,EACL,WAAW,EACX,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,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,EACpC,8BAA8B,GAC/B,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAAE,wCAAwC,EAAE,MAAM,kFAAkF,CAAC;AAG5I,OAAO,E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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"}
|
@@ -26,7 +26,7 @@ export declare const IS_DRAGGABLE_FILTER_DND_TYPES_FETCH_SUPPORTED: 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-runtime").JSX.Element) & {
|
29
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
30
30
|
displayName: string;
|
31
31
|
};
|
32
32
|
//# sourceMappingURL=QueryBuilderFilterPanel.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/filter/QueryBuilderFilterPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -359,7 +360,7 @@ const QueryBuilderFilterGroupConditionEditor = observer((props) => {
|
|
359
360
|
: QUERY_BUILDER_GROUP_OPERATION.AND);
|
360
361
|
};
|
361
362
|
const operationName = node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.AND ? 'AND' : 'OR';
|
362
|
-
return (
|
363
|
+
return (_jsxDEV("div", { className: "dnd__entry__container", children: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: operationName, className: "query-builder-filter-tree__group-node__drop-zone", children: _jsxDEV("div", { className: "query-builder-filter-tree__group-node", title: "Switch Operation", onClick: switchOperation, children: _jsxDEV("div", { className: "query-builder-filter-tree__group-node__label editable-value", children: node.groupOperation }, void 0, false, { fileName: _jsxFileName, lineNumber: 646, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 641, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 635, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 633, columnNumber: 13 }, this));
|
363
364
|
});
|
364
365
|
const QueryBuilderFilterExistsConditionEditor = observer((props) => {
|
365
366
|
const { node, humanizePropertyName, isDragOver, isDroppable } = props;
|
@@ -370,9 +371,9 @@ const QueryBuilderFilterExistsConditionEditor = observer((props) => {
|
|
370
371
|
node.propertyExpressionState.setIsEditingDerivedProperty(true);
|
371
372
|
}
|
372
373
|
};
|
373
|
-
return (
|
374
|
+
return (_jsxDEV("div", { className: "dnd__entry__container", children: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: "Add to Exists Group", className: "query-builder-filter-tree__exists-node__drop-zone", children: _jsxDEV("div", { className: "query-builder-filter-tree__exists-node", title: "This is an exists filter on the collection property", children: [_jsxDEV("div", { className: "query-builder-filter-tree__exists-node__label", children: getPropertyChainName(node.propertyExpressionState.propertyExpression, humanizePropertyName) }, void 0, false, { fileName: _jsxFileName, lineNumber: 686, columnNumber: 13 }, this), _jsxDEV("div", { className: "query-builder-filter-tree__exists-node__exists--label", children: "exists" }, void 0, false, { fileName: _jsxFileName, lineNumber: 692, columnNumber: 13 }, this), hasDerivedPropertyInExpression && (_jsxDEV("button", { className: clsx('query-builder-filter-tree__exists-node__exists--label__action', {
|
374
375
|
'query-builder-filter-tree__exists-node__exists--label__action--error': !isValid,
|
375
|
-
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid &&
|
376
|
+
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 708, columnNumber: 29 }, this), " (...)"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 695, columnNumber: 49 }, this)), _jsxDEV(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: node.propertyExpressionState }, void 0, false, { fileName: _jsxFileName, lineNumber: 711, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 682, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 676, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 674, columnNumber: 13 }, this));
|
376
377
|
});
|
377
378
|
const QueryBuilderFilterConditionEditor = observer((props) => {
|
378
379
|
const { node, isDragOver } = props;
|
@@ -422,19 +423,19 @@ const QueryBuilderFilterConditionEditor = observer((props) => {
|
|
422
423
|
reloadValues: debouncedTypeaheadSearch,
|
423
424
|
cleanUpReloadValues,
|
424
425
|
};
|
425
|
-
return (
|
426
|
+
return (_jsxDEV("div", { className: "dnd__entry__container", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_CONTENT, children: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Add New Logical Group", children: _jsxDEV("div", { className: "query-builder-filter-tree__condition-node", children: [_jsxDEV("div", { className: "query-builder-filter-tree__condition-node__property", children: _jsxDEV(QueryBuilderPropertyExpressionBadge, { propertyExpressionState: node.condition.propertyExpressionState }, void 0, false, { fileName: _jsxFileName, lineNumber: 814, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 813, columnNumber: 13 }, this), _jsxDEV(DropdownMenu, { className: "query-builder-filter-tree__condition-node__operator", title: "Choose Operator...", content: _jsxDEV(MenuContent, { children: node.condition.operators.map((op) => (_jsxDEV(MenuContentItem, { className: "query-builder-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel(node.condition) }, op.uuid, false, { fileName: _jsxFileName, lineNumber: 823, columnNumber: 58 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 821, columnNumber: 24 }, this), menuProps: {
|
426
427
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
427
428
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
428
429
|
elevation: 7,
|
429
|
-
}, children: [
|
430
|
+
}, children: [_jsxDEV("div", { className: "query-builder-filter-tree__condition-node__operator__label", children: node.condition.operator.getLabel(node.condition) }, void 0, false, { fileName: _jsxFileName, lineNumber: 840, columnNumber: 15 }, this), _jsxDEV("div", { className: "query-builder-filter-tree__condition-node__operator__dropdown__trigger", children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 844, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 843, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 818, columnNumber: 13 }, this), node.condition.value && (_jsxDEV("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: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isFilterValueDragOver, label: "Change Filter Value", children: _jsxDEV(BasicValueSpecificationEditor, { valueSpecification: node.condition.value, setValueSpecification: changeValueSpecification, graph: graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
|
430
431
|
expectedType: node.condition.propertyExpressionState
|
431
432
|
.propertyExpression.func.value.genericType.value
|
432
433
|
.rawType,
|
433
|
-
}, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(node.condition.value) }) }) }))] }) }) }));
|
434
|
+
}, resetValue: resetNode, selectorConfig: selectorConfig, isConstant: queryBuilderState.constantState.isValueSpecConstant(node.condition.value) }, void 0, false, { fileName: _jsxFileName, lineNumber: 859, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 855, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 847, columnNumber: 39 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 812, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 808, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 801, columnNumber: 13 }, this));
|
434
435
|
});
|
435
436
|
const QueryBuilderFilterBlankConditionEditor = observer((props) => {
|
436
437
|
const { isDragOver, isDroppable } = props;
|
437
|
-
return (
|
438
|
+
return (_jsxDEV("div", { className: "query-builder-filter-tree__node__label__content", children: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, label: "Create Condition", children: _jsxDEV("div", { className: "query-builder-filter-tree__blank-node", children: "blank" }, void 0, false, { fileName: _jsxFileName, lineNumber: 900, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 895, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 893, columnNumber: 13 }, this));
|
438
439
|
});
|
439
440
|
const QueryBuilderFilterConditionContextMenu = observer(forwardRef(function QueryBuilderFilterConditionContextMenu(props, ref) {
|
440
441
|
const { queryBuilderState, node } = props;
|
@@ -450,7 +451,7 @@ const QueryBuilderFilterConditionContextMenu = observer(forwardRef(function Quer
|
|
450
451
|
QueryBuilderTelemetryHelper.logEvent_FilterCreateGroupFromConditionLaunched(queryBuilderState.applicationStore.telemetryService);
|
451
452
|
filterState.newGroupWithConditionFromNode(undefined, node);
|
452
453
|
};
|
453
|
-
return (
|
454
|
+
return (_jsxDEV(MenuContent, { ref: ref, children: [node instanceof QueryBuilderFilterTreeGroupNodeData && (_jsxDEV(MenuContentItem, { onClick: createCondition, children: "Add New Condition" }, void 0, false, { fileName: _jsxFileName, lineNumber: 937, columnNumber: 66 }, this)), node instanceof QueryBuilderFilterTreeGroupNodeData && (_jsxDEV(MenuContentItem, { onClick: createGroupCondition, children: "Add New Logical Group" }, void 0, false, { fileName: _jsxFileName, lineNumber: 942, columnNumber: 66 }, this)), node instanceof QueryBuilderFilterTreeConditionNodeData && (_jsxDEV(MenuContentItem, { onClick: newGroupWithCondition, children: "Form a New Logical Group" }, void 0, false, { fileName: _jsxFileName, lineNumber: 947, columnNumber: 70 }, this)), _jsxDEV(MenuContentItem, { onClick: removeNode, children: "Remove" }, void 0, false, { fileName: _jsxFileName, lineNumber: 952, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 935, columnNumber: 13 }, this));
|
454
455
|
}));
|
455
456
|
const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
456
457
|
const { node, onNodeSelect, innerProps } = props;
|
@@ -556,7 +557,7 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
556
557
|
const showRemoveButton = node instanceof QueryBuilderFilterTreeConditionNodeData ||
|
557
558
|
node instanceof QueryBuilderFilterTreeBlankConditionNodeData ||
|
558
559
|
isEmptyExistsNode;
|
559
|
-
return (
|
560
|
+
return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_CONTAINER, onClick: node instanceof QueryBuilderFilterTreeConditionNodeData ||
|
560
561
|
node instanceof QueryBuilderFilterTreeBlankConditionNodeData
|
561
562
|
? selectNode
|
562
563
|
: undefined, className: clsx('query-builder-filter-tree__node__container', {
|
@@ -568,15 +569,15 @@ const QueryBuilderFilterTreeNodeContainer = observer((props) => {
|
|
568
569
|
'query-builder-filter-tree__node__container--no-hover': filterState.isRearrangingConditions,
|
569
570
|
'query-builder-filter-tree__node__container--selected': node === filterState.selectedNode,
|
570
571
|
'query-builder-filter-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
|
571
|
-
}), children:
|
572
|
-
.humanizePropertyName, isDroppable: isDroppable, isDragOver: isDragOver })), node instanceof QueryBuilderFilterTreeConditionNodeData && (
|
572
|
+
}), children: _jsxDEV(ContextMenu, { content: _jsxDEV(QueryBuilderFilterConditionContextMenu, { queryBuilderState: queryBuilderState, node: node }, void 0, false, { fileName: _jsxFileName, lineNumber: 1157, columnNumber: 20 }, this), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, className: "query-builder-filter-tree__node__context-menu", children: [_jsxDEV("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 && (_jsxDEV(QueryBuilderFilterGroupConditionEditor, { node: node, isDroppable: isDroppable, isDragOver: isDragOver }, void 0, false, { fileName: _jsxFileName, lineNumber: 1175, columnNumber: 70 }, this)), node instanceof QueryBuilderFilterTreeExistsNodeData && (_jsxDEV(QueryBuilderFilterExistsConditionEditor, { node: node, humanizePropertyName: filterState.queryBuilderState.explorerState
|
573
|
+
.humanizePropertyName, isDroppable: isDroppable, isDragOver: isDragOver }, void 0, false, { fileName: _jsxFileName, lineNumber: 1182, columnNumber: 71 }, this)), node instanceof QueryBuilderFilterTreeConditionNodeData && (_jsxDEV(QueryBuilderFilterConditionEditor, { node: node, isDragOver: isDragOver }, void 0, false, { fileName: _jsxFileName, lineNumber: 1193, columnNumber: 74 }, this)), node instanceof QueryBuilderFilterTreeBlankConditionNodeData && (_jsxDEV(QueryBuilderFilterBlankConditionEditor, { node: node, isDragOver: isDragOver, isDroppable: isDroppable }, void 0, false, { fileName: _jsxFileName, lineNumber: 1199, columnNumber: 79 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1168, columnNumber: 11 }, this), showRemoveButton && (_jsxDEV("div", { className: "query-builder-filter-tree__node__actions", children: _jsxDEV("button", { className: "query-builder-filter-tree__node__action", tabIndex: -1, title: "Remove", onClick: removeNode, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1215, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1209, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1207, columnNumber: 33 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1156, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1127, columnNumber: 13 }, this));
|
573
574
|
});
|
574
575
|
const QueryBuilderFilterTreeNodeView = observer((props) => {
|
575
576
|
const { node, level, onNodeSelect, getChildNodes, stepPaddingInRem, innerProps, } = props;
|
576
|
-
return (
|
577
|
+
return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_NODE_BLOCK, className: clsx('query-builder-filter-tree__node__block', {
|
577
578
|
'query-builder-filter-tree__node__block--group': node instanceof QueryBuilderFilterTreeGroupNodeData,
|
578
579
|
'query-builder-filter-tree__node__block--exists': node instanceof QueryBuilderFilterTreeExistsNodeData,
|
579
|
-
}), children: [
|
580
|
+
}), children: [_jsxDEV(QueryBuilderFilterTreeNodeContainer, { node: node, level: level + 1, stepPaddingInRem: stepPaddingInRem, onNodeSelect: onNodeSelect, innerProps: innerProps }, void 0, false, { fileName: _jsxFileName, lineNumber: 1252, columnNumber: 9 }, this), node.isOpen && getChildNodes(node).length > 0 && (_jsxDEV("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) => (_jsxDEV(QueryBuilderFilterTreeNodeView, { node: childNode, level: level + 1, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: innerProps }, childNode.id, false, { fileName: _jsxFileName, lineNumber: 1266, columnNumber: 54 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1259, columnNumber: 60 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1242, columnNumber: 13 }, this));
|
580
581
|
});
|
581
582
|
const QueryBuilderFilterTree = observer((props) => {
|
582
583
|
const { queryBuilderState } = props;
|
@@ -588,9 +589,9 @@ const QueryBuilderFilterTree = observer((props) => {
|
|
588
589
|
const getChildNodes = (node) => node instanceof QueryBuilderFilterTreeOperationNodeData
|
589
590
|
? node.childrenIds.map((id) => filterState.getNode(id))
|
590
591
|
: [];
|
591
|
-
return (
|
592
|
+
return (_jsxDEV("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) => (_jsxDEV(QueryBuilderFilterTreeNodeView, { level: 0, node: node, getChildNodes: getChildNodes, onNodeSelect: onNodeSelect, innerProps: {
|
592
593
|
queryBuilderState,
|
593
|
-
} }, node.id))) }));
|
594
|
+
} }, node.id, false, { fileName: _jsxFileName, lineNumber: 1306, columnNumber: 35 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1301, columnNumber: 13 }, this));
|
594
595
|
});
|
595
596
|
export const QueryBuilderFilterPanel = observer((props) => {
|
596
597
|
const { queryBuilderState } = props;
|
@@ -692,9 +693,9 @@ export const QueryBuilderFilterPanel = observer((props) => {
|
|
692
693
|
}), [handleDrop]);
|
693
694
|
const addFilterRef = useRef(null);
|
694
695
|
dropTargetConnector(addFilterRef);
|
695
|
-
return (
|
696
|
-
QueryBuilderFilterTreeConditionNodeData), onClick: newGroupWithCondition, children: [
|
696
|
+
return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_PANEL, className: "panel", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: [_jsxDEV("div", { className: "panel__header__title__label", children: "filter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1479, columnNumber: 13 }, this), filterState.allValidationIssues.length !== 0 && (_jsxDEV(QueryBuilderPanelIssueCountBadge, { issues: filterState.allValidationIssues }, void 0, false, { fileName: _jsxFileName, lineNumber: 1480, columnNumber: 63 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1478, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__header__actions", children: _jsxDEV(DropdownMenu, { className: "panel__header__action", title: "Show Filter Options Menu...", content: _jsxDEV(MenuContent, { children: [_jsxDEV(MenuContentItem, { onClick: createCondition, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1495, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1494, columnNumber: 21 }, this), _jsxDEV(MenuContentItemLabel, { children: "Create Condition" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1497, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1493, columnNumber: 19 }, this), _jsxDEV(MenuContentItem, { disabled: !(filterState.selectedNode instanceof
|
697
|
+
QueryBuilderFilterTreeConditionNodeData), onClick: newGroupWithCondition, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(PlusCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1511, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1510, columnNumber: 21 }, this), _jsxDEV(MenuContentItemLabel, { children: "Create Group From Condition" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1513, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1501, columnNumber: 19 }, this), _jsxDEV(MenuContentItem, { disabled: !allowGroupCreation, title: !allowGroupCreation
|
697
698
|
? 'Please select a filter node first to create logical group'
|
698
|
-
: '', onClick: createGroupCondition, children: [
|
699
|
+
: '', onClick: createGroupCondition, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(NewFolderIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1527, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1526, columnNumber: 21 }, this), _jsxDEV(MenuContentItemLabel, { children: "Create Logical Group" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1529, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1517, columnNumber: 19 }, this), _jsxDEV(MenuContentItem, { onClick: pruneTree, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(TrashIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1535, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1534, columnNumber: 21 }, this), _jsxDEV(MenuContentItemLabel, { children: "Cleanup Tree" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1537, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1533, columnNumber: 19 }, this), _jsxDEV(MenuContentItem, { onClick: simplifyTree, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(CircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1541, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1540, columnNumber: 21 }, this), _jsxDEV(MenuContentItemLabel, { children: "Simplify Tree" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1543, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1539, columnNumber: 19 }, this), _jsxDEV(MenuContentItem, { onClick: collapseTree, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(CompressIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1547, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1546, columnNumber: 21 }, this), _jsxDEV(MenuContentItemLabel, { children: "Collapse Tree" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1549, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1545, columnNumber: 19 }, this), _jsxDEV(MenuContentItem, { onClick: expandTree, children: [_jsxDEV(MenuContentItemIcon, { children: _jsxDEV(ExpandIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1553, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1552, columnNumber: 21 }, this), _jsxDEV(MenuContentItemLabel, { children: "Expand Tree" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1555, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1551, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1491, columnNumber: 24 }, this), children: _jsxDEV(MoreVerticalIcon, { className: "query-builder__icon__more-options" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1560, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1488, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1487, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1477, columnNumber: 9 }, this), _jsxDEV(PanelContent, { children: _jsxDEV(PanelDropZone, { isDragOver: isDragOver && filterState.isEmpty, isDroppable: isDroppable && filterState.isEmpty, dropTargetConnector: dropTargetConnector, children: [filterState.isEmpty && (_jsxDEV(BlankPanelPlaceholder, { text: "Add a filter condition", tooltipText: "Drag and drop properties here" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1570, columnNumber: 38 }, this)), !filterState.isEmpty && (_jsxDEV(_Fragment, { children: [_jsxDEV(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_FILTER_DND_TYPE) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1578, columnNumber: 17 }, this), _jsxDEV(QueryBuilderFilterTree, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1584, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1576, columnNumber: 39 }, this)), isDroppable && !filterState.isEmpty && (_jsxDEV("div", { ref: addFilterRef, className: "query-builder-filter-tree__free-drop-zone__container", children: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, className: "query-builder-filter-tree__free-drop-zone", label: "Add filter to main group", children: _jsxDEV(_Fragment, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1598, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1592, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1587, columnNumber: 54 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1565, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1564, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1472, columnNumber: 13 }, this));
|
699
700
|
});
|
700
701
|
//# sourceMappingURL=QueryBuilderFilterPanel.js.map
|