@finos/legend-query-builder 4.14.11 → 4.14.13
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +1 -0
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +9 -8
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +1 -5
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +7 -2
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +14 -11
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts +10 -7
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js +41 -4
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js +37 -62
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/{calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts → QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts} +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/{calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js → QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js} +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -0
- package/package.json +5 -5
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +17 -20
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +0 -4
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +13 -2
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +64 -32
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts +70 -19
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.ts +166 -63
- package/src/stores/fetch-structure/tds/aggregation/{calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts → QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts} +4 -4
- package/tsconfig.json +1 -32
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts +0 -28
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts.map +0 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js +0 -55
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js.map +0 -1
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.ts +0 -100
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.ts +0 -99
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.ts +0 -99
@@ -216,6 +216,15 @@ const ColumnsSortEditor = observer(
|
|
216
216
|
},
|
217
217
|
);
|
218
218
|
|
219
|
+
const cloneSortColumnStateArray = (
|
220
|
+
sortColumns: SortColumnState[],
|
221
|
+
): SortColumnState[] =>
|
222
|
+
sortColumns.map((sortColumn) => {
|
223
|
+
const newSortColumn = new SortColumnState(sortColumn.columnState);
|
224
|
+
newSortColumn.setSortType(sortColumn.sortType);
|
225
|
+
return newSortColumn;
|
226
|
+
});
|
227
|
+
|
219
228
|
export const QueryResultModifierModal = observer(
|
220
229
|
(props: { tdsState: QueryBuilderTDSState }) => {
|
221
230
|
// Read current state
|
@@ -227,7 +236,9 @@ export const QueryResultModifierModal = observer(
|
|
227
236
|
const stateSlice = resultSetModifierState.slice;
|
228
237
|
|
229
238
|
// Set up temp state for modal lifecycle
|
230
|
-
const [sortColumns, setSortColumns] = useState(
|
239
|
+
const [sortColumns, setSortColumns] = useState(
|
240
|
+
cloneSortColumnStateArray(stateSortColumns),
|
241
|
+
);
|
231
242
|
const [distinct, setDistinct] = useState(stateDistinct);
|
232
243
|
const [limitResults, setLimitResults] = useState(stateLimitResults);
|
233
244
|
const [slice, setSlice] = useState<
|
@@ -236,7 +247,7 @@ export const QueryResultModifierModal = observer(
|
|
236
247
|
|
237
248
|
// Sync temp state with tdsState when modal is opened/closed
|
238
249
|
useEffect(() => {
|
239
|
-
setSortColumns(
|
250
|
+
setSortColumns(cloneSortColumnStateArray(stateSortColumns));
|
240
251
|
setDistinct(stateDistinct);
|
241
252
|
setLimitResults(stateLimitResults);
|
242
253
|
setSlice(stateSlice ?? [undefined, undefined]);
|
@@ -41,6 +41,7 @@ import {
|
|
41
41
|
PanelEntryDropZonePlaceholder,
|
42
42
|
FunctionIcon,
|
43
43
|
CogIcon,
|
44
|
+
InfoCircleIcon,
|
44
45
|
} from '@finos/legend-art';
|
45
46
|
import {
|
46
47
|
type QueryBuilderExplorerTreeDragSource,
|
@@ -103,9 +104,13 @@ import {
|
|
103
104
|
propertyExpression_setFunc,
|
104
105
|
} from '../../stores/shared/ValueSpecificationModifierHelper.js';
|
105
106
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
106
|
-
import {
|
107
|
+
import {
|
108
|
+
getPropertyChainName,
|
109
|
+
getPropertyPath,
|
110
|
+
} from '../../stores/QueryBuilderPropertyEditorState.js';
|
107
111
|
import { generateDefaultValueForPrimitiveType } from '../../stores/QueryBuilderValueSpecificationHelper.js';
|
108
112
|
import { QUERY_BUILDER_CALENDAR_TYPE } from '../../graph-manager/QueryBuilderConst.js';
|
113
|
+
import { QueryBuilderPropertyInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
|
109
114
|
|
110
115
|
const QueryBuilderProjectionColumnContextMenu = observer(
|
111
116
|
forwardRef<
|
@@ -145,8 +150,9 @@ const QueryBuilderSimpleProjectionColumnEditor = observer(
|
|
145
150
|
(props: {
|
146
151
|
projectionColumnState: QueryBuilderSimpleProjectionColumnState;
|
147
152
|
setIsEditingColumnName: (isEditing: boolean) => void;
|
153
|
+
error?: boolean | undefined;
|
148
154
|
}) => {
|
149
|
-
const { projectionColumnState, setIsEditingColumnName } = props;
|
155
|
+
const { projectionColumnState, setIsEditingColumnName, error } = props;
|
150
156
|
const onPropertyExpressionChange = (
|
151
157
|
node: QueryBuilderExplorerTreePropertyNodeData,
|
152
158
|
): void =>
|
@@ -165,6 +171,7 @@ const QueryBuilderSimpleProjectionColumnEditor = observer(
|
|
165
171
|
}
|
166
172
|
onPropertyExpressionChange={onPropertyExpressionChange}
|
167
173
|
setIsEditingColumnName={setIsEditingColumnName}
|
174
|
+
error={error}
|
168
175
|
/>
|
169
176
|
</div>
|
170
177
|
);
|
@@ -753,38 +760,63 @@ const QueryBuilderProjectionColumnEditor = observer(
|
|
753
760
|
className="query-builder__projection__column__drag-handle__container"
|
754
761
|
/>
|
755
762
|
{projectionColumnState instanceof
|
756
|
-
QueryBuilderSimpleProjectionColumnState &&
|
757
|
-
|
758
|
-
<
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
763
|
+
QueryBuilderSimpleProjectionColumnState && (
|
764
|
+
<>
|
765
|
+
<QueryBuilderPropertyInfoTooltip
|
766
|
+
title={projectionColumnState.propertyExpressionState.title}
|
767
|
+
property={
|
768
|
+
projectionColumnState.propertyExpressionState
|
769
|
+
.propertyExpression.func.value
|
770
|
+
}
|
771
|
+
path={getPropertyPath(
|
772
|
+
projectionColumnState.propertyExpressionState
|
773
|
+
.propertyExpression,
|
774
|
+
)}
|
775
|
+
isMapped={true}
|
776
|
+
placement="bottom-start"
|
777
|
+
explorerState={
|
778
|
+
projectionColumnState.propertyExpressionState
|
779
|
+
.queryBuilderState.explorerState
|
780
|
+
}
|
781
|
+
>
|
782
|
+
<div className="query-builder-property-expression-badge__property__info">
|
783
|
+
<InfoCircleIcon />
|
784
|
+
</div>
|
785
|
+
</QueryBuilderPropertyInfoTooltip>
|
786
|
+
{isEditingColumnName ? (
|
787
|
+
<div className="query-builder__projection__column__name">
|
788
|
+
<InputWithInlineValidation
|
789
|
+
className="query-builder__projection__column__name__input input-group__input"
|
790
|
+
spellCheck={false}
|
791
|
+
value={projectionColumnState.columnName}
|
792
|
+
onChange={changeColumnName}
|
793
|
+
onKeyDown={(
|
794
|
+
event: React.KeyboardEvent<HTMLInputElement>,
|
795
|
+
) => {
|
796
|
+
if (event.key === 'Enter') {
|
797
|
+
setIsEditingColumnName(false);
|
798
|
+
}
|
799
|
+
}}
|
800
|
+
onBlur={() => {
|
768
801
|
setIsEditingColumnName(false);
|
802
|
+
}}
|
803
|
+
error={
|
804
|
+
isDuplicatedColumnName ? 'Duplicated column' : undefined
|
769
805
|
}
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
setIsEditingColumnName={setIsEditingColumnName}
|
785
|
-
/>
|
786
|
-
</div>
|
787
|
-
))}
|
806
|
+
ref={columnNameInputRef}
|
807
|
+
/>
|
808
|
+
</div>
|
809
|
+
) : (
|
810
|
+
<div className="query-builder__projection__column__value">
|
811
|
+
<QueryBuilderSimpleProjectionColumnEditor
|
812
|
+
projectionColumnState={projectionColumnState}
|
813
|
+
setIsEditingColumnName={setIsEditingColumnName}
|
814
|
+
error={isDuplicatedColumnName}
|
815
|
+
/>
|
816
|
+
</div>
|
817
|
+
)}
|
818
|
+
</>
|
819
|
+
)}
|
788
820
|
{projectionColumnState instanceof
|
789
821
|
QueryBuilderDerivationProjectionColumnState && (
|
790
822
|
<>
|
@@ -18,6 +18,7 @@ import {
|
|
18
18
|
type Hashable,
|
19
19
|
guaranteeType,
|
20
20
|
UnsupportedOperationError,
|
21
|
+
hashArray,
|
21
22
|
} from '@finos/legend-shared';
|
22
23
|
import {
|
23
24
|
AbstractPropertyExpression,
|
@@ -25,6 +26,7 @@ import {
|
|
25
26
|
LambdaFunctionInstanceValue,
|
26
27
|
type SimpleFunctionExpression,
|
27
28
|
type ValueSpecification,
|
29
|
+
PRIMITIVE_TYPE,
|
28
30
|
} from '@finos/legend-graph';
|
29
31
|
import {
|
30
32
|
type QueryBuilderProjectionColumnState,
|
@@ -32,19 +34,25 @@ import {
|
|
32
34
|
QueryBuilderDerivationProjectionColumnState,
|
33
35
|
} from '../projection/QueryBuilderProjectionColumnState.js';
|
34
36
|
import type { QueryBuilderAggregateColumnState } from './QueryBuilderAggregationState.js';
|
35
|
-
import { computed, makeObservable, observable
|
37
|
+
import { action, computed, makeObservable, observable } from 'mobx';
|
36
38
|
import type { QUERY_BUILDER_CALENDAR_TYPE } from '../../../../graph-manager/QueryBuilderConst.js';
|
37
39
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
|
40
|
+
import {
|
41
|
+
buildCalendarFunctionExpression,
|
42
|
+
updateAggregateColumnState,
|
43
|
+
} from './QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js';
|
38
44
|
|
39
|
-
export
|
40
|
-
implements Hashable
|
41
|
-
{
|
45
|
+
export class QueryBuilderAggregateCalendarFunction implements Hashable {
|
42
46
|
dateColumn?: AbstractPropertyExpression | undefined;
|
43
47
|
calendarType!: QUERY_BUILDER_CALENDAR_TYPE;
|
44
48
|
endDate!: ValueSpecification;
|
45
49
|
lambdaParameterName: string = DEFAULT_LAMBDA_VARIABLE_NAME;
|
46
50
|
|
47
|
-
|
51
|
+
private func: string;
|
52
|
+
private label: string;
|
53
|
+
private hash: string;
|
54
|
+
|
55
|
+
constructor(func: string, label: string, hash: string) {
|
48
56
|
makeObservable(this, {
|
49
57
|
dateColumn: observable,
|
50
58
|
lambdaParameterName: observable,
|
@@ -56,19 +64,60 @@ export abstract class QueryBuilderAggregateCalendarFunction
|
|
56
64
|
setEndDate: action,
|
57
65
|
hashCode: computed,
|
58
66
|
});
|
67
|
+
|
68
|
+
this.func = func;
|
69
|
+
this.label = label;
|
70
|
+
this.hash = hash;
|
59
71
|
}
|
60
72
|
|
61
|
-
|
73
|
+
getLabel(): string {
|
74
|
+
return this.label;
|
75
|
+
}
|
62
76
|
|
63
|
-
|
77
|
+
isCompatibleWithColumn(
|
64
78
|
projectionColumnState: QueryBuilderProjectionColumnState,
|
65
|
-
): boolean
|
79
|
+
): boolean {
|
80
|
+
if (
|
81
|
+
projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState
|
82
|
+
) {
|
83
|
+
const propertyType =
|
84
|
+
projectionColumnState.propertyExpressionState.propertyExpression.func
|
85
|
+
.value.genericType.value.rawType;
|
86
|
+
return (
|
87
|
+
[
|
88
|
+
PRIMITIVE_TYPE.NUMBER,
|
89
|
+
PRIMITIVE_TYPE.INTEGER,
|
90
|
+
PRIMITIVE_TYPE.DECIMAL,
|
91
|
+
PRIMITIVE_TYPE.FLOAT,
|
92
|
+
] as string[]
|
93
|
+
).includes(propertyType.path);
|
94
|
+
}
|
95
|
+
return true;
|
96
|
+
}
|
66
97
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
98
|
+
buildCalendarFunctionExpression(
|
99
|
+
p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification,
|
100
|
+
): ValueSpecification {
|
101
|
+
return buildCalendarFunctionExpression(
|
102
|
+
this.func,
|
103
|
+
this.dateColumn,
|
104
|
+
this.calendarType,
|
105
|
+
this.endDate,
|
106
|
+
p,
|
107
|
+
);
|
108
|
+
}
|
109
|
+
|
110
|
+
updateAggregateColumnState(
|
111
|
+
expression: SimpleFunctionExpression,
|
112
|
+
aggregationColumnState: QueryBuilderAggregateColumnState,
|
113
|
+
): void {
|
114
|
+
updateAggregateColumnState(
|
115
|
+
expression,
|
116
|
+
this.func,
|
117
|
+
this,
|
118
|
+
aggregationColumnState,
|
119
|
+
);
|
120
|
+
}
|
72
121
|
|
73
122
|
buildCalendarFunctionExpressionFromState(
|
74
123
|
aggregateColumnState: QueryBuilderAggregateColumnState,
|
@@ -104,11 +153,6 @@ export abstract class QueryBuilderAggregateCalendarFunction
|
|
104
153
|
return this.buildCalendarFunctionExpression(targetColumn);
|
105
154
|
}
|
106
155
|
|
107
|
-
abstract updateAggregateColumnState(
|
108
|
-
expression: SimpleFunctionExpression,
|
109
|
-
aggregationColumnState: QueryBuilderAggregateColumnState,
|
110
|
-
): void;
|
111
|
-
|
112
156
|
setDateColumn(val: AbstractPropertyExpression): void {
|
113
157
|
this.dateColumn = val;
|
114
158
|
}
|
@@ -125,5 +169,12 @@ export abstract class QueryBuilderAggregateCalendarFunction
|
|
125
169
|
this.endDate = val;
|
126
170
|
}
|
127
171
|
|
128
|
-
|
172
|
+
get hashCode(): string {
|
173
|
+
return hashArray([
|
174
|
+
this.hash,
|
175
|
+
this.dateColumn ?? '',
|
176
|
+
this.calendarType,
|
177
|
+
this.endDate,
|
178
|
+
]);
|
179
|
+
}
|
129
180
|
}
|
package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.ts
CHANGED
@@ -14,70 +14,173 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import {
|
18
|
-
import {
|
19
|
-
import
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
import { QueryBuilderAggregateCalendarFunction_P4Wa } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js';
|
29
|
-
import { QueryBuilderAggregateCalendarFunction_P4Wtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js';
|
30
|
-
import { QueryBuilderAggregateCalendarFunction_P52Wa } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js';
|
31
|
-
import { QueryBuilderAggregateCalendarFunction_P52Wtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js';
|
32
|
-
import { QueryBuilderAggregateCalendarFunction_Pma } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js';
|
33
|
-
import { QueryBuilderAggregateCalendarFunction_Pmtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js';
|
34
|
-
import { QueryBuilderAggregateCalendarFunction_Pqtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js';
|
35
|
-
import { QueryBuilderAggregateCalendarFunction_PriorDay } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js';
|
36
|
-
import { QueryBuilderAggregateCalendarFunction_PriorYear } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js';
|
37
|
-
import { QueryBuilderAggregateCalendarFunction_Pw } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js';
|
38
|
-
import { QueryBuilderAggregateCalendarFunction_Pw_Fm } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js';
|
39
|
-
import { QueryBuilderAggregateCalendarFunction_Pwa } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js';
|
40
|
-
import { QueryBuilderAggregateCalendarFunction_Pwtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js';
|
41
|
-
import { QueryBuilderAggregateCalendarFunction_Pymtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js';
|
42
|
-
import { QueryBuilderAggregateCalendarFunction_Pyqtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js';
|
43
|
-
import { QueryBuilderAggregateCalendarFunction_Pytd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js';
|
44
|
-
import { QueryBuilderAggregateCalendarFunction_Pywa } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js';
|
45
|
-
import { QueryBuilderAggregateCalendarFunction_Pywtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js';
|
46
|
-
import { QueryBuilderAggregateCalendarFunction_Qtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js';
|
47
|
-
import { QueryBuilderAggregateCalendarFunction_ReportEndDay } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js';
|
48
|
-
import { QueryBuilderAggregateCalendarFunction_Wtd } from './calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js';
|
17
|
+
import { QueryBuilderAggregateCalendarFunction } from './QueryBuilderAggregateCalendarFunction.js';
|
18
|
+
import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS } from '../../../../graph/QueryBuilderMetaModelConst.js';
|
19
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../QueryBuilderStateHashUtils.js';
|
20
|
+
|
21
|
+
function create(
|
22
|
+
func: string,
|
23
|
+
label: string,
|
24
|
+
hash: string,
|
25
|
+
): QueryBuilderAggregateCalendarFunction {
|
26
|
+
return new QueryBuilderAggregateCalendarFunction(func, label, hash);
|
27
|
+
}
|
49
28
|
|
50
29
|
export const getQueryBuilderCoreAggregrationCalendarFunctions =
|
51
30
|
(): QueryBuilderAggregateCalendarFunction[] => [
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
31
|
+
create(
|
32
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_ANNUALIZED,
|
33
|
+
'Annualized',
|
34
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_ANNUALIZED,
|
35
|
+
),
|
36
|
+
create(
|
37
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_YTD,
|
38
|
+
'Year to Date',
|
39
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_YTD,
|
40
|
+
),
|
41
|
+
create(
|
42
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_CME,
|
43
|
+
'Current Month Estimate',
|
44
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_CME,
|
45
|
+
),
|
46
|
+
create(
|
47
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_CW,
|
48
|
+
'Current Week',
|
49
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_CW,
|
50
|
+
),
|
51
|
+
create(
|
52
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_CME,
|
53
|
+
'Current Month Estimate',
|
54
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_CME,
|
55
|
+
),
|
56
|
+
create(
|
57
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_CY_MINUS2,
|
58
|
+
'Current year minus 2',
|
59
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_CY_MINUS2,
|
60
|
+
),
|
61
|
+
create(
|
62
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_CY_MINUS3,
|
63
|
+
'Current year minus 3',
|
64
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_CY_MINUS3,
|
65
|
+
),
|
66
|
+
create(
|
67
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_MTD,
|
68
|
+
'Month to date',
|
69
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_MTD,
|
70
|
+
),
|
71
|
+
create(
|
72
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P12WA,
|
73
|
+
'Previous 12 Weeks Averaged',
|
74
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P12WA,
|
75
|
+
),
|
76
|
+
create(
|
77
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P12WTD,
|
78
|
+
'Previous 12 Weeks To Date',
|
79
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P12WTD,
|
80
|
+
),
|
81
|
+
create(
|
82
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P4WA,
|
83
|
+
'Previous 4 Weeks Averaged',
|
84
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P4WA,
|
85
|
+
),
|
86
|
+
create(
|
87
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P4WTD,
|
88
|
+
'Previous 4 Weeks To Date',
|
89
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P4WTD,
|
90
|
+
),
|
91
|
+
create(
|
92
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P52WA,
|
93
|
+
'Previous 52 Weeks Averaged',
|
94
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P52WA,
|
95
|
+
),
|
96
|
+
create(
|
97
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P52WTD,
|
98
|
+
'Previous 52 Weeks To Date',
|
99
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P52WTD,
|
100
|
+
),
|
101
|
+
create(
|
102
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PMA,
|
103
|
+
'Previous Months Averaged',
|
104
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PMA,
|
105
|
+
),
|
106
|
+
create(
|
107
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PMTD,
|
108
|
+
'Previous Month To Date',
|
109
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PMTD,
|
110
|
+
),
|
111
|
+
create(
|
112
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PQTD,
|
113
|
+
'Previous Quarter To Date',
|
114
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PQTD,
|
115
|
+
),
|
116
|
+
create(
|
117
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PRIOR_DAY,
|
118
|
+
'Prior Day',
|
119
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PRIOR_DAY,
|
120
|
+
),
|
121
|
+
create(
|
122
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PRIOR_YEAR,
|
123
|
+
'Prior Year',
|
124
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PRIOR_YEAR,
|
125
|
+
),
|
126
|
+
create(
|
127
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PW,
|
128
|
+
'Previous week',
|
129
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PW,
|
130
|
+
),
|
131
|
+
create(
|
132
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PW_FM,
|
133
|
+
'Previous week, Franchise Manager',
|
134
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PW_FM,
|
135
|
+
),
|
136
|
+
create(
|
137
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PWA,
|
138
|
+
"Past Weeks' Average",
|
139
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PWA,
|
140
|
+
),
|
141
|
+
create(
|
142
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PWTD,
|
143
|
+
'Previous Week To Date',
|
144
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PWTD,
|
145
|
+
),
|
146
|
+
create(
|
147
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYMTD,
|
148
|
+
"Previous Year's Month To Date",
|
149
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PYMTD,
|
150
|
+
),
|
151
|
+
create(
|
152
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYQTD,
|
153
|
+
"Previous Year's Quarter To Date",
|
154
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PYQTD,
|
155
|
+
),
|
156
|
+
create(
|
157
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYTD,
|
158
|
+
'Previous Year To Date',
|
159
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PYTD,
|
160
|
+
),
|
161
|
+
create(
|
162
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYWA,
|
163
|
+
"Previous Year's Weekly Average",
|
164
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PYWA,
|
165
|
+
),
|
166
|
+
create(
|
167
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PYWTD,
|
168
|
+
"Previous Year's Week to Date",
|
169
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PYWTD,
|
170
|
+
),
|
171
|
+
create(
|
172
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_QTD,
|
173
|
+
'Quarter to Date',
|
174
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_QTD,
|
175
|
+
),
|
176
|
+
create(
|
177
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_REPORT_END_DAY,
|
178
|
+
'Report End Day',
|
179
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_REPORT_END_DAY,
|
180
|
+
),
|
181
|
+
create(
|
182
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_WTD,
|
183
|
+
'Week to Date',
|
184
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_WTD,
|
185
|
+
),
|
83
186
|
];
|
@@ -35,10 +35,10 @@ import {
|
|
35
35
|
UnsupportedOperationError,
|
36
36
|
guaranteeNonNullable,
|
37
37
|
} from '@finos/legend-shared';
|
38
|
-
import type { QueryBuilderAggregateColumnState } from '
|
39
|
-
import { type QueryBuilderAggregateCalendarFunction } from '
|
40
|
-
import { QUERY_BUILDER_CALENDAR_TYPE } from '
|
41
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '
|
38
|
+
import type { QueryBuilderAggregateColumnState } from './QueryBuilderAggregationState.js';
|
39
|
+
import { type QueryBuilderAggregateCalendarFunction } from './QueryBuilderAggregateCalendarFunction.js';
|
40
|
+
import { QUERY_BUILDER_CALENDAR_TYPE } from '../../../../graph-manager/QueryBuilderConst.js';
|
41
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graph/QueryBuilderMetaModelConst.js';
|
42
42
|
|
43
43
|
export const buildCalendarFunctionExpression = (
|
44
44
|
calendarFunctionFullPath: string,
|
package/tsconfig.json
CHANGED
@@ -98,42 +98,11 @@
|
|
98
98
|
"./src/stores/fetch-structure/tds/QueryResultSetModifierState.ts",
|
99
99
|
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts",
|
100
100
|
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.ts",
|
101
|
+
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts",
|
101
102
|
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts",
|
102
103
|
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.ts",
|
103
104
|
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts",
|
104
105
|
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts",
|
105
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts",
|
106
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.ts",
|
107
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.ts",
|
108
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.ts",
|
109
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.ts",
|
110
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.ts",
|
111
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts",
|
112
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts",
|
113
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts",
|
114
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts",
|
115
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts",
|
116
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts",
|
117
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts",
|
118
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts",
|
119
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts",
|
120
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts",
|
121
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts",
|
122
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts",
|
123
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts",
|
124
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts",
|
125
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.ts",
|
126
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.ts",
|
127
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.ts",
|
128
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.ts",
|
129
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.ts",
|
130
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.ts",
|
131
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.ts",
|
132
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.ts",
|
133
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.ts",
|
134
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.ts",
|
135
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.ts",
|
136
|
-
"./src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.ts",
|
137
106
|
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts",
|
138
107
|
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts",
|
139
108
|
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EAGxB,0BAA0B,EAO1B,KAAK,mCAAmC,EAEzC,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACzG,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAGhG,eAAO,MAAM,+BAA+B,6BAChB,MAAM,cACpB,0BAA0B,GAAG,SAAS,gBACpC,2BAA2B,WAChC,kBAAkB,gBAEvB,0BAA0B,GAC1B,mCAAmC,KACtC,kBAmBF,CAAC;AAEF,eAAO,MAAM,0BAA0B,eACzB,wBAAwB,4BACV,MAAM,oBACd,qCAAqC,wBACjC,gCAAgC,KACrD,IA8HF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts"],"names":[],"mappings":"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"}
|