@finos/legend-query-builder 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (608) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/lib/components/QueryBuilder.d.ts +22 -0
  4. package/lib/components/QueryBuilder.d.ts.map +1 -0
  5. package/lib/components/QueryBuilder.js +111 -0
  6. package/lib/components/QueryBuilder.js.map +1 -0
  7. package/lib/components/QueryBuilderComponentTestUtils.d.ts +24 -0
  8. package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +1 -0
  9. package/lib/components/QueryBuilderComponentTestUtils.js +54 -0
  10. package/lib/components/QueryBuilderComponentTestUtils.js.map +1 -0
  11. package/lib/components/QueryBuilderParametersPanel.d.ts +31 -0
  12. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -0
  13. package/lib/components/QueryBuilderParametersPanel.js +128 -0
  14. package/lib/components/QueryBuilderParametersPanel.js.map +1 -0
  15. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +29 -0
  16. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -0
  17. package/lib/components/QueryBuilderPropertyExpressionEditor.js +116 -0
  18. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -0
  19. package/lib/components/QueryBuilderResultPanel.d.ts +22 -0
  20. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -0
  21. package/lib/components/QueryBuilderResultPanel.js +242 -0
  22. package/lib/components/QueryBuilderResultPanel.js.map +1 -0
  23. package/lib/components/QueryBuilderSideBar.d.ts +41 -0
  24. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -0
  25. package/lib/components/QueryBuilderSideBar.js +169 -0
  26. package/lib/components/QueryBuilderSideBar.js.map +1 -0
  27. package/lib/components/QueryBuilderTextEditor.d.ts +22 -0
  28. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -0
  29. package/lib/components/QueryBuilderTextEditor.js +48 -0
  30. package/lib/components/QueryBuilderTextEditor.js.map +1 -0
  31. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +22 -0
  32. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -0
  33. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +36 -0
  34. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -0
  35. package/lib/components/QueryBuilder_TestID.d.ts +26 -0
  36. package/lib/components/QueryBuilder_TestID.d.ts.map +1 -0
  37. package/lib/components/QueryBuilder_TestID.js +27 -0
  38. package/lib/components/QueryBuilder_TestID.js.map +1 -0
  39. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +36 -0
  40. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -0
  41. package/lib/components/explorer/QueryBuilderExplorerPanel.js +340 -0
  42. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -0
  43. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +22 -0
  44. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -0
  45. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +147 -0
  46. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -0
  47. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts +22 -0
  48. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +1 -0
  49. package/lib/components/explorer/QueryBuilderMilestoneEditor.js +122 -0
  50. package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +1 -0
  51. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +23 -0
  52. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -0
  53. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +200 -0
  54. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -0
  55. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +22 -0
  56. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -0
  57. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +52 -0
  58. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -0
  59. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +31 -0
  60. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -0
  61. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +94 -0
  62. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -0
  63. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +30 -0
  64. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -0
  65. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +378 -0
  66. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -0
  67. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +22 -0
  68. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -0
  69. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +216 -0
  70. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -0
  71. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +22 -0
  72. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -0
  73. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +88 -0
  74. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -0
  75. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +22 -0
  76. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -0
  77. package/lib/components/filter/QueryBuilderFilterPanel.js +316 -0
  78. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -0
  79. package/lib/components/shared/ElementIconUtils.d.ts +18 -0
  80. package/lib/components/shared/ElementIconUtils.d.ts.map +1 -0
  81. package/lib/components/shared/ElementIconUtils.js +37 -0
  82. package/lib/components/shared/ElementIconUtils.js.map +1 -0
  83. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +42 -0
  84. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +1 -0
  85. package/lib/components/shared/QueryBuilderLambdaEditor.js +47 -0
  86. package/lib/components/shared/QueryBuilderLambdaEditor.js.map +1 -0
  87. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts +20 -0
  88. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -0
  89. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +28 -0
  90. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -0
  91. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +26 -0
  92. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -0
  93. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +32 -0
  94. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -0
  95. package/lib/components/workflows/ClassQueryBuilder.d.ts +18 -0
  96. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -0
  97. package/lib/components/workflows/ClassQueryBuilder.js +87 -0
  98. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -0
  99. package/lib/components/workflows/MappingQueryBuilder.d.ts +18 -0
  100. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -0
  101. package/lib/components/workflows/MappingQueryBuilder.js +88 -0
  102. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -0
  103. package/lib/components/workflows/ServiceQueryBuilder.d.ts +18 -0
  104. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -0
  105. package/lib/components/workflows/ServiceQueryBuilder.js +69 -0
  106. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -0
  107. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +60 -0
  108. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +1 -0
  109. package/lib/graphManager/QueryBuilderSupportedFunctions.js +65 -0
  110. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +1 -0
  111. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +21 -0
  112. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +1 -0
  113. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +27 -0
  114. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +1 -0
  115. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +24 -0
  116. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +1 -0
  117. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +32 -0
  118. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +1 -0
  119. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +21 -0
  120. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +1 -0
  121. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +20 -0
  122. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +1 -0
  123. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +21 -0
  124. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +1 -0
  125. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +20 -0
  126. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +1 -0
  127. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +25 -0
  128. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
  129. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +21 -0
  130. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +1 -0
  131. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +18 -0
  132. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  133. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +20 -0
  134. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +1 -0
  135. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +22 -0
  136. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -0
  137. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +70 -0
  138. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -0
  139. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +22 -0
  140. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +1 -0
  141. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +207 -0
  142. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +1 -0
  143. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +18 -0
  144. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +1 -0
  145. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +18 -0
  146. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +1 -0
  147. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +29 -0
  148. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
  149. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +182 -0
  150. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -0
  151. package/lib/index.css +17 -0
  152. package/lib/index.css.map +1 -0
  153. package/lib/index.d.ts +28 -0
  154. package/lib/index.d.ts.map +1 -0
  155. package/lib/index.js +26 -0
  156. package/lib/index.js.map +1 -0
  157. package/lib/package.json +95 -0
  158. package/lib/stores/QueryBuilderBootstraper.d.ts +17 -0
  159. package/lib/stores/QueryBuilderBootstraper.d.ts.map +1 -0
  160. package/lib/stores/QueryBuilderBootstraper.js +22 -0
  161. package/lib/stores/QueryBuilderBootstraper.js.map +1 -0
  162. package/lib/stores/QueryBuilderChangeDetectionState.d.ts +25 -0
  163. package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -0
  164. package/lib/stores/QueryBuilderChangeDetectionState.js +32 -0
  165. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -0
  166. package/lib/stores/QueryBuilderConfig.d.ts +32 -0
  167. package/lib/stores/QueryBuilderConfig.d.ts.map +1 -0
  168. package/lib/stores/QueryBuilderConfig.js +34 -0
  169. package/lib/stores/QueryBuilderConfig.js.map +1 -0
  170. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts +22 -0
  171. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +1 -0
  172. package/lib/stores/QueryBuilderGroupOperationHelper.js +43 -0
  173. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -0
  174. package/lib/stores/QueryBuilderMilestoningState.d.ts +32 -0
  175. package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -0
  176. package/lib/stores/QueryBuilderMilestoningState.js +95 -0
  177. package/lib/stores/QueryBuilderMilestoningState.js.map +1 -0
  178. package/lib/stores/QueryBuilderParametersState.d.ts +28 -0
  179. package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -0
  180. package/lib/stores/QueryBuilderParametersState.js +39 -0
  181. package/lib/stores/QueryBuilderParametersState.js.map +1 -0
  182. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts +26 -0
  183. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -0
  184. package/lib/stores/QueryBuilderPreviewDataHelper.js +138 -0
  185. package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -0
  186. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +62 -0
  187. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -0
  188. package/lib/stores/QueryBuilderPropertyEditorState.js +395 -0
  189. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -0
  190. package/lib/stores/QueryBuilderResultState.d.ts +41 -0
  191. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -0
  192. package/lib/stores/QueryBuilderResultState.js +176 -0
  193. package/lib/stores/QueryBuilderResultState.js.map +1 -0
  194. package/lib/stores/QueryBuilderState.d.ts +110 -0
  195. package/lib/stores/QueryBuilderState.d.ts.map +1 -0
  196. package/lib/stores/QueryBuilderState.js +334 -0
  197. package/lib/stores/QueryBuilderState.js.map +1 -0
  198. package/lib/stores/QueryBuilderStateBuilder.d.ts +124 -0
  199. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -0
  200. package/lib/stores/QueryBuilderStateBuilder.js +311 -0
  201. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -0
  202. package/lib/stores/QueryBuilderStateTestUtils.d.ts +24 -0
  203. package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +1 -0
  204. package/lib/stores/QueryBuilderStateTestUtils.js +50 -0
  205. package/lib/stores/QueryBuilderStateTestUtils.js.map +1 -0
  206. package/lib/stores/QueryBuilderTextEditorState.d.ts +49 -0
  207. package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -0
  208. package/lib/stores/QueryBuilderTextEditorState.js +145 -0
  209. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -0
  210. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +24 -0
  211. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -0
  212. package/lib/stores/QueryBuilderTypeaheadHelper.js +85 -0
  213. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -0
  214. package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts +26 -0
  215. package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts.map +1 -0
  216. package/lib/stores/QueryBuilderUnsupportedQueryState.js +37 -0
  217. package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -0
  218. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +20 -0
  219. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -0
  220. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +87 -0
  221. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -0
  222. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +27 -0
  223. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -0
  224. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +161 -0
  225. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -0
  226. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +61 -0
  227. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -0
  228. package/lib/stores/QueryBuilderValueSpecificationHelper.js +235 -0
  229. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -0
  230. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +99 -0
  231. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -0
  232. package/lib/stores/explorer/QueryBuilderExplorerState.js +446 -0
  233. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -0
  234. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +46 -0
  235. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -0
  236. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +242 -0
  237. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -0
  238. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +59 -0
  239. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -0
  240. package/lib/stores/explorer/QueryFunctionsExplorerState.js +228 -0
  241. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -0
  242. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +40 -0
  243. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -0
  244. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +34 -0
  245. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -0
  246. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +27 -0
  247. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -0
  248. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +73 -0
  249. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -0
  250. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +49 -0
  251. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -0
  252. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +157 -0
  253. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -0
  254. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +20 -0
  255. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -0
  256. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +62 -0
  257. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -0
  258. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +42 -0
  259. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -0
  260. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +173 -0
  261. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -0
  262. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +26 -0
  263. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +1 -0
  264. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +72 -0
  265. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +1 -0
  266. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +73 -0
  267. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -0
  268. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +187 -0
  269. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +1 -0
  270. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +68 -0
  271. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -0
  272. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +305 -0
  273. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -0
  274. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +25 -0
  275. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -0
  276. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +186 -0
  277. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +1 -0
  278. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +26 -0
  279. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -0
  280. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +189 -0
  281. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -0
  282. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +43 -0
  283. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +1 -0
  284. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +77 -0
  285. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +1 -0
  286. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +32 -0
  287. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -0
  288. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +36 -0
  289. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +1 -0
  290. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +18 -0
  291. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +1 -0
  292. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +38 -0
  293. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +1 -0
  294. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +42 -0
  295. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -0
  296. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +103 -0
  297. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -0
  298. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +20 -0
  299. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -0
  300. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +96 -0
  301. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -0
  302. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +22 -0
  303. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +1 -0
  304. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +40 -0
  305. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +1 -0
  306. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +27 -0
  307. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
  308. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +50 -0
  309. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -0
  310. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +27 -0
  311. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
  312. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +55 -0
  313. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -0
  314. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +26 -0
  315. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
  316. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +50 -0
  317. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
  318. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +27 -0
  319. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
  320. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +78 -0
  321. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
  322. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +27 -0
  323. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
  324. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +67 -0
  325. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
  326. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +26 -0
  327. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
  328. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +86 -0
  329. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -0
  330. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +26 -0
  331. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
  332. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +86 -0
  333. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -0
  334. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +27 -0
  335. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
  336. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +50 -0
  337. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
  338. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +27 -0
  339. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
  340. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +50 -0
  341. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
  342. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +26 -0
  343. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
  344. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +45 -0
  345. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
  346. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +29 -0
  347. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -0
  348. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +30 -0
  349. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +1 -0
  350. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +18 -0
  351. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +1 -0
  352. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +44 -0
  353. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +1 -0
  354. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +135 -0
  355. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -0
  356. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +585 -0
  357. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -0
  358. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +22 -0
  359. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -0
  360. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +122 -0
  361. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -0
  362. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +19 -0
  363. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -0
  364. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +79 -0
  365. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -0
  366. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +23 -0
  367. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
  368. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +73 -0
  369. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
  370. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +32 -0
  371. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
  372. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +75 -0
  373. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
  374. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +32 -0
  375. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
  376. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +75 -0
  377. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
  378. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +32 -0
  379. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
  380. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +118 -0
  381. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
  382. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +27 -0
  383. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
  384. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +81 -0
  385. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
  386. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +24 -0
  387. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  388. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +43 -0
  389. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
  390. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +32 -0
  391. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
  392. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +104 -0
  393. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -0
  394. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +33 -0
  395. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
  396. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +67 -0
  397. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
  398. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +27 -0
  399. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
  400. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +81 -0
  401. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
  402. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +24 -0
  403. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
  404. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +43 -0
  405. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
  406. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +32 -0
  407. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
  408. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +75 -0
  409. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -0
  410. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +27 -0
  411. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -0
  412. package/lib/stores/filter/QueryBuilderFilterOperator.js +20 -0
  413. package/lib/stores/filter/QueryBuilderFilterOperator.js.map +1 -0
  414. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts +18 -0
  415. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +1 -0
  416. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js +44 -0
  417. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +1 -0
  418. package/lib/stores/filter/QueryBuilderFilterState.d.ts +123 -0
  419. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -0
  420. package/lib/stores/filter/QueryBuilderFilterState.js +531 -0
  421. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -0
  422. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +19 -0
  423. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -0
  424. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +74 -0
  425. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -0
  426. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +19 -0
  427. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -0
  428. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +78 -0
  429. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -0
  430. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +21 -0
  431. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +1 -0
  432. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js +257 -0
  433. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +1 -0
  434. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +32 -0
  435. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -0
  436. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +71 -0
  437. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -0
  438. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +32 -0
  439. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -0
  440. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +71 -0
  441. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -0
  442. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +32 -0
  443. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -0
  444. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +115 -0
  445. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -0
  446. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +27 -0
  447. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -0
  448. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +83 -0
  449. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -0
  450. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +27 -0
  451. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  452. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +83 -0
  453. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -0
  454. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +32 -0
  455. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -0
  456. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +103 -0
  457. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -0
  458. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +32 -0
  459. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -0
  460. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +65 -0
  461. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -0
  462. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +27 -0
  463. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -0
  464. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +83 -0
  465. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -0
  466. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +27 -0
  467. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -0
  468. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +83 -0
  469. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -0
  470. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +32 -0
  471. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -0
  472. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +71 -0
  473. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -0
  474. package/lib/stores/workflows/ClassQueryBuilderState.d.ts +35 -0
  475. package/lib/stores/workflows/ClassQueryBuilderState.d.ts.map +1 -0
  476. package/lib/stores/workflows/ClassQueryBuilderState.js +57 -0
  477. package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -0
  478. package/lib/stores/workflows/MappingQueryBuilderState.d.ts +33 -0
  479. package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -0
  480. package/lib/stores/workflows/MappingQueryBuilderState.js +55 -0
  481. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -0
  482. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +44 -0
  483. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -0
  484. package/lib/stores/workflows/ServiceQueryBuilderState.js +90 -0
  485. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -0
  486. package/package.json +95 -0
  487. package/src/components/QueryBuilder.tsx +411 -0
  488. package/src/components/QueryBuilderComponentTestUtils.tsx +122 -0
  489. package/src/components/QueryBuilderParametersPanel.tsx +431 -0
  490. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +376 -0
  491. package/src/components/QueryBuilderResultPanel.tsx +640 -0
  492. package/src/components/QueryBuilderSideBar.tsx +421 -0
  493. package/src/components/QueryBuilderTextEditor.tsx +127 -0
  494. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +88 -0
  495. package/src/components/QueryBuilder_TestID.ts +26 -0
  496. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +934 -0
  497. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +554 -0
  498. package/src/components/explorer/QueryBuilderMilestoneEditor.tsx +296 -0
  499. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +617 -0
  500. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +112 -0
  501. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +276 -0
  502. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1103 -0
  503. package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +649 -0
  504. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +254 -0
  505. package/src/components/filter/QueryBuilderFilterPanel.tsx +891 -0
  506. package/src/components/shared/ElementIconUtils.tsx +47 -0
  507. package/src/components/shared/QueryBuilderLambdaEditor.tsx +120 -0
  508. package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +40 -0
  509. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +87 -0
  510. package/src/components/workflows/ClassQueryBuilder.tsx +198 -0
  511. package/src/components/workflows/MappingQueryBuilder.tsx +195 -0
  512. package/src/components/workflows/ServiceQueryBuilder.tsx +192 -0
  513. package/src/graphManager/QueryBuilderSupportedFunctions.ts +67 -0
  514. package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +32 -0
  515. package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +33 -0
  516. package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +22 -0
  517. package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +22 -0
  518. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +47 -0
  519. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +27 -0
  520. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +167 -0
  521. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +571 -0
  522. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +28 -0
  523. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +296 -0
  524. package/src/index.ts +38 -0
  525. package/src/stores/QueryBuilderBootstraper.ts +23 -0
  526. package/src/stores/QueryBuilderChangeDetectionState.ts +37 -0
  527. package/src/stores/QueryBuilderConfig.ts +34 -0
  528. package/src/stores/QueryBuilderGroupOperationHelper.ts +54 -0
  529. package/src/stores/QueryBuilderMilestoningState.ts +164 -0
  530. package/src/stores/QueryBuilderParametersState.ts +52 -0
  531. package/src/stores/QueryBuilderPreviewDataHelper.ts +202 -0
  532. package/src/stores/QueryBuilderPropertyEditorState.ts +668 -0
  533. package/src/stores/QueryBuilderResultState.ts +281 -0
  534. package/src/stores/QueryBuilderState.ts +465 -0
  535. package/src/stores/QueryBuilderStateBuilder.ts +585 -0
  536. package/src/stores/QueryBuilderStateTestUtils.ts +99 -0
  537. package/src/stores/QueryBuilderTextEditorState.ts +203 -0
  538. package/src/stores/QueryBuilderTypeaheadHelper.ts +152 -0
  539. package/src/stores/QueryBuilderUnsupportedQueryState.ts +44 -0
  540. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +179 -0
  541. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +256 -0
  542. package/src/stores/QueryBuilderValueSpecificationHelper.ts +359 -0
  543. package/src/stores/explorer/QueryBuilderExplorerState.ts +798 -0
  544. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +333 -0
  545. package/src/stores/explorer/QueryFunctionsExplorerState.ts +375 -0
  546. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +65 -0
  547. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +107 -0
  548. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +240 -0
  549. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +131 -0
  550. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +282 -0
  551. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +154 -0
  552. package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +327 -0
  553. package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +569 -0
  554. package/src/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +426 -0
  555. package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +416 -0
  556. package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +95 -0
  557. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +79 -0
  558. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +41 -0
  559. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +145 -0
  560. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +228 -0
  561. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +109 -0
  562. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +98 -0
  563. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +106 -0
  564. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +96 -0
  565. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +173 -0
  566. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +155 -0
  567. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +174 -0
  568. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +174 -0
  569. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +98 -0
  570. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +98 -0
  571. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +88 -0
  572. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +66 -0
  573. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +65 -0
  574. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +807 -0
  575. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +297 -0
  576. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +121 -0
  577. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +129 -0
  578. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +140 -0
  579. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +135 -0
  580. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +218 -0
  581. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +143 -0
  582. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +70 -0
  583. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +183 -0
  584. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +113 -0
  585. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +143 -0
  586. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +70 -0
  587. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +135 -0
  588. package/src/stores/filter/QueryBuilderFilterOperator.ts +52 -0
  589. package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +65 -0
  590. package/src/stores/filter/QueryBuilderFilterState.ts +736 -0
  591. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +155 -0
  592. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +120 -0
  593. package/src/stores/filter/operators/QueryBuilderFilterOperatorHelper.ts +524 -0
  594. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +134 -0
  595. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +134 -0
  596. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +211 -0
  597. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +145 -0
  598. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +145 -0
  599. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +181 -0
  600. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +125 -0
  601. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +145 -0
  602. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +145 -0
  603. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +134 -0
  604. package/src/stores/workflows/ClassQueryBuilderState.ts +80 -0
  605. package/src/stores/workflows/MappingQueryBuilderState.ts +86 -0
  606. package/src/stores/workflows/ServiceQueryBuilderState.ts +143 -0
  607. package/tsconfig.json +166 -0
  608. package/tsconfig.package.json +38 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_DistinctCount.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,wBAAwB,EACxB,kBAAkB,EAClB,yBAAyB,EACzB,0BAA0B,EAC1B,iBAAiB,EACjB,cAAc,EAEd,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAElH,MAAM,OAAO,2CAA4C,SAAQ,6BAA6B;IAC5F,QAA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AAI,CAAC,CAAC;YAEvC,OAAO,oBAAoB,CAAC;SAC7B;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,MAAM,KAAK,GACT,oBAAoB,CAAC,gBAAgB,CAAC,eAAe,CAAC,iBAAiB;aACpE,iBAAiB,CAAC,KAAK,CAAC;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAC/C,CAAC;CACF"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type AbstractPropertyExpression, type PureModel, type ValueSpecification, type Type, SimpleFunctionExpression, VariableExpression } from '@finos/legend-graph';
