@finos/legend-query-builder 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (365) 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/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  15. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +3 -3
  16. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  17. package/lib/components/fetch-structure/{QueryBuilderOlapGroupByPanel.d.ts → QueryBuilderOLAPGroupByPanel_.d.ts} +3 -3
  18. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.d.ts.map +1 -0
  19. package/lib/components/fetch-structure/{QueryBuilderOlapGroupByPanel.js → QueryBuilderOLAPGroupByPanel_.js} +63 -25
  20. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.js.map +1 -0
  21. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
  22. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  23. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +3 -3
  24. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
  25. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts +1 -1
  26. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts.map +1 -1
  27. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  28. package/lib/components/shared/BasicValueSpecificationEditor.js +7 -8
  29. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  30. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  31. package/lib/components/shared/CustomDatePicker.js +30 -35
  32. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  33. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  34. package/lib/components/shared/LambdaParameterValuesEditor.js +3 -5
  35. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  36. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
  37. package/lib/components/watermark/QueryBuilderWatermark.js +6 -4
  38. package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
  39. package/lib/graphManager/QueryBuilderHashUtils.d.ts +14 -14
  40. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -1
  41. package/lib/graphManager/QueryBuilderHashUtils.js +14 -14
  42. package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -1
  43. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +2 -2
  44. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
  45. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +3 -3
  46. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  47. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -1
  48. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  49. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +7 -8
  50. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  51. package/lib/index.css +2 -2
  52. package/lib/index.css.map +1 -1
  53. package/lib/package.json +5 -5
  54. package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -1
  55. package/lib/stores/QueryBuilderMilestoningState.js +2 -2
  56. package/lib/stores/QueryBuilderMilestoningState.js.map +1 -1
  57. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +5 -0
  58. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  59. package/lib/stores/QueryBuilderPropertyEditorState.js +13 -22
  60. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  61. package/lib/stores/QueryBuilderResultState.d.ts +2 -1
  62. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  63. package/lib/stores/QueryBuilderResultState.js +14 -16
  64. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  65. package/lib/stores/QueryBuilderStateBuilder.d.ts +7 -13
  66. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  67. package/lib/stores/QueryBuilderStateBuilder.js +18 -36
  68. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  69. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  70. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +6 -22
  71. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  72. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
  73. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +3 -4
  74. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  75. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +6 -2
  76. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  77. package/lib/stores/QueryBuilderValueSpecificationHelper.js +12 -11
  78. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  79. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  80. package/lib/stores/explorer/QueryBuilderExplorerState.js +8 -9
  81. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  82. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  83. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +2 -4
  84. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  85. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  86. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +8 -10
  87. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  88. package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.d.ts → QueryBuilderTDSColumnState.d.ts} +1 -1
  89. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.d.ts.map +1 -0
  90. package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.js → QueryBuilderTDSColumnState.js} +1 -1
  91. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.js.map +1 -0
  92. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +1 -1
  93. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -1
  94. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +5 -5
  95. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  96. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
  97. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  98. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +1 -1
  99. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  100. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +1 -1
  101. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  102. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -1
  103. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js +3 -4
  104. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
  105. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
  106. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +2 -4
  107. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  108. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
  109. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +2 -4
  110. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  111. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
  112. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +4 -5
  113. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  114. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -1
  115. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +8 -11
  116. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  117. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -1
  118. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +2 -4
  119. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  120. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -1
  121. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +2 -4
  122. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  123. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByOperatorLoader.d.ts → QueryBuilderOLAPGroupByOperatorLoader_.d.ts} +3 -3
  124. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.d.ts.map +1 -0
  125. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js +36 -0
  126. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js.map +1 -0
  127. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.d.ts → QueryBuilderOLAPGroupByStateBuilder_.d.ts} +2 -2
  128. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.d.ts.map +1 -0
  129. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.js → QueryBuilderOLAPGroupByStateBuilder_.js} +8 -8
  130. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.js.map +1 -0
  131. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.d.ts → QueryBuilderOLAPGroupByState_.d.ts} +35 -35
  132. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.d.ts.map +1 -0
  133. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.js → QueryBuilderOLAPGroupByState_.js} +21 -21
  134. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.js.map +1 -0
  135. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts} +3 -3
  136. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts.map +1 -0
  137. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.js → QueryBuilderOLAPGroupByValueSpecificationBuilder_.js} +17 -19
  138. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.js.map +1 -0
  139. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts → QueryBuilderTDS_OLAPOperator.d.ts} +3 -3
  140. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts.map → QueryBuilderTDS_OLAPOperator.d.ts.map} +1 -1
  141. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.js → QueryBuilderTDS_OLAPOperator.js} +4 -4
  142. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js.map +1 -0
  143. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.d.ts → QueryBuilderTDS_OLAPOperator_Average.d.ts} +3 -3
  144. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.d.ts.map +1 -0
  145. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.js → QueryBuilderTDS_OLAPOperator_Average.js} +4 -4
  146. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.js.map +1 -0
  147. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.d.ts → QueryBuilderTDS_OLAPOperator_Count.d.ts} +3 -3
  148. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.d.ts.map +1 -0
  149. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.js → QueryBuilderTDS_OLAPOperator_Count.js} +4 -4
  150. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.js.map +1 -0
  151. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.d.ts → QueryBuilderTDS_OLAPOperator_Max.d.ts} +3 -3
  152. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.d.ts.map +1 -0
  153. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.js → QueryBuilderTDS_OLAPOperator_Max.js} +4 -4
  154. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.js.map +1 -0
  155. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.d.ts → QueryBuilderTDS_OLAPOperator_Min.d.ts} +3 -3
  156. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.d.ts.map +1 -0
  157. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.js → QueryBuilderTDS_OLAPOperator_Min.js} +4 -4
  158. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.js.map +1 -0
  159. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.d.ts → QueryBuilderTDS_OLAPOperator_Sum.d.ts} +3 -3
  160. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.d.ts.map +1 -0
  161. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.js → QueryBuilderTDS_OLAPOperator_Sum.js} +4 -4
  162. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.js.map +1 -0
  163. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts} +3 -3
  164. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts.map +1 -0
  165. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js → QueryBuilderTDS_OLAPRankOperator_AverageRank.js} +6 -4
  166. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js.map → QueryBuilderTDS_OLAPRankOperator_AverageRank.js.map} +1 -1
  167. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts} +3 -3
  168. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts.map +1 -0
  169. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js → QueryBuilderTDS_OLAPRankOperator_DenseRank.js} +6 -4
  170. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js.map → QueryBuilderTDS_OLAPRankOperator_DenseRank.js.map} +1 -1
  171. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.d.ts → QueryBuilderTDS_OLAPRankOperator_Rank.d.ts} +3 -3
  172. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.d.ts.map +1 -0
  173. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js → QueryBuilderTDS_OLAPRankOperator_Rank.js} +4 -4
  174. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js.map → QueryBuilderTDS_OLAPRankOperator_Rank.js.map} +1 -1
  175. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts} +3 -3
  176. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts.map +1 -0
  177. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js → QueryBuilderTDS_OLAPRankOperator_RowNumber.js} +6 -4
  178. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js.map → QueryBuilderTDS_OLAPRankOperator_RowNumber.js.map} +1 -1
  179. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +1 -1
  180. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  181. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +10 -10
  182. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  183. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -1
  184. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +4 -6
  185. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  186. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
  187. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -1
  188. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +5 -7
  189. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
  190. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  191. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +5 -7
  192. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  193. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  194. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -10
  195. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  196. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  197. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -10
  198. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  199. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  200. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +3 -7
  201. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  202. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
  203. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +3 -7
  204. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  205. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
  206. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +2 -3
  207. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  208. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  209. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -10
  210. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  211. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +1 -1
  212. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  213. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +5 -5
  214. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  215. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  216. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +14 -18
  217. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  218. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
  219. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +4 -6
  220. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  221. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  222. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +10 -13
  223. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  224. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  225. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -7
  226. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  227. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  228. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -7
  229. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  230. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  231. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +3 -5
  232. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  233. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  234. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +3 -5
  235. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  236. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  237. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +4 -7
  238. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  239. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  240. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -7
  241. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  242. package/lib/stores/shared/LambdaParameterState.d.ts +1 -2
  243. package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
  244. package/lib/stores/shared/LambdaParameterState.js +2 -22
  245. package/lib/stores/shared/LambdaParameterState.js.map +1 -1
  246. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  247. package/lib/stores/shared/ValueSpecificationEditorHelper.js +6 -7
  248. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  249. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +1 -2
  250. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  251. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -7
  252. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  253. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts.map +1 -1
  254. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
  255. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  256. package/package.json +12 -12
  257. package/src/components/QueryBuilder.tsx +2 -2
  258. package/src/components/QueryBuilderDiffPanel.tsx +4 -16
  259. package/src/components/QueryBuilderParametersPanel.tsx +14 -23
  260. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +1 -4
  261. package/src/components/QueryBuilderResultPanel.tsx +2 -1
  262. package/src/components/QueryBuilderSideBar.tsx +3 -3
  263. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +3 -13
  264. package/src/components/fetch-structure/{QueryBuilderOlapGroupByPanel.tsx → QueryBuilderOLAPGroupByPanel_.tsx} +168 -87
  265. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +4 -4
  266. package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +5 -5
  267. package/src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx +1 -1
  268. package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -10
  269. package/src/components/shared/CustomDatePicker.tsx +37 -47
  270. package/src/components/shared/LambdaParameterValuesEditor.tsx +4 -6
  271. package/src/components/watermark/QueryBuilderWatermark.tsx +16 -6
  272. package/src/graphManager/QueryBuilderHashUtils.ts +14 -14
  273. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +2 -2
  274. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +3 -4
  275. package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +18 -12
  276. package/src/stores/QueryBuilderMilestoningState.ts +4 -12
  277. package/src/stores/QueryBuilderPropertyEditorState.ts +15 -30
  278. package/src/stores/QueryBuilderResultState.ts +19 -22
  279. package/src/stores/QueryBuilderStateBuilder.ts +44 -78
  280. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +8 -33
  281. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +2 -10
  282. package/src/stores/QueryBuilderValueSpecificationHelper.ts +24 -25
  283. package/src/stores/explorer/QueryBuilderExplorerState.ts +6 -19
  284. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +2 -8
  285. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +5 -30
  286. package/src/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.ts → QueryBuilderTDSColumnState.ts} +0 -0
  287. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
  288. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +8 -8
  289. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +1 -1
  290. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts +2 -6
  291. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +2 -4
  292. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +2 -4
  293. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +2 -7
  294. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +10 -17
  295. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +2 -4
  296. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +2 -4
  297. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.ts +39 -0
  298. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.ts → QueryBuilderOLAPGroupByStateBuilder_.ts} +14 -14
  299. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.ts → QueryBuilderOLAPGroupByState_.ts} +51 -51
  300. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts} +28 -33
  301. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.ts → QueryBuilderTDS_OLAPOperator.ts} +4 -4
  302. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.ts → QueryBuilderTDS_OLAPOperator_Average.ts} +3 -3
  303. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.ts → QueryBuilderTDS_OLAPOperator_Count.ts} +3 -3
  304. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.ts → QueryBuilderTDS_OLAPOperator_Max.ts} +3 -3
  305. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.ts → QueryBuilderTDS_OLAPOperator_Min.ts} +3 -3
  306. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.ts → QueryBuilderTDS_OLAPOperator_Sum.ts} +3 -3
  307. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.ts} +5 -3
  308. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.ts} +5 -3
  309. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.ts → QueryBuilderTDS_OLAPRankOperator_Rank.ts} +3 -3
  310. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.ts} +5 -3
  311. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +11 -10
  312. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
  313. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -12
  314. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +8 -14
  315. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +5 -14
  316. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -12
  317. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -12
  318. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +1 -13
  319. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +3 -13
  320. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +2 -5
  321. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -12
  322. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +7 -11
  323. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +11 -44
  324. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -12
  325. package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +5 -28
  326. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -6
  327. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -6
  328. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -8
  329. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -8
  330. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +4 -8
  331. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -6
  332. package/src/stores/shared/LambdaParameterState.ts +0 -49
  333. package/src/stores/shared/ValueSpecificationEditorHelper.ts +2 -9
  334. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -29
  335. package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +0 -2
  336. package/tsconfig.json +16 -16
  337. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts.map +0 -1
  338. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js.map +0 -1
  339. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts.map +0 -1
  340. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js.map +0 -1
  341. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts.map +0 -1
  342. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js +0 -36
  343. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js.map +0 -1
  344. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts.map +0 -1
  345. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js.map +0 -1
  346. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts.map +0 -1
  347. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js.map +0 -1
  348. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts.map +0 -1
  349. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js.map +0 -1
  350. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js.map +0 -1
  351. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts.map +0 -1
  352. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js.map +0 -1
  353. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts.map +0 -1
  354. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js.map +0 -1
  355. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts.map +0 -1
  356. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js.map +0 -1
  357. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts.map +0 -1
  358. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js.map +0 -1
  359. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts.map +0 -1
  360. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js.map +0 -1
  361. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts.map +0 -1
  362. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts.map +0 -1
  363. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts.map +0 -1
  364. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts.map +0 -1
  365. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.ts +0 -39
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Population.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,cAAc,GAMf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAClH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEpG,MAAM,OAAO,+CACX,SAAQ,6BAA6B;IAGrC,QAAQ,CAAC,qBAAwD;QAC/D,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,wBAAwB,CACtB,kBAA0D,EAC1D,YAAoB,EACpB,KAAgB;QAEhB,OAAO,wBAAwB,CAC7B,iCAAiC,CAAC,kBAAkB,EACpD,YAAY,EACZ,KAAK,CACN,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,UAAoC,EACpC,WAA+B,EAC/B,qBAAwD;QAExD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,kBAAkB,EACpD,IAAI,CACL,CAAC;IACJ,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,MAAM,KAAK,GACT,oBAAoB,CAAC,qBAAqB,CAAC,QAAQ,CAAC,iBAAiB;aAClE,iBAAiB,CAAC,KAAK,CAAC;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,qCAAqC;SACnE,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Population.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,cAAc,EAMd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM,+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src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAM/D,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,2CACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;IAOP,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Sample.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAM/D,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,2CACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;IAIP,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
16
+ import { PRIMITIVE_TYPE, PrimitiveType, } from '@finos/legend-graph';
17
17
  import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
