@finos/legend-query-builder 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. package/lib/components/QueryBuilder.d.ts +0 -1
  2. package/lib/components/QueryBuilder.d.ts.map +1 -1
  3. package/lib/components/QueryBuilder.js +42 -9
  4. package/lib/components/QueryBuilder.js.map +1 -1
  5. package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  6. package/lib/components/QueryBuilderComponentTestUtils.js +2 -5
  7. package/lib/components/QueryBuilderComponentTestUtils.js.map +1 -1
  8. package/lib/components/QueryBuilderDiffPanel.d.ts +0 -1
  9. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  10. package/lib/components/QueryBuilderDiffPanel.js +2 -2
  11. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  12. package/lib/components/QueryBuilderParametersPanel.d.ts +0 -1
  13. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  14. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -1
  15. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  16. package/lib/components/QueryBuilderResultPanel.d.ts +0 -1
  17. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  18. package/lib/components/QueryBuilderResultPanel.js +3 -3
  19. package/lib/components/QueryBuilderSideBar.d.ts +0 -1
  20. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  21. package/lib/components/QueryBuilderSideBar.js +2 -1
  22. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  23. package/lib/components/QueryBuilderTextEditor.d.ts +0 -1
  24. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  25. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -1
  26. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
  27. package/lib/components/QueryBuilder_TestID.d.ts +1 -0
  28. package/lib/components/QueryBuilder_TestID.d.ts.map +1 -1
  29. package/lib/components/QueryBuilder_TestID.js +1 -0
  30. package/lib/components/QueryBuilder_TestID.js.map +1 -1
  31. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -1
  32. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  33. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +5 -5
  34. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  35. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +0 -1
  36. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  37. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +2 -2
  38. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  39. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -1
  40. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  41. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -1
  42. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  43. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -1
  44. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  45. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts +22 -0
  46. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts.map +1 -0
  47. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js +363 -0
  48. package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js.map +1 -0
  49. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -1
  50. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  51. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +21 -53
  52. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  53. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +22 -0
  54. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts.map +1 -0
  55. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +32 -0
  56. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -0
  57. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -1
  58. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  59. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +2 -1
  60. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  61. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts +27 -0
  62. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts.map +1 -0
  63. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +61 -0
  64. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -0
  65. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +0 -1
  66. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  67. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +4 -13
  68. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  69. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -1
  70. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  71. package/lib/components/shared/LambdaEditor.d.ts +0 -1
  72. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  73. package/lib/components/shared/LambdaEditor.js +23 -7
  74. package/lib/components/shared/LambdaEditor.js.map +1 -1
  75. package/lib/components/shared/LambdaParameterValuesEditor.d.ts +0 -1
  76. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  77. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  78. package/lib/components/workflows/ServiceQueryBuilder.js +5 -1
  79. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  80. package/lib/graphManager/QueryBuilderHashUtils.d.ts +14 -0
  81. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -1
  82. package/lib/graphManager/QueryBuilderHashUtils.js +15 -0
  83. package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -1
  84. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +7 -1
  85. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +1 -1
  86. package/lib/graphManager/QueryBuilderSupportedFunctions.js +7 -0
  87. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +1 -1
  88. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
  89. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +4 -1
  90. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  91. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -0
  92. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  93. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +50 -0
  94. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  95. package/lib/index.css +2 -2
  96. package/lib/index.css.map +1 -1
  97. package/lib/package.json +6 -6
  98. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  99. package/lib/stores/QueryBuilderStateBuilder.js +7 -1
  100. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  101. package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +1 -1
  102. package/lib/stores/QueryBuilderStateTestUtils.js +2 -4
  103. package/lib/stores/QueryBuilderStateTestUtils.js.map +1 -1
  104. package/lib/stores/QueryBuilderTypeaheadHelper.js +2 -2
  105. package/lib/stores/explorer/QueryBuilderExplorerState.js +3 -3
  106. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +1 -0
  107. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  108. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +3 -0
  109. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  110. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  111. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +2 -1
  112. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  113. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts +24 -0
  114. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts.map +1 -0
  115. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js +20 -0
  116. package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js.map +1 -0
  117. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +23 -0
  118. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -0
  119. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js +41 -0
  120. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -0
  121. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +11 -0
  122. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  123. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +44 -1
  124. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  125. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts +2 -2
  126. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts.map +1 -1
  127. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +2 -2
  128. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
  129. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.js +1 -1
  130. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +4 -4
  131. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  132. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +8 -7
  133. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  134. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts +18 -0
  135. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts.map +1 -0
  136. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js +36 -0
  137. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js.map +1 -0
  138. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts +91 -0
  139. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts.map +1 -0
  140. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js +272 -0
  141. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js.map +1 -0
  142. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts +19 -0
  143. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts.map +1 -0
  144. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js +100 -0
  145. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js.map +1 -0
  146. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts +19 -0
  147. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts.map +1 -0
  148. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js +83 -0
  149. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js.map +1 -0
  150. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.d.ts +29 -0
  151. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.d.ts.map +1 -0
  152. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js +30 -0
  153. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js.map +1 -0
  154. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts +25 -0
  155. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts.map +1 -0
  156. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js +50 -0
  157. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js.map +1 -0
  158. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts +25 -0
  159. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts.map +1 -0
  160. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js +51 -0
  161. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js.map +1 -0
  162. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts +25 -0
  163. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts.map +1 -0
  164. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js +50 -0
  165. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js.map +1 -0
  166. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts +25 -0
  167. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts.map +1 -0
  168. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js +50 -0
  169. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js.map +1 -0
  170. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts +25 -0
  171. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts.map +1 -0
  172. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js +51 -0
  173. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js.map +1 -0
  174. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts +24 -0
  175. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts.map +1 -0
  176. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.js +48 -0
  177. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.js.map +1 -0
  178. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts +24 -0
  179. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts.map +1 -0
  180. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.js +48 -0
  181. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.js.map +1 -0
  182. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts +24 -0
  183. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts.map +1 -0
  184. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.js +48 -0
  185. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.js.map +1 -0
  186. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts +24 -0
  187. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts.map +1 -0
  188. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.js +48 -0
  189. package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.js.map +1 -0
  190. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.d.ts +1 -1
  191. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js +2 -2
  192. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +6 -4
  193. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  194. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +14 -3
  195. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  196. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -1
  197. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +8 -11
  198. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
  199. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
  200. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -1
  201. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +5 -1
  202. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
  203. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +4 -4
  204. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +1 -1
  205. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +1 -1
  206. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +3 -3
  207. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +3 -3
  208. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +1 -1
  209. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +2 -2
  210. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +2 -2
  211. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +3 -3
  212. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +3 -3
  213. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +1 -1
  214. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +1 -1
  215. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +4 -6
  216. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  217. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +6 -5
  218. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  219. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  220. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -0
  221. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  222. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  223. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +6 -3
  224. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  225. package/lib/stores/filter/QueryBuilderFilterState.d.ts +2 -0
  226. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  227. package/lib/stores/filter/QueryBuilderFilterState.js +6 -0
  228. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  229. package/package.json +13 -13
  230. package/src/components/QueryBuilder.tsx +110 -35
  231. package/src/components/QueryBuilderComponentTestUtils.tsx +9 -11
  232. package/src/components/QueryBuilderDiffPanel.tsx +2 -2
  233. package/src/components/QueryBuilderResultPanel.tsx +4 -4
  234. package/src/components/QueryBuilderSideBar.tsx +4 -1
  235. package/src/components/QueryBuilder_TestID.ts +1 -0
  236. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +6 -6
  237. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +2 -3
  238. package/src/components/fetch-structure/QueryBuilderOlapGroupByPanel.tsx +1140 -0
  239. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +31 -106
  240. package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +69 -0
  241. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +4 -1
  242. package/src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx +118 -0
  243. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +4 -23
  244. package/src/components/shared/LambdaEditor.tsx +25 -22
  245. package/src/components/workflows/ServiceQueryBuilder.tsx +10 -2
  246. package/src/graphManager/QueryBuilderHashUtils.ts +16 -0
  247. package/src/graphManager/QueryBuilderSupportedFunctions.ts +7 -0
  248. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +14 -0
  249. package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +129 -0
  250. package/src/stores/QueryBuilderStateBuilder.ts +14 -1
  251. package/src/stores/QueryBuilderStateTestUtils.ts +9 -13
  252. package/src/stores/QueryBuilderTypeaheadHelper.ts +2 -2
  253. package/src/stores/explorer/QueryBuilderExplorerState.ts +3 -3
  254. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +4 -0
  255. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +2 -1
  256. package/src/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.ts +28 -0
  257. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +79 -0
  258. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +68 -1
  259. package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +2 -2
  260. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts +1 -1
  261. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +11 -9
  262. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.ts +39 -0
  263. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.ts +377 -0
  264. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.ts +237 -0
  265. package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.ts +148 -0
  266. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.ts +43 -0
  267. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.ts +56 -0
  268. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.ts +57 -0
  269. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.ts +56 -0
  270. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.ts +56 -0
  271. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.ts +57 -0
  272. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.ts +54 -0
  273. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.ts +54 -0
  274. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.ts +54 -0
  275. package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.ts +54 -0
  276. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts +2 -2
  277. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +22 -10
  278. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +11 -19
  279. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +8 -7
  280. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +4 -4
  281. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +1 -1
  282. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +1 -1
  283. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +3 -3
  284. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +3 -3
  285. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +1 -1
  286. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +2 -2
  287. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +3 -3
  288. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +3 -3
  289. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +1 -1
  290. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +1 -1
  291. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +9 -11
  292. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -0
  293. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +8 -4
  294. package/src/stores/filter/QueryBuilderFilterState.ts +7 -0
  295. package/tsconfig.json +19 -0
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterState.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAEL,UAAU,EACV,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,WAAW,EAC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E,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,YAAY;YACzC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderFilterState.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAEL,UAAU,EACV,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,WAAW,EAEX,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAE5F,OAAO,EAIL,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAExE,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAE3F,MAAM,CAAN,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACvC,oEAAmC,CAAA;IACnC,wDAAuB,CAAA;IACvB,oEAAmC,CAAA;AACrC,CAAC,EAJW,6BAA6B,GAA7B,6BAA6B,KAA7B,6B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AM,gBAAgB,GAAG,IAAI,KAAK,MAAM,CAAC;QACzC,4CAA4C;QAC5C,IAAI,mBAAmB,GAAG,KAAK,CAAC;QAChC,IAAI,iBAAiB,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACnD,OAAO,iBAAiB,EAAE;YACxB,IAAI,iBAAiB,KAAK,IAAI,EAAE;gBAC9B,mBAAmB,GAAG,IAAI,CAAC;gBAC3B,MAAM;aACP;YACD,iBAAiB,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;SAC3D;QACD,OAAO,CAAC,gBAAgB,IAAI,CAAC,mBAAmB,CAAC;IACnD,CAAC;IAED,QAAQ,CACN,IAAoC,EACpC,MAAsC;QAEtC,gBAAgB;IAClB,CAAC;IAED,YAAY;QACV,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3E,CAAC;IAED,UAAU;QACR,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,YAAY;YACzC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,16 +44,16 @@
44
44
  "@ag-grid-community/client-side-row-model": "28.2.0",
