@finos/legend-application-query 6.0.0 → 7.0.1

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 (624) hide show
  1. package/lib/application/LegendQuery.d.ts.map +1 -1
  2. package/lib/application/LegendQuery.js +4 -7
  3. package/lib/application/LegendQuery.js.map +1 -1
  4. package/lib/components/LegendQueryApplication.d.ts +0 -1
  5. package/lib/components/LegendQueryApplication.d.ts.map +1 -1
  6. package/lib/components/QueryEditor.d.ts +0 -1
  7. package/lib/components/QueryEditor.d.ts.map +1 -1
  8. package/lib/components/QueryEditor.js +71 -19
  9. package/lib/components/QueryEditor.js.map +1 -1
  10. package/lib/components/QueryEditorComponentTestUtils.d.ts +1 -1
  11. package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
  12. package/lib/components/QueryEditorComponentTestUtils.js +7 -9
  13. package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
  14. package/lib/index.css +2 -2
  15. package/lib/index.css.map +1 -1
  16. package/lib/index.d.ts +0 -7
  17. package/lib/index.d.ts.map +1 -1
  18. package/lib/index.js +0 -8
  19. package/lib/index.js.map +1 -1
  20. package/lib/package.json +4 -10
  21. package/lib/stores/LegendQueryApplicationPlugin.d.ts +1 -1
  22. package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
  23. package/lib/stores/QueryEditorStore.d.ts +12 -1
  24. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  25. package/lib/stores/QueryEditorStore.js +52 -21
  26. package/lib/stores/QueryEditorStore.js.map +1 -1
  27. package/lib/stores/QuerySetupStore.d.ts +1 -1
  28. package/lib/stores/QuerySetupStore.d.ts.map +1 -1
  29. package/lib/stores/QuerySetupStore.js +1 -1
  30. package/lib/stores/QuerySetupStore.js.map +1 -1
  31. package/package.json +11 -17
  32. package/src/application/LegendQuery.tsx +7 -8
  33. package/src/components/QueryEditor.tsx +282 -48
  34. package/src/components/QueryEditorComponentTestUtils.tsx +15 -13
  35. package/src/index.ts +0 -15
  36. package/src/stores/LegendQueryApplicationPlugin.ts +1 -1
  37. package/src/stores/QueryEditorStore.ts +62 -34
  38. package/src/stores/QuerySetupStore.ts +5 -3
  39. package/tsconfig.json +1 -118
  40. package/lib/components/query-builder/QueryBuilder.d.ts +0 -23
  41. package/lib/components/query-builder/QueryBuilder.d.ts.map +0 -1
  42. package/lib/components/query-builder/QueryBuilder.js +0 -111
  43. package/lib/components/query-builder/QueryBuilder.js.map +0 -1
  44. package/lib/components/query-builder/QueryBuilderParametersPanel.d.ts +0 -32
  45. package/lib/components/query-builder/QueryBuilderParametersPanel.d.ts.map +0 -1
  46. package/lib/components/query-builder/QueryBuilderParametersPanel.js +0 -128
  47. package/lib/components/query-builder/QueryBuilderParametersPanel.js.map +0 -1
  48. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.d.ts +0 -30
  49. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.d.ts.map +0 -1
  50. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.js +0 -116
  51. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.js.map +0 -1
  52. package/lib/components/query-builder/QueryBuilderResultPanel.d.ts +0 -23
  53. package/lib/components/query-builder/QueryBuilderResultPanel.d.ts.map +0 -1
  54. package/lib/components/query-builder/QueryBuilderResultPanel.js +0 -242
  55. package/lib/components/query-builder/QueryBuilderResultPanel.js.map +0 -1
  56. package/lib/components/query-builder/QueryBuilderSideBar.d.ts +0 -42
  57. package/lib/components/query-builder/QueryBuilderSideBar.d.ts.map +0 -1
  58. package/lib/components/query-builder/QueryBuilderSideBar.js +0 -169
  59. package/lib/components/query-builder/QueryBuilderSideBar.js.map +0 -1
  60. package/lib/components/query-builder/QueryBuilderTextEditor.d.ts +0 -23
  61. package/lib/components/query-builder/QueryBuilderTextEditor.d.ts.map +0 -1
  62. package/lib/components/query-builder/QueryBuilderTextEditor.js +0 -48
  63. package/lib/components/query-builder/QueryBuilderTextEditor.js.map +0 -1
  64. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.d.ts +0 -23
  65. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.d.ts.map +0 -1
  66. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.js +0 -36
  67. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.js.map +0 -1
  68. package/lib/components/query-builder/QueryBuilder_TestID.d.ts +0 -26
  69. package/lib/components/query-builder/QueryBuilder_TestID.d.ts.map +0 -1
  70. package/lib/components/query-builder/QueryBuilder_TestID.js +0 -27
  71. package/lib/components/query-builder/QueryBuilder_TestID.js.map +0 -1
  72. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.d.ts +0 -36
  73. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.d.ts.map +0 -1
  74. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.js +0 -340
  75. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.js.map +0 -1
  76. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -23
  77. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
  78. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.js +0 -147
  79. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
  80. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.d.ts +0 -23
  81. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
  82. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.js +0 -122
  83. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
  84. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -24
  85. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
  86. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.js +0 -200
  87. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.js.map +0 -1
  88. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -23
  89. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
  90. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.js +0 -52
  91. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.js.map +0 -1
  92. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -32
  93. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
  94. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.js +0 -94
  95. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +0 -1
  96. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -31
  97. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +0 -1
  98. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.js +0 -378
  99. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.js.map +0 -1
  100. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.d.ts +0 -23
  101. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
  102. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.js +0 -216
  103. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
  104. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -23
  105. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +0 -1
  106. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.js +0 -88
  107. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.js.map +0 -1
  108. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.d.ts +0 -23
  109. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.d.ts.map +0 -1
  110. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.js +0 -316
  111. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.js.map +0 -1
  112. package/lib/components/query-builder/shared/ElementIconUtils.d.ts +0 -18
  113. package/lib/components/query-builder/shared/ElementIconUtils.d.ts.map +0 -1
  114. package/lib/components/query-builder/shared/ElementIconUtils.js +0 -37
  115. package/lib/components/query-builder/shared/ElementIconUtils.js.map +0 -1
  116. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.d.ts +0 -43
  117. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
  118. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.js +0 -47
  119. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.js.map +0 -1
  120. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.d.ts +0 -20
  121. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
  122. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.js +0 -28
  123. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.js.map +0 -1
  124. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.d.ts +0 -26
  125. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
  126. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.js +0 -32
  127. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.js.map +0 -1
  128. package/lib/components/query-builder/workflows/ClassQueryBuilder.d.ts +0 -18
  129. package/lib/components/query-builder/workflows/ClassQueryBuilder.d.ts.map +0 -1
  130. package/lib/components/query-builder/workflows/ClassQueryBuilder.js +0 -87
  131. package/lib/components/query-builder/workflows/ClassQueryBuilder.js.map +0 -1
  132. package/lib/components/query-builder/workflows/MappingQueryBuilder.d.ts +0 -18
  133. package/lib/components/query-builder/workflows/MappingQueryBuilder.d.ts.map +0 -1
  134. package/lib/components/query-builder/workflows/MappingQueryBuilder.js +0 -88
  135. package/lib/components/query-builder/workflows/MappingQueryBuilder.js.map +0 -1
  136. package/lib/components/query-builder/workflows/ServiceQueryBuilder.d.ts +0 -18
  137. package/lib/components/query-builder/workflows/ServiceQueryBuilder.d.ts.map +0 -1
  138. package/lib/components/query-builder/workflows/ServiceQueryBuilder.js +0 -69
  139. package/lib/components/query-builder/workflows/ServiceQueryBuilder.js.map +0 -1
  140. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +0 -60
  141. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +0 -1
  142. package/lib/graphManager/QueryBuilderSupportedFunctions.js +0 -65
  143. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +0 -1
  144. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +0 -21
  145. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
  146. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +0 -27
  147. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
  148. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +0 -24
  149. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
  150. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +0 -32
  151. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
  152. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -21
  153. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
  154. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -20
  155. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
  156. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +0 -21
  157. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
  158. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +0 -20
  159. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
  160. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -25
  161. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  162. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -21
  163. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  164. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -18
  165. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
  166. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -20
  167. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
  168. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -22
  169. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
  170. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +0 -70
  171. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
  172. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +0 -22
  173. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +0 -1
  174. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +0 -207
  175. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +0 -1
  176. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +0 -18
  177. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +0 -1
  178. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +0 -18
  179. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +0 -1
  180. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -29
  181. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  182. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +0 -182
  183. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  184. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.d.ts +0 -25
  185. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.d.ts.map +0 -1
  186. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.js +0 -32
  187. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.js.map +0 -1
  188. package/lib/stores/query-builder/QueryBuilderConfig.d.ts +0 -32
  189. package/lib/stores/query-builder/QueryBuilderConfig.d.ts.map +0 -1
  190. package/lib/stores/query-builder/QueryBuilderConfig.js +0 -34
  191. package/lib/stores/query-builder/QueryBuilderConfig.js.map +0 -1
  192. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.d.ts +0 -22
  193. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.d.ts.map +0 -1
  194. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.js +0 -43
  195. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.js.map +0 -1
  196. package/lib/stores/query-builder/QueryBuilderMilestoningState.d.ts +0 -32
  197. package/lib/stores/query-builder/QueryBuilderMilestoningState.d.ts.map +0 -1
  198. package/lib/stores/query-builder/QueryBuilderMilestoningState.js +0 -95
  199. package/lib/stores/query-builder/QueryBuilderMilestoningState.js.map +0 -1
  200. package/lib/stores/query-builder/QueryBuilderParametersState.d.ts +0 -28
  201. package/lib/stores/query-builder/QueryBuilderParametersState.d.ts.map +0 -1
  202. package/lib/stores/query-builder/QueryBuilderParametersState.js +0 -39
  203. package/lib/stores/query-builder/QueryBuilderParametersState.js.map +0 -1
  204. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.d.ts +0 -26
  205. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.d.ts.map +0 -1
  206. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.js +0 -138
  207. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.js.map +0 -1
  208. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.d.ts +0 -62
  209. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.d.ts.map +0 -1
  210. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.js +0 -395
  211. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.js.map +0 -1
  212. package/lib/stores/query-builder/QueryBuilderResultState.d.ts +0 -41
  213. package/lib/stores/query-builder/QueryBuilderResultState.d.ts.map +0 -1
  214. package/lib/stores/query-builder/QueryBuilderResultState.js +0 -176
  215. package/lib/stores/query-builder/QueryBuilderResultState.js.map +0 -1
  216. package/lib/stores/query-builder/QueryBuilderState.d.ts +0 -112
  217. package/lib/stores/query-builder/QueryBuilderState.d.ts.map +0 -1
  218. package/lib/stores/query-builder/QueryBuilderState.js +0 -337
  219. package/lib/stores/query-builder/QueryBuilderState.js.map +0 -1
  220. package/lib/stores/query-builder/QueryBuilderStateBuilder.d.ts +0 -124
  221. package/lib/stores/query-builder/QueryBuilderStateBuilder.d.ts.map +0 -1
  222. package/lib/stores/query-builder/QueryBuilderStateBuilder.js +0 -311
  223. package/lib/stores/query-builder/QueryBuilderStateBuilder.js.map +0 -1
  224. package/lib/stores/query-builder/QueryBuilderStateTestUtils.d.ts +0 -24
  225. package/lib/stores/query-builder/QueryBuilderStateTestUtils.d.ts.map +0 -1
  226. package/lib/stores/query-builder/QueryBuilderStateTestUtils.js +0 -50
  227. package/lib/stores/query-builder/QueryBuilderStateTestUtils.js.map +0 -1
  228. package/lib/stores/query-builder/QueryBuilderTextEditorState.d.ts +0 -49
  229. package/lib/stores/query-builder/QueryBuilderTextEditorState.d.ts.map +0 -1
  230. package/lib/stores/query-builder/QueryBuilderTextEditorState.js +0 -145
  231. package/lib/stores/query-builder/QueryBuilderTextEditorState.js.map +0 -1
  232. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.d.ts +0 -24
  233. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.d.ts.map +0 -1
  234. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.js +0 -85
  235. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.js.map +0 -1
  236. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.d.ts +0 -26
  237. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.d.ts.map +0 -1
  238. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.js +0 -37
  239. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.js.map +0 -1
  240. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.d.ts +0 -20
  241. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.d.ts.map +0 -1
  242. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.js +0 -87
  243. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.js.map +0 -1
  244. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.d.ts +0 -27
  245. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +0 -1
  246. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.js +0 -161
  247. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.js.map +0 -1
  248. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.d.ts +0 -61
  249. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.d.ts.map +0 -1
  250. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.js +0 -235
  251. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.js.map +0 -1
  252. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.d.ts +0 -99
  253. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.d.ts.map +0 -1
  254. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.js +0 -446
  255. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.js.map +0 -1
  256. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.d.ts +0 -46
  257. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.d.ts.map +0 -1
  258. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.js +0 -242
  259. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.js.map +0 -1
  260. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.d.ts +0 -59
  261. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.d.ts.map +0 -1
  262. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.js +0 -228
  263. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.js.map +0 -1
  264. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +0 -40
  265. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +0 -1
  266. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.js +0 -34
  267. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +0 -1
  268. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.d.ts +0 -27
  269. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +0 -1
  270. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.js +0 -73
  271. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.js.map +0 -1
  272. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +0 -49
  273. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
  274. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +0 -157
  275. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +0 -1
  276. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +0 -20
  277. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +0 -1
  278. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +0 -62
  279. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +0 -1
  280. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +0 -42
  281. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
  282. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +0 -173
  283. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
  284. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +0 -26
  285. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +0 -1
  286. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +0 -72
  287. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +0 -1
  288. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +0 -73
  289. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
  290. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.js +0 -187
  291. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
  292. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.d.ts +0 -68
  293. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
  294. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.js +0 -305
  295. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
  296. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +0 -25
  297. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +0 -1
  298. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +0 -186
  299. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +0 -1
  300. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +0 -26
  301. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
  302. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +0 -189
  303. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
  304. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.d.ts +0 -43
  305. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
  306. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.js +0 -77
  307. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
  308. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +0 -32
  309. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
  310. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +0 -36
  311. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
  312. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -18
  313. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
  314. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -38
  315. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
  316. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +0 -42
  317. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
  318. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +0 -103
  319. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
  320. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +0 -20
  321. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +0 -1
  322. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +0 -96
  323. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +0 -1
  324. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +0 -22
  325. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
  326. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +0 -40
  327. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
  328. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +0 -27
  329. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
  330. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +0 -50
  331. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
  332. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +0 -27
  333. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
  334. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +0 -55
  335. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
  336. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +0 -26
  337. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
  338. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +0 -50
  339. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
  340. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +0 -27
  341. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
  342. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +0 -78
  343. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
  344. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +0 -27
  345. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
  346. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +0 -67
  347. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
  348. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +0 -26
  349. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
  350. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +0 -86
  351. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
  352. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +0 -26
  353. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
  354. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +0 -86
  355. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
  356. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +0 -27
  357. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
  358. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +0 -50
  359. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
  360. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +0 -27
  361. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
  362. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +0 -50
  363. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
  364. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +0 -26
  365. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
  366. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +0 -45
  367. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
  368. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -29
  369. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
  370. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +0 -30
  371. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
  372. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -18
  373. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
  374. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -44
  375. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
  376. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +0 -135
  377. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
  378. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +0 -585
  379. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
  380. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +0 -22
  381. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +0 -1
  382. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +0 -122
  383. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +0 -1
  384. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -19
  385. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
  386. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +0 -79
  387. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
  388. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +0 -23
  389. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
  390. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +0 -73
  391. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
  392. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -32
  393. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
  394. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +0 -75
  395. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
  396. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -32
  397. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
  398. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +0 -75
  399. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
  400. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -32
  401. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
  402. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +0 -118
  403. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
  404. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -27
  405. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
  406. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +0 -81
  407. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
  408. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -24
  409. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  410. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -43
  411. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
  412. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -32
  413. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
  414. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +0 -104
  415. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
  416. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -33
  417. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
  418. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +0 -67
  419. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
  420. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -27
  421. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
  422. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +0 -81
  423. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
  424. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -24
  425. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
  426. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -43
  427. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
  428. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -32
  429. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
  430. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +0 -75
  431. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
  432. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.d.ts +0 -27
  433. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.d.ts.map +0 -1
  434. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.js +0 -20
  435. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.js.map +0 -1
  436. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.d.ts +0 -18
  437. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.d.ts.map +0 -1
  438. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.js +0 -44
  439. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.js.map +0 -1
  440. package/lib/stores/query-builder/filter/QueryBuilderFilterState.d.ts +0 -123
  441. package/lib/stores/query-builder/filter/QueryBuilderFilterState.d.ts.map +0 -1
  442. package/lib/stores/query-builder/filter/QueryBuilderFilterState.js +0 -531
  443. package/lib/stores/query-builder/filter/QueryBuilderFilterState.js.map +0 -1
  444. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.d.ts +0 -19
  445. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.d.ts.map +0 -1
  446. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.js +0 -74
  447. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.js.map +0 -1
  448. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +0 -19
  449. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +0 -1
  450. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.js +0 -78
  451. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +0 -1
  452. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +0 -21
  453. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
  454. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.js +0 -257
  455. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.js.map +0 -1
  456. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +0 -32
  457. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
  458. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.js +0 -71
  459. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.js.map +0 -1
  460. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +0 -32
  461. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
  462. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.js +0 -71
  463. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
  464. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +0 -32
  465. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
  466. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.js +0 -115
  467. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.js.map +0 -1
  468. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +0 -27
  469. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
  470. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +0 -83
  471. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
  472. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +0 -27
  473. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  474. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +0 -83
  475. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
  476. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.d.ts +0 -32
  477. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
  478. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.js +0 -103
  479. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.js.map +0 -1
  480. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +0 -32
  481. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
  482. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +0 -65
  483. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
  484. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +0 -27
  485. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
  486. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.js +0 -83
  487. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
  488. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +0 -27
  489. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
  490. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +0 -83
  491. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
  492. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +0 -32
  493. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
  494. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.js +0 -71
  495. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
  496. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.d.ts +0 -35
  497. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.d.ts.map +0 -1
  498. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.js +0 -57
  499. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.js.map +0 -1
  500. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.d.ts +0 -33
  501. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.d.ts.map +0 -1
  502. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.js +0 -55
  503. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.js.map +0 -1
  504. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.d.ts +0 -44
  505. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.d.ts.map +0 -1
  506. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.js +0 -90
  507. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.js.map +0 -1
  508. package/src/components/query-builder/QueryBuilder.tsx +0 -411
  509. package/src/components/query-builder/QueryBuilderParametersPanel.tsx +0 -431
  510. package/src/components/query-builder/QueryBuilderPropertyExpressionEditor.tsx +0 -376
  511. package/src/components/query-builder/QueryBuilderResultPanel.tsx +0 -640
  512. package/src/components/query-builder/QueryBuilderSideBar.tsx +0 -421
  513. package/src/components/query-builder/QueryBuilderTextEditor.tsx +0 -127
  514. package/src/components/query-builder/QueryBuilderUnsupportedQueryEditor.tsx +0 -88
  515. package/src/components/query-builder/QueryBuilder_TestID.ts +0 -26
  516. package/src/components/query-builder/explorer/QueryBuilderExplorerPanel.tsx +0 -934
  517. package/src/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.tsx +0 -554
  518. package/src/components/query-builder/explorer/QueryBuilderMilestoneEditor.tsx +0 -296
  519. package/src/components/query-builder/explorer/QueryBuilderPropertySearchPanel.tsx +0 -617
  520. package/src/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.tsx +0 -112
  521. package/src/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +0 -276
  522. package/src/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.tsx +0 -1103
  523. package/src/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.tsx +0 -649
  524. package/src/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.tsx +0 -254
  525. package/src/components/query-builder/filter/QueryBuilderFilterPanel.tsx +0 -891
  526. package/src/components/query-builder/shared/ElementIconUtils.tsx +0 -47
  527. package/src/components/query-builder/shared/QueryBuilderLambdaEditor.tsx +0 -120
  528. package/src/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.tsx +0 -40
  529. package/src/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.tsx +0 -87
  530. package/src/components/query-builder/workflows/ClassQueryBuilder.tsx +0 -198
  531. package/src/components/query-builder/workflows/MappingQueryBuilder.tsx +0 -195
  532. package/src/components/query-builder/workflows/ServiceQueryBuilder.tsx +0 -192
  533. package/src/graphManager/QueryBuilderSupportedFunctions.ts +0 -67
  534. package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +0 -32
  535. package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +0 -33
  536. package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -22
  537. package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +0 -22
  538. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -47
  539. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -27
  540. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +0 -167
  541. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +0 -571
  542. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +0 -28
  543. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +0 -296
  544. package/src/stores/query-builder/QueryBuilderChangeDetectionState.ts +0 -37
  545. package/src/stores/query-builder/QueryBuilderConfig.ts +0 -34
  546. package/src/stores/query-builder/QueryBuilderGroupOperationHelper.ts +0 -54
  547. package/src/stores/query-builder/QueryBuilderMilestoningState.ts +0 -164
  548. package/src/stores/query-builder/QueryBuilderParametersState.ts +0 -52
  549. package/src/stores/query-builder/QueryBuilderPreviewDataHelper.ts +0 -202
  550. package/src/stores/query-builder/QueryBuilderPropertyEditorState.ts +0 -668
  551. package/src/stores/query-builder/QueryBuilderResultState.ts +0 -281
  552. package/src/stores/query-builder/QueryBuilderState.ts +0 -470
  553. package/src/stores/query-builder/QueryBuilderStateBuilder.ts +0 -585
  554. package/src/stores/query-builder/QueryBuilderStateTestUtils.ts +0 -91
  555. package/src/stores/query-builder/QueryBuilderTextEditorState.ts +0 -203
  556. package/src/stores/query-builder/QueryBuilderTypeaheadHelper.ts +0 -152
  557. package/src/stores/query-builder/QueryBuilderUnsupportedQueryState.ts +0 -44
  558. package/src/stores/query-builder/QueryBuilderValueSpecificationBuilder.ts +0 -179
  559. package/src/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.ts +0 -256
  560. package/src/stores/query-builder/QueryBuilderValueSpecificationHelper.ts +0 -359
  561. package/src/stores/query-builder/explorer/QueryBuilderExplorerState.ts +0 -813
  562. package/src/stores/query-builder/explorer/QueryBuilderPropertySearchState.ts +0 -333
  563. package/src/stores/query-builder/explorer/QueryFunctionsExplorerState.ts +0 -375
  564. package/src/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +0 -65
  565. package/src/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.ts +0 -107
  566. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +0 -240
  567. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +0 -131
  568. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +0 -282
  569. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +0 -154
  570. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +0 -327
  571. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.ts +0 -569
  572. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +0 -426
  573. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +0 -416
  574. package/src/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.ts +0 -95
  575. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +0 -79
  576. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -41
  577. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +0 -145
  578. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +0 -228
  579. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +0 -109
  580. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +0 -98
  581. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +0 -106
  582. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +0 -96
  583. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +0 -173
  584. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +0 -155
  585. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +0 -174
  586. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +0 -174
  587. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +0 -98
  588. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +0 -98
  589. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +0 -88
  590. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +0 -66
  591. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -65
  592. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +0 -807
  593. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +0 -297
  594. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -121
  595. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +0 -129
  596. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +0 -140
  597. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +0 -135
  598. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +0 -218
  599. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +0 -143
  600. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -70
  601. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +0 -183
  602. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +0 -113
  603. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +0 -143
  604. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -70
  605. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +0 -135
  606. package/src/stores/query-builder/filter/QueryBuilderFilterOperator.ts +0 -52
  607. package/src/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.ts +0 -65
  608. package/src/stores/query-builder/filter/QueryBuilderFilterState.ts +0 -736
  609. package/src/stores/query-builder/filter/QueryBuilderFilterStateBuilder.ts +0 -155
  610. package/src/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -120
  611. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.ts +0 -524
  612. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.ts +0 -134
  613. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.ts +0 -134
  614. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -211
  615. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +0 -145
  616. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +0 -145
  617. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.ts +0 -181
  618. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +0 -125
  619. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.ts +0 -145
  620. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +0 -145
  621. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.ts +0 -134
  622. package/src/stores/query-builder/workflows/ClassQueryBuilderState.ts +0 -80
  623. package/src/stores/query-builder/workflows/MappingQueryBuilderState.ts +0 -86
  624. package/src/stores/query-builder/workflows/ServiceQueryBuilderState.ts +0 -143
