@finos/legend-query-builder 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (369) hide show
  1. package/lib/components/QueryBuilder.js +2 -2
  2. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  3. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderParametersPanel.js +4 -5
  6. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  7. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  8. package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -3
  9. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  10. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  12. package/lib/components/QueryBuilderSideBar.js +3 -3
  13. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  14. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  15. package/lib/components/explorer/QueryBuilderExplorerPanel.js +2 -2
  16. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  17. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  18. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +3 -3
  19. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  20. package/lib/components/fetch-structure/{QueryBuilderOlapGroupByPanel.d.ts → QueryBuilderOLAPGroupByPanel_.d.ts} +3 -3
  21. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.d.ts.map +1 -0
  22. package/lib/components/fetch-structure/{QueryBuilderOlapGroupByPanel.js → QueryBuilderOLAPGroupByPanel_.js} +63 -25
  23. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.js.map +1 -0
  24. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
  25. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  26. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +3 -3
  27. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
  28. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts +1 -1
  29. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts.map +1 -1
  30. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  31. package/lib/components/shared/BasicValueSpecificationEditor.js +7 -8
  32. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  33. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  34. package/lib/components/shared/CustomDatePicker.js +30 -35
  35. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  36. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  37. package/lib/components/shared/LambdaParameterValuesEditor.js +3 -5
  38. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  39. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
  40. package/lib/components/watermark/QueryBuilderWatermark.js +6 -4
  41. package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
  42. package/lib/graphManager/QueryBuilderHashUtils.d.ts +14 -14
  43. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -1
  44. package/lib/graphManager/QueryBuilderHashUtils.js +14 -14
  45. package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -1
  46. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +2 -2
  47. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
  48. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +3 -3
  49. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  50. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -1
  51. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  52. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +7 -8
  53. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  54. package/lib/index.css +2 -2
  55. package/lib/index.css.map +1 -1
  56. package/lib/package.json +5 -5
  57. package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -1
  58. package/lib/stores/QueryBuilderMilestoningState.js +2 -2
  59. package/lib/stores/QueryBuilderMilestoningState.js.map +1 -1
  60. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +5 -0
  61. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  62. package/lib/stores/QueryBuilderPropertyEditorState.js +13 -22
  63. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  64. package/lib/stores/QueryBuilderResultState.d.ts +2 -1
  65. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  66. package/lib/stores/QueryBuilderResultState.js +14 -16
  67. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  68. package/lib/stores/QueryBuilderStateBuilder.d.ts +7 -13
  69. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  70. package/lib/stores/QueryBuilderStateBuilder.js +18 -36
  71. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  72. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  73. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +6 -22
  74. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  75. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
  76. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +3 -4
  77. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  78. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +6 -2
  79. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  80. package/lib/stores/QueryBuilderValueSpecificationHelper.js +12 -11
  81. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  82. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  83. package/lib/stores/explorer/QueryBuilderExplorerState.js +8 -9
  84. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  85. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  86. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +2 -4
  87. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  88. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  89. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +8 -10
  90. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  91. package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.d.ts → QueryBuilderTDSColumnState.d.ts} +1 -1
  92. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.d.ts.map +1 -0
  93. package/lib/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.js → QueryBuilderTDSColumnState.js} +1 -1
  94. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState.js.map +1 -0
  95. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +1 -1
  96. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -1
  97. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +5 -5
  98. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  99. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
  100. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  101. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +1 -1
  102. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  103. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +1 -1
  104. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  105. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -1
  106. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js +3 -4
  107. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
  108. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
  109. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +2 -4
  110. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  111. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
  112. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +2 -4
  113. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  114. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
  115. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +4 -5
  116. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  117. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -1
  118. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +8 -11
  119. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  120. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -1
  121. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +2 -4
  122. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  123. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -1
  124. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +2 -4
  125. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  126. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByOperatorLoader.d.ts → QueryBuilderOLAPGroupByOperatorLoader_.d.ts} +3 -3
  127. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.d.ts.map +1 -0
  128. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js +36 -0
  129. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js.map +1 -0
  130. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.d.ts → QueryBuilderOLAPGroupByStateBuilder_.d.ts} +2 -2
  131. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.d.ts.map +1 -0
  132. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.js → QueryBuilderOLAPGroupByStateBuilder_.js} +8 -8
  133. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.js.map +1 -0
  134. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.d.ts → QueryBuilderOLAPGroupByState_.d.ts} +35 -35
  135. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.d.ts.map +1 -0
  136. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.js → QueryBuilderOLAPGroupByState_.js} +21 -21
  137. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.js.map +1 -0
  138. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts} +3 -3
  139. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts.map +1 -0
  140. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.js → QueryBuilderOLAPGroupByValueSpecificationBuilder_.js} +17 -19
  141. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.js.map +1 -0
  142. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts → QueryBuilderTDS_OLAPOperator.d.ts} +3 -3
  143. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.d.ts.map → QueryBuilderTDS_OLAPOperator.d.ts.map} +1 -1
  144. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.js → QueryBuilderTDS_OLAPOperator.js} +4 -4
  145. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js.map +1 -0
  146. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.d.ts → QueryBuilderTDS_OLAPOperator_Average.d.ts} +3 -3
  147. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.d.ts.map +1 -0
  148. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.js → QueryBuilderTDS_OLAPOperator_Average.js} +4 -4
  149. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.js.map +1 -0
  150. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.d.ts → QueryBuilderTDS_OLAPOperator_Count.d.ts} +3 -3
  151. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.d.ts.map +1 -0
  152. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.js → QueryBuilderTDS_OLAPOperator_Count.js} +4 -4
  153. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.js.map +1 -0
  154. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.d.ts → QueryBuilderTDS_OLAPOperator_Max.d.ts} +3 -3
  155. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.d.ts.map +1 -0
  156. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.js → QueryBuilderTDS_OLAPOperator_Max.js} +4 -4
  157. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.js.map +1 -0
  158. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.d.ts → QueryBuilderTDS_OLAPOperator_Min.d.ts} +3 -3
  159. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.d.ts.map +1 -0
  160. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.js → QueryBuilderTDS_OLAPOperator_Min.js} +4 -4
  161. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.js.map +1 -0
  162. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.d.ts → QueryBuilderTDS_OLAPOperator_Sum.d.ts} +3 -3
  163. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.d.ts.map +1 -0
  164. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.js → QueryBuilderTDS_OLAPOperator_Sum.js} +4 -4
  165. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.js.map +1 -0
  166. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts} +3 -3
  167. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.d.ts.map +1 -0
  168. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js → QueryBuilderTDS_OLAPRankOperator_AverageRank.js} +6 -4
  169. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.js.map → QueryBuilderTDS_OLAPRankOperator_AverageRank.js.map} +1 -1
  170. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts} +3 -3
  171. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.d.ts.map +1 -0
  172. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js → QueryBuilderTDS_OLAPRankOperator_DenseRank.js} +6 -4
  173. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.js.map → QueryBuilderTDS_OLAPRankOperator_DenseRank.js.map} +1 -1
  174. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.d.ts → QueryBuilderTDS_OLAPRankOperator_Rank.d.ts} +3 -3
  175. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.d.ts.map +1 -0
  176. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js → QueryBuilderTDS_OLAPRankOperator_Rank.js} +4 -4
  177. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.js.map → QueryBuilderTDS_OLAPRankOperator_Rank.js.map} +1 -1
  178. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts} +3 -3
  179. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.d.ts.map +1 -0
  180. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js → QueryBuilderTDS_OLAPRankOperator_RowNumber.js} +6 -4
  181. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.js.map → QueryBuilderTDS_OLAPRankOperator_RowNumber.js.map} +1 -1
  182. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +1 -1
  183. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  184. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +10 -10
  185. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  186. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -1
  187. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +4 -6
  188. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  189. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
  190. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -1
  191. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +5 -7
  192. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
  193. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  194. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +5 -7
  195. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  196. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  197. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -10
  198. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  199. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  200. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -10
  201. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  202. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  203. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +3 -7
  204. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  205. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
  206. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +3 -7
  207. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  208. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
  209. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +2 -3
  210. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  211. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  212. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -10
  213. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  214. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +1 -1
  215. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  216. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +5 -5
  217. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  218. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  219. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +14 -18
  220. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  221. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
  222. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +4 -6
  223. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  224. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  225. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +10 -13
  226. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  227. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  228. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -7
  229. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  230. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  231. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -7
  232. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  233. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  234. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +3 -5
  235. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  236. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  237. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +3 -5
  238. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  239. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  240. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +4 -7
  241. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  242. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  243. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -7
  244. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  245. package/lib/stores/shared/LambdaParameterState.d.ts +1 -2
  246. package/lib/stores/shared/LambdaParameterState.d.ts.map +1 -1
  247. package/lib/stores/shared/LambdaParameterState.js +2 -22
  248. package/lib/stores/shared/LambdaParameterState.js.map +1 -1
  249. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  250. package/lib/stores/shared/ValueSpecificationEditorHelper.js +6 -7
  251. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  252. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +1 -2
  253. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  254. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -7
  255. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  256. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts.map +1 -1
  257. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
  258. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  259. package/package.json +12 -12
  260. package/src/components/QueryBuilder.tsx +2 -2
  261. package/src/components/QueryBuilderDiffPanel.tsx +4 -16
  262. package/src/components/QueryBuilderParametersPanel.tsx +14 -23
  263. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +1 -4
  264. package/src/components/QueryBuilderResultPanel.tsx +2 -1
  265. package/src/components/QueryBuilderSideBar.tsx +3 -3
  266. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +4 -2
  267. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +3 -13
  268. package/src/components/fetch-structure/{QueryBuilderOlapGroupByPanel.tsx → QueryBuilderOLAPGroupByPanel_.tsx} +168 -87
  269. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +4 -4
  270. package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +5 -5
  271. package/src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx +1 -1
  272. package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -10
  273. package/src/components/shared/CustomDatePicker.tsx +37 -47
  274. package/src/components/shared/LambdaParameterValuesEditor.tsx +4 -6
  275. package/src/components/watermark/QueryBuilderWatermark.tsx +16 -6
  276. package/src/graphManager/QueryBuilderHashUtils.ts +14 -14
  277. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +2 -2
  278. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +3 -4
  279. package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +18 -12
  280. package/src/stores/QueryBuilderMilestoningState.ts +4 -12
  281. package/src/stores/QueryBuilderPropertyEditorState.ts +15 -30
  282. package/src/stores/QueryBuilderResultState.ts +19 -22
  283. package/src/stores/QueryBuilderStateBuilder.ts +44 -78
  284. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +8 -33
  285. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +2 -10
  286. package/src/stores/QueryBuilderValueSpecificationHelper.ts +24 -25
  287. package/src/stores/explorer/QueryBuilderExplorerState.ts +6 -19
  288. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +2 -8
  289. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +5 -30
  290. package/src/stores/fetch-structure/tds/{QueryBuilderTDSColumnState_.ts → QueryBuilderTDSColumnState.ts} +0 -0
  291. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
  292. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +8 -8
  293. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +1 -1
  294. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts +2 -6
  295. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +2 -4
  296. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +2 -4
  297. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +2 -7
  298. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +10 -17
  299. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +2 -4
  300. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +2 -4
  301. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.ts +39 -0
  302. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByStateBuilder.ts → QueryBuilderOLAPGroupByStateBuilder_.ts} +14 -14
  303. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByState.ts → QueryBuilderOLAPGroupByState_.ts} +51 -51
  304. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOlapGroupByValueSpecificationBuilder.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts} +28 -33
  305. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_.ts → QueryBuilderTDS_OLAPOperator.ts} +4 -4
  306. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Average.ts → QueryBuilderTDS_OLAPOperator_Average.ts} +3 -3
  307. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Count.ts → QueryBuilderTDS_OLAPOperator_Count.ts} +3 -3
  308. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Max.ts → QueryBuilderTDS_OLAPOperator_Max.ts} +3 -3
  309. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Min.ts → QueryBuilderTDS_OLAPOperator_Min.ts} +3 -3
  310. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapOperator_Sum.ts → QueryBuilderTDS_OLAPOperator_Sum.ts} +3 -3
  311. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_AverageRank_.ts → QueryBuilderTDS_OLAPRankOperator_AverageRank.ts} +5 -3
  312. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_DenseRank_.ts → QueryBuilderTDS_OLAPRankOperator_DenseRank.ts} +5 -3
  313. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_Rank_.ts → QueryBuilderTDS_OLAPRankOperator_Rank.ts} +3 -3
  314. package/src/stores/fetch-structure/tds/olapGroupBy/operators/{QueryBuilderTDSOlapRankOperator_RowNumber_.ts → QueryBuilderTDS_OLAPRankOperator_RowNumber.ts} +5 -3
  315. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +11 -10
  316. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
  317. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -12
  318. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +8 -14
  319. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +5 -14
  320. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -12
  321. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -12
  322. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +1 -13
  323. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +3 -13
  324. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +2 -5
  325. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -12
  326. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +7 -11
  327. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +11 -44
  328. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -12
  329. package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +5 -28
  330. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -6
  331. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -6
  332. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -8
  333. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -8
  334. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +4 -8
  335. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -6
  336. package/src/stores/shared/LambdaParameterState.ts +0 -49
  337. package/src/stores/shared/ValueSpecificationEditorHelper.ts +2 -9
  338. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -29
  339. package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +0 -2
  340. package/tsconfig.json +16 -16
  341. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts.map +0 -1
  342. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js.map +0 -1
  343. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts.map +0 -1
  344. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js.map +0 -1
  345. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts.map +0 -1
  346. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js +0 -36
  347. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js.map +0 -1
  348. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts.map +0 -1
  349. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js.map +0 -1
  350. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts.map +0 -1
  351. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js.map +0 -1
  352. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts.map +0 -1
  353. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js.map +0 -1
  354. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js.map +0 -1
  355. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts.map +0 -1
  356. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js.map +0 -1
  357. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts.map +0 -1
  358. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js.map +0 -1
  359. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts.map +0 -1
  360. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js.map +0 -1
  361. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts.map +0 -1
  362. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js.map +0 -1
  363. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts.map +0 -1
  364. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js.map +0 -1
  365. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts.map +0 -1
  366. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts.map +0 -1
  367. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts.map +0 -1
  368. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts.map +0 -1
  369. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.ts +0 -39