45
45
  "@ag-grid-community/core": "28.2.0",
46
46
  "@ag-grid-community/react": "28.2.0",
47
- "@finos/legend-application": "10.0.0",
48
- "@finos/legend-art": "4.1.0",
49
- "@finos/legend-graph": "19.0.0",
50
- "@finos/legend-server-depot": "4.1.2",
51
- "@finos/legend-shared": "6.1.5",
52
- "@finos/legend-storage": "3.0.14",
47
+ "@finos/legend-application": "10.0.2",
48
+ "@finos/legend-art": "5.0.0",
49
+ "@finos/legend-graph": "19.2.0",
50
+ "@finos/legend-server-depot": "4.1.3",
51
+ "@finos/legend-shared": "6.2.0",
52
+ "@finos/legend-storage": "3.0.15",
53
53
  "@testing-library/react": "13.4.0",
54
54
  "@types/papaparse": "5.3.5",
55
- "@types/react": "18.0.21",
56
- "@types/react-dom": "18.0.6",
55
+ "@types/react": "18.0.23",
56
+ "@types/react-dom": "18.0.7",
57
57
  "mobx": "6.6.2",
58
58
  "mobx-react-lite": "3.4.0",
59
59
  "monaco-editor": "0.34.1",
@@ -64,11 +64,11 @@
64
64
  "serializr": "3.0.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@finos/legend-dev-utils": "2.0.21",
