@finos/legend-application-query 5.2.2 → 5.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (613) hide show
  1. package/lib/application/LegendQueryApplicationConfig.d.ts +0 -2
  2. package/lib/application/LegendQueryApplicationConfig.d.ts.map +1 -1
  3. package/lib/application/LegendQueryApplicationConfig.js +0 -2
  4. package/lib/application/LegendQueryApplicationConfig.js.map +1 -1
  5. package/lib/components/LegendQueryApplication.d.ts.map +1 -1
  6. package/lib/components/LegendQueryApplication.js +5 -15
  7. package/lib/components/LegendQueryApplication.js.map +1 -1
  8. package/lib/components/LegendQueryBaseStoreProvider.d.ts.map +1 -1
  9. package/lib/components/LegendQueryBaseStoreProvider.js +1 -3
  10. package/lib/components/LegendQueryBaseStoreProvider.js.map +1 -1
  11. package/lib/components/QueryBuilder.d.ts.map +1 -1
  12. package/lib/components/QueryBuilder.js +16 -9
  13. package/lib/components/QueryBuilder.js.map +1 -1
  14. package/lib/components/QueryBuilderParameterPanel.d.ts.map +1 -1
  15. package/lib/components/QueryBuilderParameterPanel.js +1 -1
  16. package/lib/components/QueryBuilderParameterPanel.js.map +1 -1
  17. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +1 -1
  18. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  19. package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -2
  20. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  21. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  22. package/lib/components/QueryBuilderResultPanel.js +6 -6
  23. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  24. package/lib/components/QueryBuilderSetupPanel.js +1 -1
  25. package/lib/components/QueryBuilderSetupPanel.js.map +1 -1
  26. package/lib/components/QueryBuilderTextEditor.js +1 -1
  27. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  28. package/lib/components/QueryEditorComponentTestUtils.d.ts +0 -2
  29. package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
  30. package/lib/components/QueryEditorComponentTestUtils.js +2 -5
  31. package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
  32. package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -1
  33. package/lib/components/QueryEditorStoreProvider.js +3 -7
  34. package/lib/components/QueryEditorStoreProvider.js.map +1 -1
  35. package/lib/components/QuerySetupStoreProvider.d.ts.map +1 -1
  36. package/lib/components/QuerySetupStoreProvider.js +1 -3
  37. package/lib/components/QuerySetupStoreProvider.js.map +1 -1
  38. package/lib/components/{QueryBuilderExplorerPanel.d.ts → explorer/QueryBuilderExplorerPanel.d.ts} +1 -1
  39. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -0
  40. package/lib/components/{QueryBuilderExplorerPanel.js → explorer/QueryBuilderExplorerPanel.js} +12 -47
  41. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -0
  42. package/lib/components/{QueryBuilderFunctionsExplorerPanel.d.ts → explorer/QueryBuilderFunctionsExplorerPanel.d.ts} +1 -1
  43. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -0
  44. package/lib/components/{QueryBuilderFunctionsExplorerPanel.js → explorer/QueryBuilderFunctionsExplorerPanel.js} +1 -1
  45. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -0
  46. package/lib/components/{QueryBuilderMilestoneEditor.d.ts → explorer/QueryBuilderMilestoneEditor.d.ts} +1 -1
  47. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +1 -0
  48. package/lib/components/{QueryBuilderMilestoneEditor.js → explorer/QueryBuilderMilestoneEditor.js} +3 -3
  49. package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +1 -0
  50. package/lib/components/{QueryBuilderPropertySearchPanel.d.ts → explorer/QueryBuilderPropertySearchPanel.d.ts} +1 -1
  51. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -0
  52. package/lib/components/{QueryBuilderPropertySearchPanel.js → explorer/QueryBuilderPropertySearchPanel.js} +5 -5
  53. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -0
  54. package/lib/components/{QueryBuilderFetchStructurePanel.d.ts → fetch-structure/QueryBuilderFetchStructurePanel.d.ts} +1 -1
  55. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -0
  56. package/lib/components/{QueryBuilderFetchStructurePanel.js → fetch-structure/QueryBuilderFetchStructurePanel.js} +15 -12
  57. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -0
  58. package/lib/components/{QueryBuilderGraphFetchTreePanel.d.ts → fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts} +3 -3
  59. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -0
  60. package/lib/components/{QueryBuilderGraphFetchTreePanel.js → fetch-structure/QueryBuilderGraphFetchTreePanel.js} +4 -4
  61. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -0
  62. package/lib/components/{QueryBuilderPostFilterPanel.d.ts → fetch-structure/QueryBuilderPostFilterPanel.d.ts} +3 -3
  63. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -0
  64. package/lib/components/{QueryBuilderPostFilterPanel.js → fetch-structure/QueryBuilderPostFilterPanel.js} +20 -18
  65. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -0
  66. package/lib/components/{QueryBuilderProjectionPanel.d.ts → fetch-structure/QueryBuilderProjectionPanel.d.ts} +1 -1
  67. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -0
  68. package/lib/components/{QueryBuilderProjectionPanel.js → fetch-structure/QueryBuilderProjectionPanel.js} +11 -11
  69. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -0
  70. package/lib/components/{QueryBuilderResultModifierPanel.d.ts → fetch-structure/QueryBuilderResultModifierPanel.d.ts} +1 -1
  71. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -0
  72. package/lib/components/{QueryBuilderResultModifierPanel.js → fetch-structure/QueryBuilderResultModifierPanel.js} +9 -6
  73. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -0
  74. package/lib/components/{QueryBuilderFilterPanel.d.ts → filter/QueryBuilderFilterPanel.d.ts} +1 -1
  75. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -0
  76. package/lib/components/{QueryBuilderFilterPanel.js → filter/QueryBuilderFilterPanel.js} +10 -9
  77. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -0
  78. package/lib/components/{QueryBuilderLambdaEditor.d.ts → shared/QueryBuilderLambdaEditor.d.ts} +1 -1
  79. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +1 -0
  80. package/lib/components/{QueryBuilderLambdaEditor.js → shared/QueryBuilderLambdaEditor.js} +0 -0
  81. package/lib/components/shared/QueryBuilderLambdaEditor.js.map +1 -0
  82. package/lib/components/{QueryBuilderPanelIssueCountBadge.d.ts → shared/QueryBuilderPanelIssueCountBadge.d.ts} +0 -0
  83. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -0
  84. package/lib/components/{QueryBuilderPanelIssueCountBadge.js → shared/QueryBuilderPanelIssueCountBadge.js} +0 -0
  85. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -0
  86. package/lib/components/{QueryBuilderPropertyInfoTooltip.d.ts → shared/QueryBuilderPropertyInfoTooltip.d.ts} +0 -0
  87. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -0
  88. package/lib/components/{QueryBuilderPropertyInfoTooltip.js → shared/QueryBuilderPropertyInfoTooltip.js} +0 -0
  89. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -0
  90. package/lib/index.css +2 -2
  91. package/lib/index.css.map +1 -1
  92. package/lib/index.d.ts +0 -4
  93. package/lib/index.d.ts.map +1 -1
  94. package/lib/index.js +0 -4
  95. package/lib/index.js.map +1 -1
  96. package/lib/package.json +1 -2
  97. package/lib/stores/LegendQueryBaseStore.d.ts +2 -4
  98. package/lib/stores/LegendQueryBaseStore.d.ts.map +1 -1
  99. package/lib/stores/LegendQueryBaseStore.js +1 -5
  100. package/lib/stores/LegendQueryBaseStore.js.map +1 -1
  101. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts +22 -0
  102. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +1 -0
  103. package/lib/stores/QueryBuilderGroupOperationHelper.js +43 -0
  104. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -0
  105. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -1
  106. package/lib/stores/QueryBuilderPreviewDataHelper.js +16 -17
  107. package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -1
  108. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  109. package/lib/stores/QueryBuilderPropertyEditorState.js +5 -4
  110. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  111. package/lib/stores/QueryBuilderResultState.js +1 -1
  112. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  113. package/lib/stores/QueryBuilderState.d.ts +9 -16
  114. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  115. package/lib/stores/QueryBuilderState.js +19 -33
  116. package/lib/stores/QueryBuilderState.js.map +1 -1
  117. package/lib/stores/QueryBuilderTestUtils.d.ts.map +1 -1
  118. package/lib/stores/QueryBuilderTestUtils.js +2 -1
  119. package/lib/stores/QueryBuilderTestUtils.js.map +1 -1
  120. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +7 -7
  121. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  122. package/lib/stores/QueryBuilderTypeaheadHelper.js +23 -28
  123. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  124. package/lib/stores/{QueryBuilderLambdaBuilder.d.ts → QueryBuilderValueSpecificationBuilder.d.ts} +1 -3
  125. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -0
  126. package/lib/stores/{QueryBuilderLambdaBuilder.js → QueryBuilderValueSpecificationBuilder.js} +179 -190
  127. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -0
  128. package/lib/stores/{QueryBuilderOperatorsHelper.d.ts → QueryBuilderValueSpecificationHelper.d.ts} +5 -9
  129. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -0
  130. package/lib/stores/{QueryBuilderOperatorsHelper.js → QueryBuilderValueSpecificationHelper.js} +38 -30
  131. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -0
  132. package/lib/stores/{QueryBuilderLambdaProcessor.d.ts → QueryBuilderValueSpecificationProcessor.d.ts} +1 -1
  133. package/lib/stores/QueryBuilderValueSpecificationProcessor.d.ts.map +1 -0
  134. package/lib/stores/{QueryBuilderLambdaProcessor.js → QueryBuilderValueSpecificationProcessor.js} +16 -14
  135. package/lib/stores/QueryBuilderValueSpecificationProcessor.js.map +1 -0
  136. package/lib/stores/QueryEditorStore.d.ts +4 -6
  137. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  138. package/lib/stores/QueryEditorStore.js +7 -9
  139. package/lib/stores/QueryEditorStore.js.map +1 -1
  140. package/lib/stores/QueryEditorStoreTestUtils.d.ts.map +1 -1
  141. package/lib/stores/QueryEditorStoreTestUtils.js +0 -1
  142. package/lib/stores/QueryEditorStoreTestUtils.js.map +1 -1
  143. package/lib/stores/QuerySetupStore.d.ts +1 -3
  144. package/lib/stores/QuerySetupStore.d.ts.map +1 -1
  145. package/lib/stores/QuerySetupStore.js +1 -3
  146. package/lib/stores/QuerySetupStore.js.map +1 -1
  147. package/lib/stores/{QueryBuilderExplorerState.d.ts → explorer/QueryBuilderExplorerState.d.ts} +3 -2
  148. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -0
  149. package/lib/stores/{QueryBuilderExplorerState.js → explorer/QueryBuilderExplorerState.js} +71 -3
  150. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -0
  151. package/lib/stores/{QueryBuilderPropertySearchPanelState.d.ts → explorer/QueryBuilderPropertySearchPanelState.d.ts} +2 -2
  152. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts.map +1 -0
  153. package/lib/stores/{QueryBuilderPropertySearchPanelState.js → explorer/QueryBuilderPropertySearchPanelState.js} +1 -1
  154. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js.map +1 -0
  155. package/lib/stores/{QueryFunctionsExplorerState.d.ts → explorer/QueryFunctionsExplorerState.d.ts} +1 -1
  156. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -0
  157. package/lib/stores/{QueryFunctionsExplorerState.js → explorer/QueryFunctionsExplorerState.js} +0 -0
  158. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -0
  159. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +23 -0
  160. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -0
  161. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +24 -0
  162. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -0
  163. package/lib/stores/{QueryBuilderFetchStructureState.d.ts → fetch-structure/QueryBuilderFetchStructureState.d.ts} +11 -7
  164. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -0
  165. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +116 -0
  166. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -0
  167. package/lib/stores/{QueryBuilderGraphFetchTreeState.d.ts → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts} +6 -5
  168. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -0
  169. package/lib/stores/{QueryBuilderGraphFetchTreeState.js → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js} +17 -17
  170. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -0
  171. package/lib/stores/{QueryBuilderGraphFetchTreeUtil.d.ts → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts} +2 -2
  172. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -0
  173. package/lib/stores/{QueryBuilderGraphFetchTreeUtil.js → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js} +1 -1
  174. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -0
  175. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +19 -0
  176. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +1 -0
  177. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +49 -0
  178. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +1 -0
  179. package/lib/stores/{QueryBuilderProjectionState.d.ts → fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts} +6 -34
  180. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -0
  181. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +187 -0
  182. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +1 -0
  183. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +59 -0
  184. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -0
  185. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +203 -0
  186. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -0
  187. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +21 -0
  188. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -0
  189. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +73 -0
  190. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -0
  191. package/lib/stores/{QueryResultSetModifierState.d.ts → fetch-structure/projection/QueryResultSetModifierState.d.ts} +5 -14
  192. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +1 -0
  193. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +77 -0
  194. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +1 -0
  195. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +32 -0
  196. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -0
  197. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +36 -0
  198. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +1 -0
  199. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +18 -0
  200. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +1 -0
  201. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +38 -0
  202. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +1 -0
  203. package/lib/stores/{QueryBuilderAggregationState.d.ts → fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts} +4 -15
  204. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -0
  205. package/lib/stores/{QueryBuilderAggregationState.js → fetch-structure/projection/aggregation/QueryBuilderAggregationState.js} +2 -21
  206. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -0
  207. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperatorHelper.d.ts +3 -2
  208. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +1 -0
  209. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperatorHelper.js +1 -1
  210. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +1 -0
  211. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Average.d.ts +3 -2
  212. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
  213. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Average.js +3 -3
  214. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -0
  215. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Count.d.ts +3 -2
  216. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
  217. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Count.js +3 -3
  218. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -0
  219. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Distinct.d.ts +3 -2
  220. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
  221. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Distinct.js +3 -3
  222. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
  223. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_DistinctCount.d.ts +3 -2
  224. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
  225. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_DistinctCount.js +4 -3
  226. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
  227. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_JoinString.d.ts +3 -2
  228. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
  229. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_JoinString.js +4 -3
  230. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
  231. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Max.d.ts +3 -2
  232. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
  233. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Max.js +3 -3
  234. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -0
  235. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Min.d.ts +3 -2
  236. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
  237. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Min.js +3 -3
  238. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -0
  239. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Population.d.ts +3 -2
  240. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
  241. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Population.js +3 -3
  242. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
  243. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +3 -2
  244. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
  245. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Sample.js +3 -3
  246. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
  247. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Sum.d.ts +3 -2
  248. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
  249. package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Sum.js +3 -3
  250. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
  251. package/lib/stores/{QueryBuilderPostFilterOperator.d.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts} +0 -0
  252. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -0
  253. package/lib/stores/{QueryBuilderPostFilterOperator.js → fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js} +0 -0
  254. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +1 -0
  255. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +18 -0
  256. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +1 -0
  257. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +44 -0
  258. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +1 -0
  259. package/lib/stores/{QueryBuilderPostFilterState.d.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts} +6 -6
  260. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -0
  261. package/lib/stores/{QueryBuilderPostFilterState.js → fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js} +18 -15
  262. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -0
  263. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +19 -0
  264. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -0
  265. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +82 -0
  266. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -0
  267. package/lib/stores/{QueryBuilderPostFilterProcessor.d.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.d.ts} +2 -5
  268. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.d.ts.map +1 -0
  269. package/lib/stores/{QueryBuilderPostFilterProcessor.js → fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.js} +13 -11
  270. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.js.map +1 -0
  271. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
  272. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
  273. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperatorHelper.js +5 -5
  274. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
  275. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Contain.d.ts +0 -0
  276. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
  277. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Contain.js +7 -8
  278. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
  279. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -0
  280. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
  281. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_EndWith.js +7 -8
  282. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
  283. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Equal.d.ts +0 -0
  284. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
  285. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Equal.js +11 -12
  286. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
  287. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -0
  288. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
  289. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThan.js +8 -9
  290. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
  291. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -0
  292. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  293. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThanEqual.js +2 -2
  294. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
  295. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_In.d.ts +0 -0
  296. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
  297. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_In.js +8 -8
  298. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -0
  299. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -0
  300. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
  301. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_IsEmpty.js +3 -3
  302. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
  303. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -0
  304. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
  305. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThan.js +8 -9
  306. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
  307. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -0
  308. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
  309. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThanEqual.js +2 -2
  310. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
  311. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -0
  312. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
  313. package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_StartWith.js +7 -8
  314. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -0
  315. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +27 -0
  316. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -0
  317. package/lib/stores/filter/QueryBuilderFilterOperator.js +20 -0
  318. package/lib/stores/filter/QueryBuilderFilterOperator.js.map +1 -0
  319. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts +18 -0
  320. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +1 -0
  321. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js +44 -0
  322. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +1 -0
  323. package/lib/stores/{QueryBuilderFilterState.d.ts → filter/QueryBuilderFilterState.d.ts} +7 -16
  324. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -0
  325. package/lib/stores/{QueryBuilderFilterState.js → filter/QueryBuilderFilterState.js} +9 -70
  326. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -0
  327. package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.d.ts +19 -0
  328. package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -0
  329. package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.js +78 -0
  330. package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.js.map +1 -0
  331. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperatorHelper.d.ts +2 -1
  332. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +1 -0
  333. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperatorHelper.js +3 -3
  334. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +1 -0
  335. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Contain.d.ts +2 -1
  336. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -0
  337. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Contain.js +3 -4
  338. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -0
  339. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_EndWith.d.ts +2 -1
  340. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -0
  341. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_EndWith.js +3 -4
  342. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -0
  343. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Equal.d.ts +2 -1
  344. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -0
  345. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Equal.js +4 -5
  346. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -0
  347. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThan.d.ts +2 -1
  348. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -0
  349. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThan.js +4 -5
  350. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -0
  351. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +2 -1
  352. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  353. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThanEqual.js +4 -5
  354. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -0
  355. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_In.d.ts +2 -1
  356. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -0
  357. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_In.js +3 -3
  358. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -0
  359. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_IsEmpty.d.ts +2 -1
  360. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -0
  361. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_IsEmpty.js +3 -3
  362. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -0
  363. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThan.d.ts +2 -1
  364. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -0
  365. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThan.js +4 -5
  366. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -0
  367. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThanEqual.d.ts +2 -1
  368. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -0
  369. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThanEqual.js +4 -5
  370. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -0
  371. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_StartWith.d.ts +2 -1
  372. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -0
  373. package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_StartWith.js +3 -4
  374. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -0
  375. package/package.json +3 -4
  376. package/src/application/LegendQueryApplicationConfig.ts +1 -6
  377. package/src/components/LegendQueryApplication.tsx +10 -27
  378. package/src/components/LegendQueryBaseStoreProvider.tsx +0 -3
  379. package/src/components/QueryBuilder.tsx +19 -12
  380. package/src/components/QueryBuilderParameterPanel.tsx +1 -0
  381. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +2 -2
  382. package/src/components/QueryBuilderResultPanel.tsx +10 -7
  383. package/src/components/QueryBuilderSetupPanel.tsx +1 -1
  384. package/src/components/QueryBuilderTextEditor.tsx +1 -1
  385. package/src/components/QueryEditorComponentTestUtils.tsx +5 -17
  386. package/src/components/QueryEditorStoreProvider.tsx +0 -7
  387. package/src/components/QuerySetupStoreProvider.tsx +0 -3
  388. package/src/components/{QueryBuilderExplorerPanel.tsx → explorer/QueryBuilderExplorerPanel.tsx} +18 -92
  389. package/src/components/{QueryBuilderFunctionsExplorerPanel.tsx → explorer/QueryBuilderFunctionsExplorerPanel.tsx} +2 -2
  390. package/src/components/{QueryBuilderMilestoneEditor.tsx → explorer/QueryBuilderMilestoneEditor.tsx} +4 -4
  391. package/src/components/{QueryBuilderPropertySearchPanel.tsx → explorer/QueryBuilderPropertySearchPanel.tsx} +6 -6
  392. package/src/components/{QueryBuilderFetchStructurePanel.tsx → fetch-structure/QueryBuilderFetchStructurePanel.tsx} +23 -14
  393. package/src/components/{QueryBuilderGraphFetchTreePanel.tsx → fetch-structure/QueryBuilderGraphFetchTreePanel.tsx} +6 -6
  394. package/src/components/{QueryBuilderPostFilterPanel.tsx → fetch-structure/QueryBuilderPostFilterPanel.tsx} +26 -30
  395. package/src/components/{QueryBuilderProjectionPanel.tsx → fetch-structure/QueryBuilderProjectionPanel.tsx} +13 -15
  396. package/src/components/{QueryBuilderResultModifierPanel.tsx → fetch-structure/QueryBuilderResultModifierPanel.tsx} +16 -8
  397. package/src/components/{QueryBuilderFilterPanel.tsx → filter/QueryBuilderFilterPanel.tsx} +12 -19
  398. package/src/components/{QueryBuilderLambdaEditor.tsx → shared/QueryBuilderLambdaEditor.tsx} +1 -1
  399. package/src/components/{QueryBuilderPanelIssueCountBadge.tsx → shared/QueryBuilderPanelIssueCountBadge.tsx} +0 -0
  400. package/src/components/{QueryBuilderPropertyInfoTooltip.tsx → shared/QueryBuilderPropertyInfoTooltip.tsx} +0 -0
  401. package/src/index.ts +0 -4
  402. package/src/stores/LegendQueryBaseStore.ts +1 -14
  403. package/src/stores/QueryBuilderGroupOperationHelper.ts +54 -0
  404. package/src/stores/QueryBuilderPreviewDataHelper.ts +17 -21
  405. package/src/stores/QueryBuilderPropertyEditorState.ts +6 -3
  406. package/src/stores/QueryBuilderResultState.ts +1 -1
  407. package/src/stores/QueryBuilderState.ts +22 -53
  408. package/src/stores/QueryBuilderTestUtils.ts +4 -1
  409. package/src/stores/QueryBuilderTypeaheadHelper.ts +31 -32
  410. package/src/stores/{QueryBuilderLambdaBuilder.ts → QueryBuilderValueSpecificationBuilder.ts} +331 -347
  411. package/src/stores/{QueryBuilderOperatorsHelper.ts → QueryBuilderValueSpecificationHelper.ts} +66 -47
  412. package/src/stores/{QueryBuilderLambdaProcessor.ts → QueryBuilderValueSpecificationProcessor.ts} +20 -13
  413. package/src/stores/QueryEditorStore.ts +3 -10
  414. package/src/stores/QueryEditorStoreTestUtils.ts +0 -1
  415. package/src/stores/QuerySetupStore.ts +0 -4
  416. package/src/stores/{QueryBuilderExplorerState.ts → explorer/QueryBuilderExplorerState.ts} +138 -3
  417. package/src/stores/{QueryBuilderPropertySearchPanelState.ts → explorer/QueryBuilderPropertySearchPanelState.ts} +2 -2
  418. package/src/stores/{QueryFunctionsExplorerState.ts → explorer/QueryFunctionsExplorerState.ts} +1 -1
  419. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +34 -0
  420. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +173 -0
  421. package/src/stores/{QueryBuilderGraphFetchTreeState.ts → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts} +29 -25
  422. package/src/stores/{QueryBuilderGraphFetchTreeUtil.ts → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts} +2 -2
  423. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +90 -0
  424. package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +329 -0
  425. package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +390 -0
  426. package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +170 -0
  427. package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +95 -0
  428. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +79 -0
  429. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +41 -0
  430. package/src/stores/{QueryBuilderAggregationState.ts → fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts} +6 -69
  431. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperatorHelper.ts +3 -5
  432. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Average.ts +4 -6
  433. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Count.ts +4 -6
  434. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Distinct.ts +4 -6
  435. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_DistinctCount.ts +4 -6
  436. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_JoinString.ts +4 -6
  437. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Max.ts +4 -6
  438. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Min.ts +4 -6
  439. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Population.ts +4 -6
  440. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Sample.ts +4 -6
  441. package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Sum.ts +4 -6
  442. package/src/stores/{QueryBuilderPostFilterOperator.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts} +0 -0
  443. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +65 -0
  444. package/src/stores/{QueryBuilderPostFilterState.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts} +35 -28
  445. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +131 -0
  446. package/src/stores/{QueryBuilderPostFilterProcessor.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.ts} +13 -11
  447. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperatorHelper.ts +5 -5
  448. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Contain.ts +12 -12
  449. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_EndWith.ts +12 -12
  450. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Equal.ts +17 -17
  451. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThan.ts +12 -12
  452. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +2 -2
  453. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_In.ts +12 -12
  454. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_IsEmpty.ts +3 -3
  455. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThan.ts +12 -12
  456. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThanEqual.ts +2 -2
  457. package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_StartWith.ts +12 -12
  458. package/src/stores/filter/QueryBuilderFilterOperator.ts +52 -0
  459. package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +65 -0
  460. package/src/stores/{QueryBuilderFilterState.ts → filter/QueryBuilderFilterState.ts} +26 -148
  461. package/src/stores/filter/QueryBuilderValueSpecificationBuilder.ts +120 -0
  462. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperatorHelper.ts +4 -4
  463. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Contain.ts +8 -8
  464. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_EndWith.ts +8 -8
  465. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Equal.ts +10 -10
  466. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThan.ts +9 -9
  467. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThanEqual.ts +9 -9
  468. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_In.ts +7 -7
  469. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_IsEmpty.ts +6 -6
  470. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThan.ts +9 -9
  471. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThanEqual.ts +9 -9
  472. package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_StartWith.ts +7 -7
  473. package/tsconfig.json +75 -65
  474. package/lib/components/QueryBuilderExplorerPanel.d.ts.map +0 -1
  475. package/lib/components/QueryBuilderExplorerPanel.js.map +0 -1
  476. package/lib/components/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
  477. package/lib/components/QueryBuilderFetchStructurePanel.js.map +0 -1
  478. package/lib/components/QueryBuilderFilterPanel.d.ts.map +0 -1
  479. package/lib/components/QueryBuilderFilterPanel.js.map +0 -1
  480. package/lib/components/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
  481. package/lib/components/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
  482. package/lib/components/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
  483. package/lib/components/QueryBuilderGraphFetchTreePanel.js.map +0 -1
  484. package/lib/components/QueryBuilderLambdaEditor.d.ts.map +0 -1
  485. package/lib/components/QueryBuilderLambdaEditor.js.map +0 -1
  486. package/lib/components/QueryBuilderMilestoneEditor.d.ts.map +0 -1
  487. package/lib/components/QueryBuilderMilestoneEditor.js.map +0 -1
  488. package/lib/components/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
  489. package/lib/components/QueryBuilderPanelIssueCountBadge.js.map +0 -1
  490. package/lib/components/QueryBuilderPostFilterPanel.d.ts.map +0 -1
  491. package/lib/components/QueryBuilderPostFilterPanel.js.map +0 -1
  492. package/lib/components/QueryBuilderProjectionPanel.d.ts.map +0 -1
  493. package/lib/components/QueryBuilderProjectionPanel.js.map +0 -1
  494. package/lib/components/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
  495. package/lib/components/QueryBuilderPropertyInfoTooltip.js.map +0 -1
  496. package/lib/components/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
  497. package/lib/components/QueryBuilderPropertySearchPanel.js.map +0 -1
  498. package/lib/components/QueryBuilderResultModifierPanel.d.ts.map +0 -1
  499. package/lib/components/QueryBuilderResultModifierPanel.js.map +0 -1
  500. package/lib/stores/QueryBuilderAggregationState.d.ts.map +0 -1
  501. package/lib/stores/QueryBuilderAggregationState.js.map +0 -1
  502. package/lib/stores/QueryBuilderExplorerState.d.ts.map +0 -1
  503. package/lib/stores/QueryBuilderExplorerState.js.map +0 -1
  504. package/lib/stores/QueryBuilderFetchStructureState.d.ts.map +0 -1
  505. package/lib/stores/QueryBuilderFetchStructureState.js +0 -58
  506. package/lib/stores/QueryBuilderFetchStructureState.js.map +0 -1
  507. package/lib/stores/QueryBuilderFilterState.d.ts.map +0 -1
  508. package/lib/stores/QueryBuilderFilterState.js.map +0 -1
  509. package/lib/stores/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
  510. package/lib/stores/QueryBuilderGraphFetchTreeState.js.map +0 -1
  511. package/lib/stores/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
  512. package/lib/stores/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
  513. package/lib/stores/QueryBuilderLambdaBuilder.d.ts.map +0 -1
  514. package/lib/stores/QueryBuilderLambdaBuilder.js.map +0 -1
  515. package/lib/stores/QueryBuilderLambdaProcessor.d.ts.map +0 -1
  516. package/lib/stores/QueryBuilderLambdaProcessor.js.map +0 -1
  517. package/lib/stores/QueryBuilderOperatorLoader.d.ts +0 -47
  518. package/lib/stores/QueryBuilderOperatorLoader.d.ts.map +0 -1
  519. package/lib/stores/QueryBuilderOperatorLoader.js +0 -94
  520. package/lib/stores/QueryBuilderOperatorLoader.js.map +0 -1
  521. package/lib/stores/QueryBuilderOperatorsHelper.d.ts.map +0 -1
  522. package/lib/stores/QueryBuilderOperatorsHelper.js.map +0 -1
  523. package/lib/stores/QueryBuilderPostFilterOperator.d.ts.map +0 -1
  524. package/lib/stores/QueryBuilderPostFilterOperator.js.map +0 -1
  525. package/lib/stores/QueryBuilderPostFilterProcessor.d.ts.map +0 -1
  526. package/lib/stores/QueryBuilderPostFilterProcessor.js.map +0 -1
  527. package/lib/stores/QueryBuilderPostFilterState.d.ts.map +0 -1
  528. package/lib/stores/QueryBuilderPostFilterState.js.map +0 -1
  529. package/lib/stores/QueryBuilderProjectionState.d.ts.map +0 -1
  530. package/lib/stores/QueryBuilderProjectionState.js +0 -416
  531. package/lib/stores/QueryBuilderProjectionState.js.map +0 -1
  532. package/lib/stores/QueryBuilderPropertySearchPanelState.d.ts.map +0 -1
  533. package/lib/stores/QueryBuilderPropertySearchPanelState.js.map +0 -1
  534. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +0 -19
  535. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +0 -1
  536. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +0 -50
  537. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +0 -1
  538. package/lib/stores/QueryFunctionsExplorerState.d.ts.map +0 -1
  539. package/lib/stores/QueryFunctionsExplorerState.js.map +0 -1
  540. package/lib/stores/QueryResultSetModifierState.d.ts.map +0 -1
  541. package/lib/stores/QueryResultSetModifierState.js +0 -165
  542. package/lib/stores/QueryResultSetModifierState.js.map +0 -1
  543. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
  544. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
  545. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
  546. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.js.map +0 -1
  547. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
  548. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.js.map +0 -1
  549. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
  550. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
  551. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
  552. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
  553. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
  554. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
  555. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
  556. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.js.map +0 -1
  557. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
  558. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.js.map +0 -1
  559. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
  560. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
  561. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
  562. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
  563. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
  564. package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
  565. package/lib/stores/filterOperators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
  566. package/lib/stores/filterOperators/QueryBuilderFilterOperatorHelper.js.map +0 -1
  567. package/lib/stores/filterOperators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
  568. package/lib/stores/filterOperators/QueryBuilderFilterOperator_Contain.js.map +0 -1
  569. package/lib/stores/filterOperators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
  570. package/lib/stores/filterOperators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
  571. package/lib/stores/filterOperators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
  572. package/lib/stores/filterOperators/QueryBuilderFilterOperator_Equal.js.map +0 -1
  573. package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
  574. package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
  575. package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  576. package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
  577. package/lib/stores/filterOperators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
  578. package/lib/stores/filterOperators/QueryBuilderFilterOperator_In.js.map +0 -1
  579. package/lib/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
  580. package/lib/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
  581. package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
  582. package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
  583. package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
  584. package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
  585. package/lib/stores/filterOperators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
  586. package/lib/stores/filterOperators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
  587. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
  588. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
  589. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
  590. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
  591. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
  592. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
  593. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
  594. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
  595. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
  596. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
  597. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  598. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
  599. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
  600. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.js.map +0 -1
  601. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
  602. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
  603. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
  604. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
  605. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
  606. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
  607. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
  608. package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
  609. package/src/stores/QueryBuilderFetchStructureState.ts +0 -75
  610. package/src/stores/QueryBuilderOperatorLoader.ts +0 -133
  611. package/src/stores/QueryBuilderProjectionState.ts +0 -783
  612. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +0 -78
  613. package/src/stores/QueryResultSetModifierState.ts +0 -307
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type LambdaFunction } from '@finos/legend-graph';
17
+ import { type QueryResultSetModifierState } from './QueryResultSetModifierState.js';
18
+ export declare const appendResultSetModifiers: (resultModifiersState: QueryResultSetModifierState, lambda: LambdaFunction, options?: {
19
+ overridingLimit?: number | undefined;
20
+ } | undefined) => LambdaFunction;
21
+ //# sourceMappingURL=QueryBuilderProjectionValueSpecificationBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAWpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,KAAK,2BAA2B,EAEjC,MAAM,kCAAkC,CAAC;AAgC1C,eAAO,MAAM,wBAAwB,yBACb,2BAA2B,UACzC,cAAc,YAElB;IACE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,GACD,SAAS,KACZ,cA+FF,CAAC"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, matchFunctionName, Multiplicity, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, } from '@finos/legend-graph';
17
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../QueryBuilder_Const.js';
18
+ import { COLUMN_SORT_TYPE, } from './QueryResultSetModifierState.js';
19
+ const buildSortExpression = (sortColumnState) => {
20
+ const multiplicityOne = sortColumnState.columnState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
21
+ const sortColumnFunction = new SimpleFunctionExpression(extractElementNameFromPath(sortColumnState.sortType === COLUMN_SORT_TYPE.ASC
22
+ ? QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_ASC
23
+ : QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DESC), multiplicityOne);
24
+ const sortColumnName = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(sortColumnState.columnState.projectionState.queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.STRING))), multiplicityOne);
25
+ sortColumnName.values = [sortColumnState.columnState.columnName];
26
+ sortColumnFunction.parametersValues[0] = sortColumnName;
27
+ return sortColumnFunction;
28
+ };
29
+ export const appendResultSetModifiers = (resultModifiersState, lambda, options) => {
30
+ const multiplicityOne = resultModifiersState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
31
+ if (lambda.expressionSequence.length === 1) {
32
+ const func = lambda.expressionSequence[0];
33
+ if (func instanceof SimpleFunctionExpression) {
34
+ if (matchFunctionName(func.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT) ||
35
+ matchFunctionName(func.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY) ||
36
+ matchFunctionName(func.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER)) {
37
+ let currentExpression = func;
38
+ // build distinct()
39
+ if (resultModifiersState.distinct) {
40
+ const distinctFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT), multiplicityOne);
41
+ distinctFunction.parametersValues[0] = currentExpression;
42
+ currentExpression = distinctFunction;
43
+ }
44
+ // build sort()
45
+ if (resultModifiersState.sortColumns.length) {
46
+ const sortFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT), multiplicityOne);
47
+ const multiplicity = new Multiplicity(resultModifiersState.sortColumns.length, resultModifiersState.sortColumns.length);
48
+ const collection = new CollectionInstanceValue(multiplicity, undefined);
49
+ collection.values =
50
+ resultModifiersState.sortColumns.map(buildSortExpression);
51
+ sortFunction.parametersValues[0] = currentExpression;
52
+ sortFunction.parametersValues[1] = collection;
53
+ currentExpression = sortFunction;
54
+ }
55
+ // build take()
56
+ if (resultModifiersState.limit || options?.overridingLimit) {
57
+ const limit = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(resultModifiersState.projectionState.queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.INTEGER))), multiplicityOne);
58
+ limit.values = [
59
+ Math.min(resultModifiersState.limit ?? Number.MAX_SAFE_INTEGER, options?.overridingLimit ?? Number.MAX_SAFE_INTEGER),
60
+ ];
61
+ const takeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE), multiplicityOne);
62
+ takeFunction.parametersValues[0] = currentExpression;
63
+ takeFunction.parametersValues[1] = limit;
64
+ currentExpression = takeFunction;
65
+ }
66
+ lambda.expressionSequence[0] = currentExpression;
67
+ return lambda;
68
+ }
69
+ }
70
+ }
71
+ return lambda;
72
+ };
73
+ //# sourceMappingURL=QueryBuilderProjectionValueSpecificationBuilder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,cAAc,EACd,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,EACL,gBAAgB,GAGjB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,mBAAmB,GAAG,CAC1B,eAAgC,EACN,EAAE;IAC5B,MAAM,eAAe,GACnB,eAAe,CAAC,WAAW,CAAC,eAAe,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC,sBAAsB,CAC1G,yBAAyB,CAAC,GAAG,CAC9B,CAAC;IACJ,MAA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AAc,CAAC,OAAO,CACvB,CACF,CACF,EACD,eAAe,CAChB,CAAC;oBACF,KAAK,CAAC,MAAM,GAAG;wBACb,IAAI,CAAC,GAAG,CACN,oBAAoB,CAAC,KAAK,IAAI,MAAM,CAAC,gBAAgB,EACrD,OAAO,EAAE,eAAe,IAAI,MAAM,CAAC,gBAAgB,CACpD;qBACF,CAAC;oBACF,MAAM,YAAY,GAAG,IAAI,wBAAwB,CAC/C,0BAA0B,CACxB,iCAAiC,CAAC,QAAQ,CAC3C,EACD,eAAe,CAChB,CAAC;oBAEF,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC;oBACrD,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;oBACzC,iBAAiB,GAAG,YAAY,CAAC;iBAClC;gBAED,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC;gBACjD,OAAO,MAAM,CAAC;aACf;SACF;KACF;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -13,40 +13,31 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { QueryBuilderProjectionColumnState } from './QueryBuilderProjectionState.js';
17
- import type { QueryBuilderState } from './QueryBuilderState.js';
18
- import { type LambdaFunction, SimpleFunctionExpression } from '@finos/legend-graph';
16
+ import type { QueryBuilderProjectionState } from './QueryBuilderProjectionState.js';
17
+ import type { QueryBuilderProjectionColumnState } from './QueryBuilderProjectionColumnState.js';
19
18
  export declare enum COLUMN_SORT_TYPE {
20
19
  ASC = 0,
21
20
  DESC = 1
22
21
  }
