@finos/legend-query-builder 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (369) hide show
  1. package/lib/components/QueryBuilder.js +2 -2
  2. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  3. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderParametersPanel.js +4 -5
  6. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  7. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  8. package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -3
  9. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  10. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  12. package/lib/components/QueryBuilderSideBar.js +3 -3
  13. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  14. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  15. package/lib/components/explorer/QueryBuilderExplorerPanel.js +2 -2
  16. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  17. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  18. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +3 -3
  19. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  20. package/lib/components/fetch-structure/{QueryBuilderOlapGroupByPanel.d.ts → QueryBuilderOLAPGroupByPanel_.d.ts} +3 -3
  21. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.d.ts.map +1 -0
  22. package/lib/components/fetch-structure/{QueryBuilderOlapGroupByPanel.js → QueryBuilderOLAPGroupByPanel_.js} +63 -25
  23. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.js.map +1 -0
  24. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
  25. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  26. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +3 -3
  27. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
  28. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts +1 -1
  29. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts.map +1 -1
  30. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  31. package/lib/components/shared/BasicValueSpecificationEditor.js +7 -8
  32. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  33. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  34. package/lib/components/shared/CustomDatePicker.js +30 -35
  35. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  36. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  37. package/lib/components/shared/LambdaParameterValuesEditor.js +3 -5
  38. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  39. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
  40. package/lib/components/watermark/QueryBuilderWatermark.js +6 -4
  41. package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
  42. package/lib/graphManager/QueryBuilderHashUtils.d.ts +14 -14
  43. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -1
  44. package/lib/graphManager/QueryBuilderHashUtils.js +14 -14
  45. package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -1
  46. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +2 -2
  47. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
  48. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +3 -3
  49. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  50. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -1
  51. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  52. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +7 -8
  53. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  54. package/lib/index.css +2 -2
  55. package/lib/index.css.map +1 -1
  56. package/lib/package.json +5 -5
  57. package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -1
  58. package/lib/stores/QueryBuilderMilestoningState.js +2 -2
  59. package/lib/stores/QueryBuilderMilestoningState.js.map +1 -1
  60. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +5 -0
  61. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  62. package/lib/stores/QueryBuilderPropertyEditorState.js +13 -22
  63. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  64. package/lib/stores/QueryBuilderResultState.d.ts +2 -1
  65. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  66. package/lib/stores/QueryBuilderResultState.js +14 -16
  67. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  68. package/lib/stores/QueryBuilderStateBuilder.d.ts +7 -13
  69. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  70. package/lib/stores/QueryBuilderStateBuilder.js +18 -36
  71. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  72. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  73. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +6 -22
  74. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  75. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
  76. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +3 -4
  77. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  78. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +6 -2
  79. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  80. package/lib/stores/QueryBuilderValueSpecificationHelper.js +12 -11
  81. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  82. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  83. package/lib/stores/explorer/QueryBuilderExplorerState.js +8 -9
  84. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  85. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  86. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +2 -4
  87. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  88. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  89. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +8 -10
  90. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  91. package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.d.ts → QueryBuilderTDSColumnState.d.ts} +1 -1
  92. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.d.ts.map +1 -0
  93. package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.js → QueryBuilderTDSColumnState.js} +1 -1
  94. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.js.map +1 -0
  95. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +1 -1
  96. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -1
  97. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +5 -5
  98. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  99. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
  100. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  101. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +1 -1
  102. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  103. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +1 -1
  104. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  105. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -1
  106. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js +3 -4
  107. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
  108. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
  109. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +2 -4
  110. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  111. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
  112. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +2 -4
  113. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  114. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
  115. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +4 -5
  116. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  117. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -1
  118. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +8 -11
  119. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  120. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -1
  121. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +2 -4
  122. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  123. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -1
  124. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +2 -4
  125. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  126. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByOperatorLoader.d.ts → QueryBuilderOLAPGroupByOperatorLoader_.d.ts} +3 -3
  127. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.d.ts.map +1 -0
  128. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js +36 -0
  129. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js.map +1 -0
  130. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.d.ts → QueryBuilderOLAPGroupByStateBuilder_.d.ts} +2 -2
  131. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.d.ts.map +1 -0
  132. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.js → QueryBuilderOLAPGroupByStateBuilder_.js} +8 -8
  133. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.js.map +1 -0
  134. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.d.ts → QueryBuilderOLAPGroupByState_.d.ts} +35 -35
  135. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.d.ts.map +1 -0
  136. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.js → QueryBuilderOLAPGroupByState_.js} +21 -21
  137. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.js.map +1 -0
  138. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts} +3 -3
  139. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts.map +1 -0
  140. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.js → QueryBuilderOLAPGroupByValueSpecificationBuilder_.js} +17 -19
  141. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.js.map +1 -0
  142. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts → QueryBuilderTDS_OLAPOperator.d.ts} +3 -3
  143. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts.map → QueryBuilderTDS_OLAPOperator.d.ts.map} +1 -1
  144. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.js → QueryBuilderTDS_OLAPOperator.js} +4 -4
  145. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js.map +1 -0
  146. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.d.ts → QueryBuilderTDS_OLAPOperator_Average.d.ts} +3 -3
  147. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.d.ts.map +1 -0
  148. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.js → QueryBuilderTDS_OLAPOperator_Average.js} +4 -4
  149. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.js.map +1 -0
  150. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.d.ts → QueryBuilderTDS_OLAPOperator_Count.d.ts} +3 -3
  151. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.d.ts.map +1 -0
  152. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.js → QueryBuilderTDS_OLAPOperator_Count.js} +4 -4
  153. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.js.map +1 -0
  154. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.d.ts → QueryBuilderTDS_OLAPOperator_Max.d.ts} +3 -3
  155. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.d.ts.map +1 -0
  156. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.js → QueryBuilderTDS_OLAPOperator_Max.js} +4 -4
  157. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.js.map +1 -0
  158. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.d.ts → QueryBuilderTDS_OLAPOperator_Min.d.ts} +3 -3
  159. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.d.ts.map +1 -0
  160. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.js → QueryBuilderTDS_OLAPOperator_Min.js} +4 -4
  161. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.js.map +1 -0
  162. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.d.ts → QueryBuilderTDS_OLAPOperator_Sum.d.ts} +3 -3
  163. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.d.ts.map +1 -0
  164. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.js → QueryBuilderTDS_OLAPOperator_Sum.js} +4 -4
  165. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.js.map +1 -0
  166. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts} +3 -3
  167. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts.map +1 -0
  168. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js → QueryBuilderTDS_OLAPRankOperator_AverageRank.js} +6 -4
  169. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js.map → QueryBuilderTDS_OLAPRankOperator_AverageRank.js.map} +1 -1
  170. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts} +3 -3
  171. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts.map +1 -0
  172. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js → QueryBuilderTDS_OLAPRankOperator_DenseRank.js} +6 -4
  173. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js.map → QueryBuilderTDS_OLAPRankOperator_DenseRank.js.map} +1 -1
  174. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.d.ts → QueryBuilderTDS_OLAPRankOperator_Rank.d.ts} +3 -3
  175. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.d.ts.map +1 -0
  176. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js → QueryBuilderTDS_OLAPRankOperator_Rank.js} +4 -4
  177. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js.map → QueryBuilderTDS_OLAPRankOperator_Rank.js.map} +1 -1
  178. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts} +3 -3
  179. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts.map +1 -0
  180. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js → QueryBuilderTDS_OLAPRankOperator_RowNumber.js} +6 -4
  181. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js.map → QueryBuilderTDS_OLAPRankOperator_RowNumber.js.map} +1 -1
  182. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +1 -1
  183. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  184. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +10 -10
  185. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  186. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -1
  187. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +4 -6
  188. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  189. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
  190. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -1
  191. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +5 -7
  192. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
  193. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  194. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +5 -7
  195. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  196. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  197. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -10
  198. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  199. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  200. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -10
  201. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  202. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  203. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +3 -7
  204. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  205. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
  206. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +3 -7
  207. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  208. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
  209. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +2 -3
  210. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  211. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  212. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -10
  213. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  214. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +1 -1
  215. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  216. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +5 -5
  217. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  218. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  219. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +14 -18
  220. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  221. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
  222. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +4 -6
  223. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  224. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  225. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +10 -13
  226. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  227. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  228. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -7
  229. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  230. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  231. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -7
  232. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  233. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  234. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +3 -5
  235. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  236. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  237. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +3 -5
  238. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  239. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  240. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +4 -7
  241. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  242. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  243. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -7
  244. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  245. package/lib/stores/shared/LambdaParameterState.d.ts +1 -2
  246. package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
  247. package/lib/stores/shared/LambdaParameterState.js +2 -22
  248. package/lib/stores/shared/LambdaParameterState.js.map +1 -1
  249. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  250. package/lib/stores/shared/ValueSpecificationEditorHelper.js +6 -7
  251. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  252. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +1 -2
  253. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  254. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -7
  255. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  256. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts.map +1 -1
  257. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
  258. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  259. package/package.json +12 -12
  260. package/src/components/QueryBuilder.tsx +2 -2
  261. package/src/components/QueryBuilderDiffPanel.tsx +4 -16
  262. package/src/components/QueryBuilderParametersPanel.tsx +14 -23
  263. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +1 -4
  264. package/src/components/QueryBuilderResultPanel.tsx +2 -1
  265. package/src/components/QueryBuilderSideBar.tsx +3 -3
  266. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +4 -2
  267. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +3 -13
  268. package/src/components/fetch-structure/{QueryBuilderOlapGroupByPanel.tsx → QueryBuilderOLAPGroupByPanel_.tsx} +168 -87
  269. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +4 -4
  270. package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +5 -5
  271. package/src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx +1 -1
  272. package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -10
  273. package/src/components/shared/CustomDatePicker.tsx +37 -47
  274. package/src/components/shared/LambdaParameterValuesEditor.tsx +4 -6
  275. package/src/components/watermark/QueryBuilderWatermark.tsx +16 -6
  276. package/src/graphManager/QueryBuilderHashUtils.ts +14 -14
  277. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +2 -2
  278. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +3 -4
  279. package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +18 -12
  280. package/src/stores/QueryBuilderMilestoningState.ts +4 -12
  281. package/src/stores/QueryBuilderPropertyEditorState.ts +15 -30
  282. package/src/stores/QueryBuilderResultState.ts +19 -22
  283. package/src/stores/QueryBuilderStateBuilder.ts +44 -78
  284. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +8 -33
  285. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +2 -10
  286. package/src/stores/QueryBuilderValueSpecificationHelper.ts +24 -25
  287. package/src/stores/explorer/QueryBuilderExplorerState.ts +6 -19
  288. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +2 -8
  289. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +5 -30
  290. package/src/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.ts → QueryBuilderTDSColumnState.ts} +0 -0
  291. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
  292. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +8 -8
  293. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +1 -1
  294. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts +2 -6
  295. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +2 -4
  296. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +2 -4
  297. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +2 -7
  298. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +10 -17
  299. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +2 -4
  300. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +2 -4
  301. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.ts +39 -0
  302. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.ts → QueryBuilderOLAPGroupByStateBuilder_.ts} +14 -14
  303. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.ts → QueryBuilderOLAPGroupByState_.ts} +51 -51
  304. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts} +28 -33
  305. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.ts → QueryBuilderTDS_OLAPOperator.ts} +4 -4
  306. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.ts → QueryBuilderTDS_OLAPOperator_Average.ts} +3 -3
  307. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.ts → QueryBuilderTDS_OLAPOperator_Count.ts} +3 -3
  308. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.ts → QueryBuilderTDS_OLAPOperator_Max.ts} +3 -3
  309. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.ts → QueryBuilderTDS_OLAPOperator_Min.ts} +3 -3
  310. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.ts → QueryBuilderTDS_OLAPOperator_Sum.ts} +3 -3
  311. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.ts} +5 -3
  312. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.ts} +5 -3
  313. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.ts → QueryBuilderTDS_OLAPRankOperator_Rank.ts} +3 -3
  314. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.ts} +5 -3
  315. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +11 -10
  316. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
  317. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -12
  318. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +8 -14
  319. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +5 -14
  320. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -12
  321. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -12
  322. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +1 -13
  323. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +3 -13
  324. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +2 -5
  325. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -12
  326. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +7 -11
  327. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +11 -44
  328. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -12
  329. package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +5 -28
  330. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -6
  331. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -6
  332. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -8
  333. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -8
  334. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +4 -8
  335. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -6
  336. package/src/stores/shared/LambdaParameterState.ts +0 -49
  337. package/src/stores/shared/ValueSpecificationEditorHelper.ts +2 -9
  338. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -29
  339. package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +0 -2
  340. package/tsconfig.json +16 -16
  341. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts.map +0 -1
  342. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js.map +0 -1
  343. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts.map +0 -1
  344. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js.map +0 -1
  345. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts.map +0 -1
  346. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js +0 -36
  347. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js.map +0 -1
  348. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts.map +0 -1
  349. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js.map +0 -1
  350. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts.map +0 -1
  351. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js.map +0 -1
  352. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts.map +0 -1
  353. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js.map +0 -1
  354. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js.map +0 -1
  355. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts.map +0 -1
  356. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js.map +0 -1
  357. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts.map +0 -1
  358. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js.map +0 -1
  359. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts.map +0 -1
  360. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js.map +0 -1
  361. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts.map +0 -1
  362. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js.map +0 -1
  363. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts.map +0 -1
  364. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js.map +0 -1
  365. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts.map +0 -1
  366. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts.map +0 -1
  367. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts.map +0 -1
  368. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts.map +0 -1
  369. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.ts +0 -39