68
- "@jest/globals": "29.2.1",
67
+ "@finos/legend-dev-utils": "2.0.22",
68
+ "@jest/globals": "29.2.2",
69
69
  "cross-env": "7.0.3",
70
- "eslint": "8.25.0",
71
- "jest": "29.2.1",
70
+ "eslint": "8.26.0",
71
+ "jest": "29.2.2",
72
72
  "npm-run-all": "4.1.5",
73
73
  "rimraf": "3.0.2",
74
74
  "sass": "1.55.0",
@@ -48,10 +48,12 @@ import {
48
48
  useCommands,
49
49
  } from '@finos/legend-application';
50
50
  import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
51
- import { QueryBuilderPostFilterPanel } from './fetch-structure/QueryBuilderPostFilterPanel.js';
52
51
  import { QueryBuilderFunctionsExplorerPanel } from './explorer/QueryBuilderFunctionsExplorerPanel.js';
53
52
  import { QueryBuilderTDSState } from '../stores/fetch-structure/tds/QueryBuilderTDSState.js';
54
53
  import { QueryBuilderDiffViewPanel } from './QueryBuilderDiffPanel.js';
54
+ import { guaranteeType } from '@finos/legend-shared';
55
+ import { QueryBuilderGraphFetchTreeState } from '../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
56
+ import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSPanel.js';
55
57
 
