@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
@@ -19,7 +19,6 @@ import {
19
19
  type ValueSpecification,
20
20
  extractElementNameFromPath,
21
21
  SimpleFunctionExpression,
22
- TYPICAL_MULTIPLICITY_TYPE,
23
22
  } from '@finos/legend-graph';
24
23
  import { buildGenericLambdaFunctionInstanceValue } from '../QueryBuilderValueSpecificationHelper.js';
25
24
  import { fromGroupOperation } from '../QueryBuilderGroupOperationHelper.js';
@@ -40,13 +39,8 @@ const buildFilterConditionExpression = (
40
39
  node.condition,
41
40
  );
42
41
  } else if (node instanceof QueryBuilderFilterTreeGroupNodeData) {
43
- const multiplicityOne =
44
- filterState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
45
- TYPICAL_MULTIPLICITY_TYPE.ONE,
46
- );
47
42
  const func = new SimpleFunctionExpression(
48
43
  extractElementNameFromPath(fromGroupOperation(node.groupOperation)),
49
- multiplicityOne,
50
44
  );
51
45
  const clauses = node.childrenIds
52
46
  .map((e) => filterState.nodes.get(e))
@@ -71,7 +65,6 @@ const buildFilterConditionExpression = (
71
65
  const clause2 = currentClause;
72
66
  const groupClause = new SimpleFunctionExpression(
73
67
  extractElementNameFromPath(fromGroupOperation(node.groupOperation)),
74
- multiplicityOne,
75
68
  );
76
69
  groupClause.parametersValues = [clause1, clause2];
77
70
  currentClause = groupClause;
@@ -97,14 +90,9 @@ export const buildFilterExpression = (
97
90
  if (!filterConditionExpressions.length) {
98
91
  return undefined;
99
92
  }
100
- const multiplicityOne =
101
- filterState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
102
- TYPICAL_MULTIPLICITY_TYPE.ONE,
103
- );
104
93
  // main filter expression
105
94
  const filterExpression = new SimpleFunctionExpression(
106
95
  extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER),
107
- multiplicityOne,
108
96
  );
109
97
  // param [0]
110
98
  filterExpression.parametersValues.push(getAllFunc);
@@ -22,7 +22,7 @@ import {
22
22
  VariableExpression,
23
23
  AbstractPropertyExpression,
24
24
  SimpleFunctionExpression,
25
- TYPICAL_MULTIPLICITY_TYPE,
25
+ Multiplicity,
26
26
  } from '@finos/legend-graph';