23
22
  export declare class SortColumnState {
24
- queryBuilderState: QueryBuilderState;
25
23
  columnState: QueryBuilderProjectionColumnState;
26
24
  sortType: COLUMN_SORT_TYPE;
27
- constructor(queryBuilderState: QueryBuilderState, columnState: QueryBuilderProjectionColumnState);
25
+ constructor(columnState: QueryBuilderProjectionColumnState);
28
26
  setColumnState(val: QueryBuilderProjectionColumnState): void;
29
27
  setSortType(val: COLUMN_SORT_TYPE): void;
30
- buildFunctionExpression(): SimpleFunctionExpression;
31
28
  }
32
29
  export declare class QueryResultSetModifierState {
33
- queryBuilderState: QueryBuilderState;
30
+ projectionState: QueryBuilderProjectionState;
34
31
  showModal: boolean;
35
32
  limit?: number | undefined;
36
33
  distinct: boolean;
37
34
  sortColumns: SortColumnState[];
38
- constructor(queryBuilderState: QueryBuilderState);
35
+ constructor(projectionState: QueryBuilderProjectionState);
39
36
  setShowModal(val: boolean): void;
40
37
  setLimit(val: number | undefined): void;
41
38
  toggleDistinct(): void;
42
39
  deleteSortColumn(val: SortColumnState): void;
43
40
  addSortColumn(val: SortColumnState): void;
44
41
  updateSortColumns(): void;
45
- /**
46
- * Build result set modifiers into the lambda.
47
- */
48
- buildResultSetModifiers(lambda: LambdaFunction, options?: {
49
- overridingLimit?: number | undefined;
50
- } | undefined): LambdaFunction;
51
42
  }
