@finos/legend-query-builder 3.0.7 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderDocumentation.d.ts +0 -1
- package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderDocumentation.js +0 -1
- package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
- package/lib/__lib__/QueryBuilderEvent.d.ts +18 -0
- package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderEvent.js +20 -0
- package/lib/__lib__/QueryBuilderEvent.js.map +1 -1
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +14 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTelemetryHelper.js +43 -1
- package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts +0 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +74 -36
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +0 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +0 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +0 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts +0 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +0 -1
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +0 -1
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +0 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +13 -3
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +17 -0
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +152 -15
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +2 -2
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +14 -3
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +0 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +0 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +2 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +0 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.d.ts +0 -1
- package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
- package/lib/graph/QueryBuilderMetaModelConst.d.ts +33 -0
- package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
- package/lib/graph/QueryBuilderMetaModelConst.js +34 -0
- package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
- package/lib/graph-manager/QueryBuilderConst.d.ts +20 -0
- package/lib/graph-manager/QueryBuilderConst.d.ts.map +1 -0
- package/lib/graph-manager/QueryBuilderConst.js +21 -0
- package/lib/graph-manager/QueryBuilderConst.js.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +3 -2
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +27 -14
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/QueryBuilderState.d.ts +3 -2
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +12 -6
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +11 -2
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts +32 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.js +32 -0
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js +12 -6
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +2 -2
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +14 -4
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts +38 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js +54 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts +18 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js +80 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +8 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +24 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +23 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts +22 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js +61 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +9 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/package.json +10 -10
- package/src/__lib__/QueryBuilderDocumentation.ts +0 -2
- package/src/__lib__/QueryBuilderEvent.ts +20 -0
- package/src/__lib__/QueryBuilderTelemetryHelper.ts +131 -1
- package/src/components/QueryBuilder.tsx +226 -188
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +96 -60
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +456 -94
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +2 -4
- package/src/components/filter/QueryBuilderFilterPanel.tsx +102 -60
- package/src/components/shared/LambdaParameterValuesEditor.tsx +2 -1
- package/src/graph/QueryBuilderMetaModelConst.ts +34 -0
- package/src/graph-manager/QueryBuilderConst.ts +20 -0
- package/src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +10 -1
- package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +73 -28
- package/src/stores/QueryBuilderState.ts +12 -9
- package/src/stores/QueryBuilderStateBuilder.ts +33 -2
- package/src/stores/QueryBuilderStateHashUtils.ts +33 -0
- package/src/stores/QueryBuilderTextEditorState.ts +21 -14
- package/src/stores/explorer/QueryBuilderExplorerState.ts +2 -1
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +1 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +22 -3
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.ts +83 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +31 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +41 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts +175 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.ts +99 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.ts +98 -0
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +18 -1
- package/tsconfig.json +35 -0
@@ -40,6 +40,7 @@ import {
|
|
40
40
|
ModalHeader,
|
41
41
|
BlankPanelContent,
|
42
42
|
ModalFooterButton,
|
43
|
+
CalendarIcon,
|
43
44
|
} from '@finos/legend-art';
|
44
45
|
import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
|
45
46
|
import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
|
@@ -56,6 +57,8 @@ import {
|
|
56
57
|
BackdropContainer,
|
57
58
|
useApplicationStore,
|
58
59
|
useCommands,
|
60
|
+
ActionAlertActionType,
|
61
|
+
ActionAlertType,
|
59
62
|
} from '@finos/legend-application';
|
60
63
|
import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
|
61
64
|
import { QueryBuilderFunctionsExplorerPanel } from './explorer/QueryBuilderFunctionsExplorerPanel.js';
|
@@ -69,7 +72,6 @@ import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpre
|
|
69
72
|
import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
|
70
73
|
import { QUERY_BUILDER_SETTING_KEY } from '../__lib__/QueryBuilderSetting.js';
|
71
74
|
import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
|
72
|
-
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
|
73
75
|
|
74
76
|
const QueryBuilderStatusBar = observer(
|
75
77
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
@@ -250,18 +252,6 @@ export const QueryBuilder = observer(
|
|
250
252
|
const applicationStore = queryBuilderState.applicationStore;
|
251
253
|
const openLambdaEditor = (mode: QueryBuilderTextEditorMode): void =>
|
252
254
|
queryBuilderState.textEditorState.openModal(mode);
|
253
|
-
const toggleAssistant = (): void =>
|
254
|
-
applicationStore.assistantService.toggleAssistant();
|
255
|
-
const queryDocEntry = applicationStore.documentationService.getDocEntry(
|
256
|
-
QUERY_BUILDER_DOCUMENTATION_KEY.TUTORIAL_QUERY_BUILDER,
|
257
|
-
);
|
258
|
-
const openQueryTutorial = (): void => {
|
259
|
-
if (queryDocEntry?.url) {
|
260
|
-
applicationStore.navigationService.navigator.visitAddress(
|
261
|
-
queryDocEntry.url,
|
262
|
-
);
|
263
|
-
}
|
264
|
-
};
|
265
255
|
const toggleShowFunctionPanel = (): void => {
|
266
256
|
queryBuilderState.setShowFunctionsExplorerPanel(
|
267
257
|
!queryBuilderState.showFunctionsExplorerPanel,
|
@@ -299,6 +289,56 @@ export const QueryBuilder = observer(
|
|
299
289
|
const openWatermark = (): void => {
|
300
290
|
queryBuilderState.watermarkState.setIsEditingWatermark(true);
|
301
291
|
};
|
292
|
+
|
293
|
+
const toggleEnableCalendar = (): void => {
|
294
|
+
if (queryBuilderState.isCalendarEnabled) {
|
295
|
+
queryBuilderState.applicationStore.alertService.setActionAlertInfo({
|
296
|
+
message:
|
297
|
+
'You are about to disable calendar aggregation operations. This will remove all the calendar aggreagtions you added to the query.',
|
298
|
+
prompt: ' Do you want to proceed?',
|
299
|
+
type: ActionAlertType.CAUTION,
|
300
|
+
actions: [
|
301
|
+
{
|
302
|
+
label: 'Proceed',
|
303
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
304
|
+
handler: (): void => {
|
305
|
+
if (
|
306
|
+
queryBuilderState.fetchStructureState
|
307
|
+
.implementation instanceof QueryBuilderTDSState
|
308
|
+
) {
|
309
|
+
queryBuilderState.fetchStructureState.implementation.aggregationState.disableCalendar();
|
310
|
+
}
|
311
|
+
},
|
312
|
+
},
|
313
|
+
{
|
314
|
+
label: 'Cancel',
|
315
|
+
type: ActionAlertActionType.PROCEED,
|
316
|
+
default: true,
|
317
|
+
},
|
318
|
+
],
|
319
|
+
});
|
320
|
+
} else {
|
321
|
+
queryBuilderState.applicationStore.alertService.setActionAlertInfo({
|
322
|
+
message:
|
323
|
+
'You are about to enable calendar aggregation operations. This will let you add calendar functions to the aggregation operations that you perform on projection columns, but this would require your calendar database to be included in your database.',
|
324
|
+
prompt: ' Do you want to proceed?',
|
325
|
+
type: ActionAlertType.CAUTION,
|
326
|
+
actions: [
|
327
|
+
{
|
328
|
+
label: 'Proceed',
|
329
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
330
|
+
handler: (): void => queryBuilderState.setIsCalendarEnabled(true),
|
331
|
+
},
|
332
|
+
{
|
333
|
+
label: 'Cancel',
|
334
|
+
type: ActionAlertActionType.PROCEED,
|
335
|
+
default: true,
|
336
|
+
},
|
337
|
+
],
|
338
|
+
});
|
339
|
+
}
|
340
|
+
};
|
341
|
+
|
302
342
|
const editQueryInPure = (): void => {
|
303
343
|
openLambdaEditor(QueryBuilderTextEditorMode.TEXT);
|
304
344
|
};
|
@@ -366,6 +406,13 @@ export const QueryBuilder = observer(
|
|
366
406
|
</button>
|
367
407
|
</>
|
368
408
|
)}
|
409
|
+
{queryBuilderState.isCalendarEnabled && (
|
410
|
+
<>
|
411
|
+
<div className="query-builder__sub-header__content__icon">
|
412
|
+
<CalendarIcon />
|
413
|
+
</div>
|
414
|
+
</>
|
415
|
+
)}
|
369
416
|
{queryBuilderState.watermarkState.isEditingWatermark && (
|
370
417
|
<QueryBuilderWatermarkEditor
|
371
418
|
queryBuilderState={queryBuilderState}
|
@@ -373,206 +420,197 @@ export const QueryBuilder = observer(
|
|
373
420
|
)}
|
374
421
|
</div>
|
375
422
|
<div className="query-builder__sub-header__content__actions">
|
376
|
-
<
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
) : null}
|
396
|
-
</MenuContentItemIcon>
|
397
|
-
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
398
|
-
Show Function(s)
|
399
|
-
</MenuContentItemLabel>
|
400
|
-
</MenuContentItem>
|
401
|
-
{!queryBuilderState.isParameterSupportDisabled && (
|
402
|
-
<MenuContentItem
|
403
|
-
onClick={toggleShowParameterPanel}
|
404
|
-
disabled={
|
405
|
-
!queryBuilderState.isQuerySupported ||
|
406
|
-
queryBuilderState.parametersState.parameterStates
|
407
|
-
.length > 0
|
408
|
-
}
|
409
|
-
>
|
410
|
-
<MenuContentItemIcon>
|
411
|
-
{queryBuilderState.showParametersPanel ? (
|
412
|
-
<CheckIcon />
|
413
|
-
) : null}
|
414
|
-
</MenuContentItemIcon>
|
415
|
-
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
416
|
-
Show Parameter(s)
|
417
|
-
</MenuContentItemLabel>
|
418
|
-
</MenuContentItem>
|
419
|
-
)}
|
420
|
-
{
|
421
|
-
<MenuContentItem
|
422
|
-
onClick={toggleConstantPanel}
|
423
|
-
disabled={
|
424
|
-
!queryBuilderState.isQuerySupported ||
|
425
|
-
queryBuilderState.constantState.constants.length >
|
426
|
-
0
|
427
|
-
}
|
428
|
-
>
|
429
|
-
<MenuContentItemIcon>
|
430
|
-
{queryBuilderState.constantState
|
431
|
-
.showConstantPanel ? (
|
432
|
-
<CheckIcon />
|
433
|
-
) : null}
|
434
|
-
</MenuContentItemIcon>
|
435
|
-
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
436
|
-
Show Constant(s)
|
437
|
-
</MenuContentItemLabel>
|
438
|
-
</MenuContentItem>
|
439
|
-
}
|
423
|
+
<DropdownMenu
|
424
|
+
className="query-builder__sub-header__custom-action"
|
425
|
+
title="Show Advanced Menu..."
|
426
|
+
content={
|
427
|
+
<MenuContent>
|
428
|
+
<MenuContentItem
|
429
|
+
onClick={toggleShowFunctionPanel}
|
430
|
+
disabled={!queryBuilderState.isQuerySupported}
|
431
|
+
>
|
432
|
+
<MenuContentItemIcon>
|
433
|
+
{queryBuilderState.showFunctionsExplorerPanel ? (
|
434
|
+
<CheckIcon />
|
435
|
+
) : null}
|
436
|
+
</MenuContentItemIcon>
|
437
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
438
|
+
Show Function(s)
|
439
|
+
</MenuContentItemLabel>
|
440
|
+
</MenuContentItem>
|
441
|
+
{!queryBuilderState.isParameterSupportDisabled && (
|
440
442
|
<MenuContentItem
|
441
|
-
onClick={
|
443
|
+
onClick={toggleShowParameterPanel}
|
442
444
|
disabled={
|
443
445
|
!queryBuilderState.isQuerySupported ||
|
444
|
-
|
445
|
-
|
446
|
-
).length > 0
|
446
|
+
queryBuilderState.parametersState.parameterStates
|
447
|
+
.length > 0
|
447
448
|
}
|
448
449
|
>
|
449
450
|
<MenuContentItemIcon>
|
450
|
-
{queryBuilderState.
|
451
|
+
{queryBuilderState.showParametersPanel ? (
|
451
452
|
<CheckIcon />
|
452
453
|
) : null}
|
453
454
|
</MenuContentItemIcon>
|
454
455
|
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
455
|
-
Show
|
456
|
-
</MenuContentItemLabel>
|
457
|
-
</MenuContentItem>
|
458
|
-
<MenuContentItem
|
459
|
-
onClick={toggleShowOLAPGroupByPanel}
|
460
|
-
disabled={
|
461
|
-
!queryBuilderState.isQuerySupported ||
|
462
|
-
!(
|
463
|
-
queryBuilderState.fetchStructureState
|
464
|
-
.implementation instanceof QueryBuilderTDSState
|
465
|
-
) ||
|
466
|
-
queryBuilderState.fetchStructureState.implementation
|
467
|
-
.windowState.windowColumns.length > 0
|
468
|
-
}
|
469
|
-
>
|
470
|
-
<MenuContentItemIcon>
|
471
|
-
{isTDSState &&
|
472
|
-
guaranteeType(
|
473
|
-
queryBuilderState.fetchStructureState
|
474
|
-
.implementation,
|
475
|
-
QueryBuilderTDSState,
|
476
|
-
).showWindowFuncPanel ? (
|
477
|
-
<CheckIcon />
|
478
|
-
) : null}
|
479
|
-
</MenuContentItemIcon>
|
480
|
-
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
481
|
-
Show Window Func(s)
|
456
|
+
Show Parameter(s)
|
482
457
|
</MenuContentItemLabel>
|
483
458
|
</MenuContentItem>
|
459
|
+
)}
|
460
|
+
{
|
484
461
|
<MenuContentItem
|
485
|
-
onClick={
|
462
|
+
onClick={toggleConstantPanel}
|
486
463
|
disabled={
|
487
464
|
!queryBuilderState.isQuerySupported ||
|
488
|
-
|
489
|
-
queryBuilderState.fetchStructureState
|
490
|
-
.implementation instanceof QueryBuilderTDSState
|
491
|
-
) ||
|
492
|
-
Array.from(
|
493
|
-
queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values(),
|
494
|
-
).length > 0
|
465
|
+
queryBuilderState.constantState.constants.length > 0
|
495
466
|
}
|
496
467
|
>
|
497
468
|
<MenuContentItemIcon>
|
498
|
-
{queryBuilderState.
|
499
|
-
.
|
500
|
-
queryBuilderState.fetchStructureState.implementation
|
501
|
-
.showPostFilterPanel ? (
|
469
|
+
{queryBuilderState.constantState
|
470
|
+
.showConstantPanel ? (
|
502
471
|
<CheckIcon />
|
503
472
|
) : null}
|
504
473
|
</MenuContentItemIcon>
|
505
474
|
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
506
|
-
Show
|
507
|
-
</MenuContentItemLabel>
|
508
|
-
</MenuContentItem>
|
509
|
-
<MenuContentItem onClick={openWatermark}>
|
510
|
-
<MenuContentItemIcon>{null}</MenuContentItemIcon>
|
511
|
-
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
512
|
-
Show Watermark
|
475
|
+
Show Constant(s)
|
513
476
|
</MenuContentItemLabel>
|
514
477
|
</MenuContentItem>
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
478
|
+
}
|
479
|
+
<MenuContentItem
|
480
|
+
onClick={toggleShowFilterPanel}
|
481
|
+
disabled={
|
482
|
+
!queryBuilderState.isQuerySupported ||
|
483
|
+
Array.from(
|
484
|
+
queryBuilderState.filterState.nodes.values(),
|
485
|
+
).length > 0
|
486
|
+
}
|
487
|
+
>
|
488
|
+
<MenuContentItemIcon>
|
489
|
+
{queryBuilderState.filterState.showPanel ? (
|
490
|
+
<CheckIcon />
|
491
|
+
) : null}
|
492
|
+
</MenuContentItemIcon>
|
493
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
494
|
+
Show Filter
|
495
|
+
</MenuContentItemLabel>
|
496
|
+
</MenuContentItem>
|
497
|
+
<MenuContentItem
|
498
|
+
onClick={toggleShowOLAPGroupByPanel}
|
499
|
+
disabled={
|
500
|
+
!queryBuilderState.isQuerySupported ||
|
501
|
+
!(
|
520
502
|
queryBuilderState.fetchStructureState
|
521
|
-
.implementation instanceof QueryBuilderTDSState
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
</
|
537
|
-
<
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
</
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
503
|
+
.implementation instanceof QueryBuilderTDSState
|
504
|
+
) ||
|
505
|
+
queryBuilderState.fetchStructureState.implementation
|
506
|
+
.windowState.windowColumns.length > 0
|
507
|
+
}
|
508
|
+
>
|
509
|
+
<MenuContentItemIcon>
|
510
|
+
{isTDSState &&
|
511
|
+
guaranteeType(
|
512
|
+
queryBuilderState.fetchStructureState
|
513
|
+
.implementation,
|
514
|
+
QueryBuilderTDSState,
|
515
|
+
).showWindowFuncPanel ? (
|
516
|
+
<CheckIcon />
|
517
|
+
) : null}
|
518
|
+
</MenuContentItemIcon>
|
519
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
520
|
+
Show Window Func(s)
|
521
|
+
</MenuContentItemLabel>
|
522
|
+
</MenuContentItem>
|
523
|
+
<MenuContentItem
|
524
|
+
onClick={toggleShowPostFilterPanel}
|
525
|
+
disabled={
|
526
|
+
!queryBuilderState.isQuerySupported ||
|
527
|
+
!(
|
528
|
+
queryBuilderState.fetchStructureState
|
529
|
+
.implementation instanceof QueryBuilderTDSState
|
530
|
+
) ||
|
531
|
+
Array.from(
|
532
|
+
queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values(),
|
533
|
+
).length > 0
|
534
|
+
}
|
535
|
+
>
|
536
|
+
<MenuContentItemIcon>
|
537
|
+
{queryBuilderState.fetchStructureState
|
538
|
+
.implementation instanceof QueryBuilderTDSState &&
|
539
|
+
queryBuilderState.fetchStructureState.implementation
|
540
|
+
.showPostFilterPanel ? (
|
541
|
+
<CheckIcon />
|
542
|
+
) : null}
|
543
|
+
</MenuContentItemIcon>
|
544
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
545
|
+
Show Post-Filter
|
546
|
+
</MenuContentItemLabel>
|
547
|
+
</MenuContentItem>
|
548
|
+
<MenuContentItem onClick={openWatermark}>
|
549
|
+
<MenuContentItemIcon>{null}</MenuContentItemIcon>
|
550
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
551
|
+
Show Watermark
|
552
|
+
</MenuContentItemLabel>
|
553
|
+
</MenuContentItem>
|
554
|
+
<MenuContentItem
|
555
|
+
onClick={toggleEnableCalendar}
|
556
|
+
disabled={
|
557
|
+
!queryBuilderState.isQuerySupported ||
|
558
|
+
!(
|
559
|
+
queryBuilderState.fetchStructureState
|
560
|
+
.implementation instanceof QueryBuilderTDSState
|
561
|
+
)
|
562
|
+
}
|
563
|
+
>
|
564
|
+
<MenuContentItemIcon>
|
565
|
+
{queryBuilderState.isCalendarEnabled ? (
|
566
|
+
<CheckIcon />
|
567
|
+
) : null}
|
568
|
+
</MenuContentItemIcon>
|
569
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
570
|
+
Enable Calendar
|
571
|
+
</MenuContentItemLabel>
|
572
|
+
</MenuContentItem>
|
573
|
+
<MenuContentDivider />
|
574
|
+
<MenuContentItem
|
575
|
+
onClick={openCheckEntitlmentsEditor}
|
576
|
+
disabled={
|
577
|
+
queryBuilderState.isQuerySupported &&
|
578
|
+
queryBuilderState.fetchStructureState
|
579
|
+
.implementation instanceof QueryBuilderTDSState &&
|
580
|
+
queryBuilderState.fetchStructureState.implementation
|
581
|
+
.projectionColumns.length === 0
|
582
|
+
}
|
583
|
+
>
|
584
|
+
<MenuContentItemIcon>{null}</MenuContentItemIcon>
|
585
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
586
|
+
Check Entitlements
|
587
|
+
</MenuContentItemLabel>
|
588
|
+
</MenuContentItem>
|
589
|
+
<MenuContentItem onClick={editQueryInPure}>
|
590
|
+
<MenuContentItemIcon>{null}</MenuContentItemIcon>
|
591
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
592
|
+
Edit Query in Pure
|
593
|
+
</MenuContentItemLabel>
|
594
|
+
</MenuContentItem>
|
595
|
+
<MenuContentItem onClick={showQueryProtocol}>
|
596
|
+
<MenuContentItemIcon>{null}</MenuContentItemIcon>
|
597
|
+
<MenuContentItemLabel className="query-builder__sub-header__menu-content">
|
598
|
+
Show Query Protocol
|
599
|
+
</MenuContentItemLabel>
|
600
|
+
</MenuContentItem>
|
601
|
+
</MenuContent>
|
602
|
+
}
|
603
|
+
menuProps={{
|
604
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
605
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
606
|
+
elevation: 7,
|
607
|
+
}}
|
608
|
+
>
|
609
|
+
<div className="query-builder__sub-header__custom-action__label">
|
610
|
+
Advanced
|
611
|
+
</div>
|
612
|
+
<CaretDownIcon className="query-builder__sub-header__custom-action__icon" />
|
613
|
+
</DropdownMenu>
|
576
614
|
</div>
|
577
615
|
</div>
|
578
616
|
<div className="query-builder__main">
|