@@ -1,189 +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 { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, Multiplicity, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, INTERNAL__UnknownValueSpecification, V1_serializeRawValueSpecification, V1_transformRawLambda, V1_GraphTransformerContextBuilder, matchFunctionName, } from '@finos/legend-graph';
17
- import { guaranteeNonNullable, UnsupportedOperationError, } from '@finos/legend-shared';
18
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/QueryBuilderSupportedFunctions.js';
19
- import { buildPropertyExpressionChain } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
20
- import { buildGenericLambdaFunctionInstanceValue } from '../../QueryBuilderValueSpecificationHelper.js';
21
- import { appendPostFilter } from './post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js';
22
- import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './QueryBuilderProjectionColumnState.js';
23
- import { COLUMN_SORT_TYPE, } from './QueryResultSetModifierState.js';
24
- const buildSortExpression = (sortColumnState) => {
25
- const multiplicityOne = sortColumnState.columnState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
26
- const sortColumnFunction = new SimpleFunctionExpression(extractElementNameFromPath(sortColumnState.sortType === COLUMN_SORT_TYPE.ASC
27
- ? QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_ASC
28
- : QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DESC), multiplicityOne);
29
- const sortColumnName = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(sortColumnState.columnState.projectionState.queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.STRING))), multiplicityOne);
30
- sortColumnName.values = [sortColumnState.columnState.columnName];
31
- sortColumnFunction.parametersValues[0] = sortColumnName;
32
- return sortColumnFunction;
33
- };
34
- const appendResultSetModifier = (resultModifierState, lambda, options) => {
35
- const multiplicityOne = resultModifierState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
36
- if (lambda.expressionSequence.length === 1) {
37
- const func = lambda.expressionSequence[0];
38
- if (func instanceof SimpleFunctionExpression) {
39
- if (matchFunctionName(func.functionName, [
40
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
41
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
42
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER,
43
- ])) {
44
- let currentExpression = func;
45
- // build distinct()
46
- if (resultModifierState.distinct) {
47
- const distinctFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT), multiplicityOne);
48
- distinctFunction.parametersValues[0] = currentExpression;
49
- currentExpression = distinctFunction;
50
- }
51
- // build sort()
52
- if (resultModifierState.sortColumns.length) {
53
- const sortFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT), multiplicityOne);
54
- const multiplicity = new Multiplicity(resultModifierState.sortColumns.length, resultModifierState.sortColumns.length);
55
- const collection = new CollectionInstanceValue(multiplicity, undefined);
56
- collection.values =
57
- resultModifierState.sortColumns.map(buildSortExpression);
58
- sortFunction.parametersValues[0] = currentExpression;
59
- sortFunction.parametersValues[1] = collection;
60
- currentExpression = sortFunction;
61
- }
62
- // build take()
63
- if (resultModifierState.limit || options?.overridingLimit) {
64
- const limit = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(resultModifierState.projectionState.queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.INTEGER))), multiplicityOne);
65
- limit.values = [
66
- Math.min(resultModifierState.limit ?? Number.MAX_SAFE_INTEGER, options?.overridingLimit ?? Number.MAX_SAFE_INTEGER),
67
- ];
68
- const takeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE), multiplicityOne);
69
- takeFunction.parametersValues[0] = currentExpression;
70
- takeFunction.parametersValues[1] = limit;
71
- currentExpression = takeFunction;
72
- }
73
- lambda.expressionSequence[0] = currentExpression;
74
- return lambda;
75
- }
76
- }
77
- }
78
- return lambda;
79
- };
80
- export const appendProjection = (projectionState, lambdaFunction, options) => {
81
- const queryBuilderState = projectionState.queryBuilderState;
82
- const precedingExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0], `Can't build projection expression: preceding expression is not defined`);
83
- const multiplicityOne = queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
84
- const typeString = queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.STRING);
85
- // build projection
86
- if (projectionState.aggregationState.columns.length) {
87
- // aggregation
88
- const groupByFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY), multiplicityOne);
89
- const colLambdas = new CollectionInstanceValue(new Multiplicity(projectionState.columns.length -
90
- projectionState.aggregationState.columns.length, projectionState.columns.length -
91
- projectionState.aggregationState.columns.length));
92
- const aggregateLambdas = new CollectionInstanceValue(new Multiplicity(projectionState.aggregationState.columns.length, projectionState.aggregationState.columns.length));
93
- const colAliases = new CollectionInstanceValue(new Multiplicity(projectionState.columns.length, projectionState.columns.length));
94
- projectionState.columns.forEach((projectionColumnState) => {
95
- // column alias
96
- const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
97
- colAlias.values.push(projectionColumnState.columnName);
98
- colAliases.values.push(colAlias);
99
- const aggregateColumnState = projectionState.aggregationState.columns.find((column) => column.projectionColumnState === projectionColumnState);
100
- // column projection
101
- let columnLambda;
102
- if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
103
- columnLambda = buildGenericLambdaFunctionInstanceValue(projectionColumnState.lambdaParameterName, [
104
- buildPropertyExpressionChain(projectionColumnState.propertyExpressionState.propertyExpression, projectionColumnState.propertyExpressionState.queryBuilderState, true),
105
- ], queryBuilderState.graphManagerState.graph);
106
- }
107
- else if (projectionColumnState instanceof
108
- QueryBuilderDerivationProjectionColumnState) {
109
- columnLambda = new INTERNAL__UnknownValueSpecification(V1_serializeRawValueSpecification(V1_transformRawLambda(projectionColumnState.lambda, new V1_GraphTransformerContextBuilder(
110
- // TODO?: do we need to include the plugins here?
111
- [])
112
- .withKeepSourceInformationFlag(Boolean(options?.keepSourceInformation))
113
- .build())));
114
- }
115
- else {
116
- throw new UnsupportedOperationError(`Can't build project() column expression: unsupported projection column state`, projectionColumnState);
117
- }
118
- // column aggregation
119
- if (aggregateColumnState) {
120
- const aggregateFunctionExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG), multiplicityOne);
121
- const aggregateLambda = buildGenericLambdaFunctionInstanceValue(aggregateColumnState.lambdaParameterName, [
122
- aggregateColumnState.operator.buildAggregateExpressionFromState(aggregateColumnState),
123
- ], aggregateColumnState.aggregationState.projectionState
124
- .queryBuilderState.graphManagerState.graph);
125
- aggregateFunctionExpression.parametersValues = [
126
- columnLambda,
127
- aggregateLambda,
128
- ];
129
- aggregateLambdas.values.push(aggregateFunctionExpression);
130
- }
131
- else {
132
- colLambdas.values.push(columnLambda);
133
- }
134
- });
135
- groupByFunction.parametersValues = [
136
- precedingExpression,
137
- colLambdas,
138
- aggregateLambdas,
139
- colAliases,
140
- ];
141
- lambdaFunction.expressionSequence[0] = groupByFunction;
142
- }
143
- else if (projectionState.columns.length) {
144
- // projection
145
- const projectFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT), multiplicityOne);
146
- const colLambdas = new CollectionInstanceValue(new Multiplicity(projectionState.columns.length, projectionState.columns.length));
147
- const colAliases = new CollectionInstanceValue(new Multiplicity(projectionState.columns.length, projectionState.columns.length));
148
- projectionState.columns.forEach((projectionColumnState) => {
149
- // column alias
150
- const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(typeString)), multiplicityOne);
151
- colAlias.values.push(projectionColumnState.columnName);
152
- colAliases.values.push(colAlias);
153
- // column projection
154
- let columnLambda;
155
- if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
156
- columnLambda = buildGenericLambdaFunctionInstanceValue(projectionColumnState.lambdaParameterName, [
157
- buildPropertyExpressionChain(projectionColumnState.propertyExpressionState.propertyExpression, projectionColumnState.propertyExpressionState.queryBuilderState),
158
- ], queryBuilderState.graphManagerState.graph);
159
- }
160
- else if (projectionColumnState instanceof
161
- QueryBuilderDerivationProjectionColumnState) {
162
- columnLambda = new INTERNAL__UnknownValueSpecification(V1_serializeRawValueSpecification(V1_transformRawLambda(projectionColumnState.lambda, new V1_GraphTransformerContextBuilder(
163
- // TODO?: do we need to include the plugins here?
164
- [])
165
- .withKeepSourceInformationFlag(Boolean(options?.keepSourceInformation))
166
- .build())));
167
- }
168
- else {
169
- throw new UnsupportedOperationError(`Can't build project() column expression: unsupported projection column state`, projectionColumnState);
170
- }
171
- colLambdas.values.push(columnLambda);
172
- });
173
- projectFunction.parametersValues = [
174
- precedingExpression,
175
- colLambdas,
176
- colAliases,
177
- ];
178
- lambdaFunction.expressionSequence[0] = projectFunction;
179
- }
180
- // build post-filter
181
- appendPostFilter(projectionState.postFilterState, lambdaFunction);
182
- // build result set modifiers
183
- appendResultSetModifier(projectionState.resultSetModifierState, lambdaFunction, {
184
- overridingLimit: options?.isBuildingExecutionQuery
185
- ? queryBuilderState.resultState.previewLimit
186
- : undefined,
187
- });
188
- };
189
- //# sourceMappingURL=QueryBuilderProjectionValueSpecificationBuilder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,Y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vC,CAAC,CAAC,CAAC;QACH,eAAe,CAAC,gBAAgB,GAAG;YACjC,mBAAmB;YACnB,UAAU;YACV,UAAU;SACX,CAAC;QACF,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC;KACxD;IAED,oBAAoB;IACpB,gBAAgB,CAAC,eAAe,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;IAElE,6BAA6B;IAC7B,uBAAuB,CACrB,eAAe,CAAC,sBAAsB,EACtC,cAAc,EACd;QACE,eAAe,EAAE,OAAO,EAAE,wBAAwB;YAChD,CAAC,CAAC,iBAAiB,CAAC,WAAW,CAAC,YAAY;YAC5C,CAAC,CAAC,SAAS;KACd,CACF,CAAC;AACJ,CAAC,CAAC"}
@@ -1,43 +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 { QueryBuilderProjectionState } from './QueryBuilderProjectionState.js';
17
- import type { QueryBuilderProjectionColumnState } from './QueryBuilderProjectionColumnState.js';
18
- export declare enum COLUMN_SORT_TYPE {
19
- ASC = 0,
20
- DESC = 1
21
- }
22
- export declare class SortColumnState {
23
- columnState: QueryBuilderProjectionColumnState;
24
- sortType: COLUMN_SORT_TYPE;
25
- constructor(columnState: QueryBuilderProjectionColumnState);
26
- setColumnState(val: QueryBuilderProjectionColumnState): void;
27
- setSortType(val: COLUMN_SORT_TYPE): void;
28
- }
29
- export declare class QueryResultSetModifierState {
30
- projectionState: QueryBuilderProjectionState;
31
- showModal: boolean;
32
- limit?: number | undefined;
33
- distinct: boolean;
34
- sortColumns: SortColumnState[];
35
- constructor(projectionState: QueryBuilderProjectionState);
36
- setShowModal(val: boolean): void;
37
- setLimit(val: number | undefined): void;
38
- toggleDistinct(): void;
39
- deleteSortColumn(val: SortColumnState): void;
40
- addSortColumn(val: SortColumnState): void;
41
- updateSortColumns(): void;
42
- }
43
- //# sourceMappingURL=QueryResultSetModifierState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryResultSetModifierState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAGhG,oBAAY,gBAAgB;IAC1B,GAAG,IAAA;IACH,IAAI,IAAA;CACL;AAED,qBAAa,eAAe;IAC1B,WAAW,EAAE,iCAAiC,CAAC;IAC/C,QAAQ,mBAAwB;gBAEpB,WAAW,EAAE,iCAAiC;IAS1D,cAAc,CAAC,GAAG,EAAE,iCAAiC,GAAG,IAAI;IAI5D,WAAW,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI;CAGzC;AAED,qBAAa,2BAA2B;IACtC,eAAe,EAAE,2BAA2B,CAAC;IAC7C,SAAS,UAAS;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,QAAQ,UAAS;IACjB,WAAW,EAAE,eAAe,EAAE,CAAM;gBAExB,eAAe,EAAE,2BAA2B;IAcxD,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIhC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAIvC,cAAc,IAAI,IAAI;IAItB,gBAAgB,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAI5C,aAAa,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAIzC,iBAAiB,IAAI,IAAI;CAK1B"}
@@ -1,77 +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 { action, makeAutoObservable } from 'mobx';
17
- import { addUniqueEntry, deleteEntry } from '@finos/legend-shared';
18
- export var COLUMN_SORT_TYPE;
19
- (function (COLUMN_SORT_TYPE) {
20
- COLUMN_SORT_TYPE[COLUMN_SORT_TYPE["ASC"] = 0] = "ASC";
21
- COLUMN_SORT_TYPE[COLUMN_SORT_TYPE["DESC"] = 1] = "DESC";
22
- })(COLUMN_SORT_TYPE = COLUMN_SORT_TYPE || (COLUMN_SORT_TYPE = {}));
23
- export class SortColumnState {
24
- columnState;
25
- sortType = COLUMN_SORT_TYPE.ASC;
26
- constructor(columnState) {
27
- makeAutoObservable(this, {
28
- setColumnState: action,
29
- setSortType: action,
30
- });
31
- this.columnState = columnState;
32
- }
33
- setColumnState(val) {
34
- this.columnState = val;
35
- }
36
- setSortType(val) {
37
- this.sortType = val;
38
- }
39
- }
40
- export class QueryResultSetModifierState {
41
- projectionState;
42
- showModal = false;
43
- limit;
44
- distinct = false;
45
- sortColumns = [];
46
- constructor(projectionState) {
47
- makeAutoObservable(this, {
48
- projectionState: false,
49
- setShowModal: action,
50
- setLimit: action,
51
- toggleDistinct: action,
52
- deleteSortColumn: action,
53
- addSortColumn: action,
54
- updateSortColumns: action,
55
- });
56
- this.projectionState = projectionState;
57
- }
58
- setShowModal(val) {
59
- this.showModal = val;
60
- }
61
- setLimit(val) {
62
- this.limit = val === undefined || val <= 0 ? undefined : val;
63
- }
64
- toggleDistinct() {
65
- this.distinct = !this.distinct;
66
- }
67
- deleteSortColumn(val) {
68
- deleteEntry(this.sortColumns, val);
69
- }
70
- addSortColumn(val) {
71
- addUniqueEntry(this.sortColumns, val);
72
- }
73
- updateSortColumns() {
74
- this.sortColumns = this.sortColumns.filter((e) => this.projectionState.columns.includes(e.columnState));
75
- }
76
- }
77
- //# sourceMappingURL=QueryResultSetModifierState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryResultSetModifierState.js","sourceRoot":"","sources":["../../../../../src/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAGlD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,qDAAG,CAAA;IACH,uDAAI,CAAA;AACN,CAAC,EAHW,gBAAgB,GAAhB,gBAAgB,KAAhB,gBAAgB,QAG3B;AAED,MAAM,OAAO,eAAe;IAC1B,WAAW,CAAoC;IAC/C,QAAQ,GAAG,gBAAgB,CAAC,GAAG,CAAC;IAEhC,YAAY,WAA8C;QACxD,kBAAkB,CAAC,IAAI,EAAE;YACvB,cAAc,EAAE,MAAM;YACtB,WAAW,EAAE,MAAM;SACpB,CAAC,CAAC;QAEH,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,cAAc,CAAC,GAAsC;QACnD,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC;IACzB,CAAC;IAED,WAAW,CAAC,GAAqB;QAC/B,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;IACtB,CAAC;CACF;AAED,MAAM,OAAO,2BAA2B;IACtC,eAAe,CAA8B;IAC7C,SAAS,GAAG,KA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* you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import type { AbstractPropertyExpression, PureModel, SimpleFunctionExpression, Type, ValueSpecification, VariableExpression } from '@finos/legend-graph';
17
- import { type QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionColumnState.js';
18
- import type { QueryBuilderAggregateColumnState } from './QueryBuilderAggregationState.js';
19
- export declare abstract class QueryBuilderAggregateOperator {
20
- readonly uuid: string;
21
- abstract getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
22
- abstract isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
23
- abstract buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
24
- buildAggregateExpressionFromState(aggregateColumnState: QueryBuilderAggregateColumnState): ValueSpecification;
25
- abstract buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
26
- /**
27
- * Returns the expected return type of the operator.
28
- * defaults to using the return type of the projection column state which is being aggregated.
29
- */
30
- getReturnType(aggregateColumnState: QueryBuilderAggregateColumnState): Type;
31
- }
32
- //# sourceMappingURL=QueryBuilderAggregateOperator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperator.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,0BAA0B,EAC1B,SAAS,EACT,wBAAwB,EACxB,IAAI,EACJ,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AAE1F,8BAAsB,6BAA6B;IACjD,QAAQ,CAAC,IAAI,SAAU;IAEvB,QAAQ,CAAC,QAAQ,CACf,qBAAqB,EAAE,iCAAiC,GACvD,MAAM;IAET,QAAQ,CAAC,sBAAsB,CAC7B,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAEV,QAAQ,CAAC,wBAAwB,CAC/B,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAErB,iCAAiC,CAC/B,oBAAoB,EAAE,gCAAgC,GACrD,kBAAkB;IAarB,QAAQ,CAAC,yBAAyB,CAChC,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAE/C;;;OAGG;IACH,aAAa,CAAC,oBAAoB,EAAE,gCAAgC,GAAG,IAAI;CAK5E"}
@@ -1,36 +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 { uuid, guaranteeNonNullable } from '@finos/legend-shared';
17
- import { QueryBuilderSimpleProjectionColumnState, } from '../QueryBuilderProjectionColumnState.js';
18
- export class QueryBuilderAggregateOperator {
19
- uuid = uuid();
20
- buildAggregateExpressionFromState(aggregateColumnState) {
21
- return this.buildAggregateExpression(aggregateColumnState.projectionColumnState instanceof
22
- QueryBuilderSimpleProjectionColumnState
23
- ? aggregateColumnState.projectionColumnState.propertyExpressionState
24
- .propertyExpression
25
- : undefined, aggregateColumnState.lambdaParameterName, aggregateColumnState.aggregationState.projectionState.queryBuilderState
26
- .graphManagerState.graph);
27
- }
28
- /**
29
- * Returns the expected return type of the operator.
30
- * defaults to using the return type of the projection column state which is being aggregated.
31
- */
32
- getReturnType(aggregateColumnState) {
33
- return guaranteeNonNullable(aggregateColumnState.projectionColumnState.getReturnType());
34
- }
35
- }
36
- //# sourceMappingURL=QueryBuilderAggregateOperator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperator.js","sourceRoot":"","sources":["../../../../../../src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AASlE,OAAO,EAEL,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAGjD,MAAM,OAAgB,6BAA6B;IACxC,IAAI,GAAG,IAAI,EAAE,CAAC;IAgBvB,iCAAiC,CAC/B,oBAAsD;QAEtD,OAAO,IAAI,CAAC,wBAAwB,CAClC,oBAAoB,CAAC,qBAAqB;YACxC,uCAAuC;YACvC,CAAC,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,uBAAuB;iBAC/D,kBAAkB;YACvB,CAAC,CAAC,SAAS,EACb,oBAAoB,CAAC,mBAAmB,EACxC,oBAAoB,CAAC,gBAAgB,CAAC,eAAe,CAAC,iBAAiB;aACpE,iBAAiB,CAAC,KAAK,CAC3B,CAAC;IACJ,CAAC;IAQD;;;OAGG;IACH,aAAa,CAAC,oBAAsD;QAClE,OAAO,oBAAoB,CACzB,oBAAoB,CAAC,qBAAqB,CAAC,aAAa,EAAE,CAC3D,CAAC;IACJ,CAAC;CACF"}
@@ -1,18 +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 { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
17
- export declare const getQueryBuilderCoreAggregrationOperators: () => QueryBuilderAggregateOperator[];
18
- //# sourceMappingURL=QueryBuilderAggregateOperatorLoader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperatorLoader.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAExF,eAAO,MAAM,wCAAwC,QAC/C,6BAA6B,EAWhC,CAAC"}
@@ -1,38 +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 { QueryBuilderAggregateOperator_Count } from './operators/QueryBuilderAggregateOperator_Count.js';
17
- import { QueryBuilderAggregateOperator_Distinct } from './operators/QueryBuilderAggregateOperator_Distinct.js';
18
- import { QueryBuilderAggregateOperator_Sum } from './operators/QueryBuilderAggregateOperator_Sum.js';
19
- import { QueryBuilderAggregateOperator_Average } from './operators/QueryBuilderAggregateOperator_Average.js';
20
- import { QueryBuilderAggregateOperator_StdDev_Population } from './operators/QueryBuilderAggregateOperator_StdDev_Population.js';
21
- import { QueryBuilderAggregateOperator_StdDev_Sample } from './operators/QueryBuilderAggregateOperator_StdDev_Sample.js';
22
- import { QueryBuilderAggregateOperator_DistinctCount } from './operators/QueryBuilderAggregateOperator_DistinctCount.js';
23
- import { QueryBuilderAggregateOperator_Min } from './operators/QueryBuilderAggregateOperator_Min.js';
24
- import { QueryBuilderAggregateOperator_Max } from './operators/QueryBuilderAggregateOperator_Max.js';
25
- import { QueryBuilderAggregateOperator_JoinString } from './operators/QueryBuilderAggregateOperator_JoinString.js';
26
- export const getQueryBuilderCoreAggregrationOperators = () => [
27
- new QueryBuilderAggregateOperator_Count(),
28
- new QueryBuilderAggregateOperator_DistinctCount(),
29
- new QueryBuilderAggregateOperator_Distinct(),
30
- new QueryBuilderAggregateOperator_Sum(),
31
- new QueryBuilderAggregateOperator_Average(),
32
- new QueryBuilderAggregateOperator_Min(),
33
- new QueryBuilderAggregateOperator_Max(),
34
- new QueryBuilderAggregateOperator_StdDev_Population(),
35
- new QueryBuilderAggregateOperator_StdDev_Sample(),
36
- new QueryBuilderAggregateOperator_JoinString(),
37
- ];
38
- //# sourceMappingURL=QueryBuilderAggregateOperatorLoader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderAggregateOperatorLoader.js","sourceRoot":"","sources":["../../../../../../src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,EAAE,sCAAsC,EAAE,MAAM,uDAAuD,CAAC;AAC/G,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,qCAAqC,EAAE,MAAM,sDAAsD,CAAC;AAC7G,OAAO,EAAE,+CAA+C,EAAE,MAAM,gEAAgE,CAAC;AACjI,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,2CAA2C,EAAE,MAAM,4DAA4D,CAAC;AACzH,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,wCAAwC,EAAE,MAAM,yDAAyD,CAAC;AAGnH,MAAM,CAAC,MAAM,wCAAwC,GACnD,GAAoC,EAAE,CAAC;IACrC,IAAI,mCAAmC,EAAE;IACzC,IAAI,2CAA2C,EAAE;IACjD,IAAI,sCAAsC,EAAE;IAC5C,IAAI,iCAAiC,EAAE;IACvC,IAAI,qCAAqC,EAAE;IAC3C,IAAI,iCAAiC,EAAE;IACvC,IAAI,iCAAiC,EAAE;IACvC,IAAI,+CAA+C,EAAE;IACrD,IAAI,2CAA2C,EAAE;IACjD,IAAI,wCAAwC,EAAE;CAC/C,CAAC"}
@@ -1,42 +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 { Type } from '@finos/legend-graph';
17
- import type { QueryBuilderProjectionState } from '../QueryBuilderProjectionState.js';
18
- import type { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
19
- import type { QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionColumnState.js';
20
- export declare class QueryBuilderAggregateColumnState {
21
- readonly uuid: string;
22
- aggregationState: QueryBuilderAggregationState;
23
- projectionColumnState: QueryBuilderProjectionColumnState;
24
- lambdaParameterName: string;
25
- operator: QueryBuilderAggregateOperator;
26
- constructor(aggregationState: QueryBuilderAggregationState, projectionColumnState: QueryBuilderProjectionColumnState, operator: QueryBuilderAggregateOperator);
27
- get columnName(): string;
28
- setColumnState(val: QueryBuilderProjectionColumnState): void;
29
- setLambdaParameterName(val: string): void;
30
- setOperator(val: QueryBuilderAggregateOperator): void;
31
- getReturnType(): Type;
32
- }
33
- export declare class QueryBuilderAggregationState {
34
- projectionState: QueryBuilderProjectionState;
35
- operators: QueryBuilderAggregateOperator[];
36
- columns: QueryBuilderAggregateColumnState[];
37
- constructor(projectionState: QueryBuilderProjectionState, operators: QueryBuilderAggregateOperator[]);
38
- removeColumn(val: QueryBuilderAggregateColumnState): void;
39
- addColumn(val: QueryBuilderAggregateColumnState): void;
40
- changeColumnAggregateOperator(val: QueryBuilderAggregateOperator | undefined, projectionColumnState: QueryBuilderProjectionColumnState): void;
41
- }
42
- //# sourceMappingURL=QueryBuilderAggregationState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderAggregationState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAEjG,qBAAa,gCAAgC;IAC3C,QAAQ,CAAC,IAAI,SAAU;IACvB,gBAAgB,EAAE,4BAA4B,CAAC;IAC/C,qBAAqB,EAAE,iCAAiC,CAAC;IACzD,mBAAmB,EAAE,MAAM,CAAgC;IAC3D,QAAQ,EAAE,6BAA6B,CAAC;gBAGtC,gBAAgB,EAAE,4BAA4B,EAC9C,qBAAqB,EAAE,iCAAiC,EACxD,QAAQ,EAAE,6BAA6B;IAezC,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED,cAAc,CAAC,GAAG,EAAE,iCAAiC,GAAG,IAAI;IAI5D,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzC,WAAW,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI;IAIrD,aAAa,IAAI,IAAI;CAGtB;AAED,qBAAa,4BAA4B;IACvC,eAAe,EAAE,2BAA2B,CAAC;IAC7C,SAAS,EAAE,6BAA6B,EAAE,CAAM;IAChD,OAAO,EAAE,gCAAgC,EAAE,CAAM;gBAG/C,eAAe,EAAE,2BAA2B,EAC5C,SAAS,EAAE,6BAA6B,EAAE;IAY5C,YAAY,CAAC,GAAG,EAAE,gCAAgC,GAAG,IAAI;IAIzD,SAAS,CAAC,GAAG,EAAE,gCAAgC,GAAG,IAAI;IAItD,6BAA6B,CAC3B,GAAG,EAAE,6BAA6B,GAAG,SAAS,EAC9C,qBAAqB,EAAE,iCAAiC,GACvD,IAAI;CA4CR"}
@@ -1,103 +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 { action, makeAutoObservable } from 'mobx';
17
- import { uuid, deleteEntry, addUniqueEntry } from '@finos/legend-shared';
18
- import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
19
- export class QueryBuilderAggregateColumnState {
20
- uuid = uuid();
21
- aggregationState;
22
- projectionColumnState;
23
- lambdaParameterName = DEFAULT_LAMBDA_VARIABLE_NAME;
24
- operator;
25
- constructor(aggregationState, projectionColumnState, operator) {
26
- makeAutoObservable(this, {
27
- uuid: false,
28
- aggregationState: false,
29
- setColumnState: action,
30
- setLambdaParameterName: action,
31
- setOperator: action,
32
- });
33
- this.aggregationState = aggregationState;
34
- this.projectionColumnState = projectionColumnState;
35
- this.operator = operator;
36
- }
37
- get columnName() {
38
- return this.projectionColumnState.columnName;
39
- }
40
- setColumnState(val) {
41
- this.projectionColumnState = val;
42
- }
43
- setLambdaParameterName(val) {
44
- this.lambdaParameterName = val;
45
- }
46
- setOperator(val) {
47
- this.operator = val;
48
- }
49
- getReturnType() {
50
- return this.operator.getReturnType(this);
51
- }
52
- }
53
- export class QueryBuilderAggregationState {
54
- projectionState;
55
- operators = [];
56
- columns = [];
57
- constructor(projectionState, operators) {
58
- makeAutoObservable(this, {
59
- projectionState: false,
60
- removeColumn: action,
61
- addColumn: action,
62
- });
63
- this.projectionState = projectionState;
64
- this.operators = operators;
65
- }
66
- removeColumn(val) {
67
- deleteEntry(this.columns, val);
68
- }
69
- addColumn(val) {
70
- addUniqueEntry(this.columns, val);
71
- }
72
- changeColumnAggregateOperator(val, projectionColumnState) {
73
- const aggregateColumnState = this.columns.find((column) => column.projectionColumnState === projectionColumnState);
74
- const aggreateOperators = this.operators.filter((op) => op.isCompatibleWithColumn(projectionColumnState));
75
- if (val) {
76
- if (!aggreateOperators.includes(val)) {
77
- return;
78
- }
79
- if (aggregateColumnState) {
80
- aggregateColumnState.setOperator(val);
81
- }
82
- else {
83
- const newAggregateColumnState = new QueryBuilderAggregateColumnState(this, projectionColumnState, val);
84
- newAggregateColumnState.setOperator(val);
85
- this.addColumn(newAggregateColumnState);
86
- // automatically move the column to the end
87
- // as aggregate column should always be the last one
88
- // NOTE: unless we do `olap` aggregation
89
- // See https://github.com/finos/legend-studio/issues/253
90
- this.projectionState.moveColumn(this.projectionState.columns.indexOf(projectionColumnState), this.projectionState.columns.length - 1);
91
- }
92
- }
93
- else {
94
- if (aggregateColumnState) {
95
- // automatically move the column to the last position before the aggregate columns
96
- // NOTE: `moveColumn` will take care of this placement calculation
97
- this.projectionState.moveColumn(this.projectionState.columns.indexOf(projectionColumnState), 0);
98
- this.removeColumn(aggregateColumnState);
99
- }
100
- }
101
- }
102
- }
103
- //# sourceMappingURL=QueryBuilderAggregationState.js.map