@finos/legend-query-builder 4.14.12 → 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/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/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
@@ -1,55 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
|
17
|
-
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
19
|
-
import { hashArray } from '@finos/legend-shared';
|
20
|
-
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
21
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
22
|
-
import { buildCalendarFunctionExpression, updateAggregateColumnState, } from './QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js';
|
23
|
-
export class QueryBuilderAggregateCalendarFunction_P52Wtd extends QueryBuilderAggregateCalendarFunction {
|
24
|
-
getLabel() {
|
25
|
-
return `Previous 52 Weeks To Date`;
|
26
|
-
}
|
27
|
-
isCompatibleWithColumn(projectionColumnState) {
|
28
|
-
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
29
|
-
const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
|
30
|
-
.value.genericType.value.rawType;
|
31
|
-
return [
|
32
|
-
PRIMITIVE_TYPE.NUMBER,
|
33
|
-
PRIMITIVE_TYPE.INTEGER,
|
34
|
-
PRIMITIVE_TYPE.DECIMAL,
|
35
|
-
PRIMITIVE_TYPE.FLOAT,
|
36
|
-
].includes(propertyType.path);
|
37
|
-
}
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
buildCalendarFunctionExpression(p) {
|
41
|
-
return buildCalendarFunctionExpression(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P52WTD, this.dateColumn, this.calendarType, this.endDate, p);
|
42
|
-
}
|
43
|
-
updateAggregateColumnState(expression, aggregationColumnState) {
|
44
|
-
updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P52WTD, this, aggregationColumnState);
|
45
|
-
}
|
46
|
-
get hashCode() {
|
47
|
-
return hashArray([
|
48
|
-
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P52WTD,
|
49
|
-
this.dateColumn ?? '',
|
50
|
-
this.calendarType,
|
51
|
-
this.endDate,
|
52
|
-
]);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P52Wtd.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_P52Wtd.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,sDAAsD,EAAE,MAAM,oDAAoD,CAAC;AAC5H,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EACL,+BAA+B,EAC/B,0BAA0B,GAC3B,MAAM,qEAAqE,CAAC;AAE7E,MAAM,OAAO,4CACX,SAAQ,qCAAqC;IAG7C,QAAQ;QACN,OAAO,2BAA2B,CAAC;IACrC,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YACrC,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,+BAA+B,CAC7B,CAAmE;QAEnE,OAAO,+BAA+B,CACpC,sDAAsD,CAAC,eAAe,EACtE,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,OAAO,EACZ,CAAC,CACF,CAAC;IACJ,CAAC;IAED,0BAA0B,CACxB,UAAoC,EACpC,sBAAwD;QAExD,0BAA0B,CACxB,UAAU,EACV,sDAAsD,CAAC,eAAe,EACtE,IAAI,EACJ,sBAAsB,CACvB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,kCAAkC;YACrE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,YAAY;YACjB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { type ValueSpecification, type SimpleFunctionExpression, type AbstractPropertyExpression, type INTERNAL__UnknownValueSpecification } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
|
-
import { type QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
19
|
-
import { type Hashable } from '@finos/legend-shared';
|
20
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
21
|
-
export declare class QueryBuilderAggregateCalendarFunction_Pma extends QueryBuilderAggregateCalendarFunction implements Hashable {
|
22
|
-
getLabel(): string;
|
23
|
-
isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
|
24
|
-
buildCalendarFunctionExpression(p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification): ValueSpecification;
|
25
|
-
updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
|
26
|
-
get hashCode(): string;
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Pma.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_Pma.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AAMpG,qBAAa,yCACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAAG,mCAAmC,GAClE,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
|
17
|
-
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
19
|
-
import { hashArray } from '@finos/legend-shared';
|
20
|
-
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
21
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
22
|
-
import { updateAggregateColumnState, buildCalendarFunctionExpression, } from './QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js';
|
23
|
-
export class QueryBuilderAggregateCalendarFunction_Pma extends QueryBuilderAggregateCalendarFunction {
|
24
|
-
getLabel() {
|
25
|
-
return `Previous Months Averaged`;
|
26
|
-
}
|
27
|
-
isCompatibleWithColumn(projectionColumnState) {
|
28
|
-
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
29
|
-
const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
|
30
|
-
.value.genericType.value.rawType;
|
31
|
-
return [
|
32
|
-
PRIMITIVE_TYPE.NUMBER,
|
33
|
-
PRIMITIVE_TYPE.INTEGER,
|
34
|
-
PRIMITIVE_TYPE.DECIMAL,
|
35
|
-
PRIMITIVE_TYPE.FLOAT,
|
36
|
-
].includes(propertyType.path);
|
37
|
-
}
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
buildCalendarFunctionExpression(p) {
|
41
|
-
return buildCalendarFunctionExpression(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PMA, this.dateColumn, this.calendarType, this.endDate, p);
|
42
|
-
}
|
43
|
-
updateAggregateColumnState(expression, aggregationColumnState) {
|
44
|
-
updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PMA, this, aggregationColumnState);
|
45
|
-
}
|
46
|
-
get hashCode() {
|
47
|
-
return hashArray([
|
48
|
-
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PMA,
|
49
|
-
this.dateColumn ?? '',
|
50
|
-
this.calendarType,
|
51
|
-
this.endDate,
|
52
|
-
]);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Pma.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_Pma.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,sDAAsD,EAAE,MAAM,oDAAoD,CAAC;AAC5H,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,qEAAqE,CAAC;AAE7E,MAAM,OAAO,yCACX,SAAQ,qCAAqC;IAG7C,QAAQ;QACN,OAAO,0BAA0B,CAAC;IACpC,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YACrC,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,+BAA+B,CAC7B,CAAmE;QAEnE,OAAO,+BAA+B,CACpC,sDAAsD,CAAC,YAAY,EACnE,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,OAAO,EACZ,CAAC,CACF,CAAC;IACJ,CAAC;IAED,0BAA0B,CACxB,UAAoC,EACpC,sBAAwD;QAExD,0BAA0B,CACxB,UAAU,EACV,sDAAsD,CAAC,YAAY,EACnE,IAAI,EACJ,sBAAsB,CACvB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,+BAA+B;YAClE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,YAAY;YACjB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { type ValueSpecification, type SimpleFunctionExpression, type AbstractPropertyExpression, type INTERNAL__UnknownValueSpecification } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
|
-
import { type QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
19
|
-
import { type Hashable } from '@finos/legend-shared';
|
20
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
21
|
-
export declare class QueryBuilderAggregateCalendarFunction_Pmtd extends QueryBuilderAggregateCalendarFunction implements Hashable {
|
22
|
-
getLabel(): string;
|
23
|
-
isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
|
24
|
-
buildCalendarFunctionExpression(p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification): ValueSpecification;
|
25
|
-
updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
|
26
|
-
get hashCode(): string;
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Pmtd.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_Pmtd.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AAMpG,qBAAa,0CACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAAG,mCAAmC,GAClE,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
|
17
|
-
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
19
|
-
import { hashArray } from '@finos/legend-shared';
|
20
|
-
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
21
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
22
|
-
import { updateAggregateColumnState, buildCalendarFunctionExpression, } from './QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js';
|
23
|
-
export class QueryBuilderAggregateCalendarFunction_Pmtd extends QueryBuilderAggregateCalendarFunction {
|
24
|
-
getLabel() {
|
25
|
-
return `Previous Month To Date`;
|
26
|
-
}
|
27
|
-
isCompatibleWithColumn(projectionColumnState) {
|
28
|
-
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
29
|
-
const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
|
30
|
-
.value.genericType.value.rawType;
|
31
|
-
return [
|
32
|
-
PRIMITIVE_TYPE.NUMBER,
|
33
|
-
PRIMITIVE_TYPE.INTEGER,
|
34
|
-
PRIMITIVE_TYPE.DECIMAL,
|
35
|
-
PRIMITIVE_TYPE.FLOAT,
|
36
|
-
].includes(propertyType.path);
|
37
|
-
}
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
buildCalendarFunctionExpression(p) {
|
41
|
-
return buildCalendarFunctionExpression(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PMTD, this.dateColumn, this.calendarType, this.endDate, p);
|
42
|
-
}
|
43
|
-
updateAggregateColumnState(expression, aggregationColumnState) {
|
44
|
-
updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PMTD, this, aggregationColumnState);
|
45
|
-
}
|
46
|
-
get hashCode() {
|
47
|
-
return hashArray([
|
48
|
-
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PMTD,
|
49
|
-
this.dateColumn ?? '',
|
50
|
-
this.calendarType,
|
51
|
-
this.endDate,
|
52
|
-
]);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Pmtd.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_Pmtd.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,sDAAsD,EAAE,MAAM,oDAAoD,CAAC;AAC5H,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,qEAAqE,CAAC;AAE7E,MAAM,OAAO,0CACX,SAAQ,qCAAqC;IAG7C,QAAQ;QACN,OAAO,wBAAwB,CAAC;IAClC,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YACrC,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,+BAA+B,CAC7B,CAAmE;QAEnE,OAAO,+BAA+B,CACpC,sDAAsD,CAAC,aAAa,EACpE,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,OAAO,EACZ,CAAC,CACF,CAAC;IACJ,CAAC;IAED,0BAA0B,CACxB,UAAoC,EACpC,sBAAwD;QAExD,0BAA0B,CACxB,UAAU,EACV,sDAAsD,CAAC,aAAa,EACpE,IAAI,EACJ,sBAAsB,CACvB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,gCAAgC;YACnE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,YAAY;YACjB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { type ValueSpecification, type SimpleFunctionExpression, type AbstractPropertyExpression, type INTERNAL__UnknownValueSpecification } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
|
-
import { type QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
19
|
-
import { type Hashable } from '@finos/legend-shared';
|
20
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
21
|
-
export declare class QueryBuilderAggregateCalendarFunction_Pqtd extends QueryBuilderAggregateCalendarFunction implements Hashable {
|
22
|
-
getLabel(): string;
|
23
|
-
isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
|
24
|
-
buildCalendarFunctionExpression(p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification): ValueSpecification;
|
25
|
-
updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
|
26
|
-
get hashCode(): string;
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Pqtd.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_Pqtd.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AAMpG,qBAAa,0CACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAAG,mCAAmC,GAClE,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
|
17
|
-
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
19
|
-
import { hashArray } from '@finos/legend-shared';
|
20
|
-
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
21
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
22
|
-
import { updateAggregateColumnState, buildCalendarFunctionExpression, } from './QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js';
|
23
|
-
export class QueryBuilderAggregateCalendarFunction_Pqtd extends QueryBuilderAggregateCalendarFunction {
|
24
|
-
getLabel() {
|
25
|
-
return `Previous Quarter To Date`;
|
26
|
-
}
|
27
|
-
isCompatibleWithColumn(projectionColumnState) {
|
28
|
-
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
29
|
-
const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
|
30
|
-
.value.genericType.value.rawType;
|
31
|
-
return [
|
32
|
-
PRIMITIVE_TYPE.NUMBER,
|
33
|
-
PRIMITIVE_TYPE.INTEGER,
|
34
|
-
PRIMITIVE_TYPE.DECIMAL,
|
35
|
-
PRIMITIVE_TYPE.FLOAT,
|
36
|
-
].includes(propertyType.path);
|
37
|
-
}
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
buildCalendarFunctionExpression(p) {
|
41
|
-
return buildCalendarFunctionExpression(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PQTD, this.dateColumn, this.calendarType, this.endDate, p);
|
42
|
-
}
|
43
|
-
updateAggregateColumnState(expression, aggregationColumnState) {
|
44
|
-
updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PQTD, this, aggregationColumnState);
|
45
|
-
}
|
46
|
-
get hashCode() {
|
47
|
-
return hashArray([
|
48
|
-
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PQTD,
|
49
|
-
this.dateColumn ?? '',
|
50
|
-
this.calendarType,
|
51
|
-
this.endDate,
|
52
|
-
]);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Pqtd.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_Pqtd.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,sDAAsD,EAAE,MAAM,oDAAoD,CAAC;AAC5H,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,qEAAqE,CAAC;AAE7E,MAAM,OAAO,0CACX,SAAQ,qCAAqC;IAG7C,QAAQ;QACN,OAAO,0BAA0B,CAAC;IACpC,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YACrC,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,+BAA+B,CAC7B,CAAmE;QAEnE,OAAO,+BAA+B,CACpC,sDAAsD,CAAC,aAAa,EACpE,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,OAAO,EACZ,CAAC,CACF,CAAC;IACJ,CAAC;IAED,0BAA0B,CACxB,UAAoC,EACpC,sBAAwD;QAExD,0BAA0B,CACxB,UAAU,EACV,sDAAsD,CAAC,aAAa,EACpE,IAAI,EACJ,sBAAsB,CACvB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,gCAAgC;YACnE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,YAAY;YACjB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { type ValueSpecification, type SimpleFunctionExpression, type AbstractPropertyExpression, type INTERNAL__UnknownValueSpecification } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
|
-
import { type QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
19
|
-
import { type Hashable } from '@finos/legend-shared';
|
20
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
21
|
-
export declare class QueryBuilderAggregateCalendarFunction_PriorDay extends QueryBuilderAggregateCalendarFunction implements Hashable {
|
22
|
-
getLabel(): string;
|
23
|
-
isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
|
24
|
-
buildCalendarFunctionExpression(p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification): ValueSpecification;
|
25
|
-
updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
|
26
|
-
get hashCode(): string;
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_PriorDay.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_PriorDay.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AAMpG,qBAAa,8CACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAAG,mCAAmC,GAClE,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
|
17
|
-
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
19
|
-
import { hashArray } from '@finos/legend-shared';
|
20
|
-
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
21
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
22
|
-
import { updateAggregateColumnState, buildCalendarFunctionExpression, } from './QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js';
|
23
|
-
export class QueryBuilderAggregateCalendarFunction_PriorDay extends QueryBuilderAggregateCalendarFunction {
|
24
|
-
getLabel() {
|
25
|
-
return 'Prior Day';
|
26
|
-
}
|
27
|
-
isCompatibleWithColumn(projectionColumnState) {
|
28
|
-
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
29
|
-
const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
|
30
|
-
.value.genericType.value.rawType;
|
31
|
-
return [
|
32
|
-
PRIMITIVE_TYPE.NUMBER,
|
33
|
-
PRIMITIVE_TYPE.INTEGER,
|
34
|
-
PRIMITIVE_TYPE.DECIMAL,
|
35
|
-
PRIMITIVE_TYPE.FLOAT,
|
36
|
-
].includes(propertyType.path);
|
37
|
-
}
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
buildCalendarFunctionExpression(p) {
|
41
|
-
return buildCalendarFunctionExpression(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PRIOR_DAY, this.dateColumn, this.calendarType, this.endDate, p);
|
42
|
-
}
|
43
|
-
updateAggregateColumnState(expression, aggregationColumnState) {
|
44
|
-
updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PRIOR_DAY, this, aggregationColumnState);
|
45
|
-
}
|
46
|
-
get hashCode() {
|
47
|
-
return hashArray([
|
48
|
-
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PRIOR_DAY,
|
49
|
-
this.dateColumn ?? '',
|
50
|
-
this.calendarType,
|
51
|
-
this.endDate,
|
52
|
-
]);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_PriorDay.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_PriorDay.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,sDAAsD,EAAE,MAAM,oDAAoD,CAAC;AAC5H,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,qEAAqE,CAAC;AAE7E,MAAM,OAAO,8CACX,SAAQ,qCAAqC;IAG7C,QAAQ;QACN,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YACrC,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,+BAA+B,CAC7B,CAAmE;QAEnE,OAAO,+BAA+B,CACpC,sDAAsD,CAAC,kBAAkB,EACzE,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,OAAO,EACZ,CAAC,CACF,CAAC;IACJ,CAAC;IAED,0BAA0B,CACxB,UAAoC,EACpC,sBAAwD;QAExD,0BAA0B,CACxB,UAAU,EACV,sDAAsD,CAAC,kBAAkB,EACzE,IAAI,EACJ,sBAAsB,CACvB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,qCAAqC;YACxE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,YAAY;YACjB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { type ValueSpecification, type SimpleFunctionExpression, type AbstractPropertyExpression, type INTERNAL__UnknownValueSpecification } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
|
-
import { type QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
19
|
-
import { type Hashable } from '@finos/legend-shared';
|
20
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
21
|
-
export declare class QueryBuilderAggregateCalendarFunction_PriorYear extends QueryBuilderAggregateCalendarFunction implements Hashable {
|
22
|
-
getLabel(): string;
|
23
|
-
isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
|
24
|
-
buildCalendarFunctionExpression(p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification): ValueSpecification;
|
25
|
-
updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
|
26
|
-
get hashCode(): string;
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_PriorYear.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_PriorYear.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AAMpG,qBAAa,+CACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAAG,mCAAmC,GAClE,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
|
17
|
-
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
19
|
-
import { hashArray } from '@finos/legend-shared';
|
20
|
-
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
21
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
22
|
-
import { updateAggregateColumnState, buildCalendarFunctionExpression, } from './QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js';
|
23
|
-
export class QueryBuilderAggregateCalendarFunction_PriorYear extends QueryBuilderAggregateCalendarFunction {
|
24
|
-
getLabel() {
|
25
|
-
return 'Prior Year';
|
26
|
-
}
|
27
|
-
isCompatibleWithColumn(projectionColumnState) {
|
28
|
-
if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
29
|
-
const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
|
30
|
-
.value.genericType.value.rawType;
|
31
|
-
return [
|
32
|
-
PRIMITIVE_TYPE.NUMBER,
|
33
|
-
PRIMITIVE_TYPE.INTEGER,
|
34
|
-
PRIMITIVE_TYPE.DECIMAL,
|
35
|
-
PRIMITIVE_TYPE.FLOAT,
|
36
|
-
].includes(propertyType.path);
|
37
|
-
}
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
buildCalendarFunctionExpression(p) {
|
41
|
-
return buildCalendarFunctionExpression(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PRIOR_YEAR, this.dateColumn, this.calendarType, this.endDate, p);
|
42
|
-
}
|
43
|
-
updateAggregateColumnState(expression, aggregationColumnState) {
|
44
|
-
updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_PRIOR_YEAR, this, aggregationColumnState);
|
45
|
-
}
|
46
|
-
get hashCode() {
|
47
|
-
return hashArray([
|
48
|
-
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_PRIOR_YEAR,
|
49
|
-
this.dateColumn ?? '',
|
50
|
-
this.calendarType,
|
51
|
-
this.endDate,
|
52
|
-
]);
|
53
|
-
}
|
54
|
-
}
|
55
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_PriorYear.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_PriorYear.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAKf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EAAE,sDAAsD,EAAE,MAAM,oDAAoD,CAAC;AAC5H,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AACpG,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,qEAAqE,CAAC;AAE7E,MAAM,OAAO,+CACX,SAAQ,qCAAqC;IAG7C,QAAQ;QACN,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YACrC,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,+BAA+B,CAC7B,CAAmE;QAEnE,OAAO,+BAA+B,CACpC,sDAAsD,CAAC,mBAAmB,EAC1E,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,OAAO,EACZ,CAAC,CACF,CAAC;IACJ,CAAC;IAED,0BAA0B,CACxB,UAAoC,EACpC,sBAAwD;QAExD,0BAA0B,CACxB,UAAU,EACV,sDAAsD,CAAC,mBAAmB,EAC1E,IAAI,EACJ,sBAAsB,CACvB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,sCAAsC;YACzE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,YAAY;YACjB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { type ValueSpecification, type SimpleFunctionExpression, type AbstractPropertyExpression, type INTERNAL__UnknownValueSpecification } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
18
|
-
import { type QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
19
|
-
import { type Hashable } from '@finos/legend-shared';
|
20
|
-
import { QueryBuilderAggregateCalendarFunction } from '../QueryBuilderAggregateCalendarFunction.js';
|
21
|
-
export declare class QueryBuilderAggregateCalendarFunction_Pw extends QueryBuilderAggregateCalendarFunction implements Hashable {
|
22
|
-
getLabel(): string;
|
23
|
-
isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
|
24
|
-
buildCalendarFunctionExpression(p: AbstractPropertyExpression | INTERNAL__UnknownValueSpecification): ValueSpecification;
|
25
|
-
updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
|
26
|
-
get hashCode(): string;
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Pw.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateCalendarFunction_Pw.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAAE,qCAAqC,EAAE,MAAM,6CAA6C,CAAC;AAMpG,qBAAa,wCACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAAG,mCAAmC,GAClE,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|