56
58
  export const QUERY_BUILDER_BACKDROP_CONTAINER_ID =
57
59
  'query-builder.backdrop-container';
@@ -151,11 +153,28 @@ const QueryBuilderStatusBar = observer(
151
153
  },
152
154
  );
153
155
 
156
+ const QueryBuilderPostGraphFetchPanel = observer(
157
+ (props: { graphFetchState: QueryBuilderGraphFetchTreeState }) => {
158
+ const { graphFetchState } = props;
159
+
160
+ if (!graphFetchState.TEMPORARY__showPostFetchStructurePanel) {
161
+ return null;
162
+ }
163
+ return (
164
+ <QueryBuilderFilterPanel
165
+ queryBuilderState={graphFetchState.queryBuilderState}
166
+ />
167
+ );
168
+ },
169
+ );
170
+
154
171
  export const QueryBuilder = observer(
155
172
  (props: { queryBuilderState: QueryBuilderState }) => {
156
173
  const { queryBuilderState } = props;
157
174
  const isQuerySupported = queryBuilderState.isQuerySupported;
158
-
175
+ const fetchStructureState = queryBuilderState.fetchStructureState;
176
+ const isTDSState =
177
+ fetchStructureState.implementation instanceof QueryBuilderTDSState;
159
178
  const toggleShowFunctionPanel = (): void => {
160
179
  queryBuilderState.setShowFunctionsExplorerPanel(
161
180
  !queryBuilderState.showFunctionsExplorerPanel,
@@ -166,6 +185,11 @@ export const QueryBuilder = observer(
166
185
  !queryBuilderState.showParametersPanel,
167
186
  );
168
187
  };
188
+ const toggleShowFilterPanel = (): void => {
189
+ queryBuilderState.filterState.setShowPanel(
190
+ !queryBuilderState.filterState.showPanel,
191
+ );
192
+ };
169
193
  const toggleShowPostFilterPanel = (): void => {
170
194
  if (
171
195
  queryBuilderState.fetchStructureState.implementation instanceof
@@ -177,7 +201,37 @@ export const QueryBuilder = observer(
177
201
  };
178
202
 
179
203
  useCommands(queryBuilderState);
180
-
204
+ const toggleShowOlapGroupByPanel = (): void => {
205
+ if (isTDSState) {
206
+ const tdsState = guaranteeType(
207
+ queryBuilderState.fetchStructureState.implementation,
208
+ QueryBuilderTDSState,
209
+ );
210
+ tdsState.setShowOlapGroupByPanel(!tdsState.showOlapGroupByPanel);
211
+ }
212
+ };
213
+ const showPostFetchStructurePanel =
214
+ queryBuilderState.fetchStructureState.implementation
215
+ .TEMPORARY__showPostFetchStructurePanel;
216
+ const renderPostFetchStructure = (): React.ReactNode => {
217
+ if (fetchStructureState.implementation instanceof QueryBuilderTDSState) {
218
+ return (
219
+ <QueryBuilderPostTDSPanel
220
+ tdsState={fetchStructureState.implementation}
221
+ />
222
+ );
223
+ } else if (
224
+ fetchStructureState.implementation instanceof
225
+ QueryBuilderGraphFetchTreeState
226
+ ) {
227
+ return (
228
+ <QueryBuilderPostGraphFetchPanel
229
+ graphFetchState={fetchStructureState.implementation}
230
+ />
231
+ );
232
+ }
233
+ return null;
234
+ };
181
235
  return (
182
236
  <div
183
237
  data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER}
@@ -206,7 +260,7 @@ export const QueryBuilder = observer(
206
260
  Show Function(s)
207
261
  </MenuContentItemLabel>
208
262
  </MenuContentItem>
209
- {/* TODO?: consider hiding this menu option when the fetch-structure is not tds */}
263
+ {/* TODO?: consider hiding this menu option when the fetch-structure is not TDS */}
210
264
  {!queryBuilderState.isParameterSupportDisabled && (
211
265
  <MenuContentItem
212
266
  onClick={toggleShowParameterPanel}
@@ -226,6 +280,50 @@ export const QueryBuilder = observer(
226
280
  </MenuContentItemLabel>
227
281
  </MenuContentItem>
228
282
  )}
283
+ <MenuContentItem
284
+ onClick={toggleShowFilterPanel}
285
+ disabled={
286
+ !queryBuilderState.isQuerySupported ||
287
+ Array.from(
288
+ queryBuilderState.filterState.nodes.values(),
289
+ ).length > 0
290
+ }
291
+ >
292
+ <MenuContentItemIcon>
293
+ {queryBuilderState.filterState.showPanel ? (
294
+ <CheckIcon />
295
+ ) : null}
296
+ </MenuContentItemIcon>
297
+ <MenuContentItemLabel className="query-builder__sub-header__menu-content">
298
+ Show Filter
299
+ </MenuContentItemLabel>
300
+ </MenuContentItem>
301
+ <MenuContentItem
302
+ onClick={toggleShowOlapGroupByPanel}
303
+ disabled={
304
+ !queryBuilderState.isQuerySupported ||
305
+ !(
306
+ queryBuilderState.fetchStructureState
307
+ .implementation instanceof QueryBuilderTDSState
308
+ ) ||
309
+ queryBuilderState.fetchStructureState.implementation
310
+ .olapGroupByState.olapColumns.length > 0
311
+ }
312
+ >
313
+ <MenuContentItemIcon>
314
+ {isTDSState &&
315
+ guaranteeType(
316
+ queryBuilderState.fetchStructureState
317
+ .implementation,
318
+ QueryBuilderTDSState,
319
+ ).showOlapGroupByPanel ? (
320
+ <CheckIcon />
321
+ ) : null}
322
+ </MenuContentItemIcon>
323
+ <MenuContentItemLabel className="query-builder__sub-header__menu-content">
324
+ Show OLAP GroupBy
325
+ </MenuContentItemLabel>
326
+ </MenuContentItem>
229
327
  <MenuContentItem
230
328
  onClick={toggleShowPostFilterPanel}
231
329
  disabled={
@@ -320,37 +418,14 @@ export const QueryBuilder = observer(
320
418
  queryBuilderState={queryBuilderState}
321
419
  />
322
420
  </ResizablePanel>
323
- <ResizablePanelSplitter />
324
- <ResizablePanel minSize={300}>
325
- {(!(
326
- queryBuilderState.fetchStructureState
327
- .implementation instanceof QueryBuilderTDSState
328
- ) ||
329
- !queryBuilderState.fetchStructureState.implementation
330
- .showPostFilterPanel) && (
331
- <QueryBuilderFilterPanel
332
- queryBuilderState={queryBuilderState}
333
- />
334
- )}
335
- {queryBuilderState.fetchStructureState
336
- .implementation instanceof QueryBuilderTDSState &&
337
- queryBuilderState.fetchStructureState.implementation
338
- .showPostFilterPanel && (
339
- <ResizablePanelGroup orientation="horizontal">
340
- <ResizablePanel minSize={300}>
341
- <QueryBuilderFilterPanel
342
- queryBuilderState={queryBuilderState}
343
- />
344
- </ResizablePanel>
345
- <ResizablePanelSplitter />
346
- <ResizablePanel>
347
- <QueryBuilderPostFilterPanel
348
- queryBuilderState={queryBuilderState}
349
- />
350
- </ResizablePanel>
351
- </ResizablePanelGroup>
352
- )}
353
- </ResizablePanel>
421
+ {showPostFetchStructurePanel && (
422
+ <ResizablePanelSplitter />
423
+ )}
424
+ {showPostFetchStructurePanel && (
425
+ <ResizablePanel minSize={300}>
426
+ {renderPostFetchStructure()}
427
+ </ResizablePanel>
428
+ )}
354
429
  </ResizablePanelGroup>
355
430
  ) : (
356
431
  <QueryBuilderUnsupportedQueryEditor
@@ -14,9 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { jest } from '@jest/globals';
18
17
  import { type RenderResult, render, waitFor } from '@testing-library/react';
19
- import { Log } from '@finos/legend-shared';
18
+ import { createSpy, Log } from '@finos/legend-shared';
20
19
  import {
21
20
  type RawMappingModelCoverageAnalysisResult,
22
21
  type RawLambda,
@@ -82,15 +81,14 @@ export const TEST__setUpQueryBuilder = async (
82
81
  );
83
82
 
84
83
  if (rawMappingModelCoverageAnalysisResult) {
85
- jest
86
- .spyOn(graphManagerState.graphManager, 'analyzeMappingModelCoverage')
87
- .mockReturnValue(
88
- Promise.resolve(
89
- graphManagerState.graphManager.buildMappingModelCoverageAnalysisResult(
90
- rawMappingModelCoverageAnalysisResult,
91
- ),
92
- ),
93
- );
84
+ createSpy(
85
+ graphManagerState.graphManager,
86
+ 'analyzeMappingModelCoverage',
87
+ ).mockResolvedValue(
88
+ graphManagerState.graphManager.buildMappingModelCoverageAnalysisResult(
89
+ rawMappingModelCoverageAnalysisResult,
90
+ ),
91
+ );
94
92
  }
95
93
 
96
94
  const history = createMemoryHistory();
@@ -22,7 +22,7 @@ import {
22
22
  useApplicationStore,
23
23
  } from '@finos/legend-application';
24
24
  import {
25
- baseTextEditorSettings,
25
+ getBaseTextEditorOptions,
26
26
  clsx,
27
27
  Dialog,
28
28
  disposeDiffEditor,
@@ -63,7 +63,7 @@ const TextDiffView = observer(
63
63
  if (!editor && editorRef.current) {
64
64
  const element = editorRef.current;
65
65
  const _editor = monacoEditorAPI.createDiffEditor(element, {
66
- ...baseTextEditorSettings,
66
+ ...getBaseTextEditorOptions(),
67
67
  theme: applicationStore.TEMPORARY__isLightThemeEnabled
68
68
  ? EDITOR_THEME.TEMPORARY__VSCODE_LIGHT
69
69
  : EDITOR_THEME.LEGEND,
@@ -37,7 +37,7 @@ import {
37
37
  type Enumeration,
38
38
  InstanceValue,
39
39
  extractExecutionResultValues,
40
- TdsExecutionResult,
40
+ TDSExecutionResult,
41
41
  RawExecutionResult,
42
42
  EXECUTION_SERIALIZATION_FORMAT,
43
43
  EnumValueInstanceValue,
@@ -295,7 +295,7 @@ const QueryBuilderGridResultContextMenu = observer(
295
295
 
296
296
  const QueryBuilderGridResult = observer(
297
297
  (props: {
298
- executionResult: TdsExecutionResult;
298
+ executionResult: TDSExecutionResult;
299
299
  queryBuilderState: QueryBuilderState;
300
300
  }) => {
301
301
  const { executionResult, queryBuilderState } = props;
@@ -363,7 +363,7 @@ const QueryBuilderResultValues = observer(
363
363
  queryBuilderState: QueryBuilderState;
364
364
  }) => {
365
365
  const { executionResult, queryBuilderState } = props;
366
- if (executionResult instanceof TdsExecutionResult) {
366
+ if (executionResult instanceof TDSExecutionResult) {
367
367
  return (
368
368
  <QueryBuilderGridResult
369
369
  queryBuilderState={queryBuilderState}
@@ -478,7 +478,7 @@ export const QueryBuilderResultPanel = observer(
478
478
  const allowSettingPreviewLimit = queryBuilderState.isQuerySupported;
479
479
  const resultSetSize = (result: ExecutionResult | undefined): string =>
480
480
  result
481
- ? result instanceof TdsExecutionResult
481
+ ? result instanceof TDSExecutionResult
482
482
  ? `${
483
483
  result.result.rows.length
484
484
  } row(s) in ${resultState.executionDuration?.toString()} ms`
@@ -187,7 +187,10 @@ export const QueryBuilderClassSelector = observer(
187
187
  ? 'Choose a class...'
188
188
  : noMatchMessage ?? 'No class found'
189
189
  }
190
- disabled={classOptions.length <= 1}
190
+ disabled={
191
+ classOptions.length < 1 ||
192
+ (classOptions.length === 1 && Boolean(selectedClassOption))
193
+ }
191
194
  noMatchMessage={noMatchMessage}
192
195
  options={classOptions}
193
196
  onChange={changeClass}
@@ -23,6 +23,7 @@ export enum QUERY_BUILDER_TEST_ID {
23
23
  QUERY_BUILDER_GRAPH_FETCH = 'query__builder__graph__fetch',
24
24
  QUERY_BUILDER_FILTER = 'query__builder__filter',
25
25
  QUERY_BUILDER_POST_FILTER = 'query__builder__post-filter',
26
+ QUERY_BUILDER_OLAP_GROUPBY = 'query__builder__olap-groupby',
26
27
  QUERY_BUILDER_EXPLORER = 'query__builder__explorer',
27
28
  QUERY_BUILDER_PROPERTY_SEARCH_PANEL = 'query__builder__property__search__panel',
28
29
  }
@@ -51,7 +51,7 @@ import {
51
51
  import { useDrag } from 'react-dnd';
52
52
  import {
53
53
  ConcreteFunctionDefinition,
54
- generateFunctionSignature,
54
+ generateFunctionPrettyName,
55
55
  getElementRootPackage,
56
56
  Package,
57
57
  ROOT_PACKAGE_NAME,
@@ -157,7 +157,7 @@ const QueryBuilderFunctionsExplorerListEntry = observer(
157
157
  element,
158
158
  rootPackageName,
159
159
  );
160
- const functionSignature = generateFunctionSignature(element, true);
160
+ const functionPrettyName = generateFunctionPrettyName(element, true);
161
161
  const [, dragConnector, dragPreviewConnector] = useDrag(
162
162
  () => ({
163
163
  type: QUERY_BUILDER_FUNCTION_DND_TYPE,
@@ -180,9 +180,9 @@ const QueryBuilderFunctionsExplorerListEntry = observer(
180
180
  </div>
181
181
  <div
182
182
  className="query-builder__functions-explorer__function__label"
183
- title={functionSignature}
183
+ title={functionPrettyName}
184
184
  >
185
- {functionSignature}
185
+ {functionPrettyName}
186
186
  </div>
187
187
  </div>
188
188
  <div className="query-builder__functions-explorer__function__actions">
@@ -212,7 +212,7 @@ const QueryBuilderFunctionsExplorerTreeNodeContainer = observer(
212
212
  const isPackage = node.packageableElement instanceof Package;
213
213
  const name =
214
214
  node.packageableElement instanceof ConcreteFunctionDefinition
215
- ? generateFunctionSignature(node.packageableElement, false)
215
+ ? generateFunctionPrettyName(node.packageableElement, false)
216
216
  : node.packageableElement.name;
217
217
  const isExpandable = Boolean(node.childrenIds.length);
218
218
  const nodeExpandIcon = isExpandable ? (
@@ -482,7 +482,7 @@ export const QueryBuilderFunctionsExplorerPanel = observer(
482
482
  labelGetter={(
483
483
  item: QueryBuilderFunctionsExplorerDragSource,
484
484
  ): string =>
485
- generateFunctionSignature(
485
+ generateFunctionPrettyName(
486
486
  item.node.packageableElement as ConcreteFunctionDefinition,
487
487
  true,
488
488
  )
@@ -244,13 +244,12 @@ export const MilestoningParametersEditor = observer(
244
244
  (props: { queryBuilderState: QueryBuilderState }) => {
245
245
  const { queryBuilderState } = props;
246
246
  const milestoningState = queryBuilderState.milestoningState;
247
- const closeMilestoningEditor = (): void =>
248
- milestoningState.setShowMilestoningEditor(false);
247
+ const close = (): void => milestoningState.setShowMilestoningEditor(false);
249
248
 
250
249
  return (
251
250
  <Dialog
252
251
  open={milestoningState.showMilestoningEditor}
253
- onClose={closeMilestoningEditor}
252
+ onClose={close}
254
253
  classes={{
255
254
  root: 'editor-modal__root-container',
256
255
  container: 'editor-modal__container',