@finos/legend-query-builder 3.0.7 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. package/lib/__lib__/QueryBuilderDocumentation.d.ts +0 -1
  2. package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderDocumentation.js +0 -1
  4. package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
  5. package/lib/__lib__/QueryBuilderEvent.d.ts +18 -0
  6. package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -1
  7. package/lib/__lib__/QueryBuilderEvent.js +20 -0
  8. package/lib/__lib__/QueryBuilderEvent.js.map +1 -1
  9. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +14 -0
  10. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
  11. package/lib/__lib__/QueryBuilderTelemetryHelper.js +43 -1
  12. package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
  13. package/lib/components/QueryBuilder.d.ts +0 -1
  14. package/lib/components/QueryBuilder.d.ts.map +1 -1
  15. package/lib/components/QueryBuilder.js +74 -36
  16. package/lib/components/QueryBuilder.js.map +1 -1
  17. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +0 -1
  18. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  19. package/lib/components/QueryBuilderDiffPanel.d.ts +0 -1
  20. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  21. package/lib/components/QueryBuilderParametersPanel.d.ts +0 -1
  22. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  23. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -1
  24. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  25. package/lib/components/QueryBuilderResultPanel.d.ts +0 -1
  26. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  27. package/lib/components/QueryBuilderSideBar.d.ts +0 -1
  28. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  29. package/lib/components/QueryBuilderTextEditor.d.ts +0 -1
  30. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  31. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -1
  32. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
  33. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -1
  34. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  35. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +0 -1
  36. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  37. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -1
  38. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  39. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -1
  40. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  41. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -1
  42. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  43. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -1
  44. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  45. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +13 -3
  46. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  47. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +0 -1
  48. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts.map +1 -1
  49. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -1
  50. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  51. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +17 -0
  52. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  53. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +152 -15
  54. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  55. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts +0 -1
  56. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  57. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +2 -2
  58. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  59. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -1
  60. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  61. package/lib/components/filter/QueryBuilderFilterPanel.js +14 -3
  62. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  63. package/lib/components/shared/LambdaEditor.d.ts +0 -1
  64. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  65. package/lib/components/shared/LambdaParameterValuesEditor.d.ts +0 -1
  66. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  67. package/lib/components/shared/LambdaParameterValuesEditor.js +2 -1
  68. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  69. package/lib/components/shared/QueryBuilderVariableSelector.d.ts +0 -1
  70. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  71. package/lib/components/watermark/QueryBuilderWatermark.d.ts +0 -1
  72. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
  73. package/lib/graph/QueryBuilderMetaModelConst.d.ts +33 -0
  74. package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
  75. package/lib/graph/QueryBuilderMetaModelConst.js +34 -0
  76. package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
  77. package/lib/graph-manager/QueryBuilderConst.d.ts +20 -0
  78. package/lib/graph-manager/QueryBuilderConst.d.ts.map +1 -0
  79. package/lib/graph-manager/QueryBuilderConst.js +21 -0
  80. package/lib/graph-manager/QueryBuilderConst.js.map +1 -0
  81. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
  82. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +3 -2
  83. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  84. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  85. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +27 -14
  86. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  87. package/lib/index.css +2 -2
  88. package/lib/index.css.map +1 -1
  89. package/lib/package.json +4 -4
  90. package/lib/stores/QueryBuilderState.d.ts +3 -2
  91. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  92. package/lib/stores/QueryBuilderState.js +12 -6
  93. package/lib/stores/QueryBuilderState.js.map +1 -1
  94. package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
  95. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  96. package/lib/stores/QueryBuilderStateBuilder.js +11 -2
  97. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  98. package/lib/stores/QueryBuilderStateHashUtils.d.ts +32 -1
  99. package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
  100. package/lib/stores/QueryBuilderStateHashUtils.js +32 -0
  101. package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
  102. package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -1
  103. package/lib/stores/QueryBuilderTextEditorState.js +12 -6
  104. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  105. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +1 -1
  106. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  107. package/lib/stores/explorer/QueryBuilderExplorerState.js +2 -2
  108. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  109. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
  110. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +1 -0
  111. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  112. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  113. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  114. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +14 -4
  115. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  116. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts +38 -0
  117. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map +1 -0
  118. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js +54 -0
  119. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -0
  120. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts +18 -0
  121. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.d.ts.map +1 -0
  122. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js +80 -0
  123. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.js.map +1 -0
  124. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +8 -1
  125. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  126. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +24 -1
  127. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  128. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -1
  129. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +23 -0
  130. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
  131. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts +22 -0
  132. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -0
  133. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js +61 -0
  134. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -0
  135. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts +28 -0
  136. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts.map +1 -0
  137. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js +55 -0
  138. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js.map +1 -0
  139. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts +28 -0
  140. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts.map +1 -0
  141. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js +55 -0
  142. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js.map +1 -0
  143. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts +28 -0
  144. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts.map +1 -0
  145. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js +55 -0
  146. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js.map +1 -0
  147. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts +28 -0
  148. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts.map +1 -0
  149. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js +55 -0
  150. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js.map +1 -0
  151. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts +28 -0
  152. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts.map +1 -0
  153. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js +55 -0
  154. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js.map +1 -0
  155. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts +28 -0
  156. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts.map +1 -0
  157. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js +55 -0
  158. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js.map +1 -0
  159. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts +28 -0
  160. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts.map +1 -0
  161. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js +55 -0
  162. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js.map +1 -0
  163. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts +28 -0
  164. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts.map +1 -0
  165. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js +55 -0
  166. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js.map +1 -0
  167. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts +28 -0
  168. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts.map +1 -0
  169. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js +55 -0
  170. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js.map +1 -0
  171. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts +28 -0
  172. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts.map +1 -0
  173. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js +55 -0
  174. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js.map +1 -0
  175. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts +28 -0
  176. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts.map +1 -0
  177. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js +55 -0
  178. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js.map +1 -0
  179. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts +28 -0
  180. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts.map +1 -0
  181. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js +55 -0
  182. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js.map +1 -0
  183. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts +28 -0
  184. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts.map +1 -0
  185. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js +55 -0
  186. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js.map +1 -0
  187. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts +28 -0
  188. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts.map +1 -0
  189. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js +55 -0
  190. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js.map +1 -0
  191. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts +28 -0
  192. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts.map +1 -0
  193. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js +55 -0
  194. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js.map +1 -0
  195. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts +28 -0
  196. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts.map +1 -0
  197. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js +55 -0
  198. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js.map +1 -0
  199. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts +28 -0
  200. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts.map +1 -0
  201. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js +55 -0
  202. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js.map +1 -0
  203. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts +28 -0
  204. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts.map +1 -0
  205. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js +55 -0
  206. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js.map +1 -0
  207. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts +28 -0
  208. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts.map +1 -0
  209. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js +55 -0
  210. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js.map +1 -0
  211. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts +28 -0
  212. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts.map +1 -0
  213. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js +55 -0
  214. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js.map +1 -0
  215. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts +28 -0
  216. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts.map +1 -0
  217. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js +55 -0
  218. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js.map +1 -0
  219. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts +28 -0
  220. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts.map +1 -0
  221. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js +55 -0
  222. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js.map +1 -0
  223. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts +28 -0
  224. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts.map +1 -0
  225. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js +55 -0
  226. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js.map +1 -0
  227. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts +28 -0
  228. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts.map +1 -0
  229. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js +55 -0
  230. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js.map +1 -0
  231. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts +28 -0
  232. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts.map +1 -0
  233. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js +55 -0
  234. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js.map +1 -0
  235. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts +28 -0
  236. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts.map +1 -0
  237. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js +55 -0
  238. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js.map +1 -0
  239. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts +28 -0
  240. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts.map +1 -0
  241. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js +55 -0
  242. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js.map +1 -0
  243. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts +28 -0
  244. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts.map +1 -0
  245. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js +55 -0
  246. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js.map +1 -0
  247. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts +28 -0
  248. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts.map +1 -0
  249. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js +55 -0
  250. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js.map +1 -0
  251. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts +28 -0
  252. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts.map +1 -0
  253. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js +55 -0
  254. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js.map +1 -0
  255. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts +28 -0
  256. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts.map +1 -0
  257. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js +55 -0
  258. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js.map +1 -0
  259. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  260. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +9 -1
  261. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  262. package/package.json +10 -10
  263. package/src/__lib__/QueryBuilderDocumentation.ts +0 -2
  264. package/src/__lib__/QueryBuilderEvent.ts +20 -0
  265. package/src/__lib__/QueryBuilderTelemetryHelper.ts +131 -1
  266. package/src/components/QueryBuilder.tsx +226 -188
  267. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +96 -60
  268. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +456 -94
  269. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +2 -4
  270. package/src/components/filter/QueryBuilderFilterPanel.tsx +102 -60
  271. package/src/components/shared/LambdaParameterValuesEditor.tsx +2 -1
  272. package/src/graph/QueryBuilderMetaModelConst.ts +34 -0
  273. package/src/graph-manager/QueryBuilderConst.ts +20 -0
  274. package/src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +10 -1
  275. package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +73 -28
  276. package/src/stores/QueryBuilderState.ts +12 -9
  277. package/src/stores/QueryBuilderStateBuilder.ts +33 -2
  278. package/src/stores/QueryBuilderStateHashUtils.ts +33 -0
  279. package/src/stores/QueryBuilderTextEditorState.ts +21 -14
  280. package/src/stores/explorer/QueryBuilderExplorerState.ts +2 -1
  281. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +1 -0
  282. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +22 -3
  283. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts +98 -0
  284. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionLoader.ts +83 -0
  285. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +31 -0
  286. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +41 -0
  287. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts +175 -0
  288. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.ts +98 -0
  289. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.ts +98 -0
  290. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.ts +98 -0
  291. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.ts +99 -0
  292. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.ts +98 -0
  293. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts +98 -0
  294. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts +98 -0
  295. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts +98 -0
  296. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts +98 -0
  297. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts +98 -0
  298. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts +98 -0
  299. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts +98 -0
  300. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts +98 -0
  301. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts +98 -0
  302. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts +98 -0
  303. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts +98 -0
  304. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts +98 -0
  305. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts +98 -0
  306. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts +98 -0
  307. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.ts +98 -0
  308. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.ts +98 -0
  309. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.ts +98 -0
  310. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.ts +98 -0
  311. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.ts +98 -0
  312. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.ts +98 -0
  313. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.ts +98 -0
  314. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.ts +98 -0
  315. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.ts +98 -0
  316. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.ts +98 -0
  317. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.ts +98 -0
  318. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.ts +98 -0
  319. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +18 -1
  320. package/tsconfig.json +35 -0
