@finos/legend-query-builder 0.4.1 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) 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/QueryBuilderNavigationBlocker.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderNavigationBlocker.js +1 -1
  6. package/lib/components/QueryBuilderNavigationBlocker.js.map +1 -1
  7. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  8. package/lib/components/QueryBuilderParametersPanel.js +20 -23
  9. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  10. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -3
  12. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  13. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  14. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  15. package/lib/components/QueryBuilderSideBar.js +3 -3
  16. package/lib/components/QueryBuilderSideBar.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 +1 -17
  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 +1 -1
  76. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
  77. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +8 -5
  78. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  79. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +6 -2
  80. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  81. package/lib/stores/QueryBuilderValueSpecificationHelper.js +12 -11
  82. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  83. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  84. package/lib/stores/explorer/QueryBuilderExplorerState.js +8 -9
  85. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  86. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  87. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +2 -4
  88. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  89. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  90. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +8 -10
  91. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  92. package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.d.ts → QueryBuilderTDSColumnState.d.ts} +1 -1
  93. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.d.ts.map +1 -0
  94. package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.js → QueryBuilderTDSColumnState.js} +1 -1
  95. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.js.map +1 -0
  96. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +1 -1
  97. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -1
  98. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +5 -5
  99. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  100. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
  101. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  102. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +1 -1
  103. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  104. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +1 -1
  105. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  106. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -1
  107. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js +3 -4
  108. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
  109. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
  110. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +2 -4
  111. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  112. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
  113. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +2 -4
  114. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  115. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
  116. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +4 -5
  117. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  118. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -1
  119. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +8 -11
  120. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  121. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -1
  122. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +2 -4
  123. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  124. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -1
  125. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +2 -4
  126. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  127. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByOperatorLoader.d.ts → QueryBuilderOLAPGroupByOperatorLoader_.d.ts} +3 -3
  128. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.d.ts.map +1 -0
  129. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js +36 -0
  130. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js.map +1 -0
  131. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.d.ts → QueryBuilderOLAPGroupByStateBuilder_.d.ts} +2 -2
  132. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.d.ts.map +1 -0
  133. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.js → QueryBuilderOLAPGroupByStateBuilder_.js} +8 -8
  134. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.js.map +1 -0
  135. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.d.ts → QueryBuilderOLAPGroupByState_.d.ts} +35 -35
  136. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.d.ts.map +1 -0
  137. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.js → QueryBuilderOLAPGroupByState_.js} +21 -21
  138. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.js.map +1 -0
  139. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts} +3 -3
  140. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts.map +1 -0
  141. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.js → QueryBuilderOLAPGroupByValueSpecificationBuilder_.js} +17 -19
  142. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.js.map +1 -0
  143. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts → QueryBuilderTDS_OLAPOperator.d.ts} +3 -3
  144. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts.map → QueryBuilderTDS_OLAPOperator.d.ts.map} +1 -1
  145. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.js → QueryBuilderTDS_OLAPOperator.js} +4 -4
  146. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js.map +1 -0
  147. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.d.ts → QueryBuilderTDS_OLAPOperator_Average.d.ts} +3 -3
  148. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.d.ts.map +1 -0
  149. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.js → QueryBuilderTDS_OLAPOperator_Average.js} +4 -4
  150. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.js.map +1 -0
  151. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.d.ts → QueryBuilderTDS_OLAPOperator_Count.d.ts} +3 -3
  152. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.d.ts.map +1 -0
  153. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.js → QueryBuilderTDS_OLAPOperator_Count.js} +4 -4
  154. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.js.map +1 -0
  155. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.d.ts → QueryBuilderTDS_OLAPOperator_Max.d.ts} +3 -3
  156. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.d.ts.map +1 -0
  157. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.js → QueryBuilderTDS_OLAPOperator_Max.js} +4 -4
  158. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.js.map +1 -0
  159. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.d.ts → QueryBuilderTDS_OLAPOperator_Min.d.ts} +3 -3
  160. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.d.ts.map +1 -0
  161. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.js → QueryBuilderTDS_OLAPOperator_Min.js} +4 -4
  162. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.js.map +1 -0
  163. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.d.ts → QueryBuilderTDS_OLAPOperator_Sum.d.ts} +3 -3
  164. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.d.ts.map +1 -0
  165. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.js → QueryBuilderTDS_OLAPOperator_Sum.js} +4 -4
  166. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.js.map +1 -0
  167. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts} +3 -3
  168. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts.map +1 -0
  169. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js → QueryBuilderTDS_OLAPRankOperator_AverageRank.js} +6 -4
  170. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js.map → QueryBuilderTDS_OLAPRankOperator_AverageRank.js.map} +1 -1
  171. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts} +3 -3
  172. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts.map +1 -0
  173. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js → QueryBuilderTDS_OLAPRankOperator_DenseRank.js} +6 -4
  174. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js.map → QueryBuilderTDS_OLAPRankOperator_DenseRank.js.map} +1 -1
  175. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.d.ts → QueryBuilderTDS_OLAPRankOperator_Rank.d.ts} +3 -3
  176. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.d.ts.map +1 -0
  177. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js → QueryBuilderTDS_OLAPRankOperator_Rank.js} +4 -4
  178. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js.map → QueryBuilderTDS_OLAPRankOperator_Rank.js.map} +1 -1
  179. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts} +3 -3
  180. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts.map +1 -0
  181. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js → QueryBuilderTDS_OLAPRankOperator_RowNumber.js} +6 -4
  182. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js.map → QueryBuilderTDS_OLAPRankOperator_RowNumber.js.map} +1 -1
  183. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +1 -1
  184. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  185. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +10 -10
  186. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  187. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -1
  188. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +4 -6
  189. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  190. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
  191. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -1
  192. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +5 -7
  193. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
  194. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  195. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +5 -7
  196. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  197. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  198. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -10
  199. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  200. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  201. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -10
  202. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  203. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  204. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +3 -7
  205. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  206. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
  207. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +3 -7
  208. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  209. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
  210. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +2 -3
  211. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  212. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  213. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -10
  214. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  215. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +1 -1
  216. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  217. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +5 -5
  218. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  219. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  220. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +16 -20
  221. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  222. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
  223. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +4 -6
  224. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  225. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  226. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +12 -15
  227. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  228. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  229. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -7
  230. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  231. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  232. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -7
  233. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  234. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  235. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +3 -5
  236. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  237. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  238. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +3 -5
  239. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  240. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  241. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +4 -7
  242. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  243. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  244. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -7
  245. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  246. package/lib/stores/shared/LambdaParameterState.d.ts +1 -2
  247. package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
  248. package/lib/stores/shared/LambdaParameterState.js +2 -22
  249. package/lib/stores/shared/LambdaParameterState.js.map +1 -1
  250. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  251. package/lib/stores/shared/ValueSpecificationEditorHelper.js +6 -7
  252. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  253. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +1 -2
  254. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  255. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -7
  256. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  257. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts.map +1 -1
  258. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
  259. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  260. package/package.json +12 -12
  261. package/src/components/QueryBuilder.tsx +2 -2
  262. package/src/components/QueryBuilderDiffPanel.tsx +4 -16
  263. package/src/components/QueryBuilderNavigationBlocker.tsx +4 -0
  264. package/src/components/QueryBuilderParametersPanel.tsx +51 -70
  265. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +1 -4
  266. package/src/components/QueryBuilderResultPanel.tsx +2 -1
  267. package/src/components/QueryBuilderSideBar.tsx +3 -3
  268. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +3 -13
  269. package/src/components/fetch-structure/{QueryBuilderOlapGroupByPanel.tsx → QueryBuilderOLAPGroupByPanel_.tsx} +168 -87
  270. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +4 -4
  271. package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +5 -5
  272. package/src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx +1 -1
  273. package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -10
  274. package/src/components/shared/CustomDatePicker.tsx +37 -47
  275. package/src/components/shared/LambdaParameterValuesEditor.tsx +4 -6
  276. package/src/components/watermark/QueryBuilderWatermark.tsx +16 -6
  277. package/src/graphManager/QueryBuilderHashUtils.ts +14 -14
  278. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +2 -2
  279. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +3 -4
  280. package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +18 -12
  281. package/src/stores/QueryBuilderMilestoningState.ts +4 -12
  282. package/src/stores/QueryBuilderPropertyEditorState.ts +15 -30
  283. package/src/stores/QueryBuilderResultState.ts +19 -22
  284. package/src/stores/QueryBuilderStateBuilder.ts +44 -78
  285. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +8 -33
  286. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +9 -10
  287. package/src/stores/QueryBuilderValueSpecificationHelper.ts +24 -25
  288. package/src/stores/explorer/QueryBuilderExplorerState.ts +6 -19
  289. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +2 -8
  290. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +5 -30
  291. package/src/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.ts → QueryBuilderTDSColumnState.ts} +0 -0
  292. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
  293. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +8 -8
  294. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +1 -1
  295. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts +2 -6
  296. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +2 -4
  297. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +2 -4
  298. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +2 -7
  299. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +10 -17
  300. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +2 -4
  301. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +2 -4
  302. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.ts +39 -0
  303. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.ts → QueryBuilderOLAPGroupByStateBuilder_.ts} +14 -14
  304. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.ts → QueryBuilderOLAPGroupByState_.ts} +51 -51
  305. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts} +28 -33
  306. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.ts → QueryBuilderTDS_OLAPOperator.ts} +4 -4
  307. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.ts → QueryBuilderTDS_OLAPOperator_Average.ts} +3 -3
  308. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.ts → QueryBuilderTDS_OLAPOperator_Count.ts} +3 -3
  309. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.ts → QueryBuilderTDS_OLAPOperator_Max.ts} +3 -3
  310. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.ts → QueryBuilderTDS_OLAPOperator_Min.ts} +3 -3
  311. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.ts → QueryBuilderTDS_OLAPOperator_Sum.ts} +3 -3
  312. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.ts} +5 -3
  313. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.ts} +5 -3
  314. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.ts → QueryBuilderTDS_OLAPRankOperator_Rank.ts} +3 -3
  315. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.ts} +5 -3
  316. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +11 -10
  317. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
  318. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -12
  319. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +8 -14
  320. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +5 -14
  321. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -12
  322. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -12
  323. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +1 -13
  324. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +3 -13
  325. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +2 -5
  326. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -12
  327. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +7 -11
  328. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +13 -44
  329. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -12
  330. package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +7 -28
  331. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -6
  332. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -6
  333. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -8
  334. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -8
  335. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +4 -8
  336. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -6
  337. package/src/stores/shared/LambdaParameterState.ts +0 -49
  338. package/src/stores/shared/ValueSpecificationEditorHelper.ts +2 -9
  339. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -29
  340. package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +0 -2
  341. package/tsconfig.json +16 -16
  342. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts.map +0 -1
  343. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js.map +0 -1
  344. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts.map +0 -1
  345. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js.map +0 -1
  346. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts.map +0 -1
  347. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js +0 -36
  348. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js.map +0 -1
  349. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts.map +0 -1
  350. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js.map +0 -1
  351. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts.map +0 -1
  352. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js.map +0 -1
  353. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts.map +0 -1
  354. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js.map +0 -1
  355. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js.map +0 -1
  356. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts.map +0 -1
  357. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js.map +0 -1
  358. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts.map +0 -1
  359. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js.map +0 -1
  360. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts.map +0 -1
  361. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js.map +0 -1
  362. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts.map +0 -1
  363. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js.map +0 -1
  364. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts.map +0 -1
  365. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js.map +0 -1
  366. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts.map +0 -1
  367. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts.map +0 -1
  368. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts.map +0 -1
  369. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts.map +0 -1
  370. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.ts +0 -39
@@ -24,7 +24,7 @@ import {
24
24
  } from '@finos/legend-shared';
25
25
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graphManager/QueryBuilderSupportedFunctions.js';
26
26
  import type { QueryBuilderTDSState } from './QueryBuilderTDSState.js';
27
- import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState_.js';
27
+ import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState.js';
28
28
  import { COLUMN_SORT_TYPE } from './QueryResultSetModifierState.js';
29
29
 
30
30
  export const findTDSColumnState = (
@@ -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
  };