@finos/legend-application-query 5.2.6 → 6.0.0

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 (985) hide show
  1. package/lib/components/LegendQueryApplication.js +2 -2
  2. package/lib/components/LegendQueryApplication.js.map +1 -1
  3. package/lib/components/QueryEditor.d.ts +2 -2
  4. package/lib/components/QueryEditor.d.ts.map +1 -1
  5. package/lib/components/QueryEditor.js +14 -15
  6. package/lib/components/QueryEditor.js.map +1 -1
  7. package/lib/components/QueryEditorComponentTestUtils.d.ts +5 -1
  8. package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
  9. package/lib/components/QueryEditorComponentTestUtils.js +17 -14
  10. package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
  11. package/lib/components/QueryEditorStoreProvider.d.ts +2 -3
  12. package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -1
  13. package/lib/components/QueryEditorStoreProvider.js +5 -5
  14. package/lib/components/QueryEditorStoreProvider.js.map +1 -1
  15. package/lib/components/QuerySetup.js +17 -17
  16. package/lib/components/QuerySetup.js.map +1 -1
  17. package/lib/components/query-builder/QueryBuilder.d.ts +23 -0
  18. package/lib/components/query-builder/QueryBuilder.d.ts.map +1 -0
  19. package/lib/components/query-builder/QueryBuilder.js +111 -0
  20. package/lib/components/query-builder/QueryBuilder.js.map +1 -0
  21. package/lib/components/query-builder/QueryBuilderParametersPanel.d.ts +32 -0
  22. package/lib/components/query-builder/QueryBuilderParametersPanel.d.ts.map +1 -0
  23. package/lib/components/query-builder/QueryBuilderParametersPanel.js +128 -0
  24. package/lib/components/query-builder/QueryBuilderParametersPanel.js.map +1 -0
  25. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.d.ts +30 -0
  26. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -0
  27. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.js +116 -0
  28. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.js.map +1 -0
  29. package/lib/components/query-builder/QueryBuilderResultPanel.d.ts +23 -0
  30. package/lib/components/query-builder/QueryBuilderResultPanel.d.ts.map +1 -0
  31. package/lib/components/query-builder/QueryBuilderResultPanel.js +242 -0
  32. package/lib/components/query-builder/QueryBuilderResultPanel.js.map +1 -0
  33. package/lib/components/query-builder/QueryBuilderSideBar.d.ts +42 -0
  34. package/lib/components/query-builder/QueryBuilderSideBar.d.ts.map +1 -0
  35. package/lib/components/query-builder/QueryBuilderSideBar.js +169 -0
  36. package/lib/components/query-builder/QueryBuilderSideBar.js.map +1 -0
  37. package/lib/components/query-builder/QueryBuilderTextEditor.d.ts +23 -0
  38. package/lib/components/query-builder/QueryBuilderTextEditor.d.ts.map +1 -0
  39. package/lib/components/query-builder/QueryBuilderTextEditor.js +48 -0
  40. package/lib/components/query-builder/QueryBuilderTextEditor.js.map +1 -0
  41. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.d.ts +23 -0
  42. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -0
  43. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.js +36 -0
  44. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.js.map +1 -0
  45. package/lib/components/{QueryBuilder_TestID.d.ts → query-builder/QueryBuilder_TestID.d.ts} +0 -0
  46. package/lib/components/query-builder/QueryBuilder_TestID.d.ts.map +1 -0
  47. package/lib/components/{QueryBuilder_TestID.js → query-builder/QueryBuilder_TestID.js} +0 -0
  48. package/lib/components/query-builder/QueryBuilder_TestID.js.map +1 -0
  49. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.d.ts +36 -0
  50. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -0
  51. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.js +340 -0
  52. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.js.map +1 -0
  53. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +23 -0
  54. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -0
  55. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.js +147 -0
  56. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -0
  57. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.d.ts +23 -0
  58. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.d.ts.map +1 -0
  59. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.js +122 -0
  60. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.js.map +1 -0
  61. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.d.ts +24 -0
  62. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -0
  63. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.js +200 -0
  64. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.js.map +1 -0
  65. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +23 -0
  66. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -0
  67. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.js +52 -0
  68. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -0
  69. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +32 -0
  70. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -0
  71. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.js +94 -0
  72. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -0
  73. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.d.ts +31 -0
  74. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -0
  75. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.js +378 -0
  76. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -0
  77. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.d.ts +23 -0
  78. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -0
  79. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.js +216 -0
  80. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -0
  81. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.d.ts +23 -0
  82. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -0
  83. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.js +88 -0
  84. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -0
  85. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.d.ts +23 -0
  86. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.d.ts.map +1 -0
  87. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.js +316 -0
  88. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.js.map +1 -0
  89. package/lib/components/{shared → query-builder/shared}/ElementIconUtils.d.ts +0 -0
  90. package/lib/components/query-builder/shared/ElementIconUtils.d.ts.map +1 -0
  91. package/lib/components/{shared → query-builder/shared}/ElementIconUtils.js +0 -0
  92. package/lib/components/query-builder/shared/ElementIconUtils.js.map +1 -0
  93. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.d.ts +43 -0
  94. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.d.ts.map +1 -0
  95. package/lib/components/{shared → query-builder/shared}/QueryBuilderLambdaEditor.js +0 -0
  96. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.js.map +1 -0
  97. package/lib/components/{shared → query-builder/shared}/QueryBuilderPanelIssueCountBadge.d.ts +0 -0
  98. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -0
  99. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.js +28 -0
  100. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -0
  101. package/lib/components/{shared → query-builder/shared}/QueryBuilderPropertyInfoTooltip.d.ts +0 -0
  102. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -0
  103. package/lib/components/{shared → query-builder/shared}/QueryBuilderPropertyInfoTooltip.js +0 -0
  104. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -0
  105. package/lib/components/query-builder/workflows/ClassQueryBuilder.d.ts +18 -0
  106. package/lib/components/query-builder/workflows/ClassQueryBuilder.d.ts.map +1 -0
  107. package/lib/components/query-builder/workflows/ClassQueryBuilder.js +87 -0
  108. package/lib/components/query-builder/workflows/ClassQueryBuilder.js.map +1 -0
  109. package/lib/components/query-builder/workflows/MappingQueryBuilder.d.ts +18 -0
  110. package/lib/components/query-builder/workflows/MappingQueryBuilder.d.ts.map +1 -0
  111. package/lib/components/query-builder/workflows/MappingQueryBuilder.js +88 -0
  112. package/lib/components/query-builder/workflows/MappingQueryBuilder.js.map +1 -0
  113. package/lib/components/query-builder/workflows/ServiceQueryBuilder.d.ts +18 -0
  114. package/lib/components/query-builder/workflows/ServiceQueryBuilder.d.ts.map +1 -0
  115. package/lib/components/query-builder/workflows/ServiceQueryBuilder.js +69 -0
  116. package/lib/components/query-builder/workflows/ServiceQueryBuilder.js.map +1 -0
  117. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +60 -0
  118. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +1 -0
  119. package/lib/graphManager/QueryBuilderSupportedFunctions.js +65 -0
  120. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +1 -0
  121. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
  122. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +6 -4
  123. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  124. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +1 -1
  125. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +4 -4
  126. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +1 -1
  127. package/lib/index.css +2 -2
  128. package/lib/index.css.map +1 -1
  129. package/lib/index.d.ts +8 -3
  130. package/lib/index.d.ts.map +1 -1
  131. package/lib/index.js +9 -3
  132. package/lib/index.js.map +1 -1
  133. package/lib/package.json +8 -8
  134. package/lib/stores/LegendQueryApplicationPlugin.d.ts +7 -0
  135. package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
  136. package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
  137. package/lib/stores/LegendQueryRouter.d.ts +8 -12
  138. package/lib/stores/LegendQueryRouter.d.ts.map +1 -1
  139. package/lib/stores/LegendQueryRouter.js +6 -7
  140. package/lib/stores/LegendQueryRouter.js.map +1 -1
  141. package/lib/stores/QueryEditorStore.d.ts +11 -11
  142. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  143. package/lib/stores/QueryEditorStore.js +68 -64
  144. package/lib/stores/QueryEditorStore.js.map +1 -1
  145. package/lib/stores/QuerySetupStore.d.ts +3 -3
  146. package/lib/stores/QuerySetupStore.d.ts.map +1 -1
  147. package/lib/stores/QuerySetupStore.js +3 -3
  148. package/lib/stores/QuerySetupStore.js.map +1 -1
  149. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.d.ts +25 -0
  150. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.d.ts.map +1 -0
  151. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.js +32 -0
  152. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.js.map +1 -0
  153. package/lib/stores/query-builder/QueryBuilderConfig.d.ts +32 -0
  154. package/lib/stores/query-builder/QueryBuilderConfig.d.ts.map +1 -0
  155. package/lib/stores/query-builder/QueryBuilderConfig.js +34 -0
  156. package/lib/stores/query-builder/QueryBuilderConfig.js.map +1 -0
  157. package/lib/stores/{QueryBuilderGroupOperationHelper.d.ts → query-builder/QueryBuilderGroupOperationHelper.d.ts} +0 -0
  158. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.d.ts.map +1 -0
  159. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.js +43 -0
  160. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.js.map +1 -0
  161. package/lib/stores/query-builder/QueryBuilderMilestoningState.d.ts +32 -0
  162. package/lib/stores/query-builder/QueryBuilderMilestoningState.d.ts.map +1 -0
  163. package/lib/stores/query-builder/QueryBuilderMilestoningState.js +95 -0
  164. package/lib/stores/query-builder/QueryBuilderMilestoningState.js.map +1 -0
  165. package/lib/stores/query-builder/QueryBuilderParametersState.d.ts +28 -0
  166. package/lib/stores/query-builder/QueryBuilderParametersState.d.ts.map +1 -0
  167. package/lib/stores/query-builder/QueryBuilderParametersState.js +39 -0
  168. package/lib/stores/query-builder/QueryBuilderParametersState.js.map +1 -0
  169. package/lib/stores/{QueryBuilderPreviewDataHelper.d.ts → query-builder/QueryBuilderPreviewDataHelper.d.ts} +0 -0
  170. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.d.ts.map +1 -0
  171. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.js +138 -0
  172. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.js.map +1 -0
  173. package/lib/stores/{QueryBuilderPropertyEditorState.d.ts → query-builder/QueryBuilderPropertyEditorState.d.ts} +0 -0
  174. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.d.ts.map +1 -0
  175. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.js +395 -0
  176. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.js.map +1 -0
  177. package/lib/stores/{QueryBuilderResultState.d.ts → query-builder/QueryBuilderResultState.d.ts} +0 -0
  178. package/lib/stores/query-builder/QueryBuilderResultState.d.ts.map +1 -0
  179. package/lib/stores/query-builder/QueryBuilderResultState.js +176 -0
  180. package/lib/stores/query-builder/QueryBuilderResultState.js.map +1 -0
  181. package/lib/stores/query-builder/QueryBuilderState.d.ts +112 -0
  182. package/lib/stores/query-builder/QueryBuilderState.d.ts.map +1 -0
  183. package/lib/stores/query-builder/QueryBuilderState.js +337 -0
  184. package/lib/stores/query-builder/QueryBuilderState.js.map +1 -0
  185. package/lib/stores/query-builder/QueryBuilderStateBuilder.d.ts +124 -0
  186. package/lib/stores/query-builder/QueryBuilderStateBuilder.d.ts.map +1 -0
  187. package/lib/stores/query-builder/QueryBuilderStateBuilder.js +311 -0
  188. package/lib/stores/query-builder/QueryBuilderStateBuilder.js.map +1 -0
  189. package/lib/stores/query-builder/QueryBuilderStateTestUtils.d.ts +24 -0
  190. package/lib/stores/query-builder/QueryBuilderStateTestUtils.d.ts.map +1 -0
  191. package/lib/stores/query-builder/QueryBuilderStateTestUtils.js +50 -0
  192. package/lib/stores/query-builder/QueryBuilderStateTestUtils.js.map +1 -0
  193. package/lib/stores/query-builder/QueryBuilderTextEditorState.d.ts +49 -0
  194. package/lib/stores/query-builder/QueryBuilderTextEditorState.d.ts.map +1 -0
  195. package/lib/stores/query-builder/QueryBuilderTextEditorState.js +145 -0
  196. package/lib/stores/query-builder/QueryBuilderTextEditorState.js.map +1 -0
  197. package/lib/stores/{QueryBuilderTypeaheadHelper.d.ts → query-builder/QueryBuilderTypeaheadHelper.d.ts} +0 -0
  198. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.d.ts.map +1 -0
  199. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.js +85 -0
  200. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.js.map +1 -0
  201. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.d.ts +26 -0
  202. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.d.ts.map +1 -0
  203. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.js +37 -0
  204. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.js.map +1 -0
  205. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.d.ts +20 -0
  206. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -0
  207. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.js +87 -0
  208. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.js.map +1 -0
  209. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.d.ts +27 -0
  210. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -0
  211. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.js +161 -0
  212. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -0
  213. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.d.ts +61 -0
  214. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.d.ts.map +1 -0
  215. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.js +235 -0
  216. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.js.map +1 -0
  217. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.d.ts +99 -0
  218. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.d.ts.map +1 -0
  219. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.js +446 -0
  220. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.js.map +1 -0
  221. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.d.ts +46 -0
  222. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -0
  223. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.js +242 -0
  224. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.js.map +1 -0
  225. package/lib/stores/{explorer → query-builder/explorer}/QueryFunctionsExplorerState.d.ts +0 -0
  226. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.d.ts.map +1 -0
  227. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.js +228 -0
  228. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.js.map +1 -0
  229. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +40 -0
  230. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -0
  231. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.js +34 -0
  232. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -0
  233. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.d.ts +27 -0
  234. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -0
  235. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.js +73 -0
  236. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -0
  237. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +49 -0
  238. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -0
  239. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +157 -0
  240. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -0
  241. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +20 -0
  242. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -0
  243. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +62 -0
  244. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -0
  245. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +42 -0
  246. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -0
  247. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +173 -0
  248. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -0
  249. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +26 -0
  250. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +1 -0
  251. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +72 -0
  252. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +1 -0
  253. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/QueryBuilderProjectionColumnState.d.ts +0 -0
  254. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -0
  255. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.js +187 -0
  256. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +1 -0
  257. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.d.ts +68 -0
  258. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -0
  259. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.js +305 -0
  260. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -0
  261. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +25 -0
  262. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -0
  263. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +186 -0
  264. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +1 -0
  265. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +26 -0
  266. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -0
  267. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +189 -0
  268. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -0
  269. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/QueryResultSetModifierState.d.ts +0 -0
  270. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +1 -0
  271. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/QueryResultSetModifierState.js +0 -0
  272. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.js.map +1 -0
  273. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/QueryBuilderAggregateOperator.d.ts +0 -0
  274. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -0
  275. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/QueryBuilderAggregateOperator.js +0 -0
  276. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +1 -0
  277. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -0
  278. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +1 -0
  279. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -0
  280. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +1 -0
  281. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/QueryBuilderAggregationState.d.ts +0 -0
  282. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -0
  283. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +103 -0
  284. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -0
  285. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +20 -0
  286. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -0
  287. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +96 -0
  288. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -0
  289. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +0 -0
  290. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +1 -0
  291. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +0 -0
  292. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +1 -0
  293. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +0 -0
  294. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
  295. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +50 -0
  296. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -0
  297. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +0 -0
  298. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
  299. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +55 -0
  300. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -0
  301. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +0 -0
  302. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
  303. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +50 -0
  304. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
  305. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +0 -0
  306. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
  307. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +78 -0
  308. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
  309. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +0 -0
  310. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
  311. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +67 -0
  312. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
  313. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +0 -0
  314. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
  315. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +86 -0
  316. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -0
  317. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +0 -0
  318. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
  319. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +86 -0
  320. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -0
  321. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +0 -0
  322. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
  323. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +50 -0
  324. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
  325. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +0 -0
  326. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
  327. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +50 -0
  328. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
  329. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +0 -0
  330. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
  331. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +45 -0
  332. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
  333. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -0
  334. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -0
  335. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/QueryBuilderPostFilterOperator.js +0 -0
  336. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +1 -0
  337. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -0
  338. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +1 -0
  339. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -0
  340. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +1 -0
  341. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/QueryBuilderPostFilterState.d.ts +0 -0
  342. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -0
  343. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +585 -0
  344. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -0
  345. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +22 -0
  346. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -0
  347. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +122 -0
  348. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -0
  349. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -0
  350. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -0
  351. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +79 -0
  352. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -0
  353. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +0 -0
  354. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
  355. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +73 -0
  356. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
  357. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -0
  358. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
  359. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +75 -0
  360. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
  361. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -0
  362. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
  363. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +75 -0
  364. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
  365. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -0
  366. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
  367. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +118 -0
  368. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
  369. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -0
  370. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
  371. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +81 -0
  372. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
  373. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -0
  374. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  375. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +43 -0
  376. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
  377. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -0
  378. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
  379. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +104 -0
  380. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -0
  381. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -0
  382. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
  383. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +67 -0
  384. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
  385. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -0
  386. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
  387. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +81 -0
  388. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
  389. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -0
  390. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
  391. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +43 -0
  392. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
  393. package/lib/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -0
  394. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
  395. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +75 -0
  396. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -0
  397. package/lib/stores/{filter → query-builder/filter}/QueryBuilderFilterOperator.d.ts +0 -0
  398. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.d.ts.map +1 -0
  399. package/lib/stores/{filter → query-builder/filter}/QueryBuilderFilterOperator.js +0 -0
  400. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.js.map +1 -0
  401. package/lib/stores/{filter → query-builder/filter}/QueryBuilderFilterOperatorLoader.d.ts +0 -0
  402. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.d.ts.map +1 -0
  403. package/lib/stores/{filter → query-builder/filter}/QueryBuilderFilterOperatorLoader.js +0 -0
  404. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.js.map +1 -0
  405. package/lib/stores/{filter → query-builder/filter}/QueryBuilderFilterState.d.ts +0 -0
  406. package/lib/stores/query-builder/filter/QueryBuilderFilterState.d.ts.map +1 -0
  407. package/lib/stores/query-builder/filter/QueryBuilderFilterState.js +531 -0
  408. package/lib/stores/query-builder/filter/QueryBuilderFilterState.js.map +1 -0
  409. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.d.ts +19 -0
  410. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -0
  411. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.js +74 -0
  412. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.js.map +1 -0
  413. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +19 -0
  414. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -0
  415. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.js +78 -0
  416. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -0
  417. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperatorHelper.d.ts +0 -0
  418. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +1 -0
  419. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.js +257 -0
  420. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.js.map +1 -0
  421. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_Contain.d.ts +0 -0
  422. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -0
  423. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.js +71 -0
  424. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -0
  425. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_EndWith.d.ts +0 -0
  426. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -0
  427. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.js +71 -0
  428. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -0
  429. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_Equal.d.ts +0 -0
  430. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -0
  431. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.js +115 -0
  432. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -0
  433. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +0 -0
  434. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -0
  435. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +83 -0
  436. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -0
  437. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +0 -0
  438. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  439. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +83 -0
  440. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -0
  441. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_In.d.ts +0 -0
  442. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -0
  443. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.js +103 -0
  444. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -0
  445. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +0 -0
  446. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -0
  447. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +65 -0
  448. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -0
  449. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_LessThan.d.ts +0 -0
  450. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -0
  451. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.js +83 -0
  452. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -0
  453. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +0 -0
  454. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -0
  455. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +83 -0
  456. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -0
  457. package/lib/stores/{filter → query-builder/filter}/operators/QueryBuilderFilterOperator_StartWith.d.ts +0 -0
  458. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -0
  459. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.js +71 -0
  460. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -0
  461. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.d.ts +35 -0
  462. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.d.ts.map +1 -0
  463. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.js +57 -0
  464. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.js.map +1 -0
  465. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.d.ts +33 -0
  466. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.d.ts.map +1 -0
  467. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.js +55 -0
  468. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.js.map +1 -0
  469. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.d.ts +44 -0
  470. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.d.ts.map +1 -0
  471. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.js +90 -0
  472. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.js.map +1 -0
  473. package/package.json +15 -15
  474. package/src/components/LegendQueryApplication.tsx +7 -7
  475. package/src/components/QueryEditor.tsx +100 -97
  476. package/src/components/QueryEditorComponentTestUtils.tsx +28 -19
  477. package/src/components/QueryEditorStoreProvider.tsx +7 -9
  478. package/src/components/QuerySetup.tsx +25 -25
  479. package/src/components/query-builder/QueryBuilder.tsx +411 -0
  480. package/src/components/query-builder/QueryBuilderParametersPanel.tsx +431 -0
  481. package/src/components/query-builder/QueryBuilderPropertyExpressionEditor.tsx +376 -0
  482. package/src/components/query-builder/QueryBuilderResultPanel.tsx +640 -0
  483. package/src/components/query-builder/QueryBuilderSideBar.tsx +421 -0
  484. package/src/components/query-builder/QueryBuilderTextEditor.tsx +127 -0
  485. package/src/components/query-builder/QueryBuilderUnsupportedQueryEditor.tsx +88 -0
  486. package/src/components/{QueryBuilder_TestID.ts → query-builder/QueryBuilder_TestID.ts} +0 -0
  487. package/src/components/query-builder/explorer/QueryBuilderExplorerPanel.tsx +934 -0
  488. package/src/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.tsx +554 -0
  489. package/src/components/query-builder/explorer/QueryBuilderMilestoneEditor.tsx +296 -0
  490. package/src/components/query-builder/explorer/QueryBuilderPropertySearchPanel.tsx +617 -0
  491. package/src/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.tsx +112 -0
  492. package/src/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +276 -0
  493. package/src/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.tsx +1103 -0
  494. package/src/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.tsx +649 -0
  495. package/src/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.tsx +254 -0
  496. package/src/components/query-builder/filter/QueryBuilderFilterPanel.tsx +891 -0
  497. package/src/components/{shared → query-builder/shared}/ElementIconUtils.tsx +0 -0
  498. package/src/components/query-builder/shared/QueryBuilderLambdaEditor.tsx +120 -0
  499. package/src/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.tsx +40 -0
  500. package/src/components/{shared → query-builder/shared}/QueryBuilderPropertyInfoTooltip.tsx +0 -0
  501. package/src/components/query-builder/workflows/ClassQueryBuilder.tsx +198 -0
  502. package/src/components/query-builder/workflows/MappingQueryBuilder.tsx +195 -0
  503. package/src/components/query-builder/workflows/ServiceQueryBuilder.tsx +192 -0
  504. package/src/graphManager/QueryBuilderSupportedFunctions.ts +67 -0
  505. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +6 -9
  506. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +4 -6
  507. package/src/index.ts +14 -7
  508. package/src/stores/LegendQueryApplicationPlugin.ts +12 -0
  509. package/src/stores/LegendQueryRouter.ts +11 -16
  510. package/src/stores/QueryEditorStore.ts +133 -107
  511. package/src/stores/QuerySetupStore.ts +3 -3
  512. package/src/stores/query-builder/QueryBuilderChangeDetectionState.ts +37 -0
  513. package/src/stores/query-builder/QueryBuilderConfig.ts +34 -0
  514. package/src/stores/query-builder/QueryBuilderGroupOperationHelper.ts +54 -0
  515. package/src/stores/query-builder/QueryBuilderMilestoningState.ts +164 -0
  516. package/src/stores/query-builder/QueryBuilderParametersState.ts +52 -0
  517. package/src/stores/query-builder/QueryBuilderPreviewDataHelper.ts +202 -0
  518. package/src/stores/query-builder/QueryBuilderPropertyEditorState.ts +668 -0
  519. package/src/stores/query-builder/QueryBuilderResultState.ts +281 -0
  520. package/src/stores/query-builder/QueryBuilderState.ts +470 -0
  521. package/src/stores/query-builder/QueryBuilderStateBuilder.ts +585 -0
  522. package/src/stores/query-builder/QueryBuilderStateTestUtils.ts +91 -0
  523. package/src/stores/query-builder/QueryBuilderTextEditorState.ts +203 -0
  524. package/src/stores/query-builder/QueryBuilderTypeaheadHelper.ts +152 -0
  525. package/src/stores/query-builder/QueryBuilderUnsupportedQueryState.ts +44 -0
  526. package/src/stores/query-builder/QueryBuilderValueSpecificationBuilder.ts +179 -0
  527. package/src/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.ts +256 -0
  528. package/src/stores/query-builder/QueryBuilderValueSpecificationHelper.ts +359 -0
  529. package/src/stores/query-builder/explorer/QueryBuilderExplorerState.ts +813 -0
  530. package/src/stores/query-builder/explorer/QueryBuilderPropertySearchState.ts +333 -0
  531. package/src/stores/query-builder/explorer/QueryFunctionsExplorerState.ts +375 -0
  532. package/src/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +65 -0
  533. package/src/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.ts +107 -0
  534. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +240 -0
  535. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +131 -0
  536. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +282 -0
  537. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +154 -0
  538. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +327 -0
  539. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.ts +569 -0
  540. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +426 -0
  541. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +416 -0
  542. package/src/stores/{fetch-structure → query-builder/fetch-structure}/projection/QueryResultSetModifierState.ts +0 -0
  543. package/src/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/QueryBuilderAggregateOperator.ts +0 -0
  544. package/src/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -0
  545. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +145 -0
  546. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +228 -0
  547. package/src/stores/{fetch-structure → query-builder/fetch-structure}/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +0 -0
  548. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +98 -0
  549. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +106 -0
  550. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +96 -0
  551. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +173 -0
  552. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +155 -0
  553. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +174 -0
  554. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +174 -0
  555. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +98 -0
  556. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +98 -0
  557. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +88 -0
  558. package/src/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/QueryBuilderPostFilterOperator.ts +0 -0
  559. package/src/stores/{fetch-structure → query-builder/fetch-structure}/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -0
  560. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +807 -0
  561. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +297 -0
  562. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +121 -0
  563. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +129 -0
  564. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +140 -0
  565. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +135 -0
  566. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +218 -0
  567. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +143 -0
  568. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +70 -0
  569. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +183 -0
  570. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +113 -0
  571. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +143 -0
  572. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +70 -0
  573. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +135 -0
  574. package/src/stores/{filter → query-builder/filter}/QueryBuilderFilterOperator.ts +0 -0
  575. package/src/stores/{filter → query-builder/filter}/QueryBuilderFilterOperatorLoader.ts +0 -0
  576. package/src/stores/query-builder/filter/QueryBuilderFilterState.ts +736 -0
  577. package/src/stores/query-builder/filter/QueryBuilderFilterStateBuilder.ts +155 -0
  578. package/src/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.ts +120 -0
  579. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.ts +524 -0
  580. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.ts +134 -0
  581. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.ts +134 -0
  582. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.ts +211 -0
  583. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +145 -0
  584. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +145 -0
  585. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.ts +181 -0
  586. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +125 -0
  587. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.ts +145 -0
  588. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +145 -0
  589. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.ts +134 -0
  590. package/src/stores/query-builder/workflows/ClassQueryBuilderState.ts +80 -0
  591. package/src/stores/query-builder/workflows/MappingQueryBuilderState.ts +86 -0
  592. package/src/stores/query-builder/workflows/ServiceQueryBuilderState.ts +143 -0
  593. package/tsconfig.json +107 -94
  594. package/lib/QueryBuilder_Const.d.ts +0 -77
  595. package/lib/QueryBuilder_Const.d.ts.map +0 -1
  596. package/lib/QueryBuilder_Const.js +0 -85
  597. package/lib/QueryBuilder_Const.js.map +0 -1
  598. package/lib/components/QueryBuilder.d.ts +0 -23
  599. package/lib/components/QueryBuilder.d.ts.map +0 -1
  600. package/lib/components/QueryBuilder.js +0 -100
  601. package/lib/components/QueryBuilder.js.map +0 -1
  602. package/lib/components/QueryBuilderParameterPanel.d.ts +0 -30
  603. package/lib/components/QueryBuilderParameterPanel.d.ts.map +0 -1
  604. package/lib/components/QueryBuilderParameterPanel.js +0 -128
  605. package/lib/components/QueryBuilderParameterPanel.js.map +0 -1
  606. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -30
  607. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +0 -1
  608. package/lib/components/QueryBuilderPropertyExpressionEditor.js +0 -116
  609. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +0 -1
  610. package/lib/components/QueryBuilderResultPanel.d.ts +0 -23
  611. package/lib/components/QueryBuilderResultPanel.d.ts.map +0 -1
  612. package/lib/components/QueryBuilderResultPanel.js +0 -237
  613. package/lib/components/QueryBuilderResultPanel.js.map +0 -1
  614. package/lib/components/QueryBuilderSetupPanel.d.ts +0 -23
  615. package/lib/components/QueryBuilderSetupPanel.d.ts.map +0 -1
  616. package/lib/components/QueryBuilderSetupPanel.js +0 -149
  617. package/lib/components/QueryBuilderSetupPanel.js.map +0 -1
  618. package/lib/components/QueryBuilderTextEditor.d.ts +0 -23
  619. package/lib/components/QueryBuilderTextEditor.d.ts.map +0 -1
  620. package/lib/components/QueryBuilderTextEditor.js +0 -48
  621. package/lib/components/QueryBuilderTextEditor.js.map +0 -1
  622. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -23
  623. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +0 -1
  624. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +0 -37
  625. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +0 -1
  626. package/lib/components/QueryBuilder_TestID.d.ts.map +0 -1
  627. package/lib/components/QueryBuilder_TestID.js.map +0 -1
  628. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +0 -37
  629. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +0 -1
  630. package/lib/components/explorer/QueryBuilderExplorerPanel.js +0 -337
  631. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +0 -1
  632. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -23
  633. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
  634. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +0 -147
  635. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
  636. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts +0 -24
  637. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
  638. package/lib/components/explorer/QueryBuilderMilestoneEditor.js +0 -120
  639. package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
  640. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -24
  641. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
  642. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +0 -200
  643. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +0 -1
  644. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -23
  645. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
  646. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +0 -135
  647. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +0 -1
  648. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -33
  649. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
  650. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +0 -96
  651. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +0 -1
  652. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -31
  653. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +0 -1
  654. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +0 -372
  655. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +0 -1
  656. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +0 -23
  657. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
  658. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +0 -213
  659. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
  660. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -23
  661. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +0 -1
  662. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +0 -93
  663. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +0 -1
  664. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -23
  665. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +0 -1
  666. package/lib/components/filter/QueryBuilderFilterPanel.js +0 -316
  667. package/lib/components/filter/QueryBuilderFilterPanel.js.map +0 -1
  668. package/lib/components/shared/ElementIconUtils.d.ts.map +0 -1
  669. package/lib/components/shared/ElementIconUtils.js.map +0 -1
  670. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +0 -43
  671. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
  672. package/lib/components/shared/QueryBuilderLambdaEditor.js.map +0 -1
  673. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
  674. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +0 -28
  675. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +0 -1
  676. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
  677. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +0 -1
  678. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +0 -1
  679. package/lib/stores/QueryBuilderGroupOperationHelper.js +0 -43
  680. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +0 -1
  681. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +0 -1
  682. package/lib/stores/QueryBuilderPreviewDataHelper.js +0 -140
  683. package/lib/stores/QueryBuilderPreviewDataHelper.js.map +0 -1
  684. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +0 -1
  685. package/lib/stores/QueryBuilderPropertyEditorState.js +0 -385
  686. package/lib/stores/QueryBuilderPropertyEditorState.js.map +0 -1
  687. package/lib/stores/QueryBuilderResultState.d.ts.map +0 -1
  688. package/lib/stores/QueryBuilderResultState.js +0 -176
  689. package/lib/stores/QueryBuilderResultState.js.map +0 -1
  690. package/lib/stores/QueryBuilderSetupState.d.ts +0 -46
  691. package/lib/stores/QueryBuilderSetupState.d.ts.map +0 -1
  692. package/lib/stores/QueryBuilderSetupState.js +0 -163
  693. package/lib/stores/QueryBuilderSetupState.js.map +0 -1
  694. package/lib/stores/QueryBuilderState.d.ts +0 -101
  695. package/lib/stores/QueryBuilderState.d.ts.map +0 -1
  696. package/lib/stores/QueryBuilderState.js +0 -317
  697. package/lib/stores/QueryBuilderState.js.map +0 -1
  698. package/lib/stores/QueryBuilderTestUtils.d.ts +0 -24
  699. package/lib/stores/QueryBuilderTestUtils.d.ts.map +0 -1
  700. package/lib/stores/QueryBuilderTestUtils.js +0 -50
  701. package/lib/stores/QueryBuilderTestUtils.js.map +0 -1
  702. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +0 -1
  703. package/lib/stores/QueryBuilderTypeaheadHelper.js +0 -84
  704. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +0 -1
  705. package/lib/stores/QueryBuilderUnsupportedState.d.ts +0 -26
  706. package/lib/stores/QueryBuilderUnsupportedState.d.ts.map +0 -1
  707. package/lib/stores/QueryBuilderUnsupportedState.js +0 -36
  708. package/lib/stores/QueryBuilderUnsupportedState.js.map +0 -1
  709. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +0 -28
  710. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +0 -1
  711. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +0 -396
  712. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +0 -1
  713. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +0 -25
  714. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +0 -1
  715. package/lib/stores/QueryBuilderValueSpecificationHelper.js +0 -158
  716. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +0 -1
  717. package/lib/stores/QueryBuilderValueSpecificationProcessor.d.ts +0 -56
  718. package/lib/stores/QueryBuilderValueSpecificationProcessor.d.ts.map +0 -1
  719. package/lib/stores/QueryBuilderValueSpecificationProcessor.js +0 -548
  720. package/lib/stores/QueryBuilderValueSpecificationProcessor.js.map +0 -1
  721. package/lib/stores/QueryParametersState.d.ts +0 -28
  722. package/lib/stores/QueryParametersState.d.ts.map +0 -1
  723. package/lib/stores/QueryParametersState.js +0 -39
  724. package/lib/stores/QueryParametersState.js.map +0 -1
  725. package/lib/stores/QueryTextEditorState.d.ts +0 -49
  726. package/lib/stores/QueryTextEditorState.d.ts.map +0 -1
  727. package/lib/stores/QueryTextEditorState.js +0 -145
  728. package/lib/stores/QueryTextEditorState.js.map +0 -1
  729. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +0 -98
  730. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +0 -1
  731. package/lib/stores/explorer/QueryBuilderExplorerState.js +0 -409
  732. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +0 -1
  733. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts +0 -46
  734. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts.map +0 -1
  735. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js +0 -240
  736. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js.map +0 -1
  737. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +0 -1
  738. package/lib/stores/explorer/QueryFunctionsExplorerState.js +0 -229
  739. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +0 -1
  740. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +0 -23
  741. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +0 -1
  742. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +0 -24
  743. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +0 -1
  744. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +0 -44
  745. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +0 -1
  746. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +0 -116
  747. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +0 -1
  748. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +0 -36
  749. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
  750. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +0 -68
  751. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +0 -1
  752. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +0 -41
  753. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
  754. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +0 -178
  755. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
  756. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +0 -19
  757. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +0 -1
  758. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +0 -49
  759. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +0 -1
  760. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
  761. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +0 -187
  762. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
  763. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +0 -60
  764. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
  765. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +0 -241
  766. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
  767. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +0 -21
  768. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
  769. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +0 -73
  770. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
  771. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
  772. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
  773. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
  774. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
  775. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
  776. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
  777. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
  778. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +0 -103
  779. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
  780. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
  781. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
  782. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
  783. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +0 -50
  784. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
  785. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
  786. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +0 -55
  787. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
  788. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
  789. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +0 -50
  790. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
  791. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
  792. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +0 -78
  793. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
  794. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
  795. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +0 -67
  796. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
  797. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
  798. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +0 -86
  799. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
  800. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
  801. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +0 -86
  802. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
  803. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
  804. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +0 -50
  805. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
  806. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
  807. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +0 -50
  808. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
  809. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
  810. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +0 -45
  811. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
  812. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
  813. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
  814. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
  815. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
  816. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
  817. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +0 -586
  818. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
  819. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
  820. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +0 -82
  821. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
  822. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.d.ts +0 -21
  823. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.d.ts.map +0 -1
  824. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.js +0 -113
  825. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.js.map +0 -1
  826. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
  827. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +0 -74
  828. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
  829. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
  830. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +0 -75
  831. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
  832. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
  833. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +0 -75
  834. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
  835. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
  836. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +0 -118
  837. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
  838. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
  839. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +0 -81
  840. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
  841. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  842. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -43
  843. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
  844. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
  845. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +0 -104
  846. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
  847. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
  848. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +0 -67
  849. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
  850. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
  851. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +0 -81
  852. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
  853. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
  854. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -43
  855. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
  856. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
  857. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +0 -75
  858. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
  859. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +0 -1
  860. package/lib/stores/filter/QueryBuilderFilterOperator.js.map +0 -1
  861. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +0 -1
  862. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +0 -1
  863. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +0 -1
  864. package/lib/stores/filter/QueryBuilderFilterState.js +0 -531
  865. package/lib/stores/filter/QueryBuilderFilterState.js.map +0 -1
  866. package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.d.ts +0 -19
  867. package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.d.ts.map +0 -1
  868. package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.js +0 -78
  869. package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.js.map +0 -1
  870. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
  871. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js +0 -257
  872. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +0 -1
  873. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
  874. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +0 -71
  875. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +0 -1
  876. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
  877. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +0 -71
  878. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
  879. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
  880. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +0 -115
  881. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +0 -1
  882. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
  883. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +0 -83
  884. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
  885. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  886. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +0 -83
  887. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
  888. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
  889. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +0 -103
  890. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +0 -1
  891. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
  892. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +0 -65
  893. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
  894. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
  895. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +0 -83
  896. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
  897. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
  898. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +0 -83
  899. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
  900. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
  901. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +0 -71
  902. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
  903. package/src/QueryBuilder_Const.ts +0 -88
  904. package/src/components/QueryBuilder.tsx +0 -393
  905. package/src/components/QueryBuilderParameterPanel.tsx +0 -403
  906. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +0 -374
  907. package/src/components/QueryBuilderResultPanel.tsx +0 -633
  908. package/src/components/QueryBuilderSetupPanel.tsx +0 -342
  909. package/src/components/QueryBuilderTextEditor.tsx +0 -127
  910. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +0 -112
  911. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +0 -942
  912. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +0 -554
  913. package/src/components/explorer/QueryBuilderMilestoneEditor.tsx +0 -291
  914. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +0 -617
  915. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +0 -246
  916. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +0 -279
  917. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +0 -1069
  918. package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +0 -623
  919. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +0 -262
  920. package/src/components/filter/QueryBuilderFilterPanel.tsx +0 -890
  921. package/src/components/shared/QueryBuilderLambdaEditor.tsx +0 -120
  922. package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +0 -38
  923. package/src/stores/QueryBuilderGroupOperationHelper.ts +0 -54
  924. package/src/stores/QueryBuilderPreviewDataHelper.ts +0 -201
  925. package/src/stores/QueryBuilderPropertyEditorState.ts +0 -659
  926. package/src/stores/QueryBuilderResultState.ts +0 -281
  927. package/src/stores/QueryBuilderSetupState.ts +0 -236
  928. package/src/stores/QueryBuilderState.ts +0 -471
  929. package/src/stores/QueryBuilderTestUtils.ts +0 -96
  930. package/src/stores/QueryBuilderTypeaheadHelper.ts +0 -148
  931. package/src/stores/QueryBuilderUnsupportedState.ts +0 -42
  932. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +0 -739
  933. package/src/stores/QueryBuilderValueSpecificationHelper.ts +0 -245
  934. package/src/stores/QueryBuilderValueSpecificationProcessor.ts +0 -1254
  935. package/src/stores/QueryParametersState.ts +0 -52
  936. package/src/stores/QueryTextEditorState.ts +0 -203
  937. package/src/stores/explorer/QueryBuilderExplorerState.ts +0 -770
  938. package/src/stores/explorer/QueryBuilderPropertySearchPanelState.ts +0 -331
  939. package/src/stores/explorer/QueryFunctionsExplorerState.ts +0 -376
  940. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +0 -34
  941. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +0 -173
  942. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +0 -100
  943. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +0 -291
  944. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +0 -90
  945. package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +0 -329
  946. package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +0 -464
  947. package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +0 -170
  948. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +0 -145
  949. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +0 -98
  950. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +0 -106
  951. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +0 -96
  952. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +0 -173
  953. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +0 -155
  954. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +0 -174
  955. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +0 -174
  956. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +0 -98
  957. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +0 -98
  958. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +0 -88
  959. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +0 -808
  960. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -131
  961. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.ts +0 -277
  962. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +0 -129
  963. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +0 -140
  964. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +0 -135
  965. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +0 -218
  966. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +0 -143
  967. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -70
  968. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +0 -183
  969. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +0 -113
  970. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +0 -143
  971. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -70
  972. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +0 -135
  973. package/src/stores/filter/QueryBuilderFilterState.ts +0 -738
  974. package/src/stores/filter/QueryBuilderValueSpecificationBuilder.ts +0 -120
  975. package/src/stores/filter/operators/QueryBuilderFilterOperatorHelper.ts +0 -524
  976. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +0 -134
  977. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +0 -134
  978. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -211
  979. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +0 -145
  980. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +0 -145
  981. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +0 -181
  982. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +0 -125
  983. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +0 -145
  984. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +0 -145
  985. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +0 -134