27
27
  import {
28
28
  guaranteeType,
@@ -68,10 +68,6 @@ const buildFilterConditionExpressionWithExists = (
68
68
  filterConditionState: FilterConditionState,
69
69
  operatorFunctionFullPath: string,
70
70
  ): ValueSpecification => {
71
- const multiplicityOne =
72
- filterConditionState.filterState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
73
- TYPICAL_MULTIPLICITY_TYPE.ONE,
74
- );
75
71
  assertTrue(
76
72
  filterConditionState.propertyExpressionState.requiresExistsHandling,
77
73
  );
@@ -82,6 +78,7 @@ const buildFilterConditionExpressionWithExists = (
82
78
  buildPropertyExpressionChain(
83
79
  filterConditionState.propertyExpressionState.propertyExpression,
84
80
  filterConditionState.propertyExpressionState.queryBuilderState,
81
+ filterConditionState.filterState.lambdaParameterName,
85
82
  );
86
83
  while (
87
84
  currentPropertyExpression instanceof AbstractPropertyExpression ||
@@ -95,10 +92,9 @@ const buildFilterConditionExpressionWithExists = (
95
92
  if (currentPropertyExpression instanceof SimpleFunctionExpression) {
96
93
  exp = new SimpleFunctionExpression(
97
94
  extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE),
98
- multiplicityOne,
99
95
  );
100
96
  } else {
101
- exp = new AbstractPropertyExpression('', multiplicityOne);
97
+ exp = new AbstractPropertyExpression('');
102
98
  exp.func = currentPropertyExpression.func;
103
99
  }
104
100
  // NOTE: we must retain the rest of the parameters as those are derived property parameters
@@ -155,7 +151,7 @@ const buildFilterConditionExpressionWithExists = (
155
151
  existsLambdaPropertyChains.push(
156
152
  new VariableExpression(
157
153
  existsLambdaParamNames[currentParamNameIndex] as string,
158
- multiplicityOne,
154
+ Multiplicity.ONE,
159
155
  ),
160
156
  );
161
157
  currentParamNameIndex++;
@@ -167,7 +163,6 @@ const buildFilterConditionExpressionWithExists = (
167
163
  for (let i = 0; i < existsLambdaPropertyChains.length - 1; ++i) {
168
164
  const simpleFunctionExpression = new SimpleFunctionExpression(
169
165
  extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.EXISTS),
170
- multiplicityOne,
171
166
  );
172
167
  simpleFunctionExpression.parametersValues.push(
173
168
  existsLambdaPropertyChains[i] as ValueSpecification,
@@ -177,7 +172,6 @@ const buildFilterConditionExpressionWithExists = (
177
172
  // build the leaf simple function expression which uses the operator
178
173
  const operatorEpression = new SimpleFunctionExpression(
179
174
  extractElementNameFromPath(operatorFunctionFullPath),
180
- multiplicityOne,
181
175
  );
182
176
  operatorEpression.parametersValues.push(
183
177
  existsLambdaPropertyChains[
@@ -220,10 +214,6 @@ export const buildFilterConditionExpression = (
220
214
  filterConditionState: FilterConditionState,
221
215
  operatorFunctionFullPath: string,
222
216
  ): ValueSpecification => {
223
- const multiplicityOne =
224
- filterConditionState.filterState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
225
- TYPICAL_MULTIPLICITY_TYPE.ONE,
226
- );
227
217
  if (filterConditionState.propertyExpressionState.requiresExistsHandling) {
228
218
  return buildFilterConditionExpressionWithExists(
229
219
  filterConditionState,
@@ -232,11 +222,11 @@ export const buildFilterConditionExpression = (
232
222
  }
233
223
  const expression = new SimpleFunctionExpression(
234
224
  extractElementNameFromPath(operatorFunctionFullPath),
235
- multiplicityOne,
236
225
  );
237
226
  const propertyExpression = buildPropertyExpressionChain(
238
227
  filterConditionState.propertyExpressionState.propertyExpression,
239
228
  filterConditionState.propertyExpressionState.queryBuilderState,
229
+ filterConditionState.filterState.lambdaParameterName,
240
230
  );
241
231
  expression.parametersValues.push(guaranteeNonNullable(propertyExpression));
242
232
  // NOTE: there are simple operators which do not require any params (e.g. isEmpty)
@@ -333,18 +323,11 @@ const buildFilterConditionStateWithExists = (
333
323
  }
334
324
 
335
325
  // 2. Build the property expression
336
- const multiplicityOne =
337
- filterState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
338
- TYPICAL_MULTIPLICITY_TYPE.ONE,
339
- );
340
326
  const initialPropertyExpression = guaranteeType(
341
327
  parentExpression.parametersValues[0],
342
328
  AbstractPropertyExpression,
343
329
  );
344
- let flattenedPropertyExpressionChain = new AbstractPropertyExpression(
345
- '',
346
- multiplicityOne,
347
- );
330
+ let flattenedPropertyExpressionChain = new AbstractPropertyExpression('');
348
331
  flattenedPropertyExpressionChain.func = initialPropertyExpression.func;
349
332
  flattenedPropertyExpressionChain.parametersValues = [
350
333
  ...initialPropertyExpression.parametersValues,
@@ -370,17 +353,13 @@ const buildFilterConditionStateWithExists = (
370
353
  extractElementNameFromPath(
371
354
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE,
372
355
  ),
373
- multiplicityOne,
374
356
  );
375
357
  functionExpression.parametersValues.unshift(
376
358
  guaranteeNonNullable(currentExpression.parametersValues[1]),
377
359
  );
378
360
  expressions.push(functionExpression);
379
361
  } else if (currentExpression instanceof AbstractPropertyExpression) {
380
- const propertyExpression = new AbstractPropertyExpression(
381
- '',
382
- multiplicityOne,
383
- );
362
+ const propertyExpression = new AbstractPropertyExpression('');
384
363
  propertyExpression.func = currentExpression.func;
385
364
  // NOTE: we must retain the rest of the parameters as those are derived property parameters
386
365
  propertyExpression.parametersValues =
@@ -23,6 +23,7 @@ import {
23
23
  PRIMITIVE_TYPE,
24
24
  type ValueSpecification,
25
25
  type SimpleFunctionExpression,
26
+ PrimitiveType,
26
27
  } from '@finos/legend-graph';
27
28
  import {
28
29
  type Hashable,
@@ -54,10 +55,11 @@ export class QueryBuilderFilterOperator_Contain
54
55
  isCompatibleWithFilterConditionProperty(
55
56
  filterConditionState: FilterConditionState,
56
57
  ): boolean {
57
- const propertyType =
58
+ return (
59
+ PrimitiveType.STRING ===
58
60
  filterConditionState.propertyExpressionState.propertyExpression.func.value
59
- .genericType.value.rawType;
60
- return PRIMITIVE_TYPE.STRING === propertyType.path;
61
+ .genericType.value.rawType
62
+ );
61
63
  }
62
64
 
63
65
  isCompatibleWithFilterConditionValue(
@@ -66,7 +68,7 @@ export class QueryBuilderFilterOperator_Contain
66
68
  const type = filterConditionState.value
67
69
  ? getNonCollectionValueSpecificationType(filterConditionState.value)
68
70
  : undefined;
69
- return PRIMITIVE_TYPE.STRING === type?.path;
71
+ return PrimitiveType.STRING === type;
70
72
  }
71
73
 
72
74
  getDefaultFilterConditionValue(
@@ -129,8 +131,6 @@ export class QueryBuilderFilterOperator_NotContain extends QueryBuilderFilterOpe
129
131
  ): ValueSpecification {
130
132
  return buildNotExpression(
131
133
  super.buildFilterConditionExpression(filterConditionState),
132
- filterConditionState.filterState.queryBuilderState.graphManagerState
133
- .graph,
134
134
  );
135
135
  }
136
136
 
@@ -23,6 +23,7 @@ import {
23
23
  PRIMITIVE_TYPE,
24
24
  type ValueSpecification,
25
25
  type SimpleFunctionExpression,
26
+ PrimitiveType,
26
27
  } from '@finos/legend-graph';
27
28
  import {
28
29
  type Hashable,
@@ -54,10 +55,11 @@ export class QueryBuilderFilterOperator_EndWith
54
55
  isCompatibleWithFilterConditionProperty(
55
56
  filterConditionState: FilterConditionState,
56
57
  ): boolean {
57
- const propertyType =
58
+ return (
59
+ PrimitiveType.STRING ===
58
60
  filterConditionState.propertyExpressionState.propertyExpression.func.value
59
- .genericType.value.rawType;
60
- return PRIMITIVE_TYPE.STRING === propertyType.path;
61
+ .genericType.value.rawType
62
+ );
61
63
  }
62
64
 
63
65
  isCompatibleWithFilterConditionValue(
@@ -66,7 +68,7 @@ export class QueryBuilderFilterOperator_EndWith
66
68
  const type = filterConditionState.value
67
69
  ? getNonCollectionValueSpecificationType(filterConditionState.value)
68
70
  : undefined;
69
- return PRIMITIVE_TYPE.STRING === type?.path;
71
+ return PrimitiveType.STRING === type;
70
72
  }
71
73
 
72
74
  getDefaultFilterConditionValue(
@@ -129,8 +131,6 @@ export class QueryBuilderFilterOperator_NotEndWith extends QueryBuilderFilterOpe
129
131
  ): ValueSpecification {
130
132
  return buildNotExpression(
131
133
  super.buildFilterConditionExpression(filterConditionState),
132
- filterConditionState.filterState.queryBuilderState.graphManagerState
133
- .graph,
134
134
  );
135
135
  }
136
136
 
@@ -27,7 +27,6 @@ import {
27
27
  EnumValueInstanceValue,
28
28
  GenericTypeExplicitReference,
29
29
  GenericType,
30
- TYPICAL_MULTIPLICITY_TYPE,
31
30
  EnumValueExplicitReference,
32
31
  Enumeration,
33
32
  PRIMITIVE_TYPE,
@@ -132,15 +131,10 @@ export class QueryBuilderFilterOperator_Equal
132
131
  default:
133
132
  if (propertyType instanceof Enumeration) {
134
133
  if (propertyType.values.length > 0) {
135
- const multiplicityOne =
136
- filterConditionState.filterState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
137
- TYPICAL_MULTIPLICITY_TYPE.ONE,
138
- );
139
134
  const enumValueInstanceValue = new EnumValueInstanceValue(
140
135
  GenericTypeExplicitReference.create(
141
136
  new GenericType(propertyType),
142
137
  ),
143
- multiplicityOne,
144
138
  );
145
139
  instanceValue_setValues(enumValueInstanceValue, [
146
140
  EnumValueExplicitReference.create(propertyType.values[0] as Enum),
@@ -207,8 +201,6 @@ export class QueryBuilderFilterOperator_NotEqual extends QueryBuilderFilterOpera
207
201
  ): ValueSpecification {
208
202
  return buildNotExpression(
209
203
  super.buildFilterConditionExpression(filterConditionState),
210
- filterConditionState.filterState.queryBuilderState.graphManagerState
211
- .graph,
212
204
  );
213
205
  }
214
206
 
@@ -26,9 +26,9 @@ import {
26
26
  CollectionInstanceValue,
27
27
  GenericTypeExplicitReference,
28
28
  GenericType,
29
- TYPICAL_MULTIPLICITY_TYPE,
30
29
  Enumeration,
31
30
  PRIMITIVE_TYPE,
31
+ Multiplicity,
32
32
  } from '@finos/legend-graph';
33
33
  import {
34
34
  buildFilterConditionState,
@@ -124,15 +124,11 @@ export class QueryBuilderFilterOperator_In
124
124
  getDefaultFilterConditionValue(
125
125
  filterConditionState: FilterConditionState,
126
126
  ): ValueSpecification | undefined {
127
- const multiplicityOne =
128
- filterConditionState.filterState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
129
- TYPICAL_MULTIPLICITY_TYPE.ONE,
130
- );
131
127
  const propertyType =
132
128
  filterConditionState.propertyExpressionState.propertyExpression.func.value
133
129
  .genericType.value.rawType;
134
130
  return new CollectionInstanceValue(
135
- multiplicityOne,
131
+ Multiplicity.ONE,
136
132
  GenericTypeExplicitReference.create(new GenericType(propertyType)),
137
133
  );
138
134
  }
@@ -173,8 +169,6 @@ export class QueryBuilderFilterOperator_NotIn extends QueryBuilderFilterOperator
173
169
  ): ValueSpecification {
174
170
  return buildNotExpression(
175
171
  super.buildFilterConditionExpression(filterConditionState),
176
- filterConditionState.filterState.queryBuilderState.graphManagerState
177
- .graph,
178
172
  );
179
173
  }
180
174
 
@@ -22,8 +22,8 @@ import { QueryBuilderFilterOperator } from '../QueryBuilderFilterOperator.js';
22
22
  import {
23
23
  type ValueSpecification,
24
24
  type SimpleFunctionExpression,
25
- PRIMITIVE_TYPE,
26
25
  Enumeration,
26
+ PrimitiveType,
27
27
  } from '@finos/legend-graph';
28
28
  import {
29
29
  buildFilterConditionState,
@@ -60,11 +60,9 @@ export class QueryBuilderFilterOperator_IsEmpty
60
60
  ) {
61
61
  return false;
62
62
  }
63
- if (propertyType instanceof Enumeration) {
64
- return true;
65
- }
66
- return (Object.values(PRIMITIVE_TYPE) as string[]).includes(
67
- propertyType.path,
63
+ return (
64
+ propertyType instanceof Enumeration ||
65
+ propertyType instanceof PrimitiveType
68
66
  );
69
67
  }
70
68
 
@@ -117,8 +115,6 @@ export class QueryBuilderFilterOperator_IsNotEmpty extends QueryBuilderFilterOpe
117
115
  ): ValueSpecification {
118
116
  return buildNotExpression(
119
117
  super.buildFilterConditionExpression(filterConditionState),
120
- filterConditionState.filterState.queryBuilderState.graphManagerState
121
- .graph,
122
118
  );
123
119
  }
124
120
 
@@ -23,6 +23,7 @@ import {
23
23
  PRIMITIVE_TYPE,
24
24
  type ValueSpecification,
25
25
  type SimpleFunctionExpression,
26
+ PrimitiveType,
26
27
  } from '@finos/legend-graph';
27
28
  import {
28
29
  type Hashable,
@@ -54,10 +55,11 @@ export class QueryBuilderFilterOperator_StartWith
54
55
  isCompatibleWithFilterConditionProperty(
55
56
  filterConditionState: FilterConditionState,
56
57
  ): boolean {
57
- const propertyType =
58
+ return (
59
+ PrimitiveType.STRING ===
58
60
  filterConditionState.propertyExpressionState.propertyExpression.func.value
59
- .genericType.value.rawType;
60
- return PRIMITIVE_TYPE.STRING === propertyType.path;
61
+ .genericType.value.rawType
62
+ );
61
63
  }
62
64
 
63
65
  isCompatibleWithFilterConditionValue(
@@ -66,7 +68,7 @@ export class QueryBuilderFilterOperator_StartWith
66
68
  const type = filterConditionState.value
67
69
  ? getNonCollectionValueSpecificationType(filterConditionState.value)
68
70
  : undefined;
69
- return PRIMITIVE_TYPE.STRING === type?.path;
71
+ return PrimitiveType.STRING === type;
70
72
  }
71
73
 
72
74
  getDefaultFilterConditionValue(
@@ -129,8 +131,6 @@ export class QueryBuilderFilterOperator_NotStartWith extends QueryBuilderFilterO
129
131
  ): ValueSpecification {
130
132
  return buildNotExpression(
131
133
  super.buildFilterConditionExpression(filterConditionState),
132
- filterConditionState.filterState.queryBuilderState.graphManagerState
133
- .graph,
134
134
  );
135
135
  }
136
136
 
@@ -23,17 +23,7 @@ import {
23
23
  GenericTypeExplicitReference,
24
24
  observe_ValueSpecification,
25
25
  observe_VariableExpression,
26
- PrimitiveInstanceValue,
27
- PRIMITIVE_TYPE,
28
26
  VariableExpression,
29
- LambdaFunction,
30
- TYPICAL_MULTIPLICITY_TYPE,
31
- CORE_PURE_PATH,
32
- FunctionType,
33
- SimpleFunctionExpression,
34
- SUPPORTED_FUNCTIONS,
35
- extractElementNameFromPath,
36
- PackageableElementExplicitReference,
37
27
  } from '@finos/legend-graph';
38
28
  import {
39
29
  addUniqueEntry,
@@ -41,7 +31,6 @@ import {
41
31
  type Hashable,
42
32
  hashArray,
43
33
  IllegalStateError,
44
- isNonNullable,
45
34
  uuid,
46
35
  } from '@finos/legend-shared';
47
36
  import { makeObservable, observable, action, computed } from 'mobx';
@@ -60,44 +49,6 @@ enum LAMABA_PARAMETER_HASH_STRUCTURE {
60
49
  LAMBDA_PARAMETER_STATE = 'LAMBDA_PARAMETER_STATE',
61
50
  LAMBDA_PARAMETERS_STATE = 'LAMBDA_PARAMETERS_STATE',
62
51
  }
63
-
64
- export const buildParametersLetLambdaFunc = (
65
- graph: PureModel,
66
- lambdaParametersStates: LambdaParameterState[],
67
- ): LambdaFunction => {
68
- const multiplicityOne = graph.getTypicalMultiplicity(
69
- TYPICAL_MULTIPLICITY_TYPE.ONE,
70
- );
71
- const typeString = graph.getPrimitiveType(PRIMITIVE_TYPE.STRING);
72
- const typeAny = graph.getType(CORE_PURE_PATH.ANY);
73
- const letlambdaFunction = new LambdaFunction(
74
- new FunctionType(
75
- PackageableElementExplicitReference.create(typeAny),
76
- multiplicityOne,
77
- ),
78
- );
79
- letlambdaFunction.expressionSequence = lambdaParametersStates
80
- .map((queryParamState) => {
81
- if (queryParamState.value) {
82
- const letFunc = new SimpleFunctionExpression(
83
- extractElementNameFromPath(SUPPORTED_FUNCTIONS.LET),
84
- multiplicityOne,
85
- );
86
- const letVar = new PrimitiveInstanceValue(
87
- GenericTypeExplicitReference.create(new GenericType(typeString)),
88
- multiplicityOne,
89
- );
90
- letVar.values = [queryParamState.variableName];
91
- letFunc.parametersValues.push(letVar);
92
- letFunc.parametersValues.push(queryParamState.value);
93
- return letFunc;
94
- }
95
- return undefined;
96
- })
97
- .filter(isNonNullable);
98
- return letlambdaFunction;
99
- };
100
-
101
52
  export class LambdaParameterState implements Hashable {
102
53
  readonly uuid = uuid();
103
54
  readonly parameter: VariableExpression;
@@ -30,7 +30,6 @@ import {
30
30
  PrimitiveInstanceValue,
31
31
  PrimitiveType,
32
32
  PRIMITIVE_TYPE,
33
- TYPICAL_MULTIPLICITY_TYPE,
34
33
  } from '@finos/legend-graph';
35
34
  import { addDays, formatDate, Randomizer } from '@finos/legend-shared';
36
35
  import { instanceValue_setValues } from './ValueSpecificationModifierHelper.js';
@@ -84,14 +83,10 @@ export const buildPrimitiveInstanceValue = (
84
83
  type: PRIMITIVE_TYPE,
85
84
  value: unknown,
86
85
  ): PrimitiveInstanceValue => {
87
- const multiplicityOne = graph.getTypicalMultiplicity(
88
- TYPICAL_MULTIPLICITY_TYPE.ONE,
89
- );
90
86
  const instance = new PrimitiveInstanceValue(
91
87
  GenericTypeExplicitReference.create(
92
88
  new GenericType(graph.getPrimitiveType(type)),
93
89
  ),
94
- multiplicityOne,
95
90
  );
96
91
  instanceValue_setValues(instance, [value]);
97
92
  return instance;
@@ -112,11 +107,10 @@ export const generateVariableExpressionMockValue = (
112
107
  if (varType instanceof PrimitiveType) {
113
108
  const primitiveInstanceValue = new PrimitiveInstanceValue(
114
109
  GenericTypeExplicitReference.create(
115
- varType.name === PRIMITIVE_TYPE.DATE
116
- ? new GenericType(graph.getPrimitiveType(PRIMITIVE_TYPE.STRICTDATE))
110
+ varType === PrimitiveType.DATE
111
+ ? new GenericType(PrimitiveType.STRICTDATE)
117
112
  : new GenericType(varType),
118
113
  ),
119
- multiplicity,
120
114
  );
121
115
  instanceValue_setValues(primitiveInstanceValue, [
122
116
  createMockPrimitiveProperty(
@@ -128,7 +122,6 @@ export const generateVariableExpressionMockValue = (
128
122
  } else if (varType instanceof Enumeration) {
129
123
  const enumValueInstance = new EnumValueInstanceValue(
130
124
  GenericTypeExplicitReference.create(new GenericType(varType)),
131
- multiplicity,
132
125
  );
133
126
  const mock = createMockEnumerationProperty(varType);
134
127
  if (mock !== '') {
@@ -19,11 +19,8 @@ import {
19
19
  observe_ValueSpecification,
20
20
  GenericTypeExplicitReference,
21
21
  GenericType,
22
- PRIMITIVE_TYPE,
23
22
  PrimitiveInstanceValue,
24
- TYPICAL_MULTIPLICITY_TYPE,
25
- multiplicityComparator,
26
- type VariableExpression,
23
+ PrimitiveType,
27
24
  } from '@finos/legend-graph';
28
25
  import { type Hashable, hashArray } from '@finos/legend-shared';
29
26
  import { makeObservable, observable, action, computed } from 'mobx';
@@ -49,34 +46,10 @@ export class QueryBuilderWatermarkState implements Hashable {
49
46
  this.queryBuilderState = queryBuilderState;
50
47
  }
51
48
 
52
- isParamaterCompatibleWithWaterMark = (
53
- parameter: VariableExpression,
54
- ): boolean => {
55
- const isString =
56
- this.queryBuilderState.graphManagerState.graph.getPrimitiveType(
57
- PRIMITIVE_TYPE.STRING,
58
- ) === parameter.genericType?.value.rawType;
59
-
60
- const isMultiplictyOne = multiplicityComparator(
61
- parameter.multiplicity,
62
- this.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
63
- TYPICAL_MULTIPLICITY_TYPE.ONE,
64
- ),
65
- );
66
- return isString && isMultiplictyOne;
67
- };
68
-
69
49
  resetValue(): void {
70
50
  const watermarkConstant = new PrimitiveInstanceValue(
71
51
  GenericTypeExplicitReference.create(
72
- new GenericType(
73
- this.queryBuilderState.graphManagerState.graph.getPrimitiveType(
74
- PRIMITIVE_TYPE.STRING,
75
- ),
76
- ),
77
- ),
78
- this.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
79
- TYPICAL_MULTIPLICITY_TYPE.ONE,
52
+ new GenericType(PrimitiveType.STRING),
80
53
  ),
81
54
  );
82
55
 
@@ -17,7 +17,6 @@
17
17
  import {
18
18
  SimpleFunctionExpression,
19
19
  extractElementNameFromPath,
20
- type VariableExpression,
21
20
  } from '@finos/legend-graph';
22
21
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graphManager/QueryBuilderSupportedFunctions.js';
23
22
  import type { QueryBuilderWatermarkState } from './QueryBuilderWatermarkState.js';
@@ -33,7 +32,6 @@ export const buildWatermarkExpression = (
33
32
  // main filter expression
34
33
  const watermarkExpression = new SimpleFunctionExpression(
35
34
  extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.WATERMARK),
36
- (watermarkState.value as VariableExpression).multiplicity,
37
35
  );
38
36
 
39
37
  // param [0]
package/tsconfig.json CHANGED
@@ -77,7 +77,7 @@
77
77
  "./src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts",
78
78
  "./src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts",
79
79
  "./src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts",
80
- "./src/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.ts",
80
+ "./src/stores/fetch-structure/tds/QueryBuilderTDSColumnState.ts",
81
81
  "./src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts",
82
82
  "./src/stores/fetch-structure/tds/QueryBuilderTDSState.ts",
83
83
  "./src/stores/fetch-structure/tds/QueryResultSetModifierState.ts",
@@ -96,20 +96,20 @@
96
96
  "./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts",
97
97
  "./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts",
98
98
  "./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts",
99
- "./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.ts",
100
- "./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.ts",
101
- "./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.ts",
102
- "./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.ts",
103
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.ts",
104
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.ts",
105
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.ts",
106
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.ts",
107
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.ts",
108
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.ts",
109
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.ts",
110
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.ts",
111
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.ts",
112
- "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.ts",
99
+ "./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.ts",
100
+ "./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.ts",
101
+ "./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.ts",
102
+ "./src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts",
103
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator.ts",
104
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Average.ts",
105
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Count.ts",
106
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Max.ts",
107
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Min.ts",
108
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPOperator_Sum.ts",
109
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_AverageRank.ts",
110
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_DenseRank.ts",
111
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_Rank.ts",
112
+ "./src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDS_OLAPRankOperator_RowNumber.ts",
113
113
  "./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts",
114
114
  "./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperatorLoader.ts",
115
115
  "./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts",
@@ -173,7 +173,7 @@
173
173
  "./src/components/explorer/QueryBuilderPropertySearchPanel.tsx",
174
174
  "./src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx",
175
175
  "./src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx",
176
- "./src/components/fetch-structure/QueryBuilderOlapGroupByPanel.tsx",
176
+ "./src/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.tsx",
177
177
  "./src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx",
178
178
  "./src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx",
179
179
  "./src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx",
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderOlapGroupByPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderOlapGroupByPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAoCH,OAAO,EACL,KAAK,4BAA4B,EAOlC,MAAM,8EAA8E,CAAC;AA48BtF,eAAO,MAAM,4BAA4B,WAC/B;IAAE,gBAAgB,EAAE,4BAA4B,CAAA;CAAE;;CAgH3D,CAAC"}