17
+ import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
20
+ export declare class QueryBuilderAggregateOperator_JoinString extends QueryBuilderAggregateOperator {
21
+ getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
22
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
23
+ buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
24
+ buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
25
+ getReturnType(aggregateColumnState: QueryBuilderAggregateColumnState): Type;
26
+ }
27
+ //# sourceMappingURL=QueryBuilderAggregateOperator_JoinString.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_JoinString.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,IAAI,EAET,wBAAwB,EACxB,kBAAkB,EAOnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAGpD,qBAAa,wCAAyC,SAAQ,6BAA6B;IACzF,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAaV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAwBrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAsDtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;CAMR"}
@@ -0,0 +1,67 @@
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 { matchFunctionName, SimpleFunctionExpression, VariableExpression, TYPICAL_MULTIPLICITY_TYPE, extractElementNameFromPath, PrimitiveInstanceValue, GenericTypeExplicitReference, GenericType, PRIMITIVE_TYPE, } from '@finos/legend-graph';
17
+ import { assertTrue, guaranteeType } from '@finos/legend-shared';
18
+ import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
19
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
20
+ import { QueryBuilderSimpleProjectionColumnState, } from '../../QueryBuilderProjectionColumnState.js';
21
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
22
+ export class QueryBuilderAggregateOperator_JoinString extends QueryBuilderAggregateOperator {
23
+ getLabel(projectionColumnState) {
24
+ return 'join';
25
+ }
26
+ isCompatibleWithColumn(projectionColumnState) {
27
+ if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
28
+ const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
29
+ .genericType.value.rawType;
30
+ // NOTE: Engine does not support Enumerations at the moment.
31
+ return PRIMITIVE_TYPE.STRING === propertyType.path;
32
+ }
33
+ return true;
34
+ }
35
+ buildAggregateExpression(propertyExpression, variableName, graph) {
36
+ const multiplicityOne = graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
37
+ const expression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.JOIN_STRINGS), multiplicityOne);
38
+ const delimiter = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(graph.getPrimitiveType(PRIMITIVE_TYPE.STRING))), multiplicityOne);
39
+ delimiter.values = [';'];
40
+ expression.parametersValues.push(new VariableExpression(variableName, multiplicityOne), delimiter);
41
+ return expression;
42
+ }
43
+ buildAggregateColumnState(expression, lambdaParam, projectionColumnState) {
44
+ if (matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.JOIN_STRINGS)) {
45
+ const aggregateColumnState = new QueryBuilderAggregateColumnState(projectionColumnState.projectionState.aggregationState, projectionColumnState, this);
46
+ aggregateColumnState.setLambdaParameterName(lambdaParam.name);
47
+ assertTrue(expression.parametersValues.length === 2, `Can't process joinStrings() expression: joinStrings() expects 1 argument`);
48
+ // variable
49
+ const variableExpression = guaranteeType(expression.parametersValues[0], VariableExpression, `Can't process joinStrings() expression: only support joinStrings() immediately following a variable expression`);
50
+ assertTrue(aggregateColumnState.lambdaParameterName === variableExpression.name, `Can't process joinStrings() expression: expects variable used in lambda body '${variableExpression.name}' to match lambda parameter '${aggregateColumnState.lambdaParameterName}'`);
51
+ // delimiter
52
+ const delimiter = guaranteeType(expression.parametersValues[1], PrimitiveInstanceValue, `Can't process joinStrings() expression: joinStrings() expects arugment #1 to be a primitive instance value`);
53
+ assertTrue(delimiter.values.length === 1 && delimiter.values[0] === ';', `Can't process joinStrings() expression: only support ';' as delimiter`);
54
+ // operator
55
+ assertTrue(this.isCompatibleWithColumn(aggregateColumnState.projectionColumnState), `Can't process joinStrings() expression: property is not compatible with operator`);
56
+ aggregateColumnState.setOperator(this);
57
+ return aggregateColumnState;
58
+ }
59
+ return undefined;
60
+ }
61
+ getReturnType(aggregateColumnState) {
62
+ const graph = aggregateColumnState.aggregationState.projectionState.queryBuilderState
63
+ .graphManagerState.graph;
64
+ return graph.getType(PRIMITIVE_TYPE.STRING);
65
+ }
66
+ }
67
+ //# sourceMappingURL=QueryBuilderAggregateOperator_JoinString.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_JoinString.js","sourceRoot":"","sources":["../../../../../../src/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AAM,CAAC,CAAC,CAAC,KAAK,GAAG,EAC5D,uEAAuE,CACxE,CAAC;YAEF,WAAW;YACX,UAAU,CACR,IAAI,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,EACvE,kFAAkF,CACnF,CAAC;YACF,oBAAoB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;YAEvC,OAAO,oBAAoB,CAAC;SAC7B;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,MAAM,KAAK,GACT,oBAAoB,CAAC,gBAAgB,CAAC,eAAe,CAAC,iBAAiB;aACpE,iBAAiB,CAAC,KAAK,CAAC;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;CACF"}
@@ -0,0 +1,26 @@
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 ValueSpecification, type SimpleFunctionExpression, type VariableExpression, type PureModel, type AbstractPropertyExpression } from '@finos/legend-graph';
17
+ import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
20
+ export declare class QueryBuilderAggregateOperator_Max extends QueryBuilderAggregateOperator {
21
+ getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
22
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
23
+ buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
24
+ buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
25
+ }
26
+ //# sourceMappingURL=QueryBuilderAggregateOperator_Max.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Max.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAOpD,qBAAa,iCAAkC,SAAQ,6BAA6B;IAClF,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAsBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAmBrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;CAgFhD"}
@@ -0,0 +1,86 @@
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 { matchFunctionName, PRIMITIVE_TYPE, } from '@finos/legend-graph';
17
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
18
+ import { QueryBuilderSimpleProjectionColumnState, } from '../../QueryBuilderProjectionColumnState.js';
19
+ import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorHelper.js';
20
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
21
+ export class QueryBuilderAggregateOperator_Max extends QueryBuilderAggregateOperator {
22
+ getLabel(projectionColumnState) {
23
+ return 'max';
24
+ }
25
+ isCompatibleWithColumn(projectionColumnState) {
26
+ if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
27
+ const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
28
+ .genericType.value.rawType;
29
+ return [
30
+ PRIMITIVE_TYPE.NUMBER,
31
+ PRIMITIVE_TYPE.INTEGER,
32
+ PRIMITIVE_TYPE.DECIMAL,
33
+ PRIMITIVE_TYPE.FLOAT,
34
+ PRIMITIVE_TYPE.DATE,
35
+ PRIMITIVE_TYPE.STRICTDATE,
36
+ PRIMITIVE_TYPE.DATETIME,
37
+ ].includes(propertyType.path);
38
+ }
39
+ return true;
40
+ }
41
+ buildAggregateExpression(propertyExpression, variableName, graph) {
42
+ return buildAggregateExpression([
43
+ PRIMITIVE_TYPE.DATE,
44
+ PRIMITIVE_TYPE.STRICTDATE,
45
+ PRIMITIVE_TYPE.DATETIME,
46
+ ].includes(propertyExpression?.func.genericType.value.rawType.path ??
47
+ PRIMITIVE_TYPE.NUMBER)
48
+ ? QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MAX
49
+ : QUERY_BUILDER_SUPPORTED_FUNCTIONS.MAX, graph, variableName);
50
+ }
51
+ buildAggregateColumnState(expression, lambdaParam, projectionColumnState) {
52
+ if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
53
+ const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
54
+ .genericType.value.rawType;
55
+ switch (propertyType.path) {
56
+ case PRIMITIVE_TYPE.NUMBER:
57
+ case PRIMITIVE_TYPE.INTEGER:
58
+ case PRIMITIVE_TYPE.DECIMAL:
59
+ case PRIMITIVE_TYPE.FLOAT: {
60
+ if (!matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MAX)) {
61
+ return undefined;
62
+ }
63
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MAX, this);
64
+ }
65
+ case PRIMITIVE_TYPE.DATE:
66
+ case PRIMITIVE_TYPE.STRICTDATE:
67
+ case PRIMITIVE_TYPE.DATETIME: {
68
+ if (!matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MAX)) {
69
+ return undefined;
70
+ }
71
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MAX, this);
72
+ }
73
+ default:
74
+ return undefined;
75
+ }
76
+ }
77
+ if (matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MAX)) {
78
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MAX, this);
79
+ }
80
+ else if (matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MAX)) {
81
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MAX, this);
82
+ }
83
+ return undefined;
84
+ }
85
+ }
86
+ //# sourceMappingURL=QueryBuilderAggregateOperator_Max.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Max.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,cAAc,GAMf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAElH,MAAM,OAAO,iCAAkC,SAAQ,6BAA6B;IAClF,QAAQ,CAAC,qBAAwD;QAC/D,OAAO,KAAK,CAAC;IACf,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YAC/B,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;gBACpB,cAAc,CAAC,IAAI;gBACnB,cAAc,CAAC,UAAU;gBACzB,cAAc,CAAC,QAAQ;aAE1B,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,wBAAwB,CACtB,kBAA0D,EAC1D,YAAoB,EACpB,K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AClB;oBACD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,QAAQ,EAC1C,IAAI,CACL,CAAC;iBACH;gBACD;oBACE,OAAO,SAAS,CAAC;aACpB;SACF;QACD,IACE,iBAAiB,CACf,UAAU,CAAC,YAAY,EACvB,iCAAiC,CAAC,GAAG,CACtC,EACD;YACA,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,GAAG,EACrC,IAAI,CACL,CAAC;SACH;aAAM,IACL,iBAAiB,CACf,UAAU,CAAC,YAAY,EACvB,iCAAiC,CAAC,QAAQ,CAC3C,EACD;YACA,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,QAAQ,EAC1C,IAAI,CACL,CAAC;SACH;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,26 @@
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 ValueSpecification, type SimpleFunctionExpression, type VariableExpression, type PureModel, type AbstractPropertyExpression } from '@finos/legend-graph';
17
+ import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
20
+ export declare class QueryBuilderAggregateOperator_Min extends QueryBuilderAggregateOperator {
21
+ getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
22
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
23
+ buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
24
+ buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
25
+ }
26
+ //# sourceMappingURL=QueryBuilderAggregateOperator_Min.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Min.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAOpD,qBAAa,iCAAkC,SAAQ,6BAA6B;IAClF,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAsBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAmBrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;CAgFhD"}
@@ -0,0 +1,86 @@
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 { matchFunctionName, PRIMITIVE_TYPE, } from '@finos/legend-graph';
17
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
18
+ import { QueryBuilderSimpleProjectionColumnState, } from '../../QueryBuilderProjectionColumnState.js';
19
+ import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorHelper.js';
20
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
21
+ export class QueryBuilderAggregateOperator_Min extends QueryBuilderAggregateOperator {
22
+ getLabel(projectionColumnState) {
23
+ return 'min';
24
+ }
25
+ isCompatibleWithColumn(projectionColumnState) {
26
+ if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
27
+ const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
28
+ .genericType.value.rawType;
29
+ return [
30
+ PRIMITIVE_TYPE.NUMBER,
31
+ PRIMITIVE_TYPE.INTEGER,
32
+ PRIMITIVE_TYPE.DECIMAL,
33
+ PRIMITIVE_TYPE.FLOAT,
34
+ PRIMITIVE_TYPE.DATE,
35
+ PRIMITIVE_TYPE.STRICTDATE,
36
+ PRIMITIVE_TYPE.DATETIME,
37
+ ].includes(propertyType.path);
38
+ }
39
+ return true;
40
+ }
41
+ buildAggregateExpression(propertyExpression, variableName, graph) {
42
+ return buildAggregateExpression([
43
+ PRIMITIVE_TYPE.DATE,
44
+ PRIMITIVE_TYPE.STRICTDATE,
45
+ PRIMITIVE_TYPE.DATETIME,
46
+ ].includes(propertyExpression?.func.genericType.value.rawType.path ??
47
+ PRIMITIVE_TYPE.NUMBER)
48
+ ? QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MIN
49
+ : QUERY_BUILDER_SUPPORTED_FUNCTIONS.MIN, graph, variableName);
50
+ }
51
+ buildAggregateColumnState(expression, lambdaParam, projectionColumnState) {
52
+ if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
53
+ const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
54
+ .genericType.value.rawType;
55
+ switch (propertyType.path) {
56
+ case PRIMITIVE_TYPE.NUMBER:
57
+ case PRIMITIVE_TYPE.INTEGER:
58
+ case PRIMITIVE_TYPE.DECIMAL:
59
+ case PRIMITIVE_TYPE.FLOAT: {
60
+ if (!matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MIN)) {
61
+ return undefined;
62
+ }
63
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MIN, this);
64
+ }
65
+ case PRIMITIVE_TYPE.DATE:
66
+ case PRIMITIVE_TYPE.STRICTDATE:
67
+ case PRIMITIVE_TYPE.DATETIME: {
68
+ if (!matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MIN)) {
69
+ return undefined;
70
+ }
71
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MIN, this);
72
+ }
73
+ default:
74
+ return undefined;
75
+ }
76
+ }
77
+ if (matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MIN)) {
78
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MIN, this);
79
+ }
80
+ else if (matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MIN)) {
81
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.DATE_MIN, this);
82
+ }
83
+ return undefined;
84
+ }
85
+ }
86
+ //# sourceMappingURL=QueryBuilderAggregateOperator_Min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Min.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,cAAc,GAMf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAElH,MAAM,OAAO,iCAAkC,SAAQ,6BAA6B;IAClF,QAAQ,CAAC,qBAAwD;QAC/D,OAAO,KAAK,CAAC;IACf,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YAC/B,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;gBACpB,cAAc,CAAC,IAAI;gBACnB,cAAc,CAAC,UAAU;gBACzB,cAAc,CAAC,QAAQ;aAE1B,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAA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C,YAAY,EACvB,iCAAiC,CAAC,QAAQ,CAC3C,EACD;wBACA,OAAO,SAAS,CAAC;qBAClB;oBACD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,QAAQ,EAC1C,IAAI,CACL,CAAC;iBACH;gBACD;oBACE,OAAO,SAAS,CAAC;aACpB;SACF;QACD,IACE,iBAAiB,CACf,UAAU,CAAC,YAAY,EACvB,iCAAiC,CAAC,GAAG,CACtC,EACD;YACA,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,GAAG,EACrC,IAAI,CACL,CAAC;SACH;aAAM,IACL,iBAAiB,CACf,UAAU,CAAC,YAAY,EACvB,iCAAiC,CAAC,QAAQ,CAC3C,EACD;YACA,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,QAAQ,EAC1C,IAAI,CACL,CAAC;SACH;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,27 @@
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, type ValueSpecification, type SimpleFunctionExpression, type VariableExpression, type AbstractPropertyExpression, type PureModel } from '@finos/legend-graph';
17
+ import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
20
+ export declare class QueryBuilderAggregateOperator_StdDev_Population extends QueryBuilderAggregateOperator {
21
+ getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
22
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
23
+ buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
24
+ buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
25
+ getReturnType(aggregateColumnState: QueryBuilderAggregateColumnState): Type;
26
+ }
27
+ //# sourceMappingURL=QueryBuilderAggregateOperator_StdDev_Population.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Population.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EAET,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAOpD,qBAAa,+CAAgD,SAAQ,6BAA6B;IAChG,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;CAMR"}
@@ -0,0 +1,50 @@
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 { PRIMITIVE_TYPE, } from '@finos/legend-graph';
17
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
18
+ import { QueryBuilderSimpleProjectionColumnState, } from '../../QueryBuilderProjectionColumnState.js';
19
+ import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorHelper.js';
20
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
21
+ export class QueryBuilderAggregateOperator_StdDev_Population extends QueryBuilderAggregateOperator {
22
+ getLabel(projectionColumnState) {
23
+ return 'std dev (population)';
24
+ }
25
+ isCompatibleWithColumn(projectionColumnState) {
26
+ if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
27
+ const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
28
+ .genericType.value.rawType;
29
+ return [
30
+ PRIMITIVE_TYPE.NUMBER,
31
+ PRIMITIVE_TYPE.INTEGER,
32
+ PRIMITIVE_TYPE.DECIMAL,
33
+ PRIMITIVE_TYPE.FLOAT,
34
+ ].includes(propertyType.path);
35
+ }
36
+ return true;
37
+ }
38
+ buildAggregateExpression(propertyExpression, variableName, graph) {
39
+ return buildAggregateExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.STD_DEV_POPULATION, graph, variableName);
40
+ }
41
+ buildAggregateColumnState(expression, lambdaParam, projectionColumnState) {
42
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.STD_DEV_POPULATION, this);
43
+ }
44
+ getReturnType(aggregateColumnState) {
45
+ const graph = aggregateColumnState.projectionColumnState.projectionState
46
+ .queryBuilderState.graphManagerState.graph;
47
+ return graph.getType(PRIMITIVE_TYPE.NUMBER);
48
+ }
49
+ }
50
+ //# sourceMappingURL=QueryBuilderAggregateOperator_StdDev_Population.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Population.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,cAAc,GAMf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAElH,MAAM,OAAO,+CAAgD,SAAQ,6BAA6B;IAChG,QAAQ,CAAC,qBAAwD;QAC/D,OAAO,sBAAsB,CAAC;IAChC,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YAC/B,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,wBAAwB,CACtB,kBAA0D,EAC1D,YAAoB,EACpB,KAAgB;QAEhB,OAAO,wBAAwB,CAC7B,iCAAiC,CAAC,kBAAkB,EACpD,KAAK,EACL,YAAY,CACb,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,UAAoC,EACpC,WAA+B,EAC/B,qBAAwD;QAExD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,kBAAkB,EACpD,IAAI,CACL,CAAC;IACJ,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,MAAM,KAAK,GACT,oBAAoB,CAAC,qBAAqB,CAAC,eAAe;aACvD,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC;QAC/C,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;CACF"}
@@ -0,0 +1,27 @@
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, type ValueSpecification, type SimpleFunctionExpression, type VariableExpression, type AbstractPropertyExpression, type PureModel } from '@finos/legend-graph';
17
+ import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
20
+ export declare class QueryBuilderAggregateOperator_StdDev_Sample extends QueryBuilderAggregateOperator {
21
+ getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
22
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
23
+ buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
24
+ buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
25
+ getReturnType(aggregateColumnState: QueryBuilderAggregateColumnState): Type;
26
+ }
27
+ //# sourceMappingURL=QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Sample.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAOpD,qBAAa,2CAA4C,SAAQ,6BAA6B;IAC5F,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;CAMR"}
@@ -0,0 +1,50 @@
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 { PRIMITIVE_TYPE, } from '@finos/legend-graph';
17
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
18
+ import { QueryBuilderSimpleProjectionColumnState, } from '../../QueryBuilderProjectionColumnState.js';
19
+ import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorHelper.js';
20
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
21
+ export class QueryBuilderAggregateOperator_StdDev_Sample extends QueryBuilderAggregateOperator {
22
+ getLabel(projectionColumnState) {
23
+ return 'std dev (sample)';
24
+ }
25
+ isCompatibleWithColumn(projectionColumnState) {
26
+ if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
27
+ const propertyType = projectionColumnState.propertyExpressionState.propertyExpression.func
28
+ .genericType.value.rawType;
29
+ return [
30
+ PRIMITIVE_TYPE.NUMBER,
31
+ PRIMITIVE_TYPE.INTEGER,
32
+ PRIMITIVE_TYPE.DECIMAL,
33
+ PRIMITIVE_TYPE.FLOAT,
34
+ ].includes(propertyType.path);
35
+ }
36
+ return true;
37
+ }
38
+ buildAggregateExpression(propertyExpression, variableName, graph) {
39
+ return buildAggregateExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.STD_DEV_SAMPLE, graph, variableName);
40
+ }
41
+ buildAggregateColumnState(expression, lambdaParam, projectionColumnState) {
42
+ return buildAggregateColumnState(projectionColumnState, lambdaParam, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.STD_DEV_SAMPLE, this);
43
+ }
44
+ getReturnType(aggregateColumnState) {
45
+ const graph = aggregateColumnState.projectionColumnState.projectionState
46
+ .queryBuilderState.graphManagerState.graph;
47
+ return graph.getType(PRIMITIVE_TYPE.NUMBER);
48
+ }
49
+ }
50
+ //# sourceMappingURL=QueryBuilderAggregateOperator_StdDev_Sample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_StdDev_Sample.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,GAOf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iCAAiC,EAAE,MAAM,+DAA+D,CAAC;AAElH,MAAM,OAAO,2CAA4C,SAAQ,6BAA6B;IAC5F,QAAQ,CAAC,qBAAwD;QAC/D,OAAO,kBAAkB,CAAC;IAC5B,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YAC/B,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,wBAAwB,CACtB,kBAA0D,EAC1D,YAAoB,EACpB,KAAgB;QAEhB,OAAO,wBAAwB,CAC7B,iCAAiC,CAAC,cAAc,EAChD,KAAK,EACL,YAAY,CACb,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,UAAoC,EACpC,WAA+B,EAC/B,qBAAwD;QAExD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,cAAc,EAChD,IAAI,CACL,CAAC;IACJ,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,MAAM,KAAK,GACT,oBAAoB,CAAC,qBAAqB,CAAC,eAAe;aACvD,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC;QAC/C,OAAO,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC;CACF"}
@@ -0,0 +1,26 @@
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 ValueSpecification, type SimpleFunctionExpression, type VariableExpression, type AbstractPropertyExpression, type PureModel } from '@finos/legend-graph';
17
+ import type { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
18
+ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
19
+ import { type QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
20
+ export declare class QueryBuilderAggregateOperator_Sum extends QueryBuilderAggregateOperator {
21
+ getLabel(projectionColumnState: QueryBuilderProjectionColumnState): string;
22
+ isCompatibleWithColumn(projectionColumnState: QueryBuilderProjectionColumnState): boolean;
23
+ buildAggregateExpression(propertyExpression: AbstractPropertyExpression | undefined, variableName: string, graph: PureModel): ValueSpecification;
24
+ buildAggregateColumnState(expression: SimpleFunctionExpression, lambdaParam: VariableExpression, projectionColumnState: QueryBuilderProjectionColumnState): QueryBuilderAggregateColumnState | undefined;
25
+ }
26
+ //# sourceMappingURL=QueryBuilderAggregateOperator_Sum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderAggregateOperator_Sum.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,4CAA4C,CAAC;AAOpD,qBAAa,iCAAkC,SAAQ,6BAA6B;IAClF,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;CAShD"}