@@ -1,56 +0,0 @@
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 { QueryBuilderState } from './QueryBuilderState.js';
17
- import { type AlloySerializationConfigInstanceValue, type EnumValueInstanceValue, type FunctionExpression, type MappingInstanceValue, type PairInstanceValue, type PropertyGraphFetchTreeInstanceValue, type PureListInstanceValue, type RootGraphFetchTreeInstanceValue, type RuntimeInstanceValue, type ValueSpecificationVisitor, type InstanceValue, type INTERNAL__UnknownValueSpecification, type LambdaFunction, CollectionInstanceValue, LambdaFunctionInstanceValue, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, AbstractPropertyExpression, type INTERNAL__PropagatedValue } from '@finos/legend-graph';
18
- /**
19
- * This is the expression processor for query builder.
20
- * Unlike expression builder which takes care of transforming the value specification
21
- * from `protocol` to `metamodel`, and type-inferencing, this takes care
22
- * of traversing the expression to populate the query builder UI state.
23
- *
24
- * NOTE: While traversing the expression, this processor also does a fair amount of
25
- * validations and assertsions but just so enough to populate the UI state.
26
- *
27
- * Validation and assertion should be done by both the builder and processor, but the builder
28
- * will do more structural checks to build the proper metamodel. The processor should never
29
- * modify the metamodel, just traversing it.
30
- */
31
- export declare class QueryBuilderLambdaProcessor implements ValueSpecificationVisitor<void> {
32
- queryBuilderState: QueryBuilderState;
33
- precedingExpression?: SimpleFunctionExpression | undefined;
34
- constructor(queryBuilderState: QueryBuilderState, precedingExpression: SimpleFunctionExpression | undefined);
35
- visit_INTERNAL__UnknownValueSpecification(valueSpecification: INTERNAL__UnknownValueSpecification): void;
36
- visit_RootGraphFetchTreeInstanceValue(valueSpecification: RootGraphFetchTreeInstanceValue): void;
37
- visit_PropertyGraphFetchTreeInstanceValue(valueSpecification: PropertyGraphFetchTreeInstanceValue): void;
38
- visit_AlloySerializationConfigInstanceValue(valueSpecification: AlloySerializationConfigInstanceValue): void;
39
- visit_PrimitiveInstanceValue(valueSpecification: PrimitiveInstanceValue): void;
40
- visit_EnumValueInstanceValue(valueSpecification: EnumValueInstanceValue): void;
41
- visit_RuntimeInstanceValue(valueSpecification: RuntimeInstanceValue): void;
42
- visit_PairInstanceValue(valueSpecification: PairInstanceValue): void;
43
- visit_MappingInstanceValue(valueSpecification: MappingInstanceValue): void;
44
- visit_PureListInstanceValue(valueSpecification: PureListInstanceValue): void;
45
- visit_CollectionInstanceValue(valueSpecification: CollectionInstanceValue): void;
46
- visit_FunctionExpression(valueSpecification: FunctionExpression): void;
47
- visit_INTERNAL__PropagatedValue(valueSpecification: INTERNAL__PropagatedValue): void;
48
- visit_SimpleFunctionExpression(valueSpecification: SimpleFunctionExpression): void;
49
- visit_VariableExpression(valueSpecification: VariableExpression): void;
50
- visit_LambdaFunctionInstanceValue(valueSpecification: LambdaFunctionInstanceValue): void;
51
- visit_AbstractPropertyExpression(valueSpecification: AbstractPropertyExpression): void;
52
- visit_InstanceValue(valueSpecification: InstanceValue): void;
53
- }
54
- export declare const processQueryParameters: (parameters: VariableExpression[], queryBuilderState: QueryBuilderState) => void;
55
- export declare const processQueryBuilderLambdaFunction: (queryBuilderState: QueryBuilderState, lambdaFunc: LambdaFunction) => void;
56
- //# sourceMappingURL=QueryBuilderValueSpecificationProcessor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationProcessor.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationProcessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAeH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAWhE,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,qBAAqB,EAC1B,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,EAEzB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,mCAAmC,EACxC,KAAK,cAAc,EAMnB,uBAAuB,EAEvB,2BAA2B,EAC3B,sBAAsB,EAEtB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAI1B,KAAK,yBAAyB,EAE/B,MAAM,qBAAqB,CAAC;AAmR7B;;;;;;;;;;;;GAYG;AACH,qBAAa,2BACX,YAAW,yBAAyB,CAAC,IAAI,CAAC;IAE1C,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,mBAAmB,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;gBAGzD,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,wBAAwB,GAAG,SAAS;IAM3D,yCAAyC,CACvC,kBAAkB,EAAE,mCAAmC,GACtD,IAAI;IAwCP,qCAAqC,CACnC,kBAAkB,EAAE,+BAA+B,GAClD,IAAI;IAIP,yCAAyC,CACvC,kBAAkB,EAAE,mCAAmC,GACtD,IAAI;IAIP,2CAA2C,CACzC,kBAAkB,EAAE,qCAAqC,GACxD,IAAI;IAIP,4BAA4B,CAC1B,kBAAkB,EAAE,sBAAsB,GACzC,IAAI;IAIP,4BAA4B,CAC1B,kBAAkB,EAAE,sBAAsB,GACzC,IAAI;IAIP,0BAA0B,CAAC,kBAAkB,EAAE,oBAAoB,GAAG,IAAI;IAI1E,uBAAuB,CAAC,kBAAkB,EAAE,iBAAiB,GAAG,IAAI;IAIpE,0BAA0B,CAAC,kBAAkB,EAAE,oBAAoB,GAAG,IAAI;IAI1E,2BAA2B,CAAC,kBAAkB,EAAE,qBAAqB,GAAG,IAAI;IAI5E,6BAA6B,CAC3B,kBAAkB,EAAE,uBAAuB,GAC1C,IAAI;IAIP,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAItE,+BAA+B,CAC7B,kBAAkB,EAAE,yBAAyB,GAC5C,IAAI;IAIP,8BAA8B,CAC5B,kBAAkB,EAAE,wBAAwB,GAC3C,IAAI;IA2nBP,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAItE,iCAAiC,CAC/B,kBAAkB,EAAE,2BAA2B,GAC9C,IAAI;IAaP,gCAAgC,CAC9B,kBAAkB,EAAE,0BAA0B,GAC7C,IAAI;IAgFP,mBAAmB,CAAC,kBAAkB,EAAE,aAAa,GAAG,IAAI;CAG7D;AAED,eAAO,MAAM,sBAAsB,eACrB,kBAAkB,EAAE,qBACb,iBAAiB,KACnC,IAWF,CAAC;AAEF,eAAO,MAAM,iCAAiC,sBACzB,iBAAiB,cACxB,cAAc,KACzB,IAYF,CAAC"}
@@ -1,548 +0,0 @@
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 { assertNonNullable, assertTrue, assertType, guaranteeNonNullable, guaranteeType, isNonNullable, isNumber, isString, returnUndefOnError, UnsupportedOperationError, } from '@finos/legend-shared';
17
- import { COLUMN_SORT_TYPE, SortColumnState, } from './fetch-structure/projection/QueryResultSetModifierState.js';
18
- import { QueryBuilderFilterTreeGroupNodeData, QueryBuilderFilterTreeConditionNodeData, } from './filter/QueryBuilderFilterState.js';
19
- import { FETCH_STRUCTURE_MODE } from './fetch-structure/QueryBuilderFetchStructureState.js';
20
- import { MILESTONING_STEREOTYPE, DerivedProperty, RawLambda, matchFunctionName, Class, CollectionInstanceValue, GraphFetchTreeInstanceValue, LambdaFunctionInstanceValue, PrimitiveInstanceValue, RootGraphFetchTree, SimpleFunctionExpression, VariableExpression, AbstractPropertyExpression, V1_deserializeRawValueSpecification, V1_RawLambda, getMilestoneTemporalStereotype, } from '@finos/legend-graph';
21
- import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './fetch-structure/projection/QueryBuilderProjectionColumnState.js';
22
- import { processPostFilterLambda } from './fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.js';
23
- import { getDerivedPropertyMilestoningSteoreotype } from './QueryBuilderPropertyEditorState.js';
24
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../QueryBuilder_Const.js';
25
- import { LambdaParameterState } from '@finos/legend-application';
26
- import { toGroupOperation } from './QueryBuilderGroupOperationHelper.js';
27
- const getNullableStringValueFromValueSpec = (valueSpec) => {
28
- if (valueSpec instanceof PrimitiveInstanceValue &&
29
- isString(valueSpec.values[0])) {
30
- return valueSpec.values[0];
31
- }
32
- return undefined;
33
- };
34
- const getNullableNumberValueFromValueSpec = (valueSpec) => {
35
- if (valueSpec instanceof PrimitiveInstanceValue &&
36
- isNumber(valueSpec.values[0])) {
37
- return valueSpec.values[0];
38
- }
39
- return undefined;
40
- };
41
- /**
42
- * Checks if the milestoning property expression is valid in terms of number of parameter values provided
43
- * in relation to its milestoning type.
44
- *
45
- * NOTE: this takes date propgation into account. See the table below for all
46
- * the combination:
47
- *
48
- * | [source] | | | | |
49
- * ----------------------------------------------------------------------
50
- * [target] | | NONE | PR_TMP | BI_TMP | BU_TMP |
51
- * ----------------------------------------------------------------------
52
- * | NONE | N.A. | PRD | PRD,BUD | BUD |
53
- * ----------------------------------------------------------------------
54
- * | PR_TMP | N.A. | X | PRD,BUD | BUD |
55
- * ----------------------------------------------------------------------
56
- * | BI_TMP | N.A. | X | X | X |
57
- * ----------------------------------------------------------------------
58
- * | BU_TMP | N.A. | PRD | PRD,BUD | X |
59
- * ----------------------------------------------------------------------
60
- *
61
- * Annotations:
62
- *
63
- * [source]: source temporal type
64
- * [target]: target temporal type
65
- *
66
- * PR_TMP : processing temporal
67
- * BI_TMP : bitemporal
68
- * BU_TMP : business temporal
69
- *
70
- * X : no default date propagated
71
- * PRD : default processing date is propagated
72
- * BUD : default business date is propgated
73
- */
74
- const validatePropertyExpressionChain = (propertyExpression, graph) => {
75
- if (propertyExpression.func.genericType.value.rawType instanceof Class &&
76
- propertyExpression.func._OWNER._generatedMilestonedProperties.length !== 0) {
77
- const name = propertyExpression.func.name;
78
- const func = propertyExpression.func._OWNER._generatedMilestonedProperties.find((e) => e.name === name);
79
- if (func) {
80
- const targetStereotype = getMilestoneTemporalStereotype(propertyExpression.func.genericType.value.rawType, graph);
81
- if (targetStereotype) {
82
- const sourceStereotype = getDerivedPropertyMilestoningSteoreotype(guaranteeType(func, DerivedProperty), graph);
83
- if (sourceStereotype !== MILESTONING_STEREOTYPE.BITEMPORAL &&
84
- targetStereotype !== sourceStereotype) {
85
- if (targetStereotype === MILESTONING_STEREOTYPE.BITEMPORAL) {
86
- if (propertyExpression.parametersValues.length !== 3 &&
87
- !sourceStereotype) {
88
- throw new UnsupportedOperationError(`Property of milestoning sterotype '${MILESTONING_STEREOTYPE.BITEMPORAL}' should have exactly two parameters`);
89
- }
90
- else if (propertyExpression.parametersValues.length < 2) {
91
- throw new UnsupportedOperationError(`Property of milestoning sterotype '${MILESTONING_STEREOTYPE.BITEMPORAL}' should have at least one parameter`);
92
- }
93
- else if (propertyExpression.parametersValues.length > 3) {
94
- throw new UnsupportedOperationError(`Property of milestoning sterotype '${MILESTONING_STEREOTYPE.BITEMPORAL}' should not have more than two parameters`);
95
- }
96
- }
97
- else if (propertyExpression.parametersValues.length !== 2) {
98
- throw new UnsupportedOperationError(`Property of milestoning sterotype '${targetStereotype}' should have exactly one parameter`);
99
- }
100
- }
101
- }
102
- }
103
- }
104
- };
105
- const processFilterExpression = (expression, filterState, parentFilterNodeId) => {
106
- const parentNode = parentFilterNodeId
107
- ? filterState.getNode(parentFilterNodeId)
108
- : undefined;
109
- if ([
110
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.AND,
111
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.OR,
112
- ].some((fn) => matchFunctionName(expression.functionName, fn))) {
113
- const groupNode = new QueryBuilderFilterTreeGroupNodeData(parentFilterNodeId, toGroupOperation(expression.functionName));
114
- filterState.nodes.set(groupNode.id, groupNode);
115
- expression.parametersValues.forEach((filterExpression) => processFilterExpression(guaranteeType(filterExpression, SimpleFunctionExpression, `Can't process filter group expression: each child expression must be a function expression`), filterState, groupNode.id));
116
- filterState.addNodeFromNode(groupNode, parentNode);
117
- }
118
- else {
119
- const propertyExpression = expression.parametersValues[0];
120
- if (propertyExpression instanceof AbstractPropertyExpression) {
121
- const currentPropertyExpression = propertyExpression.parametersValues[0];
122
- if (currentPropertyExpression instanceof AbstractPropertyExpression) {
123
- validatePropertyExpressionChain(currentPropertyExpression, filterState.queryBuilderState.graphManagerState.graph);
124
- }
125
- }
126
- for (const operator of filterState.operators) {
127
- // NOTE: this allow plugin author to either return `undefined` or throw error
128
- // if there is a problem with building the lambda. Either case, the plugin is
129
- // considered as not supporting the lambda.
130
- const filterConditionState = returnUndefOnError(() => operator.buildFilterConditionState(filterState, expression));
131
- if (filterConditionState) {
132
- filterState.addNodeFromNode(new QueryBuilderFilterTreeConditionNodeData(undefined, filterConditionState), parentNode);
133
- return;
134
- }
135
- }
136
- throw new UnsupportedOperationError(`Can't process filter() expression: no compatible filter operator processer available from plugins`);
137
- }
138
- };
139
- const processFilterLambda = (filterLambda, filterState) => {
140
- const lambdaFunc = guaranteeNonNullable(filterLambda.values[0], `Can't process filter() lambda: filter() lambda function is missing`);
141
- assertTrue(lambdaFunc.expressionSequence.length === 1, `Can't process filter() lambda: only support filter() lambda body with 1 expression`);
142
- const rootExpression = guaranteeType(lambdaFunc.expressionSequence[0], SimpleFunctionExpression, `Can't process filter() lambda: only support filter() lambda body with 1 expression`);
143
- assertTrue(lambdaFunc.functionType.parameters.length === 1, `Can't process filter() lambda: only support filter() lambda with 1 parameter`);
144
- filterState.setLambdaParameterName(guaranteeType(lambdaFunc.functionType.parameters[0], VariableExpression, `Can't process filter() lambda: only support filter() lambda with 1 parameter`).name);
145
- processFilterExpression(rootExpression, filterState, undefined);
146
- };
147
- const processAggregateLambda = (aggregateLambda, projectionColumnState, aggregationState) => {
148
- const lambdaFunc = guaranteeNonNullable(aggregateLambda.values[0], `Can't process agg() lambda: agg() lambda function is missing`);
149
- assertTrue(lambdaFunc.expressionSequence.length === 1, `Can't process agg() lambda: only support agg() lambda body with 1 expression`);
150
- const expression = guaranteeType(lambdaFunc.expressionSequence[0], SimpleFunctionExpression, `Can't process agg() lambda: only support agg() lambda body with 1 expression`);
151
- assertTrue(lambdaFunc.functionType.parameters.length === 1, `Can't process agg() lambda: only support agg() lambda with 1 parameter`);
152
- const lambdaParam = guaranteeType(lambdaFunc.functionType.parameters[0], VariableExpression, `Can't process agg() lambda: only support agg() lambda with 1 parameter`);
153
- for (const operator of aggregationState.operators) {
154
- // NOTE: this allow plugin author to either return `undefined` or throw error
155
- // if there is a problem with building the lambda. Either case, the plugin is
156
- // considered as not supporting the lambda.
157
- const aggregateColumnState = returnUndefOnError(() => operator.buildAggregateColumnState(expression, lambdaParam, projectionColumnState));
158
- if (aggregateColumnState) {
159
- aggregationState.addColumn(aggregateColumnState);
160
- return;
161
- }
162
- }
163
- throw new UnsupportedOperationError(`Can't process aggregate expression function: no compatible aggregate operator processer available from plugins`);
164
- };
165
- /**
166
- * This is the expression processor for query builder.
167
- * Unlike expression builder which takes care of transforming the value specification
168
- * from `protocol` to `metamodel`, and type-inferencing, this takes care
169
- * of traversing the expression to populate the query builder UI state.
170
- *
171
- * NOTE: While traversing the expression, this processor also does a fair amount of
172
- * validations and assertsions but just so enough to populate the UI state.
173
- *
174
- * Validation and assertion should be done by both the builder and processor, but the builder
175
- * will do more structural checks to build the proper metamodel. The processor should never
176
- * modify the metamodel, just traversing it.
177
- */
178
- export class QueryBuilderLambdaProcessor {
179
- queryBuilderState;
180
- precedingExpression;
181
- constructor(queryBuilderState, precedingExpression) {
182
- this.queryBuilderState = queryBuilderState;
183
- this.precedingExpression = precedingExpression;
184
- }
185
- visit_INTERNAL__UnknownValueSpecification(valueSpecification) {
186
- assertNonNullable(this.precedingExpression, `Can't process unknown value: unknown value preceding expression cannot be retrieved`);
187
- const precedingExpressionName = this.precedingExpression.functionName;
188
- if ([
189
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
190
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
191
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG,
192
- ].some((fn) => matchFunctionName(precedingExpressionName, fn))) {
193
- const projectionState = this.queryBuilderState.fetchStructureState.projectionState;
194
- const rawLambdaProtocol = returnUndefOnError(() => guaranteeType(V1_deserializeRawValueSpecification(valueSpecification.content), V1_RawLambda));
195
- assertNonNullable(rawLambdaProtocol, `Can't process unknown value: only support ${precedingExpressionName}() column expression as a lambda`);
196
- const columnState = new QueryBuilderDerivationProjectionColumnState(projectionState, new RawLambda(rawLambdaProtocol.parameters, rawLambdaProtocol.body));
197
- projectionState.addColumn(columnState, { skipSorting: true });
198
- return;
199
- }
200
- throw new UnsupportedOperationError(`Can't process unknown value with preceding expression of function ${this.precedingExpression.functionName}()`);
201
- }
202
- visit_RootGraphFetchTreeInstanceValue(valueSpecification) {
203
- throw new UnsupportedOperationError();
204
- }
205
- visit_PropertyGraphFetchTreeInstanceValue(valueSpecification) {
206
- throw new UnsupportedOperationError();
207
- }
208
- visit_AlloySerializationConfigInstanceValue(valueSpecification) {
209
- throw new UnsupportedOperationError();
210
- }
211
- visit_PrimitiveInstanceValue(valueSpecification) {
212
- throw new UnsupportedOperationError();
213
- }
214
- visit_EnumValueInstanceValue(valueSpecification) {
215
- throw new UnsupportedOperationError();
216
- }
217
- visit_RuntimeInstanceValue(valueSpecification) {
218
- throw new UnsupportedOperationError();
219
- }
220
- visit_PairInstanceValue(valueSpecification) {
221
- throw new UnsupportedOperationError();
222
- }
223
- visit_MappingInstanceValue(valueSpecification) {
224
- throw new UnsupportedOperationError();
225
- }
226
- visit_PureListInstanceValue(valueSpecification) {
227
- throw new UnsupportedOperationError();
228
- }
229
- visit_CollectionInstanceValue(valueSpecification) {
230
- throw new UnsupportedOperationError();
231
- }
232
- visit_FunctionExpression(valueSpecification) {
233
- throw new UnsupportedOperationError();
234
- }
235
- visit_INTERNAL__PropagatedValue(valueSpecification) {
236
- throw new UnsupportedOperationError();
237
- }
238
- visit_SimpleFunctionExpression(valueSpecification) {
239
- const functionName = valueSpecification.functionName;
240
- if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL)) {
241
- const _class = valueSpecification.genericType?.value.rawType;
242
- assertType(_class, Class, `Can't process getAll() expression: getAll() return type is missing`);
243
- this.queryBuilderState.querySetupState.setClass(_class, true);
244
- this.queryBuilderState.explorerState.refreshTreeData();
245
- let acceptedNoOfParameters = 1;
246
- const stereotype = getMilestoneTemporalStereotype(_class, this.queryBuilderState.graphManagerState.graph);
247
- switch (stereotype) {
248
- case MILESTONING_STEREOTYPE.BITEMPORAL:
249
- acceptedNoOfParameters = 3;
250
- assertTrue(valueSpecification.parametersValues.length ===
251
- acceptedNoOfParameters, `Can't process getAll() expression: when used with a bitemporal milestoned class getAll() expects two parameters`);
252
- this.queryBuilderState.querySetupState.setProcessingDate(valueSpecification.parametersValues[1]);
253
- this.queryBuilderState.querySetupState.setBusinessDate(valueSpecification.parametersValues[2]);
254
- break;
255
- case MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL:
256
- acceptedNoOfParameters = 2;
257
- assertTrue(valueSpecification.parametersValues.length ===
258
- acceptedNoOfParameters, `Can't process getAll() expression: when used with a milestoned class getAll() expects a parameter`);
259
- this.queryBuilderState.querySetupState.setBusinessDate(valueSpecification.parametersValues[1]);
260
- break;
261
- case MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL:
262
- acceptedNoOfParameters = 2;
263
- assertTrue(valueSpecification.parametersValues.length ===
264
- acceptedNoOfParameters, `Can't process getAll() expression: when used with a milestoned class getAll() expects a parameter`);
265
- this.queryBuilderState.querySetupState.setProcessingDate(valueSpecification.parametersValues[1]);
266
- break;
267
- default:
268
- assertTrue(valueSpecification.parametersValues.length ===
269
- acceptedNoOfParameters, `Can't process getAll() expression: getAll() expects no arguments`);
270
- }
271
- return;
272
- }
273
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER) ||
274
- matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER)) {
275
- assertTrue(valueSpecification.parametersValues.length === 2, `Can't process filter() expression: filter() expects 1 argument`);
276
- const filterState = this.queryBuilderState.filterState;
277
- const precedingExpression = guaranteeType(valueSpecification.parametersValues[0], SimpleFunctionExpression, `Can't process filter() expression: only support filter() immediately following an expression`);
278
- precedingExpression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, undefined));
279
- if (matchFunctionName(precedingExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL)) {
280
- assertTrue(matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER), `Can't process filter() expression: only supports ${QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER}() immediately following getAll() (got '${functionName}')`);
281
- const filterLambda = valueSpecification.parametersValues[1];
282
- assertType(filterLambda, LambdaFunctionInstanceValue, `Can't process filter() expression: filter() expects argument #1 to be a lambda function`);
283
- processFilterLambda(filterLambda, filterState);
284
- /**
285
- * NOTE: Since group operations like and/or do not take more than 2 parameters, if there are
286
- * more than 2 clauses in each group operations, then these clauses are converted into an
287
- * unbalanced tree. However, this would look quite bad for UX, as such, we simplify the tree.
288
- * After building the filter state.
289
- */
290
- filterState.simplifyTree();
291
- return;
292
- }
293
- else if (matchFunctionName(precedingExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT) ||
294
- matchFunctionName(precedingExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY)) {
295
- assertTrue(matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER), `Can't process post-filter expression: only supports ${QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER}() immediately following TDS project()/groupBy() (got '${functionName}')`);
296
- const postFilterState = this.queryBuilderState.fetchStructureState.projectionState
297
- .postFilterState;
298
- const postFilterLambda = valueSpecification.parametersValues[1];
299
- assertType(postFilterLambda, LambdaFunctionInstanceValue, `Can't process post-filter expression: expects argument #1 to be a lambda function`);
300
- processPostFilterLambda(postFilterLambda, postFilterState);
301
- this.queryBuilderState.fetchStructureState.projectionState.setShowPostFilterPanel(true);
302
- postFilterState.simplifyTree();
303
- return;
304
- }
305
- else {
306
- throw new UnsupportedOperationError("`Can't process filter() expression: only support filter() immediately following getAll() or TDS project()/groupBy()");
307
- }
308
- }
309
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT)) {
310
- const params = valueSpecification.parametersValues;
311
- assertTrue(params.length === 3, `Can't process project() expression: project() expects 2 arguments`);
312
- const precedingExpression = guaranteeType(params[0], SimpleFunctionExpression, `Can't process project() expression: only support project() immediately following an expression`);
313
- precedingExpression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, undefined));
314
- // check caller
315
- assertTrue([
316
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL,
317
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER,
318
- ].some((fn) => matchFunctionName(precedingExpression.functionName, fn)), `Can't process project() expression: only support project() immediately following either getAll() or filter()`);
319
- // columns
320
- const columnLambdas = params[1];
321
- assertType(columnLambdas, CollectionInstanceValue, `Can't process project() expression: project() expects argument #1 to be a collection`);
322
- columnLambdas.values.map((value) => value.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, valueSpecification)));
323
- // aliases
324
- const columnAliases = params[2];
325
- assertType(columnAliases, CollectionInstanceValue, `Can't process project() expression: project() expects argument #2 to be a collection`);
326
- assertTrue(columnLambdas.values.length === columnAliases.values.length, `Can't process project() expression: number of aliases does not match the number of columns`);
327
- const aliases = columnAliases.values
328
- .map(getNullableStringValueFromValueSpec)
329
- .filter(isNonNullable);
330
- this.queryBuilderState.fetchStructureState.projectionState.columns.forEach((e, idx) => e.setColumnName(aliases[idx]));
331
- this.queryBuilderState.fetchStructureState.setFetchStructureMode(FETCH_STRUCTURE_MODE.PROJECTION);
332
- return;
333
- }
334
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE)) {
335
- assertTrue(valueSpecification.parametersValues.length === 2, `Can't process take() expression: take() expects 1 argument`);
336
- const precedingExpression = guaranteeType(valueSpecification.parametersValues[0], SimpleFunctionExpression, `Can't process take() expression: only support take() immediately following an expression`);
337
- precedingExpression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, undefined));
338
- // check caller
339
- assertTrue([
340
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE,
341
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT,
342
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT,
343
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
344
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
345
- ].some((fn) => matchFunctionName(precedingExpression.functionName, fn)), `Can't process take() expression: only support take() in TDS expression`);
346
- const takeValue = getNullableNumberValueFromValueSpec(guaranteeNonNullable(valueSpecification.parametersValues[1]));
347
- this.queryBuilderState.fetchStructureState.projectionState.resultSetModifierState.setLimit(takeValue);
348
- return;
349
- }
350
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT)) {
351
- assertTrue(valueSpecification.parametersValues.length === 1, `Can't process disctinct() expression: distinct() expects no parameter`);
352
- const precedingExpression = guaranteeType(valueSpecification.parametersValues[0], SimpleFunctionExpression, `Can't process distinct() expression: only support distinct() immediately following an expression`);
353
- precedingExpression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, undefined));
354
- // check caller
355
- assertTrue([
356
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE,
357
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT,
358
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT,
359
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
360
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
361
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER,
362
- ].some((fn) => matchFunctionName(precedingExpression.functionName, fn)), `Can't process distinct() expression: only support distinct() in TDS expression`);
363
- this.queryBuilderState.fetchStructureState.projectionState.resultSetModifierState.distinct =
364
- true;
365
- return;
366
- }
367
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT)) {
368
- assertTrue(valueSpecification.parametersValues.length === 2, `Can't process sort() expression: sort() expects 1 argument`);
369
- const precedingExpression = guaranteeType(valueSpecification.parametersValues[0], SimpleFunctionExpression, `Can't process sort() expression: only support sort() immediately following an expression`);
370
- precedingExpression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, undefined));
371
- // check caller
372
- assertTrue([
373
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE,
374
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT,
375
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT,
376
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
377
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
378
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER,
379
- ].some((fn) => matchFunctionName(precedingExpression.functionName, fn)), `Can't process sort() expression: only support sort() in TDS expression`);
380
- const sortParam = valueSpecification.parametersValues[1];
381
- assertType(sortParam, CollectionInstanceValue, `Can't process sort() expression: sort() argument should be a collection`);
382
- sortParam.values.map((e) => e.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, valueSpecification)));
383
- return;
384
- }
385
- else if ((matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_ASC) ||
386
- matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DESC)) &&
387
- this.precedingExpression &&
388
- matchFunctionName(this.precedingExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT)) {
389
- assertTrue(valueSpecification.parametersValues.length === 1, `Can't process ${functionName}() expression: ${functionName}() expects no argument`);
390
- const sortColumnName = getNullableStringValueFromValueSpec(guaranteeNonNullable(valueSpecification.parametersValues[0]));
391
- const queryBuilderProjectionColumnState = this.queryBuilderState.fetchStructureState.projectionState.columns.find((e) => e.columnName === sortColumnName);
392
- if (queryBuilderProjectionColumnState) {
393
- const sortColumnState = new SortColumnState(queryBuilderProjectionColumnState);
394
- sortColumnState.sortType = matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_ASC)
395
- ? COLUMN_SORT_TYPE.ASC
396
- : COLUMN_SORT_TYPE.DESC;
397
- this.queryBuilderState.fetchStructureState.projectionState.resultSetModifierState.addSortColumn(sortColumnState);
398
- }
399
- return;
400
- }
401
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY)) {
402
- assertTrue(valueSpecification.parametersValues.length === 4, `Can't process groupBy() expression: groupBy() expects 3 arguments`);
403
- const params = valueSpecification.parametersValues;
404
- const precedingExpression = guaranteeType(params[0], SimpleFunctionExpression, `Can't process groupBy() expression: only support groupBy() immediately following an expression`);
405
- precedingExpression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, undefined));
406
- // check caller
407
- assertTrue([
408
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL,
409
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER,
410
- ].some((fn) => matchFunctionName(precedingExpression.functionName, fn)), `Can't process groupBy() expression: only support groupBy() immediately following either getAll() or filter()`);
411
- // columns
412
- const columnExpressions = params[1];
413
- assertType(columnExpressions, CollectionInstanceValue, `Can't process groupBy() expression: groupBy() expects argument #1 to be a collection`);
414
- columnExpressions.values.map((e) => e.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, valueSpecification)));
415
- // aggregations
416
- const aggregationExpressions = params[2];
417
- assertType(aggregationExpressions, CollectionInstanceValue, `Can't process groupBy() expression: groupBy() expects argument #2 to be a collection`);
418
- aggregationExpressions.values.map((e) => e.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, valueSpecification)));
419
- // aliases
420
- const columnAliases = params[3];
421
- assertType(columnAliases, CollectionInstanceValue, `Can't process groupBy() expression: groupBy() expects argument #3 to be a collection`);
422
- assertTrue(columnAliases.values.length ===
423
- columnExpressions.values.length +
424
- aggregationExpressions.values.length, `Can't process groupBy() expression: number of aliases does not match the number of columns`);
425
- const aliases = columnAliases.values
426
- .map(getNullableStringValueFromValueSpec)
427
- .filter(isNonNullable);
428
- this.queryBuilderState.fetchStructureState.projectionState.columns.forEach((e, idx) => e.setColumnName(aliases[idx]));
429
- this.queryBuilderState.fetchStructureState.setFetchStructureMode(FETCH_STRUCTURE_MODE.PROJECTION);
430
- return;
431
- }
432
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG)) {
433
- assertTrue(valueSpecification.parametersValues.length === 2, `Can't process agg() expression: agg() expects 2 arguments`);
434
- // check caller
435
- assertNonNullable(this.precedingExpression);
436
- assertTrue(matchFunctionName(this.precedingExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY), `Can't process agg() expression: only support agg() in aggregation`);
437
- const columnLambdas = guaranteeNonNullable(valueSpecification.parametersValues[0]);
438
- columnLambdas.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, valueSpecification));
439
- const aggregateLambda = valueSpecification.parametersValues[1];
440
- assertType(aggregateLambda, LambdaFunctionInstanceValue, `Can't process agg() expression: agg() expects argument #1 to be a lambda function`);
441
- // NOTE: since we process agg() expressions one by one, we know that the current agg()
442
- // always correspond to the last column projection state, based on our processing procedure
443
- processAggregateLambda(aggregateLambda, guaranteeNonNullable(this.queryBuilderState.fetchStructureState.projectionState.columns[this.queryBuilderState.fetchStructureState.projectionState.columns
444
- .length - 1]), this.queryBuilderState.fetchStructureState.projectionState
445
- .aggregationState);
446
- return;
447
- }
448
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SERIALIZE)) {
449
- assertTrue(valueSpecification.parametersValues.length === 2, `Can't process serialize() expression: serialize() expects 1 argument`);
450
- const precedingExpression = guaranteeType(valueSpecification.parametersValues[0], SimpleFunctionExpression, `Can't process serialize() expression: only support serialize() immediately following an expression`);
451
- precedingExpression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, valueSpecification));
452
- // check caller
453
- assertTrue([
454
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH,
455
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH_CHECKED,
456
- ].some((fn) => matchFunctionName(precedingExpression.functionName, fn)), `Can't process serialize() expression: only support serialize() in graph-fetch expression`);
457
- const serializeFunc = guaranteeType(valueSpecification.parametersValues[1], GraphFetchTreeInstanceValue, `Can't process serialize() expression: serialize() graph-fetch is missing`);
458
- const value = guaranteeType(serializeFunc.values[0], RootGraphFetchTree, `Can't process serialize() expression: serialize() graph-fetch tree root is missing`);
459
- this.queryBuilderState.fetchStructureState.setFetchStructureMode(FETCH_STRUCTURE_MODE.GRAPH_FETCH);
460
- this.queryBuilderState.fetchStructureState.graphFetchTreeState.initialize(value);
461
- return;
462
- }
463
- else if ((matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH_CHECKED) ||
464
- matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH)) &&
465
- this.precedingExpression &&
466
- matchFunctionName(this.precedingExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SERIALIZE)) {
467
- assertTrue(valueSpecification.parametersValues.length === 2, `Can't process ${functionName}() expression: ${functionName}() expects 1 argument`);
468
- const precedingExpression = guaranteeType(valueSpecification.parametersValues[0], SimpleFunctionExpression, `Can't process ${functionName}() expression: only support ${functionName}() immediately following an expression`);
469
- precedingExpression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, valueSpecification));
470
- // check caller
471
- assertTrue([
472
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER,
473
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL,
474
- ].some((fn) => matchFunctionName(precedingExpression.functionName, fn)), `Can't process ${functionName}(): only support ${functionName}() immediately following either getAll() or filter()`);
475
- this.queryBuilderState.fetchStructureState.graphFetchTreeState.setChecked(matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH_CHECKED));
476
- return;
477
- }
478
- throw new UnsupportedOperationError(`Can't process expression of function ${functionName}()`);
479
- }
480
- visit_VariableExpression(valueSpecification) {
481
- throw new UnsupportedOperationError();
482
- }
483
- visit_LambdaFunctionInstanceValue(valueSpecification) {
484
- valueSpecification.values.forEach((value) => value.expressionSequence.forEach((expression) => expression.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(this.queryBuilderState, this.precedingExpression))));
485
- }
486
- visit_AbstractPropertyExpression(valueSpecification) {
487
- assertNonNullable(this.precedingExpression, `Can't process property expression: property expression preceding expression cannot be retrieved`);
488
- const precedingExpressionName = this.precedingExpression.functionName;
489
- if ([
490
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
491
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
492
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG,
493
- ].some((fn) => matchFunctionName(precedingExpressionName, fn))) {
494
- // NOTE: we do this before creating the projection state, as we will
495
- // auto-fill arguments for derived properties when missing as part of building
496
- // the property expression state.
497
- let currentPropertyExpression = valueSpecification;
498
- while (currentPropertyExpression instanceof AbstractPropertyExpression) {
499
- const propertyExpression = currentPropertyExpression;
500
- validatePropertyExpressionChain(currentPropertyExpression, this.queryBuilderState.graphManagerState.graph);
501
- currentPropertyExpression = guaranteeNonNullable(currentPropertyExpression.parametersValues[0]);
502
- // here we just do a simple check to ensure that if we encounter derived properties
503
- // the number of parameters and arguments provided match
504
- if (propertyExpression.func instanceof DerivedProperty) {
505
- assertTrue((Array.isArray(propertyExpression.func.parameters)
506
- ? propertyExpression.func.parameters.length
507
- : 0) ===
508
- propertyExpression.parametersValues.length - 1, `Can't process property expression: derived property '${propertyExpression.func.name}' expects number of provided arguments to match number of parameters`);
509
- }
510
- // Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
511
- // $x.employees->subType(@Person)->subType(@Staff)
512
- while (currentPropertyExpression instanceof SimpleFunctionExpression &&
513
- matchFunctionName(currentPropertyExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
514
- currentPropertyExpression = guaranteeNonNullable(currentPropertyExpression.parametersValues[0]);
515
- }
516
- }
517
- assertType(currentPropertyExpression, VariableExpression, `Can't process property expression: expects expression root to be a variable`);
518
- const projectionState = this.queryBuilderState.fetchStructureState.projectionState;
519
- const columnState = new QueryBuilderSimpleProjectionColumnState(projectionState, valueSpecification, false);
520
- projectionState.addColumn(columnState, { skipSorting: true });
521
- // NOTE: technically we should set the lambda parameter name when we process
522
- // the lambda, not when we process the lambda body like this, but that requires
523
- // some setup, so it's easier to do it here. The validation of this should have
524
- // already been taken care of by the builder.
525
- columnState.setLambdaParameterName(currentPropertyExpression.name);
526
- return;
527
- }
528
- throw new UnsupportedOperationError(`Can't process property expression with preceding expression of function ${this.precedingExpression.functionName}()`);
529
- }
530
- visit_InstanceValue(valueSpecification) {
531
- throw new UnsupportedOperationError();
532
- }
533
- }
534
- export const processQueryParameters = (parameters, queryBuilderState) => {
535
- const queryParameterState = queryBuilderState.queryParametersState;
536
- parameters.forEach((parameter) => {
537
- const parameterState = new LambdaParameterState(parameter, queryBuilderState.observableContext, queryBuilderState.graphManagerState.graph);
538
- parameterState.mockParameterValue();
539
- queryParameterState.addParameter(parameterState);
540
- });
541
- };
542
- export const processQueryBuilderLambdaFunction = (queryBuilderState, lambdaFunc) => {
543
- if (lambdaFunc.functionType.parameters.length) {
544
- processQueryParameters(lambdaFunc.functionType.parameters, queryBuilderState);
545
- }
546
- lambdaFunc.expressionSequence.map((e) => e.accept_ValueSpecificationVisitor(new QueryBuilderLambdaProcessor(queryBuilderState, undefined)));
547
- };
548
- //# sourceMappingURL=QueryBuilderValueSpecificationProcessor.js.map