@@ -91,10 +91,10 @@ import type { LambdaFunctionBuilderOption } from '../../QueryBuilderValueSpecifi
91
91
  import { appendProjection } from './projection/QueryBuilderProjectionValueSpecificationBuilder.js';
92
92
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graphManager/QueryBuilderSupportedFunctions.js';
93
93
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
94
- import { QueryBuilderOlapGroupByState } from './olapGroupBy/QueryBuilderOlapGroupByState.js';
95
- import type { QueryBuilderTDSOlapOperator } from './olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js';
96
- import { getQueryBuilderCoreOlapGroupByOperators } from './olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js';
97
- import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState_.js';
94
+ import { QueryBuilderOLAPGroupByState } from './olapGroupBy/QueryBuilderOLAPGroupByState_.js';
95
+ import type { QueryBuilderTDS_OLAPOperator } from './olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js';
96
+ import { getQueryBuilderCoreOLAPGroupByOperators } from './olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js';
97
+ import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState.js';
98
98
 
99
99
  export class QueryBuilderTDSState
100
100
  extends QueryBuilderFetchStructureImplementationState
@@ -102,7 +102,7 @@ export class QueryBuilderTDSState
102
102
  {
103
103
  readonly aggregationState: QueryBuilderAggregationState;
104
104
  readonly postFilterState: QueryBuilderPostFilterState;
105
- readonly olapGroupByState: QueryBuilderOlapGroupByState;
105
+ readonly olapGroupByState: QueryBuilderOLAPGroupByState;
106
106
  readonly resultSetModifierState: QueryResultSetModifierState;
107
107
  projectionColumns: QueryBuilderProjectionColumnState[] = [];
108
108
  isConvertDerivationProjectionObjects = false;
@@ -113,8 +113,8 @@ export class QueryBuilderTDSState
113
113
  getQueryBuilderCorePostFilterOperators();
114
114
  aggregationOperators: QueryBuilderAggregateOperator[] =
115
115
  getQueryBuilderCoreAggregrationOperators();
116
- olapGroupByOperators: QueryBuilderTDSOlapOperator[] =
117
- getQueryBuilderCoreOlapGroupByOperators();
116
+ olapGroupByOperators: QueryBuilderTDS_OLAPOperator[] =
117
+ getQueryBuilderCoreOLAPGroupByOperators();
118
118
 
119
119
  constructor(
120
120
  queryBuilderState: QueryBuilderState,
@@ -147,7 +147,7 @@ export class QueryBuilderTDSState
147
147
  this,
148
148
  this.aggregationOperators,
149
149
  );
150
- this.olapGroupByState = new QueryBuilderOlapGroupByState(
150
+ this.olapGroupByState = new QueryBuilderOLAPGroupByState(
151
151
  this,
152
152
  this.olapGroupByOperators,
153
153
  );
@@ -27,7 +27,7 @@ import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
27
27
  import type { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
28
28
  import type { QueryBuilderProjectionColumnState } from '../projection/QueryBuilderProjectionColumnState.js';
29
29
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
30
- import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState_.js';
30
+ import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
31
31
 
32
32
  export class QueryBuilderAggregateColumnState
33
33
  extends QueryBuilderTDSColumnState
@@ -21,7 +21,7 @@ import {
21
21
  extractElementNameFromPath,
22
22
  matchFunctionName,
23
23
  VariableExpression,
24
- TYPICAL_MULTIPLICITY_TYPE,
24
+ Multiplicity,
25
25
  } from '@finos/legend-graph';
26
26
  import { guaranteeType, assertTrue } from '@finos/legend-shared';
27
27
  import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
@@ -33,15 +33,11 @@ export const buildAggregateExpression = (
33
33
  variableName: string,
34
34
  graph: PureModel,
35
35
  ): ValueSpecification => {
36
- const multiplicityOne = graph.getTypicalMultiplicity(
37
- TYPICAL_MULTIPLICITY_TYPE.ONE,
38
- );
39
36
  const expression = new SimpleFunctionExpression(
40
37
  extractElementNameFromPath(operatorFunctionFullPath),
41
- multiplicityOne,
42
38
  );
43
39
  expression.parametersValues.push(
44
- new VariableExpression(variableName, multiplicityOne),
40
+ new VariableExpression(variableName, Multiplicity.ONE),
45
41
  );
46
42
  return expression;
47
43
  };
@@ -22,6 +22,7 @@ import {
22
22
  type PureModel,
23
23
  type AbstractPropertyExpression,
24
24
  type Type,
25
+ PrimitiveType,
25
26
  } from '@finos/legend-graph';
26
27
  import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
27
28
  import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
@@ -95,10 +96,7 @@ export class QueryBuilderAggregateOperator_Average
95
96
  override getReturnType(
96
97
  aggregateColumnState: QueryBuilderAggregateColumnState,
97
98
  ): Type {
98
- const graph =
99
- aggregateColumnState.aggregationState.tdsState.queryBuilderState
100
- .graphManagerState.graph;
101
- return graph.getType(PRIMITIVE_TYPE.FLOAT);
99
+ return PrimitiveType.FLOAT;
102
100
  }
103
101
 
104
102
  get hashCode(): string {
@@ -23,6 +23,7 @@ import {
23
23
  type PureModel,
24
24
  type AbstractPropertyExpression,
25
25
  Enumeration,
26
+ PrimitiveType,
26
27
  } from '@finos/legend-graph';
27
28
  import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
28
29
  import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
@@ -103,10 +104,7 @@ export class QueryBuilderAggregateOperator_Count
103
104
  override getReturnType(
104
105
  aggregateColumnState: QueryBuilderAggregateColumnState,
105
106
  ): Type {
106
- const graph =
107
- aggregateColumnState.aggregationState.tdsState.queryBuilderState
108
- .graphManagerState.graph;
109
- return graph.getType(PRIMITIVE_TYPE.INTEGER);
107
+ return PrimitiveType.INTEGER;
110
108
  }
111
109
 
112
110
  get hashCode(): string {
@@ -20,12 +20,12 @@ import {
20
20
  type ValueSpecification,
21
21
  SimpleFunctionExpression,
22
22
  VariableExpression,
23
- TYPICAL_MULTIPLICITY_TYPE,
24
23
  extractElementNameFromPath,
25
24
  matchFunctionName,
26
25
  PRIMITIVE_TYPE,
27
26
  type Type,
28
27
  Enumeration,
28
+ Multiplicity,
29
29
  } from '@finos/legend-graph';
30
30
  import {
31
31
  assertTrue,
@@ -83,19 +83,14 @@ export class QueryBuilderAggregateOperator_DistinctCount
83
83
  variableName: string,
84
84
  graph: PureModel,
85
85
  ): ValueSpecification {
86
- const multiplicityOne = graph.getTypicalMultiplicity(
87
- TYPICAL_MULTIPLICITY_TYPE.ONE,
88
- );
89
86
  const distinctExpression = new SimpleFunctionExpression(
90
87
  extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.DISTINCT),
91
- multiplicityOne,
92
88
  );
93
89
  distinctExpression.parametersValues.push(
94
- new VariableExpression(variableName, multiplicityOne),
90
+ new VariableExpression(variableName, Multiplicity.ONE),
95
91
  );
96
92
  const distinctCountExpression = new SimpleFunctionExpression(
97
93
  extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.COUNT),
98
- multiplicityOne,
99
94
  );
100
95
  distinctCountExpression.parametersValues.push(distinctExpression);
101
96
  return distinctCountExpression;
@@ -22,12 +22,12 @@ import {
22
22
  matchFunctionName,
23
23
  SimpleFunctionExpression,
24
24
  VariableExpression,
25
- TYPICAL_MULTIPLICITY_TYPE,
26
25
  extractElementNameFromPath,
27
26
  PrimitiveInstanceValue,
28
27
  GenericTypeExplicitReference,
29
28
  GenericType,
30
- PRIMITIVE_TYPE,
29
+ Multiplicity,
30
+ PrimitiveType,
31
31
  } from '@finos/legend-graph';
32
32
  import {
33
33
  assertTrue,
@@ -58,11 +58,12 @@ export class QueryBuilderAggregateOperator_JoinString
58
58
  if (
59
59
  projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState
60
60
  ) {
61
- const propertyType =
62
- projectionColumnState.propertyExpressionState.propertyExpression.func
63
- .value.genericType.value.rawType;
64
61
  // NOTE: Engine does not support Enumerations at the moment.
65
- return PRIMITIVE_TYPE.STRING === propertyType.path;
62
+ return (
63
+ PrimitiveType.STRING ===
64
+ projectionColumnState.propertyExpressionState.propertyExpression.func
65
+ .value.genericType.value.rawType
66
+ );
66
67
  }
67
68
  return true;
68
69
  }
@@ -72,24 +73,19 @@ export class QueryBuilderAggregateOperator_JoinString
72
73
  variableName: string,
73
74
  graph: PureModel,
74
75
  ): ValueSpecification {
75
- const multiplicityOne = graph.getTypicalMultiplicity(
76
- TYPICAL_MULTIPLICITY_TYPE.ONE,
77
- );
78
76
  const expression = new SimpleFunctionExpression(
79
77
  extractElementNameFromPath(
80
78
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.JOIN_STRINGS,
81
79
  ),
82
- multiplicityOne,
83
80
  );
84
81
  const delimiter = new PrimitiveInstanceValue(
85
82
  GenericTypeExplicitReference.create(
86
- new GenericType(graph.getPrimitiveType(PRIMITIVE_TYPE.STRING)),
83
+ new GenericType(PrimitiveType.STRING),
87
84
  ),
88
- multiplicityOne,
89
85
  );
90
86
  delimiter.values = [';'];
91
87
  expression.parametersValues.push(
92
- new VariableExpression(variableName, multiplicityOne),
88
+ new VariableExpression(variableName, Multiplicity.ONE),
93
89
  delimiter,
94
90
  );
95
91
  return expression;
@@ -156,10 +152,7 @@ export class QueryBuilderAggregateOperator_JoinString
156
152
  override getReturnType(
157
153
  aggregateColumnState: QueryBuilderAggregateColumnState,
158
154
  ): Type {
159
- const graph =
160
- aggregateColumnState.aggregationState.tdsState.queryBuilderState
161
- .graphManagerState.graph;
162
- return graph.getType(PRIMITIVE_TYPE.STRING);
155
+ return PrimitiveType.STRING;
163
156
  }
164
157
 
165
158
  get hashCode(): string {
@@ -22,6 +22,7 @@ import {
22
22
  type VariableExpression,
23
23
  type AbstractPropertyExpression,
24
24
  type PureModel,
25
+ PrimitiveType,
25
26
  } from '@finos/legend-graph';
26
27
  import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
27
28
  import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
@@ -95,10 +96,7 @@ export class QueryBuilderAggregateOperator_StdDev_Population
95
96
  override getReturnType(
96
97
  aggregateColumnState: QueryBuilderAggregateColumnState,
97
98
  ): Type {
98
- const graph =
99
- aggregateColumnState.projectionColumnState.tdsState.queryBuilderState
100
- .graphManagerState.graph;
101
- return graph.getType(PRIMITIVE_TYPE.NUMBER);
99
+ return PrimitiveType.NUMBER;
102
100
  }
103
101
 
104
102
  get hashCode(): string {
@@ -22,6 +22,7 @@ import {
22
22
  type VariableExpression,
23
23
  type AbstractPropertyExpression,
24
24
  type PureModel,
25
+ PrimitiveType,
25
26
  } from '@finos/legend-graph';
26
27
  import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
27
28
  import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
@@ -95,10 +96,7 @@ export class QueryBuilderAggregateOperator_StdDev_Sample
95
96
  override getReturnType(
96
97
  aggregateColumnState: QueryBuilderAggregateColumnState,
97
98
  ): Type {
98
- const graph =
99
- aggregateColumnState.projectionColumnState.tdsState.queryBuilderState
100
- .graphManagerState.graph;
101
- return graph.getType(PRIMITIVE_TYPE.NUMBER);
99
+ return PrimitiveType.NUMBER;
102
100
  }
103
101
 
104
102
  get hashCode(): string {
@@ -0,0 +1,39 @@
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
+
17
+ import type { QueryBuilderTDS_OLAPOperator } from './operators/QueryBuilderTDS_OLAPOperator.js';
18
+ import { QueryBuilderTDS_OLAPRankOperator_AverageRank } from './operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.js';
19
+ import { QueryBuilderTDS_OLAPRankOperator_DenseRank } from './operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.js';
20
+ import { QueryBuilderTDS_OLAPRankOperator_Rank } from './operators/QueryBuilderTDS_OLAPRankOperator_Rank.js';
21
+ import { QueryBuilderTDS_OLAPRankOperator_RowNumber } from './operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.js';
22
+ import { QueryBuilderTDS_OLAPOperator_Sum } from './operators/QueryBuilderTDS_OLAPOperator_Sum.js';
23
+ import { QueryBuilderTDS_OLAPOperator_Count } from './operators/QueryBuilderTDS_OLAPOperator_Count.js';
24
+ import { QueryBuilderTDS_OLAPOperator_Max } from './operators/QueryBuilderTDS_OLAPOperator_Max.js';
25
+ import { QueryBuilderTDS_OLAPOperator_Min } from './operators/QueryBuilderTDS_OLAPOperator_Min.js';
26
+ import { QueryBuilderTDS_OLAPOperator_Average } from './operators/QueryBuilderTDS_OLAPOperator_Average.js';
27
+
28
+ export const getQueryBuilderCoreOLAPGroupByOperators =
29
+ (): QueryBuilderTDS_OLAPOperator[] => [
30
+ new QueryBuilderTDS_OLAPOperator_Sum(),
31
+ new QueryBuilderTDS_OLAPOperator_Count(),
32
+ new QueryBuilderTDS_OLAPOperator_Max(),
33
+ new QueryBuilderTDS_OLAPOperator_Min(),
34
+ new QueryBuilderTDS_OLAPOperator_Average(),
35
+ new QueryBuilderTDS_OLAPRankOperator_AverageRank(),
36
+ new QueryBuilderTDS_OLAPRankOperator_DenseRank(),
37
+ new QueryBuilderTDS_OLAPRankOperator_Rank(),
38
+ new QueryBuilderTDS_OLAPRankOperator_RowNumber(),
39
+ ];
@@ -39,14 +39,14 @@ import {
39
39
  } from '../QueryBuilderTDSHelper.js';
40
40
  import { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
41
41
  import {
42
- type QueryBuilderTDSOlapOperatorState,
43
- OlapGroupByColumnSortByState,
44
- QueryBuilderOlapGroupByColumnState,
45
- QueryBuilderTDSOlapAggreationOperatorState,
46
- QueryBuilderTDSOlapRankOperatorState,
47
- } from './QueryBuilderOlapGroupByState.js';
42
+ type QueryBuilderTDS_OLAPOperatorState,
43
+ OLAPGroupByColumnSortByState,
44
+ QueryBuilderOLAPGroupByColumnState,
45
+ QueryBuilderTDS_OLAPAggreationOperatorState,
46
+ QueryBuilderTDS_OLAPRankOperatorState,
47
+ } from './QueryBuilderOLAPGroupByState_.js';
48
48
 
49
- export const processTDSOlapGroupByExpression = (
49
+ export const processTDS_OLAPGroupByExpression = (
50
50
  expression: SimpleFunctionExpression,
51
51
  queryBuilderState: QueryBuilderState,
52
52
  ): void => {
@@ -116,7 +116,7 @@ export const processTDSOlapGroupByExpression = (
116
116
  });
117
117
 
118
118
  // process sortBy
119
- let sortByState: OlapGroupByColumnSortByState | undefined;
119
+ let sortByState: OLAPGroupByColumnSortByState | undefined;
120
120
  if (containsSortByExpression) {
121
121
  const sortByExpression = guaranteeType(
122
122
  sortByValueSpec,
@@ -134,10 +134,10 @@ export const processTDSOlapGroupByExpression = (
134
134
  'Can`t process OLAP sort column: OLAP sort column should be a string primitive instance value',
135
135
  );
136
136
  const sortColState = getTDSColumnState(tdsState, colSortVal);
137
- sortByState = new OlapGroupByColumnSortByState(sortColState, colSortType);
137
+ sortByState = new OLAPGroupByColumnSortByState(sortColState, colSortType);
138
138
  }
139
139
  // process olap operation
140
- let operatorState: QueryBuilderTDSOlapOperatorState;
140
+ let operatorState: QueryBuilderTDS_OLAPOperatorState;
141
141
  if (olapOperationExpression instanceof SimpleFunctionExpression) {
142
142
  assertTrue(
143
143
  matchFunctionName(olapOperationExpression.functionName, [
@@ -172,7 +172,7 @@ export const processTDSOlapGroupByExpression = (
172
172
  tdsState.olapGroupByState.findOperator(operationFunctionExp.functionName),
173
173
  `olapGroupBy() operator '${operationFunctionExp.functionName}' not supported`,
174
174
  );
175
- operatorState = new QueryBuilderTDSOlapAggreationOperatorState(
175
+ operatorState = new QueryBuilderTDS_OLAPAggreationOperatorState(
176
176
  tdsState.olapGroupByState,
177
177
  operation,
178
178
  oppColumnState,
@@ -203,7 +203,7 @@ export const processTDSOlapGroupByExpression = (
203
203
  !operation.isColumnAggregator(),
204
204
  `Operator '${operation.getLabel()}' expects a TDS column to aggregate against`,
205
205
  );
206
- operatorState = new QueryBuilderTDSOlapRankOperatorState(
206
+ operatorState = new QueryBuilderTDS_OLAPRankOperatorState(
207
207
  tdsState.olapGroupByState,
208
208
  operation,
209
209
  );
@@ -225,13 +225,13 @@ export const processTDSOlapGroupByExpression = (
225
225
  ).values[0],
226
226
  'Can`t process OLAP column: OLAP column should be a string primitive instance value',
227
227
  );
228
- const olapGroupByColumnState = new QueryBuilderOlapGroupByColumnState(
228
+ const olapGroupByColumnState = new QueryBuilderOLAPGroupByColumnState(
229
229
  tdsState.olapGroupByState,
230
230
  windowColumns,
231
231
  sortByState,
232
232
  operatorState,
233
233
  olapColumnValue,
234
234
  );
235
- tdsState.olapGroupByState.addOlapColumn(olapGroupByColumnState);
235
+ tdsState.olapGroupByState.addOLAPColumn(olapGroupByColumnState);
236
236
  tdsState.setShowOlapGroupByPanel(true);
237
237
  };
@@ -27,22 +27,22 @@ import { action, makeObservable, observable } from 'mobx';
27
27
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
28
28
  import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
29
29
  import type { QueryBuilderProjectionColumnDragSource } from '../projection/QueryBuilderProjectionColumnState.js';
30
- import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState_.js';
30
+ import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
31
31
  import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
32
32
  import type { COLUMN_SORT_TYPE } from '../QueryResultSetModifierState.js';
33
- import type { QueryBuilderTDSOlapOperator } from './operators/QueryBuilderTDSOlapOperator_.js';
33
+ import type { QueryBuilderTDS_OLAPOperator } from './operators/QueryBuilderTDS_OLAPOperator.js';
34
34
 
35
35
  export const QUERY_BUILDER_OLAP_COLUMN_DND_TYPE = 'OLAP_COLUMN';
36
36
 
37
- export interface QueryBuilderOlapColumnDragSource {
38
- columnState: QueryBuilderOlapGroupByColumnState;
37
+ export interface QueryBuilderOLAPColumnDragSource {
38
+ columnState: QueryBuilderTDSColumnState;
39
39
  }
40
40
 
41
- export type QueryBuilderOlapDropTarget =
41
+ export type QueryBuilderOLAPDropTarget =
42
42
  | QueryBuilderProjectionColumnDragSource
43
- | QueryBuilderOlapColumnDragSource;
43
+ | QueryBuilderOLAPColumnDragSource;
44
44
 
45
- export class OlapGroupByColumnSortByState implements Hashable {
45
+ export class OLAPGroupByColumnSortByState implements Hashable {
46
46
  columnState: QueryBuilderTDSColumnState;
47
47
  sortType: COLUMN_SORT_TYPE;
48
48
 
@@ -71,21 +71,21 @@ export class OlapGroupByColumnSortByState implements Hashable {
71
71
 
72
72
  get hashCode(): string {
73
73
  return hashArray([
74
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_COLUMN_SORTBY_STATE,
74
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_COLUMN_SORTBY_STATE,
75
75
  this.sortType,
76
76
  this.columnState.columnName,
77
77
  ]);
78
78
  }
79
79
  }
80
80
 
81
- export abstract class QueryBuilderTDSOlapOperatorState implements Hashable {
82
- readonly olapState: QueryBuilderOlapGroupByState;
81
+ export abstract class QueryBuilderTDS_OLAPOperatorState implements Hashable {
82
+ readonly olapState: QueryBuilderOLAPGroupByState;
83
83
  lambdaParameterName: string = DEFAULT_LAMBDA_VARIABLE_NAME;
84
- operator: QueryBuilderTDSOlapOperator;
84
+ operator: QueryBuilderTDS_OLAPOperator;
85
85
 
86
86
  constructor(
87
- olapState: QueryBuilderOlapGroupByState,
88
- operator: QueryBuilderTDSOlapOperator,
87
+ olapState: QueryBuilderOLAPGroupByState,
88
+ operator: QueryBuilderTDS_OLAPOperator,
89
89
  ) {
90
90
  this.olapState = olapState;
91
91
  this.operator = operator;
@@ -95,23 +95,23 @@ export abstract class QueryBuilderTDSOlapOperatorState implements Hashable {
95
95
  this.lambdaParameterName = paramName;
96
96
  }
97
97
 
98
- setOperator(val: QueryBuilderTDSOlapOperator): void {
98
+ setOperator(val: QueryBuilderTDS_OLAPOperator): void {
99
99
  this.operator = val;
100
100
  }
101
101
 
102
102
  get hashCode(): string {
103
103
  return hashArray([
104
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_OPERATION_STATE,
104
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_OPERATION_STATE,
105
105
  this.lambdaParameterName,
106
106
  this.operator,
107
107
  ]);
108
108
  }
109
109
  }
110
110
 
111
- export class QueryBuilderTDSOlapRankOperatorState extends QueryBuilderTDSOlapOperatorState {
111
+ export class QueryBuilderTDS_OLAPRankOperatorState extends QueryBuilderTDS_OLAPOperatorState {
112
112
  constructor(
113
- olapState: QueryBuilderOlapGroupByState,
114
- operator: QueryBuilderTDSOlapOperator,
113
+ olapState: QueryBuilderOLAPGroupByState,
114
+ operator: QueryBuilderTDS_OLAPOperator,
115
115
  ) {
116
116
  super(olapState, operator);
117
117
  makeObservable(this, {
@@ -120,11 +120,11 @@ export class QueryBuilderTDSOlapRankOperatorState extends QueryBuilderTDSOlapOpe
120
120
  }
121
121
  }
122
122
 
123
- export class QueryBuilderTDSOlapAggreationOperatorState extends QueryBuilderTDSOlapOperatorState {
123
+ export class QueryBuilderTDS_OLAPAggreationOperatorState extends QueryBuilderTDS_OLAPOperatorState {
124
124
  columnState: QueryBuilderTDSColumnState;
125
125
  constructor(
126
- olapState: QueryBuilderOlapGroupByState,
127
- operator: QueryBuilderTDSOlapOperator,
126
+ olapState: QueryBuilderOLAPGroupByState,
127
+ operator: QueryBuilderTDS_OLAPOperator,
128
128
  columnState: QueryBuilderTDSColumnState,
129
129
  ) {
130
130
  super(olapState, operator);
@@ -142,7 +142,7 @@ export class QueryBuilderTDSOlapAggreationOperatorState extends QueryBuilderTDSO
142
142
 
143
143
  override get hashCode(): string {
144
144
  return hashArray([
145
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_AGG_OPERATION_STATE,
145
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_AGG_OPERATION_STATE,
146
146
  this.lambdaParameterName,
147
147
  this.operator,
148
148
  this.columnState.columnName,
@@ -150,21 +150,21 @@ export class QueryBuilderTDSOlapAggreationOperatorState extends QueryBuilderTDSO
150
150
  }
151
151
  }
152
152
 
153
- export class QueryBuilderOlapGroupByColumnState
153
+ export class QueryBuilderOLAPGroupByColumnState
154
154
  extends QueryBuilderTDSColumnState
155
155
  implements Hashable
156
156
  {
157
- readonly olapState: QueryBuilderOlapGroupByState;
157
+ readonly olapState: QueryBuilderOLAPGroupByState;
158
158
  windowColumns: QueryBuilderTDSColumnState[] = [];
159
- sortByState: OlapGroupByColumnSortByState | undefined;
160
- operationState: QueryBuilderTDSOlapOperatorState;
159
+ sortByState: OLAPGroupByColumnSortByState | undefined;
160
+ operationState: QueryBuilderTDS_OLAPOperatorState;
161
161
  columnName: string;
162
162
 
163
163
  constructor(
164
- olapState: QueryBuilderOlapGroupByState,
164
+ olapState: QueryBuilderOLAPGroupByState,
165
165
  windowColumns: QueryBuilderTDSColumnState[],
166
- sortType: OlapGroupByColumnSortByState | undefined,
167
- operationState: QueryBuilderTDSOlapOperatorState,
166
+ sortType: OLAPGroupByColumnSortByState | undefined,
167
+ operationState: QueryBuilderTDS_OLAPOperatorState,
168
168
  columnName: string,
169
169
  ) {
170
170
  super();
@@ -189,7 +189,7 @@ export class QueryBuilderOlapGroupByColumnState
189
189
  this.columnName = columnName;
190
190
  }
191
191
 
192
- get columnOlapGroupIdx(): number {
192
+ get columnOLAPGroupIdx(): number {
193
193
  return this.olapState.olapColumns.findIndex((e) => e === this);
194
194
  }
195
195
 
@@ -204,7 +204,7 @@ export class QueryBuilderOlapGroupByColumnState
204
204
 
205
205
  get referencedTDSColumns(): QueryBuilderTDSColumnState[] {
206
206
  const operatorReference =
207
- this.operationState instanceof QueryBuilderTDSOlapAggreationOperatorState
207
+ this.operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
208
208
  ? [this.operationState.columnState]
209
209
  : [];
210
210
  const soryByReference = this.sortByState
@@ -223,11 +223,11 @@ export class QueryBuilderOlapGroupByColumnState
223
223
  this.columnName = val;
224
224
  }
225
225
 
226
- setOperatorState(op: QueryBuilderTDSOlapOperatorState): void {
226
+ setOperatorState(op: QueryBuilderTDS_OLAPOperatorState): void {
227
227
  this.operationState = op;
228
228
  }
229
229
 
230
- setSortBy(val: OlapGroupByColumnSortByState | undefined): void {
230
+ setSortBy(val: OLAPGroupByColumnSortByState | undefined): void {
231
231
  this.sortByState = val;
232
232
  }
233
233
 
@@ -244,7 +244,7 @@ export class QueryBuilderOlapGroupByColumnState
244
244
  }
245
245
 
246
246
  possibleAggregatedColumns(
247
- op: QueryBuilderTDSOlapOperator,
247
+ op: QueryBuilderTDS_OLAPOperator,
248
248
  ): QueryBuilderTDSColumnState[] {
249
249
  if (op.isColumnAggregator()) {
250
250
  return this.possibleReferencedColumns.filter((col) =>
@@ -254,10 +254,10 @@ export class QueryBuilderOlapGroupByColumnState
254
254
  return [];
255
255
  }
256
256
 
257
- changeOperator(olapOp: QueryBuilderTDSOlapOperator): void {
257
+ changeOperator(olapOp: QueryBuilderTDS_OLAPOperator): void {
258
258
  const currentOperator = this.operationState.operator;
259
259
  const currentAggregateColumn =
260
- this.operationState instanceof QueryBuilderTDSOlapAggreationOperatorState
260
+ this.operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
261
261
  ? this.operationState.columnState
262
262
  : undefined;
263
263
  if (currentOperator !== olapOp) {
@@ -269,7 +269,7 @@ export class QueryBuilderOlapGroupByColumnState
269
269
  : this.possibleAggregatedColumns(olapOp)[0];
270
270
  if (compatibleAggCol) {
271
271
  this.setOperatorState(
272
- new QueryBuilderTDSOlapAggreationOperatorState(
272
+ new QueryBuilderTDS_OLAPAggreationOperatorState(
273
273
  this.olapState,
274
274
  olapOp,
275
275
  compatibleAggCol,
@@ -278,7 +278,7 @@ export class QueryBuilderOlapGroupByColumnState
278
278
  }
279
279
  } else {
280
280
  this.setOperatorState(
281
- new QueryBuilderTDSOlapRankOperatorState(this.olapState, olapOp),
281
+ new QueryBuilderTDS_OLAPRankOperatorState(this.olapState, olapOp),
282
282
  );
283
283
  }
284
284
  }
@@ -290,7 +290,7 @@ export class QueryBuilderOlapGroupByColumnState
290
290
  if (sortOp) {
291
291
  const sortInfoOpState =
292
292
  sortByState ??
293
- new OlapGroupByColumnSortByState(
293
+ new OLAPGroupByColumnSortByState(
294
294
  guaranteeNonNullable(this.possibleReferencedColumns[0]),
295
295
  sortOp,
296
296
  );
@@ -304,7 +304,7 @@ export class QueryBuilderOlapGroupByColumnState
304
304
 
305
305
  get hashCode(): string {
306
306
  return hashArray([
307
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_COLUMN_STATE,
307
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_COLUMN_STATE,
308
308
  hashArray(this.windowColumns),
309
309
  this.sortByState ?? '',
310
310
  this.operationState,
@@ -313,20 +313,20 @@ export class QueryBuilderOlapGroupByColumnState
313
313
  }
314
314
  }
315
315
 
316
- export class QueryBuilderOlapGroupByState implements Hashable {
316
+ export class QueryBuilderOLAPGroupByState implements Hashable {
317
317
  readonly tdsState: QueryBuilderTDSState;
318
- olapColumns: QueryBuilderOlapGroupByColumnState[] = [];
319
- operators: QueryBuilderTDSOlapOperator[];
320
- editColumn: QueryBuilderOlapGroupByColumnState | undefined;
318
+ olapColumns: QueryBuilderOLAPGroupByColumnState[] = [];
319
+ operators: QueryBuilderTDS_OLAPOperator[];
320
+ editColumn: QueryBuilderOLAPGroupByColumnState | undefined;
321
321
 
322
322
  constructor(
323
323
  tdsState: QueryBuilderTDSState,
324
- operators: QueryBuilderTDSOlapOperator[],
324
+ operators: QueryBuilderTDS_OLAPOperator[],
325
325
  ) {
326
326
  makeObservable(this, {
327
327
  olapColumns: observable,
328
328
  editColumn: observable,
329
- addOlapColumn: action,
329
+ addOLAPColumn: action,
330
330
  removeColumn: action,
331
331
  moveColumn: action,
332
332
  setEditColumn: action,
@@ -343,19 +343,19 @@ export class QueryBuilderOlapGroupByState implements Hashable {
343
343
  return uniq(this.olapColumns.map((c) => c.referencedTDSColumns).flat());
344
344
  }
345
345
 
346
- setEditColumn(col: QueryBuilderOlapGroupByColumnState | undefined): void {
346
+ setEditColumn(col: QueryBuilderOLAPGroupByColumnState | undefined): void {
347
347
  this.editColumn = col;
348
348
  }
349
349
 
350
- findOperator(func: string): QueryBuilderTDSOlapOperator | undefined {
350
+ findOperator(func: string): QueryBuilderTDS_OLAPOperator | undefined {
351
351
  return this.operators.find((o) => matchFunctionName(func, o.pureFunc));
352
352
  }
353
353
 
354
- addOlapColumn(olapGroupByCol: QueryBuilderOlapGroupByColumnState): void {
354
+ addOLAPColumn(olapGroupByCol: QueryBuilderOLAPGroupByColumnState): void {
355
355
  addUniqueEntry(this.olapColumns, olapGroupByCol);
356
356
  }
357
357
 
358
- removeColumn(column: QueryBuilderOlapGroupByColumnState): void {
358
+ removeColumn(column: QueryBuilderOLAPGroupByColumnState): void {
359
359
  deleteEntry(this.olapColumns, column);
360
360
  }
361
361
 
@@ -370,7 +370,7 @@ export class QueryBuilderOlapGroupByState implements Hashable {
370
370
 
371
371
  get hashCode(): string {
372
372
  return hashArray([
373
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_STATE,
373
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_STATE,
374
374
  hashArray(this.olapColumns),
375
375
  ]);
376
376
  }