18
18
  import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
19
19
  import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
@@ -44,9 +44,7 @@ export class QueryBuilderAggregateOperator_StdDev_Sample extends QueryBuilderAgg
44
44
  return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.STD_DEV_SAMPLE, this);
45
45
  }
46
46
  getReturnType(aggregateColumnState) {
47
- const graph = aggregateColumnState.projectionColumnState.tdsState.queryBuilderState
48
- .graphManagerState.graph;
49
- return graph.getType(PRIMITIVE_TYPE.NUMBER);
47
+ return PrimitiveType.NUMBER;
50
48
  }
51
49
  get hashCode() {
52
50
  return hashArray([
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Sample.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAOf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAClH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEpG,MAAM,OAAO,2CACX,SAAQ,6BAA6B;IAGrC,QAAQ,CAAC,qBAAwD;QAC/D,OAAO,kBAAkB,CAAC;IAC5B,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,wBAAwB,CACtB,kBAA0D,EAC1D,YAAoB,EACpB,KAAgB;QAEhB,OAAO,wBAAwB,CAC7B,iCAAiC,CAAC,cAAc,EAChD,YAAY,EACZ,KAAK,CACN,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,UAAoC,EACpC,WAA+B,EAC/B,qBAAwD;QAExD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,cAAc,EAChD,IAAI,CACL,CAAC;IACJ,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,MAAM,KAAK,GACT,oBAAoB,CAAC,qBAAqB,CAAC,QAAQ,CAAC,iBAAiB;aAClE,iBAAiB,CAAC,KAAK,CAAC;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,iCAAiC;SAC/D,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Sample.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EAOd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAClH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sDAAsD,CAAC;AAEpG,MAAM,OAAO,2CACX,SAAQ,6BAA6B;IAGrC,QAAQ,CAAC,qBAAwD;QAC/D,OAAO,kBAAkB,CAAC;IAC5B,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,wBAAwB,CACtB,kBAA0D,EAC1D,YAAoB,EACpB,KAAgB;QAEhB,OAAO,wBAAwB,CAC7B,iCAAiC,CAAC,cAAc,EAChD,YAAY,EACZ,KAAK,CACN,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,UAAoC,EACpC,WAA+B,EAC/B,qBAAwD;QAExD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,cAAc,EAChD,IAAI,CACL,CAAC;IACJ,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,OAAO,aAAa,CAAC,MAAM,CAAC;IAC9B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,iCAAiC;SAC/D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -13,6 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { QueryBuilderTDSOlapOperator } from './operators/QueryBuilderTDSOlapOperator_.js';
17
- export declare const getQueryBuilderCoreOlapGroupByOperators: () => QueryBuilderTDSOlapOperator[];
18
- //# sourceMappingURL=QueryBuilderOlapGroupByOperatorLoader.d.ts.map
16
+ import type { QueryBuilderTDS_OLAPOperator } from './operators/QueryBuilderTDS_OLAPOperator.js';
17
+ export declare const getQueryBuilderCoreOLAPGroupByOperators: () => QueryBuilderTDS_OLAPOperator[];
18
+ //# sourceMappingURL=QueryBuilderOLAPGroupByOperatorLoader_.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderOLAPGroupByOperatorLoader_.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAWhG,eAAO,MAAM,uCAAuC,QAC9C,4BAA4B,EAU/B,CAAC"}
@@ -0,0 +1,36 @@
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 { QueryBuilderTDS_OLAPRankOperator_AverageRank } from './operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.js';
17
+ import { QueryBuilderTDS_OLAPRankOperator_DenseRank } from './operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.js';
18
+ import { QueryBuilderTDS_OLAPRankOperator_Rank } from './operators/QueryBuilderTDS_OLAPRankOperator_Rank.js';
19
+ import { QueryBuilderTDS_OLAPRankOperator_RowNumber } from './operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.js';
20
+ import { QueryBuilderTDS_OLAPOperator_Sum } from './operators/QueryBuilderTDS_OLAPOperator_Sum.js';
21
+ import { QueryBuilderTDS_OLAPOperator_Count } from './operators/QueryBuilderTDS_OLAPOperator_Count.js';
22
+ import { QueryBuilderTDS_OLAPOperator_Max } from './operators/QueryBuilderTDS_OLAPOperator_Max.js';
23
+ import { QueryBuilderTDS_OLAPOperator_Min } from './operators/QueryBuilderTDS_OLAPOperator_Min.js';
24
+ import { QueryBuilderTDS_OLAPOperator_Average } from './operators/QueryBuilderTDS_OLAPOperator_Average.js';
25
+ export const getQueryBuilderCoreOLAPGroupByOperators = () => [
26
+ new QueryBuilderTDS_OLAPOperator_Sum(),
27
+ new QueryBuilderTDS_OLAPOperator_Count(),
28
+ new QueryBuilderTDS_OLAPOperator_Max(),
29
+ new QueryBuilderTDS_OLAPOperator_Min(),
30
+ new QueryBuilderTDS_OLAPOperator_Average(),
31
+ new QueryBuilderTDS_OLAPRankOperator_AverageRank(),
32
+ new QueryBuilderTDS_OLAPRankOperator_DenseRank(),
33
+ new QueryBuilderTDS_OLAPRankOperator_Rank(),
34
+ new QueryBuilderTDS_OLAPRankOperator_RowNumber(),
35
+ ];
36
+ //# sourceMappingURL=QueryBuilderOLAPGroupByOperatorLoader_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderOLAPGroupByOperatorLoader_.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,4CAA4C,EAAE,MAAM,6DAA6D,CAAC;AAC3H,OAAO,EAAE,0CAA0C,EAAE,MAAM,2DAA2D,CAAC;AACvH,OAAO,EAAE,qCAAqC,EAAE,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2DAA2D,CAAC;AACvH,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,kCAAkC,EAAE,MAAM,mDAAmD,CAAC;AACvG,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AACnG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qDAAqD,CAAC;AAE3G,MAAM,CAAC,MAAM,uCAAuC,GAClD,GAAmC,EAAE,CAAC;IACpC,IAAI,gCAAgC,EAAE;IACtC,IAAI,kCAAkC,EAAE;IACxC,IAAI,gCAAgC,EAAE;IACtC,IAAI,gCAAgC,EAAE;IACtC,IAAI,oCAAoC,EAAE;IAC1C,IAAI,4CAA4C,EAAE;IAClD,IAAI,0CAA0C,EAAE;IAChD,IAAI,qCAAqC,EAAE;IAC3C,IAAI,0CAA0C,EAAE;CACjD,CAAC"}
@@ -15,5 +15,5 @@
15
15
  */
16
16
  import { SimpleFunctionExpression } from '@finos/legend-graph';
17
17
  import type { QueryBuilderState } from '../../../QueryBuilderState.js';
18
- export declare const processTDSOlapGroupByExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState) => void;
19
- //# sourceMappingURL=QueryBuilderOlapGroupByStateBuilder.d.ts.map
18
+ export declare const processTDS_OLAPGroupByExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState) => void;
19
+ //# sourceMappingURL=QueryBuilderOLAPGroupByStateBuilder_.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderOLAPGroupByStateBuilder_.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAML,wBAAwB,EAEzB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAevE,eAAO,MAAM,gCAAgC,eAC/B,wBAAwB,qBACjB,iBAAiB,KACnC,IAyLF,CAAC"}
@@ -19,8 +19,8 @@ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/Quer
19
19
  import { QueryBuilderValueSpecificationProcessor } from '../../../QueryBuilderStateBuilder.js';
20
20
  import { getTDSColumnState, getTDSColSortTypeFromFunctionName, } from '../QueryBuilderTDSHelper.js';
21
21
  import { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
22
- import { OlapGroupByColumnSortByState, QueryBuilderOlapGroupByColumnState, QueryBuilderTDSOlapAggreationOperatorState, QueryBuilderTDSOlapRankOperatorState, } from './QueryBuilderOlapGroupByState.js';
23
- export const processTDSOlapGroupByExpression = (expression, queryBuilderState) => {
22
+ import { OLAPGroupByColumnSortByState, QueryBuilderOLAPGroupByColumnState, QueryBuilderTDS_OLAPAggreationOperatorState, QueryBuilderTDS_OLAPRankOperatorState, } from './QueryBuilderOLAPGroupByState_.js';
23
+ export const processTDS_OLAPGroupByExpression = (expression, queryBuilderState) => {
24
24
  // check parameters
25
25
  const parametersLength = expression.parametersValues.length;
26
26
  assertTrue(parametersLength === 4 || parametersLength === 5, `Can't process sort() expression: olapGroupBy() expects 3 or 4 argument`);
@@ -63,7 +63,7 @@ export const processTDSOlapGroupByExpression = (expression, queryBuilderState) =
63
63
  const colSortType = getTDSColSortTypeFromFunctionName(sortByFunctionName);
64
64
  const colSortVal = guaranteeIsString(guaranteeType(sortByExpression.parametersValues[0], PrimitiveInstanceValue, 'Can`t process OLAP sort column : OLAP sort column should be a primitive instance value').values[0], 'Can`t process OLAP sort column: OLAP sort column should be a string primitive instance value');
65
65
  const sortColState = getTDSColumnState(tdsState, colSortVal);
66
- sortByState = new OlapGroupByColumnSortByState(sortColState, colSortType);
66
+ sortByState = new OLAPGroupByColumnSortByState(sortColState, colSortType);
67
67
  }
68
68
  // process olap operation
69
69
  let operatorState;
@@ -78,7 +78,7 @@ export const processTDSOlapGroupByExpression = (expression, queryBuilderState) =
78
78
  assertTrue(operationLambda.expressionSequence.length === 1);
79
79
  const operationFunctionExp = guaranteeType(operationLambda.expressionSequence[0], SimpleFunctionExpression);
80
80
  const operation = guaranteeNonNullable(tdsState.olapGroupByState.findOperator(operationFunctionExp.functionName), `olapGroupBy() operator '${operationFunctionExp.functionName}' not supported`);
81
- operatorState = new QueryBuilderTDSOlapAggreationOperatorState(tdsState.olapGroupByState, operation, oppColumnState);
81
+ operatorState = new QueryBuilderTDS_OLAPAggreationOperatorState(tdsState.olapGroupByState, operation, oppColumnState);
82
82
  operatorState.setLambdaParameterName(guaranteeType(operationLambda.functionType.parameters[0], VariableExpression, `Can't process olapGroupBy() operation lambda: only support olapGroupBy() operation lambda with 1 parameter of type 'VariableExpression'`).name);
83
83
  }
84
84
  else {
@@ -88,13 +88,13 @@ export const processTDSOlapGroupByExpression = (expression, queryBuilderState) =
88
88
  const operationFunctionExp = guaranteeType(operationLambda.expressionSequence[0], SimpleFunctionExpression);
89
89
  const operation = guaranteeNonNullable(tdsState.olapGroupByState.findOperator(operationFunctionExp.functionName), `olapGroupBy() operator '${operationFunctionExp.functionName}' not supported`);
90
90
  assertTrue(!operation.isColumnAggregator(), `Operator '${operation.getLabel()}' expects a TDS column to aggregate against`);
91
- operatorState = new QueryBuilderTDSOlapRankOperatorState(tdsState.olapGroupByState, operation);
91
+ operatorState = new QueryBuilderTDS_OLAPRankOperatorState(tdsState.olapGroupByState, operation);
92
92
  operatorState.setLambdaParameterName(guaranteeType(operationLambda.functionType.parameters[0], VariableExpression, `Can't process olapGroupBy() operation lambda: only support olapGroupBy() operation lambda with 1 parameter of type 'VariableExpression'`).name);
93
93
  }
94
94
  // main col
95
95
  const olapColumnValue = guaranteeIsString(guaranteeType(olapColumnExpression, PrimitiveInstanceValue, 'Can`t process OLAP column: OLAP column should be a primitive instance value').values[0], 'Can`t process OLAP column: OLAP column should be a string primitive instance value');
96
- const olapGroupByColumnState = new QueryBuilderOlapGroupByColumnState(tdsState.olapGroupByState, windowColumns, sortByState, operatorState, olapColumnValue);
97
- tdsState.olapGroupByState.addOlapColumn(olapGroupByColumnState);
96
+ const olapGroupByColumnState = new QueryBuilderOLAPGroupByColumnState(tdsState.olapGroupByState, windowColumns, sortByState, operatorState, olapColumnValue);
97
+ tdsState.olapGroupByState.addOLAPColumn(olapGroupByColumnState);
98
98
  tdsState.setShowOlapGroupByPanel(true);
99
99
  };
100
- //# sourceMappingURL=QueryBuilderOlapGroupByStateBuilder.js.map
100
+ //# sourceMappingURL=QueryBuilderOLAPGroupByStateBuilder_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderOLAPGroupByStateBuilder_.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,4DAA4D,CAAC;AAE/G,OAAO,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAC/F,OAAO,EACL,iBAAiB,EACjB,iCAAiC,GAClC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAEL,4BAA4B,EAC5B,kCAAkC,EAClC,2CAA2C,EAC3C,qCAAqC,GACtC,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAA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,CAAC,CAAC,CAAC,EACZ,cAAc,CACf,CAAC;QACF,UAAU,CAAC,eAAe,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;QAC5D,MAAM,oBAAoB,GAAG,aAAa,CACxC,eAAe,CAAC,kBAAkB,CAAC,CAAC,CAAC,EACrC,wBAAwB,CACzB,CAAC;QACF,MAAM,SAAS,GAAG,oBAAoB,CACpC,QAAQ,CAAC,gBAAgB,CAAC,YAAY,CAAC,oBAAoB,CAAC,YAAY,CAAC,EACzE,2BAA2B,oBAAoB,CAAC,YAAY,iBAAiB,CAC9E,CAAC;QACF,UAAU,CACR,CAAC,SAAS,CAAC,kBAAkB,EAAE,EAC/B,aAAa,SAAS,CAAC,QAAQ,EAAE,6CAA6C,CAC/E,CAAC;QACF,aAAa,GAAG,IAAI,qCAAqC,CACvD,QAAQ,CAAC,gBAAgB,EACzB,SAAS,CACV,CAAC;QACF,aAAa,CAAC,sBAAsB,CAClC,aAAa,CACX,eAAe,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,EAC1C,kBAAkB,EAClB,yIAAyI,CAC1I,CAAC,IAAI,CACP,CAAC;KACH;IAED,WAAW;IACX,MAAM,eAAe,GAAG,iBAAiB,CACvC,aAAa,CACX,oBAAoB,EACpB,sBAAsB,EACtB,6EAA6E,CAC9E,CAAC,MAAM,CAAC,CAAC,CAAC,EACX,oFAAoF,CACrF,CAAC;IACF,MAAM,sBAAsB,GAAG,IAAI,kCAAkC,CACnE,QAAQ,CAAC,gBAAgB,EACzB,aAAa,EACb,WAAW,EACX,aAAa,EACb,eAAe,CAChB,CAAC;IACF,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;IAChE,QAAQ,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC,CAAC"}
@@ -16,16 +16,16 @@
16
16
  import { type Type } from '@finos/legend-graph';
17
17
  import { type Hashable } from '@finos/legend-shared';
18
18
  import type { QueryBuilderProjectionColumnDragSource } from '../projection/QueryBuilderProjectionColumnState.js';
19
- import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState_.js';
19
+ import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
20
20
  import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
21
21
  import type { COLUMN_SORT_TYPE } from '../QueryResultSetModifierState.js';
22
- import type { QueryBuilderTDSOlapOperator } from './operators/QueryBuilderTDSOlapOperator_.js';
22
+ import type { QueryBuilderTDS_OLAPOperator } from './operators/QueryBuilderTDS_OLAPOperator.js';
23
23
  export declare const QUERY_BUILDER_OLAP_COLUMN_DND_TYPE = "OLAP_COLUMN";
24
- export interface QueryBuilderOlapColumnDragSource {
25
- columnState: QueryBuilderOlapGroupByColumnState;
24
+ export interface QueryBuilderOLAPColumnDragSource {
25
+ columnState: QueryBuilderTDSColumnState;
26
26
  }
27
- export declare type QueryBuilderOlapDropTarget = QueryBuilderProjectionColumnDragSource | QueryBuilderOlapColumnDragSource;
28
- export declare class OlapGroupByColumnSortByState implements Hashable {
27
+ export declare type QueryBuilderOLAPDropTarget = QueryBuilderProjectionColumnDragSource | QueryBuilderOLAPColumnDragSource;
28
+ export declare class OLAPGroupByColumnSortByState implements Hashable {
29
29
  columnState: QueryBuilderTDSColumnState;
30
30
  sortType: COLUMN_SORT_TYPE;
31
31
  constructor(columnState: QueryBuilderTDSColumnState, sortType: COLUMN_SORT_TYPE);
@@ -33,59 +33,59 @@ export declare class OlapGroupByColumnSortByState implements Hashable {
33
33
  setSortType(type: COLUMN_SORT_TYPE): void;
34
34
  get hashCode(): string;
35
35
  }
36
- export declare abstract class QueryBuilderTDSOlapOperatorState implements Hashable {
37
- readonly olapState: QueryBuilderOlapGroupByState;
36
+ export declare abstract class QueryBuilderTDS_OLAPOperatorState implements Hashable {
37
+ readonly olapState: QueryBuilderOLAPGroupByState;
38
38
  lambdaParameterName: string;
39
- operator: QueryBuilderTDSOlapOperator;
40
- constructor(olapState: QueryBuilderOlapGroupByState, operator: QueryBuilderTDSOlapOperator);
39
+ operator: QueryBuilderTDS_OLAPOperator;
40
+ constructor(olapState: QueryBuilderOLAPGroupByState, operator: QueryBuilderTDS_OLAPOperator);
41
41
  setLambdaParameterName(paramName: string): void;
42
- setOperator(val: QueryBuilderTDSOlapOperator): void;
42
+ setOperator(val: QueryBuilderTDS_OLAPOperator): void;
43
43
  get hashCode(): string;
44
44
  }
45
- export declare class QueryBuilderTDSOlapRankOperatorState extends QueryBuilderTDSOlapOperatorState {
46
- constructor(olapState: QueryBuilderOlapGroupByState, operator: QueryBuilderTDSOlapOperator);
45
+ export declare class QueryBuilderTDS_OLAPRankOperatorState extends QueryBuilderTDS_OLAPOperatorState {
46
+ constructor(olapState: QueryBuilderOLAPGroupByState, operator: QueryBuilderTDS_OLAPOperator);
47
47
  }
48
- export declare class QueryBuilderTDSOlapAggreationOperatorState extends QueryBuilderTDSOlapOperatorState {
48
+ export declare class QueryBuilderTDS_OLAPAggreationOperatorState extends QueryBuilderTDS_OLAPOperatorState {
49
49
  columnState: QueryBuilderTDSColumnState;
50
- constructor(olapState: QueryBuilderOlapGroupByState, operator: QueryBuilderTDSOlapOperator, columnState: QueryBuilderTDSColumnState);
50
+ constructor(olapState: QueryBuilderOLAPGroupByState, operator: QueryBuilderTDS_OLAPOperator, columnState: QueryBuilderTDSColumnState);
51
51
  setColumnState(val: QueryBuilderTDSColumnState): void;
52
52
  get hashCode(): string;
53
53
  }
54
- export declare class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnState implements Hashable {
55
- readonly olapState: QueryBuilderOlapGroupByState;
54
+ export declare class QueryBuilderOLAPGroupByColumnState extends QueryBuilderTDSColumnState implements Hashable {
55
+ readonly olapState: QueryBuilderOLAPGroupByState;
56
56
  windowColumns: QueryBuilderTDSColumnState[];
57
- sortByState: OlapGroupByColumnSortByState | undefined;
58
- operationState: QueryBuilderTDSOlapOperatorState;
57
+ sortByState: OLAPGroupByColumnSortByState | undefined;
58
+ operationState: QueryBuilderTDS_OLAPOperatorState;
59
59
  columnName: string;
60
- constructor(olapState: QueryBuilderOlapGroupByState, windowColumns: QueryBuilderTDSColumnState[], sortType: OlapGroupByColumnSortByState | undefined, operationState: QueryBuilderTDSOlapOperatorState, columnName: string);
61
- get columnOlapGroupIdx(): number;
60
+ constructor(olapState: QueryBuilderOLAPGroupByState, windowColumns: QueryBuilderTDSColumnState[], sortType: OLAPGroupByColumnSortByState | undefined, operationState: QueryBuilderTDS_OLAPOperatorState, columnName: string);
61
+ get columnOLAPGroupIdx(): number;
62
62
  get possibleReferencedColumns(): QueryBuilderTDSColumnState[];
63
63
  get referencedTDSColumns(): QueryBuilderTDSColumnState[];
64
64
  getColumnType(): Type | undefined;
65
65
  setColumnName(val: string): void;
66
- setOperatorState(op: QueryBuilderTDSOlapOperatorState): void;
67
- setSortBy(val: OlapGroupByColumnSortByState | undefined): void;
66
+ setOperatorState(op: QueryBuilderTDS_OLAPOperatorState): void;
67
+ setSortBy(val: OLAPGroupByColumnSortByState | undefined): void;
68
68
  changeWindow(val: QueryBuilderTDSColumnState, idx: number): void;
69
69
  addWindow(val: QueryBuilderTDSColumnState): void;
70
70
  deleteWindow(val: QueryBuilderTDSColumnState): void;
71
- possibleAggregatedColumns(op: QueryBuilderTDSOlapOperator): QueryBuilderTDSColumnState[];
72
- changeOperator(olapOp: QueryBuilderTDSOlapOperator): void;
71
+ possibleAggregatedColumns(op: QueryBuilderTDS_OLAPOperator): QueryBuilderTDSColumnState[];
72
+ changeOperator(olapOp: QueryBuilderTDS_OLAPOperator): void;
73
73
  changeSortBy(sortOp: COLUMN_SORT_TYPE | undefined): void;
74
74
  get hashCode(): string;
75
75
  }
76
- export declare class QueryBuilderOlapGroupByState implements Hashable {
76
+ export declare class QueryBuilderOLAPGroupByState implements Hashable {
77
77
  readonly tdsState: QueryBuilderTDSState;
78
- olapColumns: QueryBuilderOlapGroupByColumnState[];
79
- operators: QueryBuilderTDSOlapOperator[];
80
- editColumn: QueryBuilderOlapGroupByColumnState | undefined;
81
- constructor(tdsState: QueryBuilderTDSState, operators: QueryBuilderTDSOlapOperator[]);
78
+ olapColumns: QueryBuilderOLAPGroupByColumnState[];
79
+ operators: QueryBuilderTDS_OLAPOperator[];
80
+ editColumn: QueryBuilderOLAPGroupByColumnState | undefined;
81
+ constructor(tdsState: QueryBuilderTDSState, operators: QueryBuilderTDS_OLAPOperator[]);
82
82
  get isEmpty(): boolean;
83
83
  get referencedTDSColumns(): QueryBuilderTDSColumnState[];
84
- setEditColumn(col: QueryBuilderOlapGroupByColumnState | undefined): void;
85
- findOperator(func: string): QueryBuilderTDSOlapOperator | undefined;
86
- addOlapColumn(olapGroupByCol: QueryBuilderOlapGroupByColumnState): void;
87
- removeColumn(column: QueryBuilderOlapGroupByColumnState): void;
84
+ setEditColumn(col: QueryBuilderOLAPGroupByColumnState | undefined): void;
85
+ findOperator(func: string): QueryBuilderTDS_OLAPOperator | undefined;
86
+ addOLAPColumn(olapGroupByCol: QueryBuilderOLAPGroupByColumnState): void;
87
+ removeColumn(column: QueryBuilderOLAPGroupByColumnState): void;
88
88
  moveColumn(fromIndex: number, toIndex: number): void;
89
89
  get hashCode(): string;
90
90
  }
91
- //# sourceMappingURL=QueryBuilderOlapGroupByState.d.ts.map
91
+ //# sourceMappingURL=QueryBuilderOLAPGroupByState_.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderOLAPGroupByState_.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAE,0BAA0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I;IAkBxD,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,4BAA6B,YAAW,QAAQ;IAC3D,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,WAAW,EAAE,kCAAkC,EAAE,CAAM;IACvD,SAAS,EAAE,4BAA4B,EAAE,CAAC;IAC1C,UAAU,EAAE,kCAAkC,GAAG,SAAS,CAAC;gBAGzD,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,4BAA4B,EAAE;IAc3C,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,oBAAoB,IAAI,0BAA0B,EAAE,CAEvD;IAED,aAAa,CAAC,GAAG,EAAE,kCAAkC,GAAG,SAAS,GAAG,IAAI;IAIxE,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,4BAA4B,GAAG,SAAS;IAIpE,aAAa,CAAC,cAAc,EAAE,kCAAkC,GAAG,IAAI;IAIvE,YAAY,CAAC,MAAM,EAAE,kCAAkC,GAAG,IAAI;IAI9D,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IASpD,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
@@ -18,9 +18,9 @@ import { addUniqueEntry, deleteEntry, guaranteeNonNullable, hashArray, uniq, } f
18
18
  import { action, makeObservable, observable } from 'mobx';
19
19
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
20
20
  import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
21
- import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState_.js';
21
+ import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
22
22
  export const QUERY_BUILDER_OLAP_COLUMN_DND_TYPE = 'OLAP_COLUMN';
23
- export class OlapGroupByColumnSortByState {
23
+ export class OLAPGroupByColumnSortByState {
24
24
  columnState;
25
25
  sortType;
26
26
  constructor(columnState, sortType) {
@@ -41,13 +41,13 @@ export class OlapGroupByColumnSortByState {
41
41
  }
42
42
  get hashCode() {
43
43
  return hashArray([
44
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_COLUMN_SORTBY_STATE,
44
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_COLUMN_SORTBY_STATE,
45
45
  this.sortType,
46
46
  this.columnState.columnName,
47
47
  ]);
48
48
  }
49
49
  }
50
- export class QueryBuilderTDSOlapOperatorState {
50
+ export class QueryBuilderTDS_OLAPOperatorState {
51
51
  olapState;
52
52
  lambdaParameterName = DEFAULT_LAMBDA_VARIABLE_NAME;
53
53
  operator;
@@ -63,13 +63,13 @@ export class QueryBuilderTDSOlapOperatorState {
63
63
  }
64
64
  get hashCode() {
65
65
  return hashArray([
66
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_OPERATION_STATE,
66
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_OPERATION_STATE,
67
67
  this.lambdaParameterName,
68
68
  this.operator,
69
69
  ]);
70
70
  }
71
71
  }
72
- export class QueryBuilderTDSOlapRankOperatorState extends QueryBuilderTDSOlapOperatorState {
72
+ export class QueryBuilderTDS_OLAPRankOperatorState extends QueryBuilderTDS_OLAPOperatorState {
73
73
  constructor(olapState, operator) {
74
74
  super(olapState, operator);
75
75
  makeObservable(this, {
@@ -77,7 +77,7 @@ export class QueryBuilderTDSOlapRankOperatorState extends QueryBuilderTDSOlapOpe
77
77
  });
78
78
  }
79
79
  }
80
- export class QueryBuilderTDSOlapAggreationOperatorState extends QueryBuilderTDSOlapOperatorState {
80
+ export class QueryBuilderTDS_OLAPAggreationOperatorState extends QueryBuilderTDS_OLAPOperatorState {
81
81
  columnState;
82
82
  constructor(olapState, operator, columnState) {
83
83
  super(olapState, operator);
@@ -93,14 +93,14 @@ export class QueryBuilderTDSOlapAggreationOperatorState extends QueryBuilderTDSO
93
93
  }
94
94
  get hashCode() {
95
95
  return hashArray([
96
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_AGG_OPERATION_STATE,
96
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_AGG_OPERATION_STATE,
97
97
  this.lambdaParameterName,
98
98
  this.operator,
99
99
  this.columnState.columnName,
100
100
  ]);
101
101
  }
102
102
  }
103
- export class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnState {
103
+ export class QueryBuilderOLAPGroupByColumnState extends QueryBuilderTDSColumnState {
104
104
  olapState;
105
105
  windowColumns = [];
106
106
  sortByState;
@@ -128,7 +128,7 @@ export class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnSta
128
128
  this.operationState = operationState;
129
129
  this.columnName = columnName;
130
130
  }
131
- get columnOlapGroupIdx() {
131
+ get columnOLAPGroupIdx() {
132
132
  return this.olapState.olapColumns.findIndex((e) => e === this);
133
133
  }
134
134
  get possibleReferencedColumns() {
@@ -140,7 +140,7 @@ export class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnSta
140
140
  return this.olapState.tdsState.tdsColumns.slice(0, idx);
141
141
  }
142
142
  get referencedTDSColumns() {
143
- const operatorReference = this.operationState instanceof QueryBuilderTDSOlapAggreationOperatorState
143
+ const operatorReference = this.operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
144
144
  ? [this.operationState.columnState]
145
145
  : [];
146
146
  const soryByReference = this.sortByState
@@ -177,7 +177,7 @@ export class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnSta
177
177
  }
178
178
  changeOperator(olapOp) {
179
179
  const currentOperator = this.operationState.operator;
180
- const currentAggregateColumn = this.operationState instanceof QueryBuilderTDSOlapAggreationOperatorState
180
+ const currentAggregateColumn = this.operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
181
181
  ? this.operationState.columnState
182
182
  : undefined;
183
183
  if (currentOperator !== olapOp) {
@@ -187,11 +187,11 @@ export class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnSta
187
187
  ? currentAggregateColumn
188
188
  : this.possibleAggregatedColumns(olapOp)[0];
189
189
  if (compatibleAggCol) {
190
- this.setOperatorState(new QueryBuilderTDSOlapAggreationOperatorState(this.olapState, olapOp, compatibleAggCol));
190
+ this.setOperatorState(new QueryBuilderTDS_OLAPAggreationOperatorState(this.olapState, olapOp, compatibleAggCol));
191
191
  }
192
192
  }
193
193
  else {
194
- this.setOperatorState(new QueryBuilderTDSOlapRankOperatorState(this.olapState, olapOp));
194
+ this.setOperatorState(new QueryBuilderTDS_OLAPRankOperatorState(this.olapState, olapOp));
195
195
  }
196
196
  }
197
197
  }
@@ -200,7 +200,7 @@ export class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnSta
200
200
  if (sortByState?.sortType !== sortOp) {
201
201
  if (sortOp) {
202
202
  const sortInfoOpState = sortByState ??
203
- new OlapGroupByColumnSortByState(guaranteeNonNullable(this.possibleReferencedColumns[0]), sortOp);
203
+ new OLAPGroupByColumnSortByState(guaranteeNonNullable(this.possibleReferencedColumns[0]), sortOp);
204
204
  sortInfoOpState.setSortType(sortOp);
205
205
  this.setSortBy(sortInfoOpState);
206
206
  }
@@ -211,7 +211,7 @@ export class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnSta
211
211
  }
212
212
  get hashCode() {
213
213
  return hashArray([
214
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_COLUMN_STATE,
214
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_COLUMN_STATE,
215
215
  hashArray(this.windowColumns),
216
216
  this.sortByState ?? '',
217
217
  this.operationState,
@@ -219,7 +219,7 @@ export class QueryBuilderOlapGroupByColumnState extends QueryBuilderTDSColumnSta
219
219
  ]);
220
220
  }
221
221
  }
222
- export class QueryBuilderOlapGroupByState {
222
+ export class QueryBuilderOLAPGroupByState {
223
223
  tdsState;
224
224
  olapColumns = [];
225
225
  operators;
@@ -228,7 +228,7 @@ export class QueryBuilderOlapGroupByState {
228
228
  makeObservable(this, {
229
229
  olapColumns: observable,
230
230
  editColumn: observable,
231
- addOlapColumn: action,
231
+ addOLAPColumn: action,
232
232
  removeColumn: action,
233
233
  moveColumn: action,
234
234
  setEditColumn: action,
@@ -248,7 +248,7 @@ export class QueryBuilderOlapGroupByState {
248
248
  findOperator(func) {
249
249
  return this.operators.find((o) => matchFunctionName(func, o.pureFunc));
250
250
  }
251
- addOlapColumn(olapGroupByCol) {
251
+ addOLAPColumn(olapGroupByCol) {
252
252
  addUniqueEntry(this.olapColumns, olapGroupByCol);
253
253
  }
254
254
  removeColumn(column) {
@@ -264,9 +264,9 @@ export class QueryBuilderOlapGroupByState {
264
264
  }
265
265
  get hashCode() {
266
266
  return hashArray([
267
- QUERY_BUILDER_HASH_STRUCTURE.OLAP_GROUPBY_STATE,
267
+ QUERY_BUILDER_HASH_STRUCTURE.TDS_OLAP_GROUPBY_STATE,
268
268
  hashArray(this.olapColumns),
269
269
  ]);
270
270
  }
271
271
  }
272
- //# sourceMappingURL=QueryBuilderOlapGroupByState.js.map
272
+ //# sourceMappingURL=QueryBuilderOLAPGroupByState_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderOLAPGroupByState_.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AACjG,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OA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AC,CAAC;IACnD,CAAC;IAED,YAAY,CAAC,MAA0C;QACrD,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACxC,CAAC;IAED,UAAU,CAAC,SAAiB,EAAE,OAAe;QAC3C,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QACxC,IAAI,OAAO,IAAI,KAAK,EAAE;YACpB,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;YACpC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;SACrC;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,sBAAsB;YACnD,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;SAC5B,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -14,6 +14,6 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type LambdaFunction } from '@finos/legend-graph';
17
- import { type QueryBuilderOlapGroupByState } from './QueryBuilderOlapGroupByState.js';
18
- export declare const appendOlapGroupByState: (olapGroupByState: QueryBuilderOlapGroupByState, lambda: LambdaFunction) => LambdaFunction;
19
- //# sourceMappingURL=QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts.map
17
+ import { type QueryBuilderOLAPGroupByState } from './QueryBuilderOLAPGroupByState_.js';
18
+ export declare const appendOLAPGroupByState: (olapGroupByState: QueryBuilderOLAPGroupByState, lambda: LambdaFunction) => LambdaFunction;
19
+ //# sourceMappingURL=QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAUpB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAEL,KAAK,4BAA4B,EAElC,MAAM,oCAAoC,CAAC;AAkG5C,eAAO,MAAM,sBAAsB,qBACf,4BAA4B,UACtC,cAAc,KACrB,cAKF,CAAC"}
@@ -13,20 +13,18 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, VariableExpression, } from '@finos/legend-graph';
16
+ import { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
17
17
  import { guaranteeNonNullable } from '@finos/legend-shared';
18
18
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/QueryBuilderSupportedFunctions.js';
19
19
  import { buildGenericLambdaFunctionInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
20
20
  import { getFunctionNameFromTDSSortColumn } from '../QueryBuilderTDSHelper.js';
21
- import { QueryBuilderTDSOlapAggreationOperatorState, } from './QueryBuilderOlapGroupByState.js';
22
- const appendOlapGroupByColumnState = (olapGroupByColumnState, lambda) => {
21
+ import { QueryBuilderTDS_OLAPAggreationOperatorState, } from './QueryBuilderOLAPGroupByState_.js';
22
+ const appendOLAPGroupByColumnState = (olapGroupByColumnState, lambda) => {
23
23
  const graph = olapGroupByColumnState.olapState.tdsState.queryBuilderState
24
24
  .graphManagerState.graph;
25
- const multiplicityOne = graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
26
- const typeString = graph.getPrimitiveType(PRIMITIVE_TYPE.STRING);
27
25
  // create window cols expression
28
26
  const windowColumns = olapGroupByColumnState.windowColumns.map((column) => {
29
- const stringInstance = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
27
+ const stringInstance = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
30
28
  stringInstance.values = [column.columnName];
31
29
  return stringInstance;
32
30
  });
@@ -36,37 +34,37 @@ const appendOlapGroupByColumnState = (olapGroupByColumnState, lambda) => {
36
34
  let sortByFunction;
37
35
  if (olapGroupByColumnState.sortByState) {
38
36
  const sortByState = olapGroupByColumnState.sortByState;
39
- sortByFunction = new SimpleFunctionExpression(getFunctionNameFromTDSSortColumn(sortByState.sortType), multiplicityOne);
40
- const sortColInstance = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
37
+ sortByFunction = new SimpleFunctionExpression(getFunctionNameFromTDSSortColumn(sortByState.sortType));
38
+ const sortColInstance = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
41
39
  sortColInstance.values = [sortByState.columnState.columnName];
42
40
  sortByFunction.parametersValues[0] = sortColInstance;
43
41
  }
44
42
  // create olap operation expression
45
43
  const operationState = olapGroupByColumnState.operationState;
46
44
  const olapFunc = extractElementNameFromPath(operationState.operator.pureFunc);
47
- const olapFuncExpression = new SimpleFunctionExpression(olapFunc, multiplicityOne);
45
+ const olapFuncExpression = new SimpleFunctionExpression(olapFunc);
48
46
  olapFuncExpression.parametersValues = [
49
- new VariableExpression(operationState.lambdaParameterName, multiplicityOne),
47
+ new VariableExpression(operationState.lambdaParameterName, Multiplicity.ONE),
50
48
  ];
51
49
  const olapLambdaFuncInstance = buildGenericLambdaFunctionInstanceValue(operationState.lambdaParameterName, [olapFuncExpression], graph);
52
50
  let olapAggregationExpression;
53
- if (operationState instanceof QueryBuilderTDSOlapAggreationOperatorState) {
51
+ if (operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState) {
54
52
  // column param
55
- const olapAggregateColumn = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
53
+ const olapAggregateColumn = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
56
54
  olapAggregateColumn.values = [operationState.columnState.columnName];
57
55
  // build `meta::pure::tds::func`
58
- olapAggregationExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FUNC), multiplicityOne);
56
+ olapAggregationExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FUNC));
59
57
  olapAggregationExpression.parametersValues = [
60
58
  olapAggregateColumn,
61
59
  olapLambdaFuncInstance,
62
60
  ];
63
61
  }
64
62
  const olapOperationExpression = olapAggregationExpression ?? olapLambdaFuncInstance;
65
- // OLAP column nam expression
66
- const olapColumn = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
63
+ // OLAP column name expression
64
+ const olapColumn = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
67
65
  olapColumn.values = [olapGroupByColumnState.columnName];
68
66
  // create main expression
69
- const olapExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.OLAP_GROUPBY), multiplicityOne);
67
+ const olapExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.OLAP_GROUPBY));
70
68
  const currentExpression = guaranteeNonNullable(lambda.expressionSequence[0]);
71
69
  olapExpression.parametersValues = [
72
70
  ...[currentExpression, windowCollectionExpression],
@@ -76,8 +74,8 @@ const appendOlapGroupByColumnState = (olapGroupByColumnState, lambda) => {
76
74
  lambda.expressionSequence[0] = olapExpression;
77
75
  return lambda;
78
76
  };
79
- export const appendOlapGroupByState = (olapGroupByState, lambda) => {
80
- olapGroupByState.olapColumns.forEach((c) => appendOlapGroupByColumnState(c, lambda));
77
+ export const appendOLAPGroupByState = (olapGroupByState, lambda) => {
78
+ olapGroupByState.olapColumns.forEach((c) => appendOLAPGroupByColumnState(c, lambda));
81
79
  return lambda;
82
80
  };
83
- //# sourceMappingURL=QueryBuilderOlapGroupByValueSpecificationBuilder.js.map
81
+ //# sourceMappingURL=QueryBuilderOLAPGroupByValueSpecificationBuilder_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderOLAPGroupByValueSpecificationBuilder_.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,YAAY,EACZ,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,4DAA4D,CAAC;AAC/G,OAAO,EAAE,uCAAuC,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EAAE,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAGL,2CAA2C,GAC5C,MAAM,oCAAoC,CAAC;AAE5C,MAAM,4BAA4B,GAAG,CACnC,sBAA0D,EAC1D,MAAsB,EACN,EAAE;IAClB,MAAM,KAAK,GACT,sBAAsB,CAAC,SAAS,CAAC,QAAQ,CAAC,iBAAiB;SACxD,iBAAiB,CAAC,KAAK,CAAC;IAE7B,gCAAgC;IAChC,MAAM,aAAa,GAAG,sBAAsB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QACxE,MAAM,cAAc,GAAG,IAAI,sBAAsB,CAC/C,4BAA4B,CAA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