@finos/legend-query-builder 3.0.8 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +20 -20
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTelemetryHelper.js +40 -40
- package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +51 -4
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryLoader.d.ts +30 -0
- package/lib/components/QueryLoader.d.ts.map +1 -0
- package/lib/components/QueryLoader.js +160 -0
- package/lib/components/QueryLoader.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +18 -0
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +152 -15
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +2 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/graph/QueryBuilderMetaModelConst.d.ts +33 -0
- package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
- package/lib/graph/QueryBuilderMetaModelConst.js +34 -0
- package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
- package/lib/graph-manager/QueryBuilderConst.d.ts +20 -0
- package/lib/graph-manager/QueryBuilderConst.d.ts.map +1 -0
- package/lib/graph-manager/QueryBuilderConst.js +21 -0
- package/lib/graph-manager/QueryBuilderConst.js.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +3 -2
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +27 -14
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderState.d.ts +2 -0
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +7 -0
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +11 -2
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts +32 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.js +32 -0
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js +12 -6
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +30 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.js +17 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/QueryLoaderState.d.ts +67 -0
- package/lib/stores/QueryLoaderState.d.ts.map +1 -0
- package/lib/stores/QueryLoaderState.js +205 -0
- package/lib/stores/QueryLoaderState.js.map +1 -0
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +2 -2
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +14 -4
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts +38 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js +54 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts +18 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js +80 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +8 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +24 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +23 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts +22 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js +61 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts +28 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js +55 -0
- package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js.map +1 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +9 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +3 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/package.json +8 -8
- package/src/__lib__/QueryBuilderTelemetryHelper.ts +40 -59
- package/src/components/QueryBuilder.tsx +79 -0
- package/src/components/QueryLoader.tsx +501 -0
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +456 -92
- package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +2 -1
- package/src/graph/QueryBuilderMetaModelConst.ts +34 -0
- package/src/graph-manager/QueryBuilderConst.ts +20 -0
- package/src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +10 -1
- package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +73 -28
- package/src/index.ts +3 -0
- package/src/stores/QueryBuilderState.ts +8 -0
- package/src/stores/QueryBuilderStateBuilder.ts +33 -2
- package/src/stores/QueryBuilderStateHashUtils.ts +33 -0
- package/src/stores/QueryBuilderTextEditorState.ts +21 -14
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +36 -0
- package/src/stores/QueryLoaderState.ts +298 -0
- package/src/stores/explorer/QueryBuilderExplorerState.ts +2 -1
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +1 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +22 -3
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.ts +83 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +31 -0
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +41 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts +175 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.ts +99 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.ts +98 -0
- package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.ts +98 -0
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +18 -1
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +39 -2
- package/tsconfig.json +38 -0
@@ -13,7 +13,25 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { AbstractPropertyExpression, Property, VariableExpression } from '@finos/legend-graph';
|
16
18
|
import type { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
19
|
+
import { type QueryBuilderAggregateCalendarFunction } from '../../stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js';
|
20
|
+
import { QUERY_BUILDER_CALENDAR_TYPE } from '../../graph-manager/QueryBuilderConst.js';
|
21
|
+
export type CalendarFunctionOption = {
|
22
|
+
label: string | React.ReactNode;
|
23
|
+
value: QueryBuilderAggregateCalendarFunction;
|
24
|
+
};
|
25
|
+
export declare const buildCalendarFunctionOption: (calendarFunction: QueryBuilderAggregateCalendarFunction) => CalendarFunctionOption;
|
26
|
+
export type CalendarFunctionDateColumnOption = {
|
27
|
+
label: string;
|
28
|
+
value: AbstractPropertyExpression;
|
29
|
+
};
|
30
|
+
export declare const buildCalendarFunctionDateColumnOption: (dateColumn: Property | AbstractPropertyExpression, parameter: VariableExpression, humanizeLabel: boolean) => CalendarFunctionDateColumnOption;
|
31
|
+
export type CalendarTypeOption = {
|
32
|
+
label: string;
|
33
|
+
value: QUERY_BUILDER_CALENDAR_TYPE;
|
34
|
+
};
|
17
35
|
export declare const QueryBuilderTDSPanel: ((props: {
|
18
36
|
tdsState: QueryBuilderTDSState;
|
19
37
|
}) => JSX.Element) & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAiDH,OAAO,EAKL,0BAA0B,EAE1B,QAAQ,EAER,kBAAkB,EAQnB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAOrG,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,uFAAuF,CAAC;AAQnJ,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,KAAK,EAAE,qCAAqC,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,2BAA2B,qBACpB,qCAAqC,KACtD,sBAaD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,0BAA0B,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,qCAAqC,eACpC,QAAQ,GAAG,0BAA0B,aACtC,kBAAkB,iBACd,OAAO,KACrB,gCAkBF,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,2BAA2B,CAAC;CACpC,CAAC;AAoqBF,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAqK3C,CAAC"}
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
16
|
*/
|
17
17
|
import { useEffect, useRef, useCallback, useState, forwardRef } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { clsx, BlankPanelPlaceholder, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, ContextMenu, InputWithInlineValidation, SigmaIcon, PanelDropZone, DragPreviewLayer, useDragPreviewLayer, OptionsIcon, PlusIcon, PanelContent, TrashIcon, PanelDnDEntry, PanelDnDEntryDragHandle, } from '@finos/legend-art';
|
19
|
+
import { clsx, BlankPanelPlaceholder, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, ContextMenu, InputWithInlineValidation, SigmaIcon, PanelDropZone, DragPreviewLayer, useDragPreviewLayer, OptionsIcon, PlusIcon, PanelContent, TrashIcon, PanelDnDEntry, PanelDnDEntryDragHandle, CalendarIcon, CalendarClockIcon, CustomSelectorInput, PURE_FunctionIcon, PanelEntryDropZonePlaceholder, } from '@finos/legend-art';
|
20
20
|
import { buildPropertyExpressionFromExplorerTreeNodeData, QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
21
21
|
import { useDrag, useDrop } from 'react-dnd';
|
22
22
|
import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE, } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
@@ -25,11 +25,38 @@ import { QueryResultModifierModal } from './QueryBuilderResultModifierPanel.js';
|
|
25
25
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
26
26
|
import { flowResult } from 'mobx';
|
27
27
|
import { useApplicationStore } from '@finos/legend-application';
|
28
|
-
import { generateFunctionCallString, LAMBDA_PIPE, VARIABLE_REFERENCE_TOKEN, } from '@finos/legend-graph';
|
28
|
+
import { generateFunctionCallString, LAMBDA_PIPE, VARIABLE_REFERENCE_TOKEN, AbstractPropertyExpression, PRIMITIVE_TYPE, Property, PropertyExplicitReference, VariableExpression, Multiplicity, PrimitiveType, GenericType, GenericTypeExplicitReference, observe_PrimitiveInstanceValue, PrimitiveInstanceValue, } from '@finos/legend-graph';
|
29
29
|
import { QUERY_BUILDER_FUNCTION_DND_TYPE, } from '../../stores/explorer/QueryFunctionsExplorerState.js';
|
30
30
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../stores/QueryBuilderConfig.js';
|
31
31
|
import { LambdaEditor } from '../shared/LambdaEditor.js';
|
32
|
-
import { QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
|
32
|
+
import { QUERY_BUILDER_VARIABLE_DND_TYPE, BasicValueSpecificationEditor, } from '../shared/BasicValueSpecificationEditor.js';
|
33
|
+
import {} from '../../stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js';
|
34
|
+
import { instanceValue_setValues, propertyExpression_setFunc, } from '../../stores/shared/ValueSpecificationModifierHelper.js';
|
35
|
+
import { guaranteeNonNullable } from '@finos/legend-shared';
|
36
|
+
import { getPropertyChainName } from '../../stores/QueryBuilderPropertyEditorState.js';
|
37
|
+
import { generateDefaultValueForPrimitiveType } from '../../stores/QueryBuilderValueSpecificationHelper.js';
|
38
|
+
import { QUERY_BUILDER_CALENDAR_TYPE } from '../../graph-manager/QueryBuilderConst.js';
|
39
|
+
export const buildCalendarFunctionOption = (calendarFunction) => ({
|
40
|
+
label: (_jsxs("div", { className: "query-builder__projection__calendar__function__label", title: calendarFunction.getLabel(), children: [_jsx(PURE_FunctionIcon, {}), _jsx("div", { className: "query-builder__projection__calendar__function__label__title", children: calendarFunction.getLabel() })] })),
|
41
|
+
value: calendarFunction,
|
42
|
+
});
|
43
|
+
export const buildCalendarFunctionDateColumnOption = (dateColumn, parameter, humanizeLabel) => {
|
44
|
+
if (dateColumn instanceof Property) {
|
45
|
+
const propertyExpression = new AbstractPropertyExpression('');
|
46
|
+
propertyExpression_setFunc(propertyExpression, PropertyExplicitReference.create(guaranteeNonNullable(dateColumn)));
|
47
|
+
propertyExpression.parametersValues = [parameter];
|
48
|
+
return {
|
49
|
+
label: getPropertyChainName(propertyExpression, humanizeLabel),
|
50
|
+
value: propertyExpression,
|
51
|
+
};
|
52
|
+
}
|
53
|
+
else {
|
54
|
+
return {
|
55
|
+
label: getPropertyChainName(dateColumn, humanizeLabel),
|
56
|
+
value: dateColumn,
|
57
|
+
};
|
58
|
+
}
|
59
|
+
};
|
33
60
|
const QueryBuilderProjectionColumnContextMenu = observer(forwardRef(function QueryBuilderProjectionColumnContextMenu(props, ref) {
|
34
61
|
const { projectionColumnState } = props;
|
35
62
|
const removeColumn = () => projectionColumnState.tdsState.removeColumn(projectionColumnState);
|
@@ -82,12 +109,14 @@ const QueryBuilderDerivationProjectionColumnEditor = observer((props) => {
|
|
82
109
|
});
|
83
110
|
const QueryBuilderProjectionColumnEditor = observer((props) => {
|
84
111
|
const handleRef = useRef(null);
|
112
|
+
const applicationStore = useApplicationStore();
|
85
113
|
const ref = useRef(null);
|
86
114
|
const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] = useState(false);
|
87
115
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
88
116
|
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
89
117
|
const { projectionColumnState } = props;
|
90
118
|
const tdsState = projectionColumnState.tdsState;
|
119
|
+
const isCalendarEnabled = tdsState.queryBuilderState.isCalendarEnabled;
|
91
120
|
const isRemovalDisabled = tdsState.isColumnInUse(projectionColumnState);
|
92
121
|
const removeColumn = () => tdsState.removeColumn(projectionColumnState);
|
93
122
|
// name
|
@@ -97,6 +126,64 @@ const QueryBuilderProjectionColumnEditor = observer((props) => {
|
|
97
126
|
const aggregateColumnState = tdsState.aggregationState.columns.find((column) => column.projectionColumnState === projectionColumnState);
|
98
127
|
const aggreateOperators = tdsState.aggregationState.operators.filter((op) => op.isCompatibleWithColumn(projectionColumnState));
|
99
128
|
const changeOperator = (val) => () => tdsState.aggregationState.changeColumnAggregateOperator(val, projectionColumnState);
|
129
|
+
// calendar
|
130
|
+
const aggregateCalendarFunctionDateColumns = tdsState.queryBuilderState.class?.properties.filter((p) => {
|
131
|
+
const _type = p.genericType.value.rawType.name;
|
132
|
+
if (_type === PRIMITIVE_TYPE.DATE ||
|
133
|
+
_type === PRIMITIVE_TYPE.STRICTDATE) {
|
134
|
+
return true;
|
135
|
+
}
|
136
|
+
return false;
|
137
|
+
}) ?? [];
|
138
|
+
const calendarFunctionDateColumnOptions = aggregateCalendarFunctionDateColumns.map((option) => buildCalendarFunctionDateColumnOption(option, new VariableExpression(aggregateColumnState?.calendarFunction?.lambdaParameterName ??
|
139
|
+
DEFAULT_LAMBDA_VARIABLE_NAME, Multiplicity.ONE), tdsState.queryBuilderState.explorerState.humanizePropertyName));
|
140
|
+
const calendarTypeOptions = Object.values(QUERY_BUILDER_CALENDAR_TYPE).map((ct) => ({
|
141
|
+
label: (_jsxs("div", { className: "query-builder__projection__calendar__type__option", children: [_jsx(CalendarIcon, {}), _jsx("div", { className: "query-builder__projection__calendar__type__option__title", children: ct })] })),
|
142
|
+
value: ct,
|
143
|
+
}));
|
144
|
+
const selectedCalendarTypeOption = aggregateColumnState?.calendarFunction
|
145
|
+
?.calendarType
|
146
|
+
? {
|
147
|
+
label: (_jsxs("div", { className: "query-builder__projection__calendar__type__option", children: [_jsx(CalendarIcon, {}), _jsx("div", { className: "query-builder__projection__calendar__type__option__title", children: aggregateColumnState.calendarFunction.calendarType })] })),
|
148
|
+
value: aggregateColumnState.calendarFunction.calendarType,
|
149
|
+
}
|
150
|
+
: null;
|
151
|
+
const onCalendarTypeOptionChange = (option) => {
|
152
|
+
if (option.value !== aggregateColumnState?.calendarFunction?.calendarType) {
|
153
|
+
aggregateColumnState?.calendarFunction?.setCalendarType(option.value);
|
154
|
+
}
|
155
|
+
};
|
156
|
+
const defaultEndDate = observe_PrimitiveInstanceValue(new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRICTDATE))), tdsState.queryBuilderState.observerContext);
|
157
|
+
instanceValue_setValues(defaultEndDate, [generateDefaultValueForPrimitiveType(PRIMITIVE_TYPE.STRICTDATE)], tdsState.queryBuilderState.observerContext);
|
158
|
+
const resetEndDate = () => {
|
159
|
+
if (aggregateColumnState?.calendarFunction) {
|
160
|
+
aggregateColumnState.calendarFunction.setEndDate(defaultEndDate);
|
161
|
+
}
|
162
|
+
};
|
163
|
+
const aggregateCalendarFunctions = tdsState.aggregationState.calendarFunctions.filter((cf) => cf.isCompatibleWithColumn(projectionColumnState));
|
164
|
+
const calendarFunctionOptions = aggregateCalendarFunctions.map(buildCalendarFunctionOption);
|
165
|
+
const selectedCalendarFunctionOption = aggregateColumnState?.calendarFunction
|
166
|
+
? buildCalendarFunctionOption(aggregateColumnState.calendarFunction)
|
167
|
+
: null;
|
168
|
+
const onCalendarFunctionOptionChange = (option) => {
|
169
|
+
if (option?.value !== aggregateColumnState?.calendarFunction) {
|
170
|
+
const lambdaParameterName = aggregateColumnState?.calendarFunction?.lambdaParameterName;
|
171
|
+
aggregateColumnState?.setCalendarFunction(option?.value ?? undefined);
|
172
|
+
if (lambdaParameterName && aggregateColumnState.calendarFunction) {
|
173
|
+
aggregateColumnState.calendarFunction.setLambdaParameterName(lambdaParameterName);
|
174
|
+
}
|
175
|
+
if (aggregateColumnState?.calendarFunction) {
|
176
|
+
if (calendarFunctionDateColumnOptions[0]) {
|
177
|
+
aggregateColumnState.calendarFunction.setDateColumn(guaranteeNonNullable(calendarFunctionDateColumnOptions[0]).value);
|
178
|
+
}
|
179
|
+
else {
|
180
|
+
applicationStore.notificationService.notifyWarning('Please provide the date column field for the calendar function');
|
181
|
+
}
|
182
|
+
aggregateColumnState.calendarFunction.setCalendarType(guaranteeNonNullable(calendarTypeOptions[0]).value);
|
183
|
+
aggregateColumnState.calendarFunction.setEndDate(defaultEndDate);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
};
|
100
187
|
// Drag and Drop
|
101
188
|
const handleHover = useCallback((item, monitor) => {
|
102
189
|
const dragIndex = tdsState.projectionColumns.findIndex((e) => e === item.columnState);
|
@@ -140,21 +227,71 @@ const QueryBuilderProjectionColumnEditor = observer((props) => {
|
|
140
227
|
dragConnector(handleRef);
|
141
228
|
dropConnector(ref);
|
142
229
|
useDragPreviewLayer(dragPreviewConnector);
|
230
|
+
const toggleHideCalendarColumnState = () => {
|
231
|
+
if (aggregateColumnState) {
|
232
|
+
aggregateColumnState.setHideCalendarColumnState(!aggregateColumnState.hideCalendarColumnState);
|
233
|
+
}
|
234
|
+
};
|
235
|
+
// Drag and Drop on calendar function date column
|
236
|
+
const handleDrop = useCallback((item, type) => {
|
237
|
+
if (type === QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY) {
|
238
|
+
if (item.node.type.name === PRIMITIVE_TYPE.DATE ||
|
239
|
+
item.node.type.name === PRIMITIVE_TYPE.STRICTDATE) {
|
240
|
+
aggregateColumnState?.calendarFunction?.setDateColumn(buildPropertyExpressionFromExplorerTreeNodeData(item.node, tdsState.queryBuilderState.explorerState, aggregateColumnState.calendarFunction.lambdaParameterName));
|
241
|
+
}
|
242
|
+
else {
|
243
|
+
applicationStore.notificationService.notifyWarning(`${item.node.type.name} type is not compaible with calendar function date column`);
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}, [
|
247
|
+
aggregateColumnState?.calendarFunction,
|
248
|
+
applicationStore.notificationService,
|
249
|
+
tdsState.queryBuilderState.explorerState,
|
250
|
+
]);
|
251
|
+
const [{ isDragOver }, dropTargetConnector] = useDrop(() => ({
|
252
|
+
accept: [QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY],
|
253
|
+
drop: (item, monitor) => {
|
254
|
+
if (!monitor.didDrop()) {
|
255
|
+
handleDrop(item, monitor.getItemType());
|
256
|
+
} // prevent drop event propagation to accomondate for nested DnD
|
257
|
+
},
|
258
|
+
collect: (monitor) => ({
|
259
|
+
isDragOver: monitor.isOver({ shallow: true }),
|
260
|
+
}),
|
261
|
+
}), [handleDrop]);
|
143
262
|
return (_jsx(PanelDnDEntry, { ref: ref, showPlaceholder: isBeingDragged, className: "query-builder__projection__column", children: _jsxs(ContextMenu, { content: _jsx(QueryBuilderProjectionColumnContextMenu, { projectionColumnState: projectionColumnState }), disabled: !(projectionColumnState instanceof
|
144
263
|
QueryBuilderSimpleProjectionColumnState), className: clsx('query-builder__projection__column__context-menu', {
|
145
264
|
'query-builder__projection__column--selected-from-context-menu': isSelectedFromContextMenu,
|
146
|
-
}), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [_jsx(PanelDnDEntryDragHandle, { isBeingDragged: isBeingDragged, dropTargetConnector: handleRef, className: "query-builder__projection__column__drag-handle__container" }), _jsx("div", { className: "query-builder__projection__column__name", children: _jsx(InputWithInlineValidation, { className: "query-builder__projection__column__name__input input-group__input", spellCheck: false, value: projectionColumnState.columnName, onChange: changeColumnName, error: isDuplicatedColumnName ? 'Duplicated column' : undefined }) }), _jsxs("div", { className: "query-builder__projection__column__value", children: [projectionColumnState instanceof
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
'
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
265
|
+
}), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: [_jsxs("div", { className: "query-builder__projection__column__container", children: [_jsx(PanelDnDEntryDragHandle, { isBeingDragged: isBeingDragged, dropTargetConnector: handleRef, className: "query-builder__projection__column__drag-handle__container" }), _jsx("div", { className: "query-builder__projection__column__name", children: _jsx(InputWithInlineValidation, { className: "query-builder__projection__column__name__input input-group__input", spellCheck: false, value: projectionColumnState.columnName, onChange: changeColumnName, error: isDuplicatedColumnName ? 'Duplicated column' : undefined }) }), _jsxs("div", { className: "query-builder__projection__column__value", children: [projectionColumnState instanceof
|
266
|
+
QueryBuilderSimpleProjectionColumnState && (_jsx(QueryBuilderSimpleProjectionColumnEditor, { projectionColumnState: projectionColumnState })), projectionColumnState instanceof
|
267
|
+
QueryBuilderDerivationProjectionColumnState && (_jsx(QueryBuilderDerivationProjectionColumnEditor, { projectionColumnState: projectionColumnState }))] }), _jsx("div", { className: "query-builder__projection__column__aggregate", children: _jsxs("div", { className: "query-builder__projection__column__aggregate__operator", children: [aggregateColumnState && (_jsx("div", { className: "query-builder__projection__column__aggregate__operator__label", children: aggregateColumnState.operator.getLabel(projectionColumnState) })), isCalendarEnabled &&
|
268
|
+
aggregateColumnState &&
|
269
|
+
aggregateCalendarFunctions.length > 0 && (_jsx("div", { className: aggregateColumnState.hideCalendarColumnState
|
270
|
+
? 'query-builder__projection__column__aggregate__calendar--clock--icon__hidden'
|
271
|
+
: 'query-builder__projection__column__aggregate__calendar--clock--icon', onClick: toggleHideCalendarColumnState, title: "Click to select calendar function", children: _jsx(CalendarClockIcon, {}) })), _jsxs(DropdownMenu, { className: "query-builder__projection__column__aggregate__operator__dropdown", title: "Choose Aggregate Operator...", disabled: !aggreateOperators.length, content: _jsxs(MenuContent, { children: [aggregateColumnState && (_jsx(MenuContentItem, { className: "query-builder__projection__column__aggregate__operator__dropdown__option", onClick: changeOperator(undefined), children: "(none)" })), aggreateOperators.map((op) => (_jsx(MenuContentItem, { className: "query-builder__projection__column__aggregate__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel(projectionColumnState) }, op.uuid)))] }), menuProps: {
|
272
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
273
|
+
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
274
|
+
elevation: 7,
|
275
|
+
}, children: [_jsx("div", { className: clsx('query-builder__projection__column__aggregate__operator__badge', {
|
276
|
+
'query-builder__projection__column__aggregate__operator__badge--activated': Boolean(aggregateColumnState),
|
277
|
+
}), children: _jsx(SigmaIcon, {}) }), _jsx("div", { className: "query-builder__projection__column__aggregate__operator__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] })] }) }), _jsx("div", { className: "query-builder__projection__column__actions", children: _jsx("button", { className: "query-builder__projection__column__action", tabIndex: -1, onClick: removeColumn, disabled: isRemovalDisabled, title: isRemovalDisabled
|
278
|
+
? // TODO: We may want to provide a list of all places where column is in use
|
279
|
+
"This column is used and can't be removed"
|
280
|
+
: 'Remove', children: _jsx(TimesIcon, {}) }) })] }), isCalendarEnabled &&
|
281
|
+
aggregateColumnState &&
|
282
|
+
aggregateCalendarFunctions.length > 0 && (_jsxs("div", { className: clsx('query-builder__projection__calendar__container', {
|
283
|
+
'query-builder__projection__calendar__container--hidden': aggregateColumnState.hideCalendarColumnState,
|
284
|
+
}), children: [_jsx("div", { "data-testid": "test", children: _jsx(CustomSelectorInput, { className: "query-builder__projection__calendar__function", options: calendarFunctionOptions, onChange: onCalendarFunctionOptionChange, value: selectedCalendarFunctionOption, placeholder: 'Select Calendar Function', isClearable: true, escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
285
|
+
.TEMPORARY__isLightColorThemeEnabled }) }), _jsx("div", { className: "query-builder__projection__calendar__value", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: aggregateColumnState.calendarFunction?.endDate ??
|
286
|
+
defaultEndDate, setValueSpecification: (val) => {
|
287
|
+
if (val instanceof PrimitiveInstanceValue) {
|
288
|
+
aggregateColumnState.calendarFunction?.setEndDate(val);
|
289
|
+
}
|
290
|
+
}, graph: tdsState.queryBuilderState.graphManagerState.graph, obseverContext: tdsState.queryBuilderState.observerContext, typeCheckOption: {
|
291
|
+
expectedType: PrimitiveType.STRICTDATE,
|
292
|
+
}, className: "query-builder__parameters__value__editor", resetValue: resetEndDate }) }), _jsx("div", { className: "query-builder__projection__calendar__date__column", ref: dropTargetConnector, children: _jsx(PanelEntryDropZonePlaceholder, { showPlaceholder: isDragOver, label: "Change Date Column", className: "query-builder__projection__calendar__date__column__dnd__placeholder", children: aggregateColumnState.calendarFunction?.dateColumn ? (_jsxs("div", { className: "query-builder__projection__calendar__date__column__label__box", children: [_jsx("div", { className: "query-builder__projection__calendar__date__column__prefix", children: "on" }), _jsx("div", { className: "query-builder__projection__calendar__date__column__label", children: getPropertyChainName(aggregateColumnState.calendarFunction.dateColumn, tdsState.queryBuilderState.explorerState
|
293
|
+
.humanizePropertyName) })] })) : (_jsx("div", { className: "query-builder__projection__calendar__date__column__dnd__placeholder", children: "Drag and drop date column here" })) }) }), _jsx(CustomSelectorInput, { className: "query-builder__projection__calendar__type", options: calendarTypeOptions, onChange: onCalendarTypeOptionChange, value: selectedCalendarTypeOption ?? calendarTypeOptions[0], placeholder: 'Select calendar type', darkMode: !applicationStore.layoutService
|
294
|
+
.TEMPORARY__isLightColorThemeEnabled })] }))] }) }));
|
158
295
|
});
|
159
296
|
export const QueryBuilderTDSPanel = observer((props) => {
|
160
297
|
const applicationStore = useApplicationStore();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,uBAAuB,GACxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAA0B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAGL,2CAA2C,EAC3C,uCAAuC,EACvC,wCAAwC,GACzC,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,0BAA0B,EAC1B,WAAW,EACX,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,+BAA+B,GAChC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAG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AC,GACjD,EACD,iBAAiB,CAAC,GAAG,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAChD,KAAC,kCAAkC,IAEjC,qBAAqB,EAAE,qBAAqB,IADvC,qBAAqB,CAAC,IAAI,CAE/B,CACH,CAAC,IACE,CACP,EACD,KAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAA0B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EAGL,2CAA2C,EAC3C,uCAAuC,EACvC,wCAAwC,GACzC,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;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AE;wCAChC,CAAC,CAAC,WAAW;wCACb,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,EAEjC,KAAK,EAAE,CAAC,wCAAwC,CAAC,GACjD,EACD,iBAAiB,CAAC,GAAG,CAAC,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAChD,KAAC,kCAAkC,IAEjC,qBAAqB,EAAE,qBAAqB,IADvC,qBAAqB,CAAC,IAAI,CAE/B,CACH,CAAC,IACE,CACP,EACD,KAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPanelIssueCountBadge.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPanelIssueCountBadge.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"QueryBuilderPanelIssueCountBadge.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPanelIssueCountBadge.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAKH,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtD,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;CAC9B,CAmBA,CAAC"}
|
@@ -15,12 +15,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { TimesCircleIcon } from '@finos/legend-art';
|
18
|
+
import { quantifyList } from '@finos/legend-shared';
|
18
19
|
export const QueryBuilderPanelIssueCountBadge = (props) => {
|
19
20
|
const { issues } = props;
|
20
21
|
if (!issues) {
|
21
22
|
return null;
|
22
23
|
}
|
23
|
-
const labelText =
|
24
|
+
const labelText = quantifyList(issues, 'issue');
|
24
25
|
return (_jsxs("div", { className: "query-builder-panel-issue-count-badge", title: `Found ${labelText}:\n${issues
|
25
26
|
.map((issue) => `\u2022 ${issue}`)
|
26
27
|
.join('\n')}`, children: [_jsx(TimesCircleIcon, { className: "query-builder-panel-issue-count-badge__icon" }), _jsx("div", { className: "query-builder-panel-issue-count-badge__text", children: labelText })] }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPanelIssueCountBadge.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPanelIssueCountBadge.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,gCAAgC,GAExC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,IAAI,CAAC;KACb;IACD,MAAM,SAAS,GAAG,
|
1
|
+
{"version":3,"file":"QueryBuilderPanelIssueCountBadge.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderPanelIssueCountBadge.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,CAAC,MAAM,gCAAgC,GAExC,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,IAAI,CAAC;KACb;IACD,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChD,OAAO,CACL,eACE,SAAS,EAAC,uCAAuC,EACjD,KAAK,EAAE,SAAS,SAAS,MAAM,MAAM;aAClC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,KAAK,EAAE,CAAC;aACjC,IAAI,CAAC,IAAI,CAAC,EAAE,aAEf,KAAC,eAAe,IAAC,SAAS,EAAC,6CAA6C,GAAG,EAC3E,cAAK,SAAS,EAAC,6CAA6C,YACzD,SAAS,GACN,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
@@ -21,6 +21,39 @@ export declare enum QUERY_BUILDER_PURE_PATH {
|
|
21
21
|
DAY_OF_WEEK = "meta::pure::functions::date::DayOfWeek",
|
22
22
|
SERIALIZE_CONFIG = "meta::pure::graphFetch::execution::AlloySerializationConfig"
|
23
23
|
}
|
24
|
+
export declare enum QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS {
|
25
|
+
CALENDAR_ANNUALIZED = "meta::pure::functions::date::calendar::annualized",
|
26
|
+
CALENDAR_CME = " meta::pure::functions::date::calendar::cme",
|
27
|
+
CALENDAR_CW = "meta::pure::functions::date::calendar::cw",
|
28
|
+
CALENDAR_CW_FM = "meta::pure::functions::date::calendar::cw_fm",
|
29
|
+
CALENDAR_CY_MINUS2 = "meta::pure::functions::date::calendar::CYMinus2",
|
30
|
+
CALENDAR_CY_MINUS3 = "meta::pure::functions::date::calendar::CYMinus3",
|
31
|
+
CALENDAR_MTD = "meta::pure::functions::date::calendar::mtd",
|
32
|
+
CALENDAR_P12WA = "meta::pure::functions::date::calendar::p12wa",
|
33
|
+
CALENDAR_P12WTD = "meta::pure::functions::date::calendar::p12wtd",
|
34
|
+
CALENDAR_P4WA = "meta::pure::functions::date::calendar::p4wa",
|
35
|
+
CALENDAR_P4WTD = "meta::pure::functions::date::calendar::p4wtd",
|
36
|
+
CALENDAR_P52WTD = "meta::pure::functions::date::calendar::p52wtd",
|
37
|
+
CALENDAR_P52WA = "meta::pure::functions::date::calendar::p52wa",
|
38
|
+
CALENDAR_PMA = "meta::pure::functions::date::calendar::pma",
|
39
|
+
CALENDAR_PMTD = "meta::pure::functions::date::calendar::pmtd",
|
40
|
+
CALENDAR_PQTD = "meta::pure::functions::date::calendar::pqtd",
|
41
|
+
CALENDAR_PRIOR_DAY = "meta::pure::functions::date::calendar::priorDay",
|
42
|
+
CALENDAR_PRIOR_YEAR = "meta::pure::functions::date::calendar::priorYear",
|
43
|
+
CALENDAR_PW = "meta::pure::functions::date::calendar::pw",
|
44
|
+
CALENDAR_PW_FM = "meta::pure::functions::date::calendar::pw_fm",
|
45
|
+
CALENDAR_PWA = "meta::pure::functions::date::calendar::pwa",
|
46
|
+
CALENDAR_PWTD = "meta::pure::functions::date::calendar::pwtd",
|
47
|
+
CALENDAR_PYMTD = "meta::pure::functions::date::calendar::pymtd",
|
48
|
+
CALENDAR_PYQTD = "meta::pure::functions::date::calendar::pyqtd",
|
49
|
+
CALENDAR_PYTD = "meta::pure::functions::date::calendar::pytd",
|
50
|
+
CALENDAR_PYWA = "meta::pure::functions::date::calendar::pywa",
|
51
|
+
CALENDAR_PYWTD = "meta::pure::functions::date::calendar::pywtd",
|
52
|
+
CALENDAR_QTD = "meta::pure::functions::date::calendar::qtd",
|
53
|
+
CALENDAR_REPORT_END_DAY = "meta::pure::functions::date::calendar::reportEndDay",
|
54
|
+
CALENDAR_WTD = "meta::pure::functions::date::calendar::wtd",
|
55
|
+
CALENDAR_YTD = "meta::pure::functions::date::calendar::ytd"
|
56
|
+
}
|
24
57
|
export declare enum QUERY_BUILDER_SUPPORTED_FUNCTIONS {
|
25
58
|
AND = "meta::pure::functions::boolean::and",
|
26
59
|
EXISTS = "meta::pure::functions::collection::exists",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderMetaModelConst.d.ts","sourceRoot":"","sources":["../../src/graph/QueryBuilderMetaModelConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,uBAAuB;IAEjC,OAAO,4BAA4B;IACnC,UAAU,+BAA+B;IACzC,mBAAmB,oCAAoC;IAGvD,aAAa,8CAA8C;IAC3D,WAAW,2CAA2C;IAGtD,gBAAgB,gEAAgE;CACjF;AAED,oBAAY,iCAAiC;IAC3C,GAA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,SAAS,4CAA4C;IAGrD,YAAY,iCAAiC;IAC7C,SAAS,4CAA4C;IACrD,iBAAiB,mDAAmD;IACpE,eAAe,iDAAiD;IAChE,eAAe,iDAAiD;CACjE"}
|
@@ -25,6 +25,40 @@ export var QUERY_BUILDER_PURE_PATH;
|
|
25
25
|
// serialization
|
26
26
|
QUERY_BUILDER_PURE_PATH["SERIALIZE_CONFIG"] = "meta::pure::graphFetch::execution::AlloySerializationConfig";
|
27
27
|
})(QUERY_BUILDER_PURE_PATH = QUERY_BUILDER_PURE_PATH || (QUERY_BUILDER_PURE_PATH = {}));
|
28
|
+
export var QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS;
|
29
|
+
(function (QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS) {
|
30
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_ANNUALIZED"] = "meta::pure::functions::date::calendar::annualized";
|
31
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_CME"] = " meta::pure::functions::date::calendar::cme";
|
32
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_CW"] = "meta::pure::functions::date::calendar::cw";
|
33
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_CW_FM"] = "meta::pure::functions::date::calendar::cw_fm";
|
34
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_CY_MINUS2"] = "meta::pure::functions::date::calendar::CYMinus2";
|
35
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_CY_MINUS3"] = "meta::pure::functions::date::calendar::CYMinus3";
|
36
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_MTD"] = "meta::pure::functions::date::calendar::mtd";
|
37
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_P12WA"] = "meta::pure::functions::date::calendar::p12wa";
|
38
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_P12WTD"] = "meta::pure::functions::date::calendar::p12wtd";
|
39
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_P4WA"] = "meta::pure::functions::date::calendar::p4wa";
|
40
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_P4WTD"] = "meta::pure::functions::date::calendar::p4wtd";
|
41
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_P52WTD"] = "meta::pure::functions::date::calendar::p52wtd";
|
42
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_P52WA"] = "meta::pure::functions::date::calendar::p52wa";
|
43
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PMA"] = "meta::pure::functions::date::calendar::pma";
|
44
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PMTD"] = "meta::pure::functions::date::calendar::pmtd";
|
45
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PQTD"] = "meta::pure::functions::date::calendar::pqtd";
|
46
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PRIOR_DAY"] = "meta::pure::functions::date::calendar::priorDay";
|
47
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PRIOR_YEAR"] = "meta::pure::functions::date::calendar::priorYear";
|
48
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PW"] = "meta::pure::functions::date::calendar::pw";
|
49
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PW_FM"] = "meta::pure::functions::date::calendar::pw_fm";
|
50
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PWA"] = "meta::pure::functions::date::calendar::pwa";
|
51
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PWTD"] = "meta::pure::functions::date::calendar::pwtd";
|
52
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PYMTD"] = "meta::pure::functions::date::calendar::pymtd";
|
53
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PYQTD"] = "meta::pure::functions::date::calendar::pyqtd";
|
54
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PYTD"] = "meta::pure::functions::date::calendar::pytd";
|
55
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PYWA"] = "meta::pure::functions::date::calendar::pywa";
|
56
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_PYWTD"] = "meta::pure::functions::date::calendar::pywtd";
|
57
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_QTD"] = "meta::pure::functions::date::calendar::qtd";
|
58
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_REPORT_END_DAY"] = "meta::pure::functions::date::calendar::reportEndDay";
|
59
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_WTD"] = "meta::pure::functions::date::calendar::wtd";
|
60
|
+
QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS["CALENDAR_YTD"] = "meta::pure::functions::date::calendar::ytd";
|
61
|
+
})(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS = QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS || (QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS = {}));
|
28
62
|
export var QUERY_BUILDER_SUPPORTED_FUNCTIONS;
|
29
63
|
(function (QUERY_BUILDER_SUPPORTED_FUNCTIONS) {
|
30
64
|
QUERY_BUILDER_SUPPORTED_FUNCTIONS["AND"] = "meta::pure::functions::boolean::and";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderMetaModelConst.js","sourceRoot":"","sources":["../../src/graph/QueryBuilderMetaModelConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,uBAYX;AAZD,WAAY,uBAAuB;IACjC,MAAM;IACN,8DAAmC,CAAA;IACnC,oEAAyC,CAAA;IACzC,kFAAuD,CAAA;IAEvD,OAAO;IACP,sFAA2D,CAAA;IAC3D,iFAAsD,CAAA;IAEtD,gBAAgB;IAChB,2GAAgF,CAAA;AAClF,CAAC,EAZW,uBAAuB,GAAvB,uBAAuB,KAAvB,uBAAuB,QAYlC;AAED,MAAM,CAAN,IAAY,iCAgFX;AAhFD,WAAY,iCAAiC;IAC3C,gFAA2C,CAAA;IAC3C,yFAAoD,CAAA;IACpD,yFAAoD,CAAA;IACpD,0FAAqD,CAAA;IACrD,2GAAsE,CAAA;IACtE,gFAA2C,CAAA;IAC3C,8EAAyC,CAAA;IACzC,qFAAgD,CAAA;IAChD,qFAAgD,CAAA;IAChD,iFAA4C,CAAA;IAE5C,OAAO;IACP,mFAA8C,CAAA;IAC9C,iFAA4C,CAAA;IAC5C,6EAAwC,CAAA;IACxC,0GAAqE,CAAA;IACrE,4GAAuE,CAAA;IACvE,gHAA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A;IAExE,YAAY;IACZ,0FAAqD,CAAA;IAErD,OAAO;IACP,kFAA6C,CAAA;IAC7C,0FAAqD,CAAA;IACrD,yGAAoE,CAAA;IACpE,qGAAgE,CAAA;IAChE,qGAAgE,CAAA;AAClE,CAAC,EAhFW,iCAAiC,GAAjC,iCAAiC,KAAjC,iCAAiC,QAgF5C"}
|
@@ -0,0 +1,20 @@
|
|
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
|
+
export declare enum QUERY_BUILDER_CALENDAR_TYPE {
|
17
|
+
NY = "NY",
|
18
|
+
LDN = "LDN"
|
19
|
+
}
|
20
|
+
//# sourceMappingURL=QueryBuilderConst.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderConst.d.ts","sourceRoot":"","sources":["../../src/graph-manager/QueryBuilderConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,2BAA2B;IACrC,EAAE,OAAO;IACT,GAAG,QAAQ;CACZ"}
|
@@ -0,0 +1,21 @@
|
|
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
|
+
export var QUERY_BUILDER_CALENDAR_TYPE;
|
17
|
+
(function (QUERY_BUILDER_CALENDAR_TYPE) {
|
18
|
+
QUERY_BUILDER_CALENDAR_TYPE["NY"] = "NY";
|
19
|
+
QUERY_BUILDER_CALENDAR_TYPE["LDN"] = "LDN";
|
20
|
+
})(QUERY_BUILDER_CALENDAR_TYPE = QUERY_BUILDER_CALENDAR_TYPE || (QUERY_BUILDER_CALENDAR_TYPE = {}));
|
21
|
+
//# sourceMappingURL=QueryBuilderConst.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderConst.js","sourceRoot":"","sources":["../../src/graph-manager/QueryBuilderConst.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,wCAAS,CAAA;IACT,0CAAW,CAAA;AACb,CAAC,EAHW,2BAA2B,GAA3B,2BAA2B,KAA3B,2BAA2B,QAGtC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAaH,OAAO,EAGL,KAAK,4BAA4B,EAIjC,KAAK,iCAAiC,EACtC,2BAA2B,EAQ5B,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAaH,OAAO,EAGL,KAAK,4BAA4B,EAIjC,KAAK,iCAAiC,EACtC,2BAA2B,EAQ5B,MAAM,qBAAqB,CAAC;AAM7B,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,qCAAqC,IAAI,4BAA4B,EAAE;IAmLvE,0CAA0C,IAAI,iCAAiC,EAAE;CAqB3F"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import packageJson from '../../../../package.json';
|
17
17
|
import { V1_buildExistsFunctionExpression, V1_buildFilterFunctionExpression, V1_buildGetAllFunctionExpression, V1_buildGroupByFunctionExpression, V1_buildOLAPGroupByFunctionExpression, V1_buildProjectFunctionExpression, V1_buildSubTypePropertyExpressionTypeInference, V1_buildWatermarkFunctionExpression, } from './v1/V1_QueryValueSpecificationBuilderHelper.js';
|
18
18
|
import { PureProtocolProcessorPlugin, matchFunctionName, SimpleFunctionExpression, extractElementNameFromPath, V1_buildGenericFunctionExpression, GenericType, GenericTypeExplicitReference, PrimitiveType, } from '@finos/legend-graph';
|
19
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
19
|
+
import { QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from '../../../graph/QueryBuilderMetaModelConst.js';
|
20
20
|
export class QueryBuilder_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
21
21
|
constructor() {
|
22
22
|
super(packageJson.extensions.pureProtocolProcessorPlugin, packageJson.version);
|
@@ -72,7 +72,8 @@ export class QueryBuilder_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
72
72
|
expression.genericType = GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE));
|
73
73
|
return expression;
|
74
74
|
}
|
75
|
-
else if (matchFunctionName(functionName, Object.values(QUERY_BUILDER_SUPPORTED_FUNCTIONS))
|
75
|
+
else if (matchFunctionName(functionName, Object.values(QUERY_BUILDER_SUPPORTED_FUNCTIONS)) ||
|
76
|
+
matchFunctionName(functionName, Object.values(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS))) {
|
76
77
|
// NOTE: this is a catch-all builder that is only meant for basic function expression
|
77
78
|
// such as and(), or(), etc. It will fail when type-inferencing/function-matching is required
|
78
79
|
// such as for project(), filter(), getAll(), etc.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,qCAAqC,EACrC,iCAAiC,EACjC,8CAA8C,EAC9C,mCAAmC,GACpC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAQL,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,iCAAiC,EACjC,WAAW,EACX,4BAA4B,EAC5B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilder_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,qCAAqC,EACrC,iCAAiC,EACjC,8CAA8C,EAC9C,mCAAmC,GACpC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAQL,2BAA2B,EAC3B,iB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;oBACnD,iCAAiC,CAAC,oBAAoB;oBACtD,iCAAiC,CAAC,MAAM;iBACzC,CAAC,EACF;oBACA,MAAM,UAAU,GAAG,iCAAiC,CAClD,YAAY,EACZ,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,CAClB,CAAC;oBACF,UAAU,CAAC,WAAW,GAAG,4BAA4B,CAAC,MAAM,CAC1D,IAAI,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,CACpC,CAAC;oBACF,OAAO,UAAU,CAAC;iBACnB;qBAAM,IACL,iBAAiB,CACf,YAAY,EACZ,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAC,CACjD;oBACD,iBAAiB,CACf,YAAY,EACZ,MAAM,CAAC,MAAM,CACX,sDAAsD,CACvD,CACF,EACD;oBACA,qFAAqF;oBACrF,6FAA6F;oBAC7F,kDAAkD;oBAClD,OAAO,iCAAiC,CACtC,YAAY,EACZ,UAAU,EACV,aAAa,EACb,cAAc,EACd,iBAAiB,CAClB,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,0CAA0C;QACjD,OAAO;YACL,CAAC,gBAAgD,EAAoB,EAAE;gBACrE,IAAI,YAAY,GACd,gBAAgB,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC;gBAC/C,IACE,gBAAgB,YAAY,wBAAwB;oBACpD,iBAAiB,CACf,gBAAgB,CAAC,YAAY,EAC7B,0BAA0B,CACxB,iCAAiC,CAAC,OAAO,CAC1C,CACF,EACD;oBACA,YAAY;wBACV,8CAA8C,CAAC,gBAAgB,CAAC,CAAC;iBACpE;gBACD,OAAO,YAAY,CAAC;YACtB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAE1B,KAAK,wBAAwB,EAC7B,KAAK,IAAI,
|
1
|
+
{"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAE1B,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EAuBV,MAAM,qBAAqB,CAAC;AA8L7B,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAmBF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAkDF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAqDF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBA4FF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAuIF,CAAC;AAEF,eAAO,MAAM,mCAAmC,iBAChC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,w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