52
43
  //# sourceMappingURL=QueryResultSetModifierState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryResultSetModifierState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryResultSetModifierState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAGhG,oBAAY,gBAAgB;IAC1B,GAAG,IAAA;IACH,IAAI,IAAA;CACL;AAED,qBAAa,eAAe;IAC1B,WAAW,EAAE,iCAAiC,CAAC;IAC/C,QAAQ,mBAAwB;gBAEpB,WAAW,EAAE,iCAAiC;IAS1D,cAAc,CAAC,GAAG,EAAE,iCAAiC,GAAG,IAAI;IAI5D,WAAW,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI;CAGzC;AAED,qBAAa,2BAA2B;IACtC,eAAe,EAAE,2BAA2B,CAAC;IAC7C,SAAS,UAAS;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,QAAQ,UAAS;IACjB,WAAW,EAAE,eAAe,EAAE,CAAM;gBAExB,eAAe,EAAE,2BAA2B;IAcxD,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIhC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAIvC,cAAc,IAAI,IAAI;IAItB,gBAAgB,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAI5C,aAAa,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAIzC,iBAAiB,IAAI,IAAI;CAK1B"}
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { action, makeAutoObservable } from 'mobx';
17
+ import { addUniqueEntry, deleteEntry } from '@finos/legend-shared';
18
+ export var COLUMN_SORT_TYPE;
19
+ (function (COLUMN_SORT_TYPE) {
20
+ COLUMN_SORT_TYPE[COLUMN_SORT_TYPE["ASC"] = 0] = "ASC";
21
+ COLUMN_SORT_TYPE[COLUMN_SORT_TYPE["DESC"] = 1] = "DESC";
22
+ })(COLUMN_SORT_TYPE = COLUMN_SORT_TYPE || (COLUMN_SORT_TYPE = {}));
23
+ export class SortColumnState {
24
+ columnState;
25
+ sortType = COLUMN_SORT_TYPE.ASC;
26
+ constructor(columnState) {
27
+ makeAutoObservable(this, {
28
+ setColumnState: action,
29
+ setSortType: action,
30
+ });
31
+ this.columnState = columnState;
32
+ }
33
+ setColumnState(val) {
34
+ this.columnState = val;
35
+ }
36
+ setSortType(val) {
37
+ this.sortType = val;
38
+ }
39
+ }
40
+ export class QueryResultSetModifierState {
41
+ projectionState;
42
+ showModal = false;
43
+ limit;
44
+ distinct = false;
45
+ sortColumns = [];
46
+ constructor(projectionState) {
47
+ makeAutoObservable(this, {
48
+ projectionState: false,
49
+ setShowModal: action,
50
+ setLimit: action,
51
+ toggleDistinct: action,
52
+ deleteSortColumn: action,
53
+ addSortColumn: action,
54
+ updateSortColumns: action,
55
+ });
56
+ this.projectionState = projectionState;
57
+ }
58
+ setShowModal(val) {
59
+ this.showModal = val;
60
+ }
61
+ setLimit(val) {
62
+ this.limit = val === undefined || val <= 0 ? undefined : val;
63
+ }
64
+ toggleDistinct() {
65
+ this.distinct = !this.distinct;
66
+ }
67
+ deleteSortColumn(val) {
68
+ deleteEntry(this.sortColumns, val);
69
+ }
70
+ addSortColumn(val) {
71
+ addUniqueEntry(this.sortColumns, val);
72
+ }
73
+ updateSortColumns() {
74
+ this.sortColumns = this.sortColumns.filter((e) => this.projectionState.columns.includes(e.columnState));
75
+ }
76
+ }
77
+ //# sourceMappingURL=QueryResultSetModifierState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryResultSetModifierState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryResultSetModifierState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAGlD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,qDAAG,CAAA;IACH,uDAAI,CAAA;AACN,CAAC,EAHW,gBAAgB,GAAhB,gBAAgB,KAAhB,gBAAgB,QAG3B;AAED,MAAM,OAAO,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AAW,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IACrC,CAAC;IAED,aAAa,CAAC,GAAoB;QAChC,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IACxC,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAC/C,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CACrD,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { AbstractPropertyExpression, PureModel, SimpleFunctionExpression, Type, ValueSpecification, VariableExpression } from '@finos/legend-graph';
17
+ import { type QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionColumnState.js';
18
+ import type { QueryBuilderAggregateColumnState } from './QueryBuilderAggregationState.js';
19
+ export declare abstract class QueryBuilderAggregateOperator {
20
+ readonly uuid: string;
21
+ abstract getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
22
+ abstract isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
23
+ abstract buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
24
+ buildAggregateExpressionFromState(aggregateColumnState: QueryBuilderAggregateColumnState): ValueSpecification;
25
+ abstract buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
26
+ /**
27
+ * Returns the expected return type of the operator.
28
+ * defaults to using the return type of the projection column state which is being aggregated.
29
+ */
30
+ getReturnType(aggregateColumnState: QueryBuilderAggregateColumnState): Type;
31
+ }
32
+ //# sourceMappingURL=QueryBuilderAggregateOperator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,0BAA0B,EAC1B,SAAS,EACT,wBAAwB,EACxB,IAAI,EACJ,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AAE1F,8BAAsB,6BAA6B;IACjD,QAAQ,CAAC,IAAI,SAAU;IAEvB,QAAQ,CAAC,QAAQ,CACf,qBAAqB,EAAE,iCAAiC,GACvD,MAAM;IAET,QAAQ,CAAC,sBAAsB,CAC7B,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAEV,QAAQ,CAAC,wBAAwB,CAC/B,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAErB,iCAAiC,CAC/B,oBAAoB,EAAE,gCAAgC,GACrD,kBAAkB;IAarB,QAAQ,CAAC,yBAAyB,CAChC,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAE/C;;;OAGG;IACH,aAAa,CAAC,oBAAoB,EAAE,gCAAgC,GAAG,IAAI;CAK5E"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { uuid, guaranteeNonNullable } from '@finos/legend-shared';
17
+ import { QueryBuilderSimpleProjectionColumnState, } from '../QueryBuilderProjectionColumnState.js';
18
+ export class QueryBuilderAggregateOperator {
19
+ uuid = uuid();
20
+ buildAggregateExpressionFromState(aggregateColumnState) {
21
+ return this.buildAggregateExpression(aggregateColumnState.projectionColumnState instanceof
22
+ QueryBuilderSimpleProjectionColumnState
23
+ ? aggregateColumnState.projectionColumnState.propertyExpressionState
24
+ .propertyExpression
25
+ : undefined, aggregateColumnState.lambdaParameterName, aggregateColumnState.aggregationState.projectionState.queryBuilderState
26
+ .graphManagerState.graph);
27
+ }
28
+ /**
29
+ * Returns the expected return type of the operator.
30
+ * defaults to using the return type of the projection column state which is being aggregated.
31
+ */
32
+ getReturnType(aggregateColumnState) {
33
+ return guaranteeNonNullable(aggregateColumnState.projectionColumnState.getReturnType());
34
+ }
35
+ }
36
+ //# sourceMappingURL=QueryBuilderAggregateOperator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AASlE,OAAO,EAEL,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAGjD,MAAM,OAAgB,6BAA6B;IACxC,IAAI,GAAG,IAAI,EAAE,CAAC;IAgBvB,iCAAiC,CAC/B,oBAAsD;QAEtD,OAAO,IAAI,CAAC,wBAAwB,CAClC,oBAAoB,CAAC,qBAAqB;YACxC,uCAAuC;YACvC,CAAC,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,uBAAuB;iBAC/D,kBAAkB;YACvB,CAAC,CAAC,SAAS,EACb,oBAAoB,CAAC,mBAAmB,EACxC,oBAAoB,CAAC,gBAAgB,CAAC,eAAe,CAAC,iBAAiB;aACpE,iBAAiB,CAAC,KAAK,CAC3B,CAAC;IACJ,CAAC;IAQD;;;OAGG;IACH,aAAa,CAAC,oBAAsD;QAClE,OAAO,oBAAoB,CACzB,oBAAoB,CAAC,qBAAqB,CAAC,aAAa,EAAE,CAC3D,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
17
+ export declare const getQueryBuilderCoreAggregrationOperators: () => QueryBuilderAggregateOperator[];
18
+ //# sourceMappingURL=QueryBuilderAggregateOperatorLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperatorLoader.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAExF,eAAO,MAAM,wCAAwC,QAC/C,6BAA6B,EAWhC,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { QueryBuilderAggregateOperator_Count } from './operators/QueryBuilderAggregateOperator_Count.js';
17
+ import { QueryBuilderAggregateOperator_Distinct } from './operators/QueryBuilderAggregateOperator_Distinct.js';
18
+ import { QueryBuilderAggregateOperator_Sum } from './operators/QueryBuilderAggregateOperator_Sum.js';
19
+ import { QueryBuilderAggregateOperator_Average } from './operators/QueryBuilderAggregateOperator_Average.js';
20
+ import { QueryBuilderAggregateOperator_StdDev_Population } from './operators/QueryBuilderAggregateOperator_StdDev_Population.js';
21
+ import { QueryBuilderAggregateOperator_StdDev_Sample } from './operators/QueryBuilderAggregateOperator_StdDev_Sample.js';
22
+ import { QueryBuilderAggregateOperator_DistinctCount } from './operators/QueryBuilderAggregateOperator_DistinctCount.js';
23
+ import { QueryBuilderAggregateOperator_Min } from './operators/QueryBuilderAggregateOperator_Min.js';
24
+ import { QueryBuilderAggregateOperator_Max } from './operators/QueryBuilderAggregateOperator_Max.js';
25
+ import { QueryBuilderAggregateOperator_JoinString } from './operators/QueryBuilderAggregateOperator_JoinString.js';
26
+ export const getQueryBuilderCoreAggregrationOperators = () => [
27
+ new QueryBuilderAggregateOperator_Count(),
28
+ new QueryBuilderAggregateOperator_DistinctCount(),
29
+ new QueryBuilderAggregateOperator_Distinct(),
30
+ new QueryBuilderAggregateOperator_Sum(),
31
+ new QueryBuilderAggregateOperator_Average(),
32
+ new QueryBuilderAggregateOperator_Min(),
33
+ new QueryBuilderAggregateOperator_Max(),
34
+ new QueryBuilderAggregateOperator_StdDev_Population(),
35
+ new QueryBuilderAggregateOperator_StdDev_Sample(),
36
+ new QueryBuilderAggregateOperator_JoinString(),
37
+ ];
38
+ //# sourceMappingURL=QueryBuilderAggregateOperatorLoader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperatorLoader.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,EAAE,sCAAsC,EAAE,MAAM,uDAAuD,CAAC;AAC/G,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,qCAAqC,EAAE,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,+CAA+C,EAAE,MAAM,gEAAgE,CAAC;AACjI,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,wCAAwC,EAAE,MAAM,yDAAyD,CAAC;AAGnH,MAAM,CAAC,MAAM,wCAAwC,GACnD,GAAoC,EAAE,CAAC;IACrC,IAAI,mCAAmC,EAAE;IACzC,IAAI,2CAA2C,EAAE;IACjD,IAAI,sCAAsC,EAAE;IAC5C,IAAI,iCAAiC,EAAE;IACvC,IAAI,qCAAqC,EAAE;IAC3C,IAAI,iCAAiC,EAAE;IACvC,IAAI,iCAAiC,EAAE;IACvC,IAAI,+CAA+C,EAAE;IACrD,IAAI,2CAA2C,EAAE;IACjD,IAAI,wCAAwC,EAAE;CAC/C,CAAC"}
@@ -13,21 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { AbstractPropertyExpression, PureModel, SimpleFunctionExpression, Type, ValueSpecification, VariableExpression } from '@finos/legend-graph';
17
- import { type QueryBuilderProjectionColumnState, type QueryBuilderProjectionState } from './QueryBuilderProjectionState.js';
18
- export declare abstract class QueryBuilderAggregateOperator {
19
- readonly uuid: string;
20
- abstract getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
21
- abstract isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
22
- abstract buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
23
- buildAggregateExpressionFromState(aggregateColumnState: QueryBuilderAggregateColumnState): ValueSpecification;
24
- abstract buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
25
- /**
26
- * Returns the expected return type of the operator.
27
- * defaults to using the return type of the projection column state which is being aggregated.
28
- */
29
- getReturnType(aggregateColumnState: QueryBuilderAggregateColumnState): Type;
30
- }
16
+ import type { Type } from '@finos/legend-graph';
17
+ import type { QueryBuilderProjectionState } from '../QueryBuilderProjectionState.js';
18
+ import type { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
19
+ import type { QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionColumnState.js';
31
20
  export declare class QueryBuilderAggregateColumnState {
32
21
  readonly uuid: string;
33
22
  aggregationState: QueryBuilderAggregationState;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregationState.d.ts","sourceRoot":"","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A4CR"}
@@ -14,27 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { action, makeAutoObservable } from 'mobx';
17
- import { uuid, deleteEntry, addUniqueEntry, guaranteeNonNullable, } from '@finos/legend-shared';
18
- import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilder_Const.js';
19
- import { QueryBuilderSimpleProjectionColumnState, } from './QueryBuilderProjectionState.js';
20
- export class QueryBuilderAggregateOperator {
21
- uuid = uuid();
22
- buildAggregateExpressionFromState(aggregateColumnState) {
23
- return this.buildAggregateExpression(aggregateColumnState.projectionColumnState instanceof
24
- QueryBuilderSimpleProjectionColumnState
25
- ? aggregateColumnState.projectionColumnState.propertyExpressionState
26
- .propertyExpression
27
- : undefined, aggregateColumnState.lambdaParameterName, aggregateColumnState.aggregationState.projectionState.queryBuilderState
28
- .graphManagerState.graph);
29
- }
30
- /**
31
- * Returns the expected return type of the operator.
32
- * defaults to using the return type of the projection column state which is being aggregated.
33
- */
34
- getReturnType(aggregateColumnState) {
35
- return guaranteeNonNullable(aggregateColumnState.projectionColumnState.getReturnType());
36
- }
37
- }
17
+ import { uuid, deleteEntry, addUniqueEntry } from '@finos/legend-shared';
18
+ import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../../QueryBuilder_Const.js';
38
19
  export class QueryBuilderAggregateColumnState {
39
20
  uuid = uuid();
40
21
  aggregationState;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAKjF,MAAM,OAAO,gCAA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AAM;YACL,IAAI,oBAAoB,EAAE;gBACxB,kFAAkF;gBAClF,kEAAkE;gBAClE,IAAI,CAAC,eAAe,CAAC,UAAU,CAC7B,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAC3D,CAAC,CACF,CAAC;gBAEF,IAAI,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC;aACzC;SACF;IACH,CAAC;CACF"}
@@ -14,8 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type PureModel, type ValueSpecification, SimpleFunctionExpression, VariableExpression } from '@finos/legend-graph';
17
- import { type QueryBuilderAggregateOperator, QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
- import type { QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionState.js';
17
+ import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import type { QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
19
+ import type { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
20
  export declare const buildAggregateExpression: (operatorFunctionFullPath: string, graph: PureModel, variableName: string) => ValueSpecification;
20
21
  export declare const buildAggregateColumnState: (projectionColumnState: QueryBuilderProjectionColumnState, lambdaParam: VariableExpression, expression: SimpleFunctionExpression, operatorFunctionFullPath: string, operator: QueryBuilderAggregateOperator) => QueryBuilderAggregateColumnState | undefined;
21
22
  //# sourceMappingURL=QueryBuilderAggregateOperatorHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperatorHelper.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,wBAAwB,EAGxB,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AACpG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAEzF,eAAO,MAAM,wBAAwB,6BACT,MAAM,SACzB,SAAS,gBACF,MAAM,KACnB,kBAYF,CAAC;AAEF,eAAO,MAAM,yBAAyB,0BACb,iCAAiC,eAC3C,kBAAkB,cACnB,wBAAwB,4BACV,MAAM,YACtB,6BAA6B,KACtC,gCAAgC,GAAG,SAsDrC,CAAC"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { SimpleFunctionExpression, extractElementNameFromPath, matchFunctionName, VariableExpression, TYPICAL_MULTIPLICITY_TYPE, } from '@finos/legend-graph';
17
17
  import { guaranteeType, assertTrue } from '@finos/legend-shared';
18
- import { QueryBuilderAggregateColumnState, } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
19
19
  export const buildAggregateExpression = (operatorFunctionFullPath, graph, variableName) => {
20
20
  const multiplicityOne = graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
21
21
  const expression = new SimpleFunctionExpression(extractElementNameFromPath(operatorFunctionFullPath), multiplicityOne);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperatorHelper.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,wBAAwB,EACxB,0BAA0B,EAC1B,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAItF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B,0BAA0B,CACzC,wBAAwB,CACzB,wDACC,kBAAkB,CAAC,IACrB,gCACE,oBAAoB,CAAC,mBACvB,GAAG,CACJ,CAAC;QAEF,WAAW;QACX,UAAU,CACR,QAAQ,CAAC,sBAAsB,CAC7B,oBAAoB,CAAC,qBAAqB,CAC3C,EACD,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,yDAAyD,CAC3D,CAAC;QACF,oBAAoB,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAE3C,OAAO,oBAAoB,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
@@ -14,8 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type ValueSpecification, type SimpleFunctionExpression, type VariableExpression, type PureModel, type AbstractPropertyExpression, type Type } from '@finos/legend-graph';
17
- import { type QueryBuilderAggregateColumnState, QueryBuilderAggregateOperator } from '../QueryBuilderAggregationState.js';
18
- import { type QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionState.js';
17
+ import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
19
20
  export declare class QueryBuilderAggregateOperator_Average extends QueryBuilderAggregateOperator {
20
21
  getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
21
22
  isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Average.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAC/B,KAAK,IAAI,EACV,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAMpD,qBAAa,qCAAsC,SAAQ,6BAA6B;IACtF,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;CAMR"}
@@ -14,9 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { PRIMITIVE_TYPE, } from '@finos/legend-graph';
17
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../QueryBuilder_Const.js';
18
- import { QueryBuilderAggregateOperator, } from '../QueryBuilderAggregationState.js';
19
- import { QueryBuilderSimpleProjectionColumnState, } from '../QueryBuilderProjectionState.js';
17
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../QueryBuilder_Const.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { QueryBuilderSimpleProjectionColumnState, } from '../../QueryBuilderProjectionColumnState.js';
20
20
  import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorHelper.js';
21
21
  export class QueryBuilderAggregateOperator_Average extends QueryBuilderAggregateOperator {
22
22
  getLabel(projectionColumnState) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Average.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAOf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0CAA0C,CAAC;AAElD,MAAM,OAAO,qCAAsC,SAAQ,6BAA6B;IACtF,QAAQ,CAAC,qBAAwD;QAC/D,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YAC/B,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,wBAAwB,CACtB,kBAA0D,EAC1D,YAAoB,EACpB,KAAgB;QAEhB,OAAO,wBAAwB,CAC7B,iCAAiC,CAAC,OAAO,EACzC,KAAK,EACL,YAAY,CACb,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,UAAoC,EACpC,WAA+B,EAC/B,qBAAwD;QAExD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,OAAO,EACzC,IAAI,CACL,CAAC;IACJ,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,MAAM,KAAK,GACT,oBAAoB,CAAC,gBAAgB,CAAC,eAAe,CAAC,iBAAiB;aACpE,iBAAiB,CAAC,KAAK,CAAC;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;CACF"}
@@ -14,8 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type Type, type ValueSpecification, type SimpleFunctionExpression, type VariableExpression, type PureModel, type AbstractPropertyExpression } from '@finos/legend-graph';
17
- import { type QueryBuilderAggregateColumnState, QueryBuilderAggregateOperator } from '../QueryBuilderAggregationState.js';
18
- import { type QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionState.js';
17
+ import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
19
20
  export declare class QueryBuilderAggregateOperator_Count extends QueryBuilderAggregateOperator {
20
21
  getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
21
22
  isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Count.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAEhC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAMpD,qBAAa,mCAAoC,SAAQ,6BAA6B;IACpF,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IA0BV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;CAMR"}
@@ -14,9 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { PRIMITIVE_TYPE, Enumeration, } from '@finos/legend-graph';
17
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../QueryBuilder_Const.js';
18
- import { QueryBuilderAggregateOperator, } from '../QueryBuilderAggregationState.js';
19
- import { QueryBuilderSimpleProjectionColumnState, } from '../QueryBuilderProjectionState.js';
17
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../QueryBuilder_Const.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { QueryBuilderSimpleProjectionColumnState, } from '../../QueryBuilderProjectionColumnState.js';
20
20
  import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorHelper.js';
21
21
  export class QueryBuilderAggregateOperator_Count extends QueryBuilderAggregateOperator {
22
22
  getLabel(projectionColumnState) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Count.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/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AwD;QAExD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,KAAK,EACvC,IAAI,CACL,CAAC;IACJ,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,MAAM,KAAK,GACT,oBAAoB,CAAC,gBAAgB,CAAC,eAAe,CAAC,iBAAiB;aACpE,iBAAiB,CAAC,KAAK,CAAC;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF"}
@@ -14,8 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type ValueSpecification, type SimpleFunctionExpression, type VariableExpression, type PureModel, type AbstractPropertyExpression } from '@finos/legend-graph';
17
- import { type QueryBuilderAggregateColumnState, QueryBuilderAggregateOperator } from '../QueryBuilderAggregationState.js';
18
- import { type QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionState.js';
17
+ import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
19
20
  export declare class QueryBuilderAggregateOperator_Distinct extends QueryBuilderAggregateOperator {
20
21
  getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
21
22
  isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Distinct.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAEhC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAMpD,qBAAa,sCAAuC,SAAQ,6BAA6B;IACvF,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IA0BV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;CAShD"}