@finos/legend-query-builder 3.2.10 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +5 -4
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +1 -1
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +5 -3
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -2
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +1 -0
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +18 -19
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +30 -19
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +20 -4
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.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 +54 -27
- 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 +2 -2
- package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +6 -7
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -0
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js +18 -4
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js +1 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +2 -2
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/shared/LambdaEditorState.d.ts.map +1 -1
- package/lib/stores/shared/LambdaEditorState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +1 -0
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/workflows/ClassQueryBuilderState.d.ts +5 -5
- package/lib/stores/workflows/ClassQueryBuilderState.js +6 -6
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts +4 -4
- package/lib/stores/workflows/MappingQueryBuilderState.js +4 -4
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -2
- package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -2
- package/package.json +10 -10
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +7 -8
- package/src/components/QueryBuilderTextEditor.tsx +1 -4
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +5 -3
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +2 -2
- package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -0
- package/src/components/shared/LambdaEditor.tsx +126 -79
- package/src/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +35 -23
- package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +205 -83
- package/src/stores/QueryBuilderStateBuilder.ts +15 -19
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts +44 -12
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts +5 -12
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.ts +2 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.ts +2 -1
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +2 -1
- package/src/stores/shared/LambdaEditorState.ts +1 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +1 -0
- package/src/stores/workflows/ClassQueryBuilderState.ts +6 -6
- package/src/stores/workflows/MappingQueryBuilderState.ts +4 -4
- package/src/stores/workflows/ServiceQueryBuilderState.ts +2 -2
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_P4Wa
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P4WA,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_P4Wtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P4WTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_P52Wa
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P52WA,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_P52Wtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P52WTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pma
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PMA,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pmtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PMTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pqtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PQTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_PriorDay
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PRIOR_DAY,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_PriorYear
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PRIOR_YEAR,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pw
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PW,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pw_Fm
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PW_FM,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pwa
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PWA,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pwtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PWTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pymtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYMTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pyqtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYQTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pytd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pywa
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYWA,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Pywtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYWTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Qtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_QTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_ReportEndDay
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_REPORT_END_DAY,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Wtd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_WTD,
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
type ValueSpecification,
|
|
20
20
|
type SimpleFunctionExpression,
|
|
21
21
|
type AbstractPropertyExpression,
|
|
22
|
+
type INTERNAL__UnknownValueSpecification,
|
|
22
23
|
} from '@finos/legend-graph';
|
|
23
24
|
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
|
24
25
|
import {
|
|
@@ -64,7 +65,7 @@ export class QueryBuilderAggregateCalendarFunction_Ytd
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
buildCalendarFunctionExpression(
|
|
67
|
-
p: AbstractPropertyExpression,
|
|
68
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
|
68
69
|
): ValueSpecification {
|
|
69
70
|
return buildCalendarFunctionExpression(
|
|
70
71
|
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_YTD,
|
package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts
CHANGED
|
@@ -279,10 +279,11 @@ export const appendProjection = (
|
|
|
279
279
|
const aggregateCalendarLambdaState =
|
|
280
280
|
aggregateColumnState.calendarFunction?.buildCalendarFunctionExpressionFromState(
|
|
281
281
|
aggregateColumnState,
|
|
282
|
+
columnLambda,
|
|
282
283
|
);
|
|
283
284
|
if (
|
|
284
285
|
queryBuilderState.isCalendarEnabled &&
|
|
285
|
-
aggregateCalendarLambdaState
|
|
286
|
+
aggregateCalendarLambdaState instanceof SimpleFunctionExpression
|
|
286
287
|
) {
|
|
287
288
|
aggregateCalendarLambda = buildGenericLambdaFunctionInstanceValue(
|
|
288
289
|
guaranteeNonNullable(aggregateColumnState.calendarFunction)
|
|
@@ -146,6 +146,7 @@ export const buildDefaultInstanceValue = (
|
|
|
146
146
|
case PRIMITIVE_TYPE.DECIMAL:
|
|
147
147
|
case PRIMITIVE_TYPE.FLOAT:
|
|
148
148
|
case PRIMITIVE_TYPE.BINARY:
|
|
149
|
+
case PRIMITIVE_TYPE.BYTE:
|
|
149
150
|
case PRIMITIVE_TYPE.INTEGER: {
|
|
150
151
|
return buildPrimitiveInstanceValue(
|
|
151
152
|
graph,
|
|
@@ -33,9 +33,9 @@ export class ClassQueryBuilderState extends QueryBuilderState {
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Propagation after changing the class:
|
|
36
|
-
* - If no mapping is
|
|
37
|
-
* - If the chosen mapping is compatible with the new selected class, do nothing, otherwise, try to
|
|
38
|
-
* - This change will propagate to runtime: we will attempt to
|
|
36
|
+
* - If no mapping is chosen, try to choose a compatible mapping
|
|
37
|
+
* - If the chosen mapping is compatible with the new selected class, do nothing, otherwise, try to choose a compatible mapping
|
|
38
|
+
* - This change will propagate to runtime: we will attempt to choose a compatible runtime with the newly selected mapping
|
|
39
39
|
*/
|
|
40
40
|
propagateClassChange(_class: Class): void {
|
|
41
41
|
const compatibleMappings = getClassCompatibleMappings(
|
|
@@ -58,11 +58,11 @@ export class ClassQueryBuilderState extends QueryBuilderState {
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Propagation after changing the mapping:
|
|
61
|
-
* - If no runtime is
|
|
62
|
-
* - If the chosen runtime is compatible with the new
|
|
61
|
+
* - If no runtime is chosen, try to choose a compatible runtime
|
|
62
|
+
* - If the chosen runtime is compatible with the new chosen mapping, do nothing, otherwise, try to choose a compatible runtime
|
|
63
63
|
*/
|
|
64
64
|
propagateMappingChange(mapping: Mapping): void {
|
|
65
|
-
// try to
|
|
65
|
+
// try to choose the first compatible runtime,
|
|
66
66
|
// if none found, just unset the current runtime value
|
|
67
67
|
const compatibleRuntimes = getMappingCompatibleRuntimes(
|
|
68
68
|
mapping,
|
|
@@ -49,10 +49,10 @@ export class MappingQueryBuilderState extends QueryBuilderState {
|
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Propagation after changing the mapping:
|
|
52
|
-
* - If no runtime is
|
|
53
|
-
* - If the chosen runtime is compatible with the new
|
|
54
|
-
* - If no class is
|
|
55
|
-
* - If the chosen class is compatible with the new
|
|
52
|
+
* - If no runtime is chosen, try to choose a compatible runtime
|
|
53
|
+
* - If the chosen runtime is compatible with the new chosen mapping, do nothing, otherwise, try to choose a compatible runtime
|
|
54
|
+
* - If no class is chosen, try to choose a compatible class
|
|
55
|
+
* - If the chosen class is compatible with the new chosen mapping, do nothing, otherwise, try to choose a compatible class
|
|
56
56
|
*/
|
|
57
57
|
propagateMappingChange(mapping: Mapping): void {
|
|
58
58
|
// try to select the first compatible runtime,
|
|
@@ -142,8 +142,8 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
|
|
|
142
142
|
* Propagation after changing the execution context:
|
|
143
143
|
* - The mapping will be updated to the mapping of the execution context
|
|
144
144
|
* - The runtime will be updated to the default runtime of the execution context
|
|
145
|
-
* - If no class is
|
|
146
|
-
* - If the chosen class is compatible with the new
|
|
145
|
+
* - If no class is chosen, try to choose a compatible class
|
|
146
|
+
* - If the chosen class is compatible with the new chosen mapping, do nothing, otherwise, try to choose a compatible class
|
|
147
147
|
*/
|
|
148
148
|
propagateExecutionContextChange(
|
|
149
149
|
executionContext: ServiceExecutionContext,
|