@@ -47,18 +47,18 @@ import { assertErrorThrown, guaranteeNonNullable } from '@finos/legend-shared';
47
47
  import { observer } from 'mobx-react-lite';
48
48
  import { forwardRef, useCallback, useRef, useState } from 'react';
49
49
  import { type DropTargetMonitor, useDrag, useDrop } from 'react-dnd';
50
- import type { QueryBuilderTDSOlapOperator } from '../../stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js';
50
+ import type { QueryBuilderTDS_OLAPOperator } from '../../stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.js';
51
51
  import {
52
- type QueryBuilderOlapGroupByState,
53
- type QueryBuilderOlapDropTarget,
54
- type QueryBuilderOlapColumnDragSource,
55
- QueryBuilderOlapGroupByColumnState,
56
- QueryBuilderTDSOlapRankOperatorState,
57
- QueryBuilderTDSOlapAggreationOperatorState,
52
+ type QueryBuilderOLAPGroupByState,
53
+ type QueryBuilderOLAPDropTarget,
54
+ type QueryBuilderOLAPColumnDragSource,
55
+ QueryBuilderOLAPGroupByColumnState,
56
+ QueryBuilderTDS_OLAPRankOperatorState,
57
+ QueryBuilderTDS_OLAPAggreationOperatorState,
58
58
  QUERY_BUILDER_OLAP_COLUMN_DND_TYPE,
59
- } from '../../stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js';
59
+ } from '../../stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.js';
60
60
  import { QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
61
- import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js';
61
+ import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState.js';
62
62
  import type { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
63
63
  import { COLUMN_SORT_TYPE } from '../../stores/fetch-structure/tds/QueryResultSetModifierState.js';
64
64
  import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
@@ -67,7 +67,7 @@ import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
67
67
  const createOlapColumnState = (
68
68
  columnState: QueryBuilderTDSColumnState,
69
69
  tdsState: QueryBuilderTDSState,
70
- ): QueryBuilderOlapGroupByColumnState => {
70
+ ): QueryBuilderOLAPGroupByColumnState => {
71
71
  const operator = tdsState.olapGroupByState.operators.filter(
72
72
  (o) =>
73
73
  o.isColumnAggregator() &&
@@ -79,12 +79,12 @@ const createOlapColumnState = (
79
79
  )[0],
80
80
  );
81
81
  if (operator) {
82
- const opState = new QueryBuilderTDSOlapAggreationOperatorState(
82
+ const opState = new QueryBuilderTDS_OLAPAggreationOperatorState(
83
83
  tdsState.olapGroupByState,
84
84
  operator,
85
85
  columnState,
86
86
  );
87
- return new QueryBuilderOlapGroupByColumnState(
87
+ return new QueryBuilderOLAPGroupByColumnState(
88
88
  tdsState.olapGroupByState,
89
89
  [],
90
90
  undefined,
@@ -92,11 +92,11 @@ const createOlapColumnState = (
92
92
  `${operator.getLabel()} ${columnState.columnName}`,
93
93
  );
94
94
  } else {
95
- return new QueryBuilderOlapGroupByColumnState(
95
+ return new QueryBuilderOLAPGroupByColumnState(
96
96
  tdsState.olapGroupByState,
97
97
  [columnState],
98
98
  undefined,
99
- new QueryBuilderTDSOlapRankOperatorState(
99
+ new QueryBuilderTDS_OLAPRankOperatorState(
100
100
  tdsState.olapGroupByState,
101
101
  nonColoperator,
102
102
  ),
@@ -109,7 +109,7 @@ const QueryBuilderOlapGroupByColumnContextMenu = observer(
109
109
  forwardRef<
110
110
  HTMLDivElement,
111
111
  {
112
- columnState: QueryBuilderOlapGroupByColumnState;
112
+ columnState: QueryBuilderOLAPGroupByColumnState;
113
113
  }
114
114
  >(function QueryBuilderOlapGroupByColumnContextMenu(props, ref) {
115
115
  const { columnState } = props;
@@ -178,8 +178,8 @@ const TDSColumnSelectorEditor = observer(
178
178
 
179
179
  const QueryBuilderOlapColumnModalEditor = observer(
180
180
  (props: {
181
- olapGroupByState: QueryBuilderOlapGroupByState;
182
- olapColumnState: QueryBuilderOlapGroupByColumnState;
181
+ olapGroupByState: QueryBuilderOLAPGroupByState;
182
+ olapColumnState: QueryBuilderOLAPGroupByColumnState;
183
183
  }) => {
184
184
  const { olapGroupByState, olapColumnState } = props;
185
185
  const createNewOlap =
@@ -209,14 +209,14 @@ const QueryBuilderOlapColumnModalEditor = observer(
209
209
  const operators = olapGroupByState.operators;
210
210
  const operationState = olapColumnState.operationState;
211
211
  const olapOpColumn =
212
- operationState instanceof QueryBuilderTDSOlapAggreationOperatorState
212
+ operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
213
213
  ? operationState.columnState
214
214
  : undefined;
215
215
  const changeOperatorCol = (
216
216
  val: { label: string; value: QueryBuilderTDSColumnState } | null,
217
217
  ): void => {
218
218
  if (
219
- operationState instanceof QueryBuilderTDSOlapAggreationOperatorState
219
+ operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
220
220
  ) {
221
221
  if (val !== null) {
222
222
  operationState.setColumnState(val.value);
@@ -224,7 +224,7 @@ const QueryBuilderOlapColumnModalEditor = observer(
224
224
  }
225
225
  };
226
226
  const changeOperator =
227
- (olapOp: QueryBuilderTDSOlapOperator) => (): void => {
227
+ (olapOp: QueryBuilderTDS_OLAPOperator) => (): void => {
228
228
  olapColumnState.changeOperator(olapOp);
229
229
  };
230
230
  // window
@@ -232,7 +232,7 @@ const QueryBuilderOlapColumnModalEditor = observer(
232
232
  (e) => !olapColumnState.windowColumns.includes(e),
233
233
  );
234
234
  const create = (): void => {
235
- olapGroupByState.addOlapColumn(olapColumnState);
235
+ olapGroupByState.addOLAPColumn(olapColumnState);
236
236
  close();
237
237
  };
238
238
  const addWindowValue = (): void => {
@@ -264,7 +264,16 @@ const QueryBuilderOlapColumnModalEditor = observer(
264
264
  paper: 'editor-modal__content',
265
265
  }}
266
266
  >
267
- <Modal darkMode={true} className="query-builder__olap__modal">
267
+ <Modal
268
+ darkMode={true}
269
+ className={clsx([
270
+ 'query-builder__olap__modal',
271
+ {
272
+ 'query-editor--light':
273
+ applicationStore.TEMPORARY__isLightThemeEnabled,
274
+ },
275
+ ])}
276
+ >
268
277
  <ModalHeader
269
278
  title={
270
279
  createNewOlap
@@ -273,23 +282,6 @@ const QueryBuilderOlapColumnModalEditor = observer(
273
282
  }
274
283
  />
275
284
  <div className="query-builder__olap__modal__body">
276
- <PanelFormSection>
277
- <div className="panel__content__form__section__header__label">
278
- OLAP Column Name
279
- </div>
280
- <div className="panel__content__form__section__header__prompt">
281
- Name of OLAP Column that will be part of TDS Result
282
- </div>
283
- <InputWithInlineValidation
284
- className="query-builder__olap__column__name__input input-group__input"
285
- spellCheck={false}
286
- value={olapColumnState.columnName}
287
- onChange={changeColumnName}
288
- validationErrorMessage={
289
- isDuplicatedColumnName ? 'Duplicated column' : undefined
290
- }
291
- />
292
- </PanelFormSection>
293
285
  <PanelFormSection>
294
286
  <div className="panel__content__form__section__header__label">
295
287
  OLAP Operator
@@ -478,7 +470,7 @@ const QueryBuilderOlapColumnModalEditor = observer(
478
470
  elevation: 7,
479
471
  }}
480
472
  >
481
- <button
473
+ <div
482
474
  className={clsx(
483
475
  'query-builder__olap__column__sortby__operator__badge',
484
476
  {
@@ -490,18 +482,36 @@ const QueryBuilderOlapColumnModalEditor = observer(
490
482
  title="Choose OLAP SortBy Operator..."
491
483
  >
492
484
  <SortIcon />
493
- </button>
494
- <button
485
+ </div>
486
+ <div
495
487
  className="query-builder__olap__column__sortby__operator__dropdown__trigger"
496
488
  tabIndex={-1}
497
489
  title="Choose OLAP SortBy Operator..."
498
490
  >
499
491
  <CaretDownIcon />
500
- </button>
492
+ </div>
501
493
  </DropdownMenu>
502
494
  </div>
503
495
  </div>
504
496
  </PanelFormSection>
497
+
498
+ <PanelFormSection>
499
+ <div className="panel__content__form__section__header__label">
500
+ OLAP Column Name
501
+ </div>
502
+ <div className="panel__content__form__section__header__prompt">
503
+ Name of OLAP Column that will be part of TDS Result
504
+ </div>
505
+ <InputWithInlineValidation
506
+ className="query-builder__olap__column__name__input input-group__input"
507
+ spellCheck={false}
508
+ value={olapColumnState.columnName}
509
+ onChange={changeColumnName}
510
+ validationErrorMessage={
511
+ isDuplicatedColumnName ? 'Duplicated column' : undefined
512
+ }
513
+ />
514
+ </PanelFormSection>
505
515
  </div>
506
516
  <ModalFooter>
507
517
  {createNewOlap ? (
@@ -524,16 +534,48 @@ const TDSColumnReferenceEditor = observer(
524
534
  (props: {
525
535
  tdsColumn: QueryBuilderTDSColumnState;
526
536
  handleChange: (val: QueryBuilderTDSColumnState) => void;
537
+ selectionEditor?: {
538
+ options: QueryBuilderTDSColumnState[];
539
+ };
527
540
  }) => {
528
- const { handleChange, tdsColumn } = props;
541
+ const { handleChange, tdsColumn, selectionEditor } = props;
542
+ const applicationStore = useApplicationStore();
543
+ const [opAnchor, setOpAnchor] = useState<HTMLButtonElement | null>(null);
544
+ const openOpAnchor = (event: React.MouseEvent<HTMLButtonElement>): void => {
545
+ if (selectionEditor) {
546
+ setOpAnchor(event.currentTarget);
547
+ }
548
+ };
549
+ const closeOpAnchor = (): void => {
550
+ setOpAnchor(null);
551
+ };
552
+
553
+ const value = {
554
+ label: tdsColumn.columnName,
555
+ value: tdsColumn,
556
+ };
557
+
558
+ const options =
559
+ selectionEditor?.options.map((col) => ({
560
+ label: col.columnName,
561
+ value: col,
562
+ })) ?? [];
563
+ const onChange = (
564
+ val: { label: string; value: QueryBuilderTDSColumnState } | null,
565
+ ): void => {
566
+ if (val !== null) {
567
+ handleChange(val.value);
568
+ }
569
+ };
570
+
529
571
  const handleDrop = useCallback(
530
- (item: QueryBuilderOlapColumnDragSource): void => {
572
+ (item: QueryBuilderOLAPColumnDragSource): void => {
531
573
  handleChange(item.columnState);
532
574
  },
533
575
  [handleChange],
534
576
  );
535
577
  const [{ isDragOver }, dropOpConnector] = useDrop<
536
- QueryBuilderOlapColumnDragSource,
578
+ QueryBuilderOLAPColumnDragSource,
537
579
  void,
538
580
  { isDragOver: boolean }
539
581
  >(
@@ -555,50 +597,85 @@ const TDSColumnReferenceEditor = observer(
555
597
  );
556
598
 
557
599
  return (
558
- <div className="query-builder__olap__tds__column">
559
- <div
560
- ref={dropOpConnector}
561
- className="query-builder__olap__tds__column-badge"
600
+ <>
601
+ <button
602
+ onClick={openOpAnchor}
603
+ className="query-builder__olap__tds__column"
562
604
  >
563
- <PanelEntryDropZonePlaceholder
564
- showPlaceholder={isDragOver}
565
- label="Change Column"
566
- className="query-builder__dnd__placeholder"
605
+ <div
606
+ ref={dropOpConnector}
607
+ className="query-builder__olap__tds__column-badge"
567
608
  >
568
- <div className="query-builder__olap__tds__column-badge__content">
569
- <div
570
- className="query-builder__olap__tds__column-badge__property"
571
- title={`${tdsColumn.columnName}`}
572
- >
573
- {tdsColumn.columnName}
609
+ <PanelEntryDropZonePlaceholder
610
+ showPlaceholder={isDragOver}
611
+ label="Change Column"
612
+ className="query-builder__dnd__placeholder"
613
+ >
614
+ <div className="query-builder__olap__tds__column-badge__content">
615
+ <div
616
+ className="query-builder__olap__tds__column-badge__property"
617
+ title={`${tdsColumn.columnName}`}
618
+ >
619
+ {tdsColumn.columnName}
620
+ </div>
621
+ </div>
622
+ </PanelEntryDropZonePlaceholder>
623
+ </div>
624
+ </button>
625
+ {selectionEditor && (
626
+ <BasePopover
627
+ open={Boolean(opAnchor)}
628
+ anchorEl={opAnchor}
629
+ onClose={closeOpAnchor}
630
+ anchorOrigin={{
631
+ vertical: 'bottom',
632
+ horizontal: 'center',
633
+ }}
634
+ transformOrigin={{
635
+ vertical: 'top',
636
+ horizontal: 'center',
637
+ }}
638
+ >
639
+ <div className="query-builder__olap__column__window__popover">
640
+ <div className="panel__content__form__section__list__item query-builder__olap__tds__column__options">
641
+ <CustomSelectorInput
642
+ className="query-builder__projection__options__sort__dropdown"
643
+ options={options}
644
+ disabled={options.length < 1}
645
+ onChange={onChange}
646
+ value={value}
647
+ darkMode={!applicationStore.TEMPORARY__isLightThemeEnabled}
648
+ />
574
649
  </div>
575
650
  </div>
576
- </PanelEntryDropZonePlaceholder>
577
- </div>
578
- </div>
651
+ </BasePopover>
652
+ )}
653
+ </>
579
654
  );
580
655
  },
581
656
  );
582
657
 
583
658
  const QueryBuilderOlapGroupByColumnEditor = observer(
584
- (props: { olapColumnState: QueryBuilderOlapGroupByColumnState }) => {
659
+ (props: { olapColumnState: QueryBuilderOLAPGroupByColumnState }) => {
585
660
  const { olapColumnState } = props;
586
661
  const olapState = olapColumnState.olapState;
587
662
  const tdsState = olapState.tdsState;
588
663
  const operators = olapState.operators;
589
664
  // state
590
665
  const ref = useRef<HTMLDivElement>(null);
591
- const [anchorEl, setAnchorEl] = useState<HTMLButtonElement | null>(null);
592
- const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] =
593
- useState(false);
666
+ const [windowAnchor, setWindowAnchor] = useState<HTMLButtonElement | null>(
667
+ null,
668
+ );
594
669
  const openWindowPopover = (
595
670
  event: React.MouseEvent<HTMLButtonElement>,
596
671
  ): void => {
597
- setAnchorEl(event.currentTarget);
672
+ setWindowAnchor(event.currentTarget);
598
673
  };
599
674
  const closeWindowPopover = (): void => {
600
- setAnchorEl(null);
675
+ setWindowAnchor(null);
601
676
  };
677
+ const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] =
678
+ useState(false);
602
679
  const onContextMenuOpen = (): void => setIsSelectedFromContextMenu(true);
603
680
  const onContextMenuClose = (): void => setIsSelectedFromContextMenu(false);
604
681
 
@@ -622,12 +699,12 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
622
699
  // operator
623
700
  const operationState = olapColumnState.operationState;
624
701
  const aggregateColumn =
625
- operationState instanceof QueryBuilderTDSOlapAggreationOperatorState
702
+ operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
626
703
  ? operationState.columnState
627
704
  : undefined;
628
705
 
629
706
  const changeOperator =
630
- (olapOp: QueryBuilderTDSOlapOperator) => (): void => {
707
+ (olapOp: QueryBuilderTDS_OLAPOperator) => (): void => {
631
708
  olapColumnState.changeOperator(olapOp);
632
709
  };
633
710
 
@@ -649,7 +726,7 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
649
726
  // Drag and Drop
650
727
  const handleHover = useCallback(
651
728
  (
652
- item: QueryBuilderOlapColumnDragSource,
729
+ item: QueryBuilderOLAPColumnDragSource,
653
730
  monitor: DropTargetMonitor,
654
731
  ): void => {
655
732
  const dragIndex = tdsState.olapGroupByState.olapColumns.findIndex(
@@ -678,7 +755,7 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
678
755
  },
679
756
  [olapColumnState, olapState, tdsState.olapGroupByState.olapColumns],
680
757
  );
681
- const [, dropConnector] = useDrop<QueryBuilderOlapColumnDragSource>(
758
+ const [, dropConnector] = useDrop<QueryBuilderOLAPColumnDragSource>(
682
759
  () => ({
683
760
  accept: [QUERY_BUILDER_OLAP_COLUMN_DND_TYPE],
684
761
  hover: (item, monitor): void => handleHover(item, monitor),
@@ -687,12 +764,10 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
687
764
  );
688
765
  const [{ olapColumnBeingDragged }, dragConnector, dragPreviewConnector] =
689
766
  useDrag<
690
- QueryBuilderOlapColumnDragSource,
767
+ QueryBuilderOLAPColumnDragSource,
691
768
  void,
692
769
  {
693
- olapColumnBeingDragged:
694
- | QueryBuilderOlapGroupByColumnState
695
- | undefined;
770
+ olapColumnBeingDragged: QueryBuilderTDSColumnState | undefined;
696
771
  }
697
772
  >(
698
773
  () => ({
@@ -706,7 +781,7 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
706
781
  */
707
782
  olapColumnBeingDragged:
708
783
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
709
- (monitor.getItem() as QueryBuilderOlapColumnDragSource | null)
784
+ (monitor.getItem() as QueryBuilderOLAPColumnDragSource | null)
710
785
  ?.columnState,
711
786
  }),
712
787
  }),
@@ -718,7 +793,7 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
718
793
 
719
794
  const handleOpDrop = (val: QueryBuilderTDSColumnState): void => {
720
795
  if (
721
- operationState instanceof QueryBuilderTDSOlapAggreationOperatorState
796
+ operationState instanceof QueryBuilderTDS_OLAPAggreationOperatorState
722
797
  ) {
723
798
  operationState.setColumnState(val);
724
799
  }
@@ -729,7 +804,7 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
729
804
  }
730
805
  };
731
806
  const handleWindowDrop = useCallback(
732
- (item: QueryBuilderOlapColumnDragSource): void => {
807
+ (item: QueryBuilderOLAPColumnDragSource): void => {
733
808
  const colState = item.columnState;
734
809
  if (
735
810
  olapColumnState.possibleReferencedColumns.includes(colState) &&
@@ -741,7 +816,7 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
741
816
  [olapColumnState],
742
817
  );
743
818
  const [{ isDragOver }, dropOpConnector] = useDrop<
744
- QueryBuilderOlapColumnDragSource,
819
+ QueryBuilderOLAPColumnDragSource,
745
820
  void,
746
821
  { isDragOver: boolean }
747
822
  >(
@@ -804,6 +879,9 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
804
879
  <TDSColumnReferenceEditor
805
880
  tdsColumn={aggregateColumn}
806
881
  handleChange={handleOpDrop}
882
+ selectionEditor={{
883
+ options: olapColumnState.possibleReferencedColumns,
884
+ }}
807
885
  />
808
886
  )}
809
887
  <DropdownMenu
@@ -875,8 +953,8 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
875
953
  </PanelEntryDropZonePlaceholder>
876
954
  </button>
877
955
  <BasePopover
878
- open={Boolean(anchorEl)}
879
- anchorEl={anchorEl}
956
+ open={Boolean(windowAnchor)}
957
+ anchorEl={windowAnchor}
880
958
  onClose={closeWindowPopover}
881
959
  anchorOrigin={{
882
960
  vertical: 'bottom',
@@ -929,6 +1007,9 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
929
1007
  <TDSColumnReferenceEditor
930
1008
  tdsColumn={sortByState.columnState}
931
1009
  handleChange={handleSortDrop}
1010
+ selectionEditor={{
1011
+ options: olapColumnState.possibleReferencedColumns,
1012
+ }}
932
1013
  />
933
1014
  )}
934
1015
  {!sortByState && (
@@ -1029,7 +1110,7 @@ const QueryBuilderOlapGroupByColumnEditor = observer(
1029
1110
  );
1030
1111
 
1031
1112
  export const QueryBuilderOlapGroupByPanel = observer(
1032
- (props: { olapGroupByState: QueryBuilderOlapGroupByState }) => {
1113
+ (props: { olapGroupByState: QueryBuilderOLAPGroupByState }) => {
1033
1114
  const { olapGroupByState } = props;
1034
1115
  const applicationStore = useApplicationStore();
1035
1116
  const createOlapGroupBy = (): void => {
@@ -1044,13 +1125,13 @@ export const QueryBuilderOlapGroupByPanel = observer(
1044
1125
  };
1045
1126
  // Drag and Drop
1046
1127
  const handleDrop = useCallback(
1047
- async (item: QueryBuilderOlapDropTarget): Promise<void> => {
1128
+ async (item: QueryBuilderOLAPDropTarget): Promise<void> => {
1048
1129
  try {
1049
1130
  const newOlapState = createOlapColumnState(
1050
1131
  item.columnState,
1051
1132
  olapGroupByState.tdsState,
1052
1133
  );
1053
- olapGroupByState.addOlapColumn(newOlapState);
1134
+ olapGroupByState.addOLAPColumn(newOlapState);
1054
1135
  } catch (error) {
1055
1136
  assertErrorThrown(error);
1056
1137
  applicationStore.notifyError(error.message);
@@ -1060,7 +1141,7 @@ export const QueryBuilderOlapGroupByPanel = observer(
1060
1141
  [applicationStore, olapGroupByState],
1061
1142
  );
1062
1143
  const [{ isDragOver }, dropTargetConnector] = useDrop<
1063
- QueryBuilderOlapDropTarget,
1144
+ QueryBuilderOLAPDropTarget,
1064
1145
  void,
1065
1146
  { isDragOver: boolean }
1066
1147
  >(
@@ -93,10 +93,10 @@ import {
93
93
  renderPropertyTypeIcon,
94
94
  } from './QueryBuilderTDSComponentHelper.js';
95
95
  import {
96
- type QueryBuilderOlapColumnDragSource,
96
+ type QueryBuilderOLAPColumnDragSource,
97
97
  QUERY_BUILDER_OLAP_COLUMN_DND_TYPE,
98
- } from '../../stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js';
99
- import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js';
98
+ } from '../../stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.js';
99
+ import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState.js';
100
100
 
101
101
  const QueryBuilderPostFilterConditionContextMenu = observer(
102
102
  forwardRef<
@@ -492,7 +492,7 @@ const QueryBuilderPostFilterTreeNodeContainer = observer(
492
492
  const columnState = (
493
493
  item as
494
494
  | QueryBuilderProjectionColumnDragSource
495
- | QueryBuilderOlapColumnDragSource
495
+ | QueryBuilderOLAPColumnDragSource
496
496
  ).columnState as QueryBuilderTDSColumnState;
497
497
  let conditionState: PostFilterConditionState;
498
498
  try {
@@ -21,7 +21,7 @@ import {
21
21
  ResizablePanelSplitter,
22
22
  } from '@finos/legend-art';
23
23
  import { QueryBuilderFilterPanel } from '../filter/QueryBuilderFilterPanel.js';
24
- import { QueryBuilderOlapGroupByPanel } from './QueryBuilderOlapGroupByPanel.js';
24
+ import { QueryBuilderOlapGroupByPanel } from './QueryBuilderOLAPGroupByPanel_.js';
25
25
  import { QueryBuilderPostFilterPanel } from './QueryBuilderPostFilterPanel.js';
26
26
  import type { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
27
27
 
@@ -29,7 +29,7 @@ export const QueryBuilderPostTDSPanel = observer(
29
29
  (props: { tdsState: QueryBuilderTDSState }) => {
30
30
  const { tdsState } = props;
31
31
  const showFilterPanel = tdsState.queryBuilderState.filterState.showPanel;
32
- const showOlapGroupByPanel = tdsState.showOlapGroupByPanel;
32
+ const showOLAPGroupByPanel = tdsState.showOlapGroupByPanel;
33
33
  const showPostFilterPanel = tdsState.showPostFilterPanel;
34
34
  if (!tdsState.TEMPORARY__showPostFetchStructurePanel) {
35
35
  return null;
@@ -43,17 +43,17 @@ export const QueryBuilderPostTDSPanel = observer(
43
43
  />
44
44
  </ResizablePanel>
45
45
  )}
46
- {showFilterPanel && (showOlapGroupByPanel || showPostFilterPanel) && (
46
+ {showFilterPanel && (showOLAPGroupByPanel || showPostFilterPanel) && (
47
47
  <ResizablePanelSplitter />
48
48
  )}
49
- {showOlapGroupByPanel && (
49
+ {showOLAPGroupByPanel && (
50
50
  <ResizablePanel minSize={40}>
51
51
  <QueryBuilderOlapGroupByPanel
52
52
  olapGroupByState={tdsState.olapGroupByState}
53
53
  />
54
54
  </ResizablePanel>
55
55
  )}
56
- {showOlapGroupByPanel && showPostFilterPanel && (
56
+ {showOLAPGroupByPanel && showPostFilterPanel && (
57
57
  <ResizablePanelSplitter />
58
58
  )}
59
59
  {showPostFilterPanel && (
@@ -32,7 +32,7 @@ import {
32
32
  import { returnUndefOnError } from '@finos/legend-shared';
33
33
  import type { QueryBuilderAggregateColumnState } from '../../stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js';
34
34
  import { getColumnMultiplicity } from '../../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js';
35
- import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js';
35
+ import type { QueryBuilderTDSColumnState } from '../../stores/fetch-structure/tds/QueryBuilderTDSColumnState.js';
36
36
 
37
37
  export const renderPropertyTypeIcon = (type: Type): React.ReactNode => {
38
38
  if (type instanceof PrimitiveType) {
@@ -41,7 +41,6 @@ import {
41
41
  SimpleFunctionExpression,
42
42
  VariableExpression,
43
43
  EnumValueExplicitReference,
44
- TYPICAL_MULTIPLICITY_TYPE,
45
44
  PrimitiveType,
46
45
  PRIMITIVE_TYPE,
47
46
  GenericTypeExplicitReference,
@@ -436,7 +435,6 @@ const stringifyValue = (values: ValueSpecification[]): string => {
436
435
  */
437
436
  const setCollectionValue = (
438
437
  valueSpecification: CollectionInstanceValue,
439
- graph: PureModel,
440
438
  expectedType: Type,
441
439
  value: string,
442
440
  ): void => {
@@ -444,9 +442,6 @@ const setCollectionValue = (
444
442
  instanceValue_setValues(valueSpecification, []);
445
443
  return;
446
444
  }
447
- const multiplicityOne = graph.getTypicalMultiplicity(
448
- TYPICAL_MULTIPLICITY_TYPE.ONE,
449
- );
450
445
  let result: unknown[] = [];
451
446
  const parseResult = CSVParser.parse<string[]>(value.trim(), {
452
447
  delimiter: ',',
@@ -476,7 +471,6 @@ const setCollectionValue = (
476
471
  GenericTypeExplicitReference.create(
477
472
  new GenericType(expectedType),
478
473
  ),
479
- multiplicityOne,
480
474
  );
481
475
  instanceValue_setValues(primitiveInstanceValue, [item.toString()]);
482
476
  return primitiveInstanceValue;
@@ -498,7 +492,6 @@ const setCollectionValue = (
498
492
  GenericTypeExplicitReference.create(
499
493
  new GenericType(expectedType),
500
494
  ),
501
- multiplicityOne,
502
495
  );
503
496
  instanceValue_setValues(primitiveInstanceValue, [item]);
504
497
  return primitiveInstanceValue;
@@ -521,7 +514,6 @@ const setCollectionValue = (
521
514
  }
522
515
  const enumValueInstanceValue = new EnumValueInstanceValue(
523
516
  GenericTypeExplicitReference.create(new GenericType(expectedType)),
524
- multiplicityOne,
525
517
  );
526
518
  instanceValue_setValues(enumValueInstanceValue, [
527
519
  EnumValueExplicitReference.create(_enum),
@@ -546,7 +538,6 @@ const CollectionValueInstanceValueEditor = observer(
546
538
  }) => {
547
539
  const {
548
540
  valueSpecification,
549
- graph,
550
541
  expectedType,
551
542
  className,
552
543
  resetValue,
@@ -572,7 +563,7 @@ const CollectionValueInstanceValueEditor = observer(
572
563
  const enableEdit = (): void => setEditable(true);
573
564
  const saveEdit = (): void => {
574
565
  setEditable(false);
575
- setCollectionValue(valueSpecification, graph, expectedType, text);
566
+ setCollectionValue(valueSpecification, expectedType, text);
576
567
  setText(stringifyValue(valueSpecification.values));
577
568
  setValueSpecification(valueSpecification);
578
569
  };