@@ -0,0 +1,55 @@
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_Cy_Minus3 extends QueryBuilderAggregateCalendarFunction {
24
+ getLabel() {
25
+ return `Current year minus 3`;
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_CY_MINUS3, this.dateColumn, this.calendarType, this.endDate, p);
42
+ }
43
+ updateAggregateColumnState(expression, aggregationColumnState) {
44
+ updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_CY_MINUS3, this, aggregationColumnState);
45
+ }
46
+ get hashCode() {
47
+ return hashArray([
48
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_CY_MINUS3,
49
+ this.dateColumn ?? '',
50
+ this.calendarType,
51
+ this.endDate,
52
+ ]);
53
+ }
54
+ }
55
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Cy_Minus3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_Cy_Minus3.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAIf,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,+CACX,SAAQ,qCAAqC;IAG7C,QAAQ;QACN,OAAO,sBAAsB,CAAC;IAChC,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,CAA6B;QAE7B,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"}
@@ -0,0 +1,28 @@
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 } 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_Mtd extends QueryBuilderAggregateCalendarFunction implements Hashable {
22
+ getLabel(): string;
23
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
24
+ buildCalendarFunctionExpression(p: AbstractPropertyExpression): ValueSpecification;
25
+ updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
26
+ get hashCode(): string;
27
+ }
28
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Mtd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_Mtd.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAChC,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,GAC5B,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
@@ -0,0 +1,55 @@
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_Mtd extends QueryBuilderAggregateCalendarFunction {
24
+ getLabel() {
25
+ return `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_MTD, this.dateColumn, this.calendarType, this.endDate, p);
42
+ }
43
+ updateAggregateColumnState(expression, aggregationColumnState) {
44
+ updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_MTD, this, aggregationColumnState);
45
+ }
46
+ get hashCode() {
47
+ return hashArray([
48
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_MTD,
49
+ this.dateColumn ?? '',
50
+ this.calendarType,
51
+ this.endDate,
52
+ ]);
53
+ }
54
+ }
55
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_Mtd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_Mtd.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAIf,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,eAAe,CAAC;IACzB,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,CAA6B;QAE7B,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"}
@@ -0,0 +1,28 @@
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 } 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_P12Wa extends QueryBuilderAggregateCalendarFunction implements Hashable {
22
+ getLabel(): string;
23
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
24
+ buildCalendarFunctionExpression(p: AbstractPropertyExpression): ValueSpecification;
25
+ updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
26
+ get hashCode(): string;
27
+ }
28
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P12Wa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P12Wa.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAChC,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,2CACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAC5B,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
@@ -0,0 +1,55 @@
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_P12Wa extends QueryBuilderAggregateCalendarFunction {
24
+ getLabel() {
25
+ return `Previous 12 Weeks 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_P12WA, this.dateColumn, this.calendarType, this.endDate, p);
42
+ }
43
+ updateAggregateColumnState(expression, aggregationColumnState) {
44
+ updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P12WA, this, aggregationColumnState);
45
+ }
46
+ get hashCode() {
47
+ return hashArray([
48
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P12WA,
49
+ this.dateColumn ?? '',
50
+ this.calendarType,
51
+ this.endDate,
52
+ ]);
53
+ }
54
+ }
55
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P12Wa.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P12Wa.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAIf,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,2CACX,SAAQ,qCAAqC;IAG7C,QAAQ;QACN,OAAO,4BAA4B,CAAC;IACtC,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,CAA6B;QAE7B,OAAO,+BAA+B,CACpC,sDAAsD,CAAC,cAAc,EACrE,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,cAAc,EACrE,IAAI,EACJ,sBAAsB,CACvB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iCAAiC;YACpE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,YAAY;YACjB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,28 @@
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 } 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_P12Wtd extends QueryBuilderAggregateCalendarFunction implements Hashable {
22
+ getLabel(): string;
23
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
24
+ buildCalendarFunctionExpression(p: AbstractPropertyExpression): ValueSpecification;
25
+ updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
26
+ get hashCode(): string;
27
+ }
28
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAChC,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,4CACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAC5B,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
@@ -0,0 +1,55 @@
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_P12Wtd extends QueryBuilderAggregateCalendarFunction {
24
+ getLabel() {
25
+ return `Previous 12 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_P12WTD, this.dateColumn, this.calendarType, this.endDate, p);
42
+ }
43
+ updateAggregateColumnState(expression, aggregationColumnState) {
44
+ updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P12WTD, this, aggregationColumnState);
45
+ }
46
+ get hashCode() {
47
+ return hashArray([
48
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P12WTD,
49
+ this.dateColumn ?? '',
50
+ this.calendarType,
51
+ this.endDate,
52
+ ]);
53
+ }
54
+ }
55
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P12Wtd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P12Wtd.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAIf,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,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,CAA6B;QAE7B,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"}
@@ -0,0 +1,28 @@
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 } 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_P4Wa extends QueryBuilderAggregateCalendarFunction implements Hashable {
22
+ getLabel(): string;
23
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
24
+ buildCalendarFunctionExpression(p: AbstractPropertyExpression): ValueSpecification;
25
+ updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
26
+ get hashCode(): string;
27
+ }
28
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P4Wa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P4Wa.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAChC,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,GAC5B,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
@@ -0,0 +1,55 @@
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_P4Wa extends QueryBuilderAggregateCalendarFunction {
24
+ getLabel() {
25
+ return `Previous 4 Weeks 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_P4WA, this.dateColumn, this.calendarType, this.endDate, p);
42
+ }
43
+ updateAggregateColumnState(expression, aggregationColumnState) {
44
+ updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P4WA, this, aggregationColumnState);
45
+ }
46
+ get hashCode() {
47
+ return hashArray([
48
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P4WA,
49
+ this.dateColumn ?? '',
50
+ this.calendarType,
51
+ this.endDate,
52
+ ]);
53
+ }
54
+ }
55
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P4Wa.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P4Wa.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAIf,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,0CACX,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,CAA6B;QAE7B,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"}
@@ -0,0 +1,28 @@
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 } 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_P4Wtd extends QueryBuilderAggregateCalendarFunction implements Hashable {
22
+ getLabel(): string;
23
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
24
+ buildCalendarFunctionExpression(p: AbstractPropertyExpression): ValueSpecification;
25
+ updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
26
+ get hashCode(): string;
27
+ }
28
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAChC,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,2CACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAC5B,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
@@ -0,0 +1,55 @@
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_P4Wtd extends QueryBuilderAggregateCalendarFunction {
24
+ getLabel() {
25
+ return `Previous 4 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_P4WTD, this.dateColumn, this.calendarType, this.endDate, p);
42
+ }
43
+ updateAggregateColumnState(expression, aggregationColumnState) {
44
+ updateAggregateColumnState(expression, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS.CALENDAR_P4WTD, this, aggregationColumnState);
45
+ }
46
+ get hashCode() {
47
+ return hashArray([
48
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_CALENDAR_FUNCTION_P4WTD,
49
+ this.dateColumn ?? '',
50
+ this.calendarType,
51
+ this.endDate,
52
+ ]);
53
+ }
54
+ }
55
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P4Wtd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P4Wtd.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAIf,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,2CACX,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,CAA6B;QAE7B,OAAO,+BAA+B,CACpC,sDAAsD,CAAC,cAAc,EACrE,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,cAAc,EACrE,IAAI,EACJ,sBAAsB,CACvB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iCAAiC;YACpE,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,YAAY;YACjB,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,28 @@
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 } 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_P52Wa extends QueryBuilderAggregateCalendarFunction implements Hashable {
22
+ getLabel(): string;
23
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
24
+ buildCalendarFunctionExpression(p: AbstractPropertyExpression): ValueSpecification;
25
+ updateAggregateColumnState(expression: SimpleFunctionExpression, aggregationColumnState: QueryBuilderAggregateColumnState): void;
26
+ get hashCode(): string;
27
+ }
28
+ //# sourceMappingURL=QueryBuilderAggregateCalendarFunction_P52Wa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateCalendarFunction_P52Wa.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAChC,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,2CACX,SAAQ,qCACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,+BAA+B,CAC7B,CAAC,EAAE,0BAA0B,GAC5B,kBAAkB;IAUrB,0BAA0B,CACxB,UAAU,EAAE,wBAAwB,EACpC,sBAAsB,EAAE,gCAAgC,GACvD,IAAI;IASP,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}