@finos/legend-application-query 5.2.8 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/lib/application/LegendQuery.d.ts.map +1 -1
  2. package/lib/application/LegendQuery.js +4 -7
  3. package/lib/application/LegendQuery.js.map +1 -1
  4. package/lib/components/LegendQueryApplication.d.ts +0 -1
  5. package/lib/components/LegendQueryApplication.d.ts.map +1 -1
  6. package/lib/components/LegendQueryApplication.js +2 -2
  7. package/lib/components/LegendQueryApplication.js.map +1 -1
  8. package/lib/components/QueryEditor.d.ts +2 -3
  9. package/lib/components/QueryEditor.d.ts.map +1 -1
  10. package/lib/components/QueryEditor.js +83 -32
  11. package/lib/components/QueryEditor.js.map +1 -1
  12. package/lib/components/QueryEditorComponentTestUtils.d.ts +5 -1
  13. package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
  14. package/lib/components/QueryEditorComponentTestUtils.js +21 -20
  15. package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
  16. package/lib/components/QueryEditorStoreProvider.d.ts +2 -3
  17. package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -1
  18. package/lib/components/QueryEditorStoreProvider.js +5 -5
  19. package/lib/components/QueryEditorStoreProvider.js.map +1 -1
  20. package/lib/components/QuerySetup.js +17 -17
  21. package/lib/components/QuerySetup.js.map +1 -1
  22. package/lib/index.css +2 -2
  23. package/lib/index.css.map +1 -1
  24. package/lib/index.d.ts +2 -4
  25. package/lib/index.d.ts.map +1 -1
  26. package/lib/index.js +2 -4
  27. package/lib/index.js.map +1 -1
  28. package/lib/package.json +8 -14
  29. package/lib/stores/LegendQueryApplicationPlugin.d.ts +7 -0
  30. package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
  31. package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
  32. package/lib/stores/LegendQueryRouter.d.ts +8 -12
  33. package/lib/stores/LegendQueryRouter.d.ts.map +1 -1
  34. package/lib/stores/LegendQueryRouter.js +6 -7
  35. package/lib/stores/LegendQueryRouter.js.map +1 -1
  36. package/lib/stores/QueryEditorStore.d.ts +22 -11
  37. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  38. package/lib/stores/QueryEditorStore.js +102 -67
  39. package/lib/stores/QueryEditorStore.js.map +1 -1
  40. package/lib/stores/QuerySetupStore.d.ts +4 -4
  41. package/lib/stores/QuerySetupStore.d.ts.map +1 -1
  42. package/lib/stores/QuerySetupStore.js +4 -4
  43. package/lib/stores/QuerySetupStore.js.map +1 -1
  44. package/package.json +15 -21
  45. package/src/application/LegendQuery.tsx +7 -8
  46. package/src/components/LegendQueryApplication.tsx +7 -7
  47. package/src/components/QueryEditor.tsx +371 -134
  48. package/src/components/QueryEditorComponentTestUtils.tsx +40 -29
  49. package/src/components/QueryEditorStoreProvider.tsx +7 -9
  50. package/src/components/QuerySetup.tsx +25 -25
  51. package/src/index.ts +2 -10
  52. package/src/stores/LegendQueryApplicationPlugin.ts +12 -0
  53. package/src/stores/LegendQueryRouter.ts +11 -16
  54. package/src/stores/QueryEditorStore.ts +167 -113
  55. package/src/stores/QuerySetupStore.ts +8 -6
  56. package/tsconfig.json +2 -111
  57. package/tsconfig.package.json +1 -1
  58. package/lib/QueryBuilder_Const.d.ts +0 -77
  59. package/lib/QueryBuilder_Const.d.ts.map +0 -1
  60. package/lib/QueryBuilder_Const.js +0 -85
  61. package/lib/QueryBuilder_Const.js.map +0 -1
  62. package/lib/components/QueryBuilder.d.ts +0 -23
  63. package/lib/components/QueryBuilder.d.ts.map +0 -1
  64. package/lib/components/QueryBuilder.js +0 -111
  65. package/lib/components/QueryBuilder.js.map +0 -1
  66. package/lib/components/QueryBuilderParameterPanel.d.ts +0 -30
  67. package/lib/components/QueryBuilderParameterPanel.d.ts.map +0 -1
  68. package/lib/components/QueryBuilderParameterPanel.js +0 -128
  69. package/lib/components/QueryBuilderParameterPanel.js.map +0 -1
  70. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -30
  71. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +0 -1
  72. package/lib/components/QueryBuilderPropertyExpressionEditor.js +0 -116
  73. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +0 -1
  74. package/lib/components/QueryBuilderResultPanel.d.ts +0 -23
  75. package/lib/components/QueryBuilderResultPanel.d.ts.map +0 -1
  76. package/lib/components/QueryBuilderResultPanel.js +0 -242
  77. package/lib/components/QueryBuilderResultPanel.js.map +0 -1
  78. package/lib/components/QueryBuilderSetupPanel.d.ts +0 -23
  79. package/lib/components/QueryBuilderSetupPanel.d.ts.map +0 -1
  80. package/lib/components/QueryBuilderSetupPanel.js +0 -149
  81. package/lib/components/QueryBuilderSetupPanel.js.map +0 -1
  82. package/lib/components/QueryBuilderTextEditor.d.ts +0 -23
  83. package/lib/components/QueryBuilderTextEditor.d.ts.map +0 -1
  84. package/lib/components/QueryBuilderTextEditor.js +0 -48
  85. package/lib/components/QueryBuilderTextEditor.js.map +0 -1
  86. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -23
  87. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +0 -1
  88. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +0 -37
  89. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +0 -1
  90. package/lib/components/QueryBuilder_TestID.d.ts +0 -26
  91. package/lib/components/QueryBuilder_TestID.d.ts.map +0 -1
  92. package/lib/components/QueryBuilder_TestID.js +0 -27
  93. package/lib/components/QueryBuilder_TestID.js.map +0 -1
  94. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +0 -36
  95. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +0 -1
  96. package/lib/components/explorer/QueryBuilderExplorerPanel.js +0 -335
  97. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +0 -1
  98. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -23
  99. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
  100. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +0 -147
  101. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
  102. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts +0 -24
  103. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
  104. package/lib/components/explorer/QueryBuilderMilestoneEditor.js +0 -120
  105. package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
  106. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -24
  107. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
  108. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +0 -200
  109. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +0 -1
  110. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -23
  111. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
  112. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +0 -52
  113. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +0 -1
  114. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -32
  115. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
  116. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +0 -94
  117. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +0 -1
  118. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -31
  119. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +0 -1
  120. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +0 -378
  121. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +0 -1
  122. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +0 -23
  123. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
  124. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +0 -216
  125. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
  126. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -23
  127. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +0 -1
  128. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +0 -88
  129. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +0 -1
  130. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -23
  131. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +0 -1
  132. package/lib/components/filter/QueryBuilderFilterPanel.js +0 -316
  133. package/lib/components/filter/QueryBuilderFilterPanel.js.map +0 -1
  134. package/lib/components/shared/ElementIconUtils.d.ts +0 -18
  135. package/lib/components/shared/ElementIconUtils.d.ts.map +0 -1
  136. package/lib/components/shared/ElementIconUtils.js +0 -37
  137. package/lib/components/shared/ElementIconUtils.js.map +0 -1
  138. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +0 -43
  139. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
  140. package/lib/components/shared/QueryBuilderLambdaEditor.js +0 -47
  141. package/lib/components/shared/QueryBuilderLambdaEditor.js.map +0 -1
  142. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts +0 -20
  143. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
  144. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +0 -28
  145. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +0 -1
  146. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +0 -26
  147. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
  148. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +0 -32
  149. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +0 -1
  150. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +0 -21
  151. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
  152. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +0 -27
  153. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
  154. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +0 -24
  155. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
  156. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +0 -32
  157. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
  158. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -21
  159. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
  160. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -20
  161. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
  162. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +0 -21
  163. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
  164. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +0 -20
  165. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
  166. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -25
  167. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  168. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -21
  169. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  170. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -18
  171. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
  172. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -20
  173. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
  174. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -22
  175. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
  176. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +0 -70
  177. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
  178. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +0 -22
  179. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +0 -1
  180. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +0 -207
  181. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +0 -1
  182. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +0 -18
  183. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +0 -1
  184. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +0 -18
  185. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +0 -1
  186. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -29
  187. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  188. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +0 -182
  189. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  190. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts +0 -22
  191. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +0 -1
  192. package/lib/stores/QueryBuilderGroupOperationHelper.js +0 -43
  193. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +0 -1
  194. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts +0 -26
  195. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +0 -1
  196. package/lib/stores/QueryBuilderPreviewDataHelper.js +0 -143
  197. package/lib/stores/QueryBuilderPreviewDataHelper.js.map +0 -1
  198. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +0 -62
  199. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +0 -1
  200. package/lib/stores/QueryBuilderPropertyEditorState.js +0 -395
  201. package/lib/stores/QueryBuilderPropertyEditorState.js.map +0 -1
  202. package/lib/stores/QueryBuilderResultState.d.ts +0 -41
  203. package/lib/stores/QueryBuilderResultState.d.ts.map +0 -1
  204. package/lib/stores/QueryBuilderResultState.js +0 -176
  205. package/lib/stores/QueryBuilderResultState.js.map +0 -1
  206. package/lib/stores/QueryBuilderSetupState.d.ts +0 -46
  207. package/lib/stores/QueryBuilderSetupState.d.ts.map +0 -1
  208. package/lib/stores/QueryBuilderSetupState.js +0 -163
  209. package/lib/stores/QueryBuilderSetupState.js.map +0 -1
  210. package/lib/stores/QueryBuilderState.d.ts +0 -100
  211. package/lib/stores/QueryBuilderState.d.ts.map +0 -1
  212. package/lib/stores/QueryBuilderState.js +0 -308
  213. package/lib/stores/QueryBuilderState.js.map +0 -1
  214. package/lib/stores/QueryBuilderStateBuilder.d.ts +0 -124
  215. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +0 -1
  216. package/lib/stores/QueryBuilderStateBuilder.js +0 -310
  217. package/lib/stores/QueryBuilderStateBuilder.js.map +0 -1
  218. package/lib/stores/QueryBuilderStateTestUtils.d.ts +0 -24
  219. package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +0 -1
  220. package/lib/stores/QueryBuilderStateTestUtils.js +0 -50
  221. package/lib/stores/QueryBuilderStateTestUtils.js.map +0 -1
  222. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +0 -24
  223. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +0 -1
  224. package/lib/stores/QueryBuilderTypeaheadHelper.js +0 -86
  225. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +0 -1
  226. package/lib/stores/QueryBuilderUnsupportedState.d.ts +0 -26
  227. package/lib/stores/QueryBuilderUnsupportedState.d.ts.map +0 -1
  228. package/lib/stores/QueryBuilderUnsupportedState.js +0 -36
  229. package/lib/stores/QueryBuilderUnsupportedState.js.map +0 -1
  230. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +0 -20
  231. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +0 -1
  232. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +0 -87
  233. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +0 -1
  234. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +0 -27
  235. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +0 -1
  236. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +0 -156
  237. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +0 -1
  238. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +0 -61
  239. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +0 -1
  240. package/lib/stores/QueryBuilderValueSpecificationHelper.js +0 -235
  241. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +0 -1
  242. package/lib/stores/QueryParametersState.d.ts +0 -28
  243. package/lib/stores/QueryParametersState.d.ts.map +0 -1
  244. package/lib/stores/QueryParametersState.js +0 -39
  245. package/lib/stores/QueryParametersState.js.map +0 -1
  246. package/lib/stores/QueryTextEditorState.d.ts +0 -49
  247. package/lib/stores/QueryTextEditorState.d.ts.map +0 -1
  248. package/lib/stores/QueryTextEditorState.js +0 -145
  249. package/lib/stores/QueryTextEditorState.js.map +0 -1
  250. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +0 -99
  251. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +0 -1
  252. package/lib/stores/explorer/QueryBuilderExplorerState.js +0 -442
  253. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +0 -1
  254. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts +0 -46
  255. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts.map +0 -1
  256. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js +0 -242
  257. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js.map +0 -1
  258. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +0 -59
  259. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +0 -1
  260. package/lib/stores/explorer/QueryFunctionsExplorerState.js +0 -229
  261. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +0 -1
  262. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +0 -40
  263. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +0 -1
  264. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +0 -34
  265. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +0 -1
  266. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +0 -27
  267. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +0 -1
  268. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +0 -74
  269. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +0 -1
  270. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +0 -49
  271. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
  272. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +0 -157
  273. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +0 -1
  274. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +0 -20
  275. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +0 -1
  276. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +0 -62
  277. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +0 -1
  278. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +0 -42
  279. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
  280. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +0 -173
  281. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
  282. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +0 -26
  283. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +0 -1
  284. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +0 -72
  285. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +0 -1
  286. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +0 -73
  287. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
  288. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +0 -187
  289. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
  290. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +0 -68
  291. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
  292. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +0 -304
  293. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
  294. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +0 -25
  295. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +0 -1
  296. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +0 -186
  297. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +0 -1
  298. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +0 -26
  299. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
  300. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +0 -189
  301. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
  302. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +0 -43
  303. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
  304. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +0 -77
  305. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
  306. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +0 -32
  307. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
  308. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +0 -36
  309. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
  310. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -18
  311. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
  312. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -38
  313. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
  314. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +0 -42
  315. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
  316. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +0 -103
  317. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
  318. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +0 -20
  319. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +0 -1
  320. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +0 -96
  321. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +0 -1
  322. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +0 -22
  323. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
  324. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +0 -40
  325. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
  326. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +0 -27
  327. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
  328. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +0 -50
  329. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
  330. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +0 -27
  331. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
  332. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +0 -55
  333. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
  334. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +0 -26
  335. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
  336. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +0 -50
  337. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
  338. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +0 -27
  339. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
  340. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +0 -78
  341. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
  342. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +0 -27
  343. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
  344. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +0 -67
  345. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
  346. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +0 -26
  347. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
  348. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +0 -86
  349. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
  350. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +0 -26
  351. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
  352. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +0 -86
  353. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
  354. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +0 -27
  355. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
  356. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +0 -50
  357. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
  358. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +0 -27
  359. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
  360. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +0 -50
  361. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
  362. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +0 -26
  363. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
  364. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +0 -45
  365. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
  366. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -29
  367. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
  368. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +0 -30
  369. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
  370. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -18
  371. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
  372. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -44
  373. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
  374. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +0 -135
  375. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
  376. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +0 -586
  377. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
  378. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +0 -22
  379. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +0 -1
  380. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +0 -122
  381. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +0 -1
  382. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -19
  383. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
  384. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +0 -79
  385. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
  386. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +0 -23
  387. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
  388. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +0 -74
  389. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
  390. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -32
  391. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
  392. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +0 -75
  393. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
  394. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -32
  395. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
  396. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +0 -75
  397. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
  398. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -32
  399. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
  400. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +0 -118
  401. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
  402. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -27
  403. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
  404. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +0 -81
  405. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
  406. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -24
  407. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  408. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -43
  409. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
  410. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -32
  411. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
  412. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +0 -104
  413. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
  414. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -33
  415. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
  416. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +0 -67
  417. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
  418. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -27
  419. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
  420. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +0 -81
  421. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
  422. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -24
  423. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
  424. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -43
  425. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
  426. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -32
  427. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
  428. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +0 -75
  429. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
  430. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +0 -27
  431. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +0 -1
  432. package/lib/stores/filter/QueryBuilderFilterOperator.js +0 -20
  433. package/lib/stores/filter/QueryBuilderFilterOperator.js.map +0 -1
  434. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts +0 -18
  435. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +0 -1
  436. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js +0 -44
  437. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +0 -1
  438. package/lib/stores/filter/QueryBuilderFilterState.d.ts +0 -123
  439. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +0 -1
  440. package/lib/stores/filter/QueryBuilderFilterState.js +0 -531
  441. package/lib/stores/filter/QueryBuilderFilterState.js.map +0 -1
  442. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +0 -19
  443. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +0 -1
  444. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +0 -74
  445. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +0 -1
  446. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +0 -19
  447. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +0 -1
  448. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +0 -78
  449. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +0 -1
  450. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +0 -21
  451. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
  452. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js +0 -257
  453. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +0 -1
  454. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +0 -32
  455. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
  456. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +0 -71
  457. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +0 -1
  458. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +0 -32
  459. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
  460. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +0 -71
  461. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
  462. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +0 -32
  463. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
  464. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +0 -115
  465. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +0 -1
  466. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +0 -27
  467. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
  468. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +0 -83
  469. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
  470. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +0 -27
  471. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  472. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +0 -83
  473. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
  474. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +0 -32
  475. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
  476. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +0 -103
  477. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +0 -1
  478. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +0 -32
  479. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
  480. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +0 -65
  481. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
  482. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +0 -27
  483. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
  484. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +0 -83
  485. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
  486. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +0 -27
  487. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
  488. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +0 -83
  489. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
  490. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +0 -32
  491. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
  492. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +0 -71
  493. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
  494. package/src/QueryBuilder_Const.ts +0 -88
  495. package/src/components/QueryBuilder.tsx +0 -412
  496. package/src/components/QueryBuilderParameterPanel.tsx +0 -403
  497. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +0 -374
  498. package/src/components/QueryBuilderResultPanel.tsx +0 -640
  499. package/src/components/QueryBuilderSetupPanel.tsx +0 -342
  500. package/src/components/QueryBuilderTextEditor.tsx +0 -127
  501. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +0 -112
  502. package/src/components/QueryBuilder_TestID.ts +0 -26
  503. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +0 -927
  504. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +0 -554
  505. package/src/components/explorer/QueryBuilderMilestoneEditor.tsx +0 -291
  506. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +0 -617
  507. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +0 -112
  508. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +0 -276
  509. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +0 -1103
  510. package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +0 -649
  511. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +0 -254
  512. package/src/components/filter/QueryBuilderFilterPanel.tsx +0 -890
  513. package/src/components/shared/ElementIconUtils.tsx +0 -47
  514. package/src/components/shared/QueryBuilderLambdaEditor.tsx +0 -120
  515. package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +0 -40
  516. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +0 -87
  517. package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +0 -32
  518. package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +0 -33
  519. package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -22
  520. package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +0 -22
  521. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -47
  522. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -27
  523. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +0 -167
  524. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +0 -573
  525. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +0 -28
  526. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +0 -296
  527. package/src/stores/QueryBuilderGroupOperationHelper.ts +0 -54
  528. package/src/stores/QueryBuilderPreviewDataHelper.ts +0 -210
  529. package/src/stores/QueryBuilderPropertyEditorState.ts +0 -668
  530. package/src/stores/QueryBuilderResultState.ts +0 -281
  531. package/src/stores/QueryBuilderSetupState.ts +0 -236
  532. package/src/stores/QueryBuilderState.ts +0 -465
  533. package/src/stores/QueryBuilderStateBuilder.ts +0 -584
  534. package/src/stores/QueryBuilderStateTestUtils.ts +0 -96
  535. package/src/stores/QueryBuilderTypeaheadHelper.ts +0 -155
  536. package/src/stores/QueryBuilderUnsupportedState.ts +0 -42
  537. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +0 -179
  538. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +0 -254
  539. package/src/stores/QueryBuilderValueSpecificationHelper.ts +0 -359
  540. package/src/stores/QueryParametersState.ts +0 -52
  541. package/src/stores/QueryTextEditorState.ts +0 -203
  542. package/src/stores/explorer/QueryBuilderExplorerState.ts +0 -810
  543. package/src/stores/explorer/QueryBuilderPropertySearchPanelState.ts +0 -333
  544. package/src/stores/explorer/QueryFunctionsExplorerState.ts +0 -376
  545. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +0 -65
  546. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +0 -108
  547. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +0 -240
  548. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +0 -131
  549. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +0 -282
  550. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +0 -154
  551. package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +0 -329
  552. package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +0 -569
  553. package/src/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +0 -426
  554. package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +0 -416
  555. package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +0 -95
  556. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +0 -79
  557. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -41
  558. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +0 -145
  559. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +0 -228
  560. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +0 -109
  561. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +0 -98
  562. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +0 -106
  563. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +0 -96
  564. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +0 -173
  565. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +0 -155
  566. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +0 -174
  567. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +0 -174
  568. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +0 -98
  569. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +0 -98
  570. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +0 -88
  571. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +0 -66
  572. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -65
  573. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +0 -808
  574. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +0 -297
  575. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -121
  576. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +0 -129
  577. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +0 -140
  578. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +0 -135
  579. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +0 -218
  580. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +0 -143
  581. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -70
  582. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +0 -183
  583. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +0 -113
  584. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +0 -143
  585. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -70
  586. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +0 -135
  587. package/src/stores/filter/QueryBuilderFilterOperator.ts +0 -52
  588. package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +0 -65
  589. package/src/stores/filter/QueryBuilderFilterState.ts +0 -738
  590. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +0 -155
  591. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -120
  592. package/src/stores/filter/operators/QueryBuilderFilterOperatorHelper.ts +0 -524
  593. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +0 -134
  594. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +0 -134
  595. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -211
  596. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +0 -145
  597. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +0 -145
  598. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +0 -181
  599. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +0 -125
  600. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +0 -145
  601. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +0 -145
  602. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +0 -134
@@ -1,207 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { assertNonNullable, assertTrue, assertType, filterByType, guaranteeType, returnUndefOnError, } from '@finos/legend-shared';
17
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS, TDS_ROW, } from '../../../../QueryBuilder_Const.js';
18
- import { V1_buildBaseSimpleFunctionExpression, V1_buildGenericFunctionExpression, extractElementNameFromPath, V1_AppliedProperty, CollectionInstanceValue, Multiplicity, INTERNAL__UnknownValueSpecification, V1_Variable, V1_serializeValueSpecification, GenericType, GenericTypeExplicitReference, matchFunctionName, InstanceValue, V1_AppliedFunction, V1_Collection, V1_Lambda, V1_ValueSpecificationBuilder, AbstractPropertyExpression, TYPICAL_MULTIPLICITY_TYPE, VariableExpression, } from '@finos/legend-graph';
19
- const buildProjectionColumnLambda = (valueSpecification, openVariables, compileContext, processingContext) => {
20
- assertType(valueSpecification, V1_Lambda, `Can't build projection column: only support lambda`);
21
- // lambda parameter
22
- assertTrue(valueSpecification.parameters.length === 1, `Can't build projection column: only support lambda with 1 parameter`);
23
- const columnLambdaParameter = guaranteeType(valueSpecification.parameters[0], V1_Variable, `Can't build projection column: only support lambda with 1 parameter`);
24
- // lambda body
25
- assertTrue(valueSpecification.body.length === 1, `Can't build projection column: only support lambda body with 1 expression`);
26
- let currentPropertyExpression = valueSpecification
27
- .body[0];
28
- assertType(currentPropertyExpression, V1_AppliedProperty, `Can't build projection column: only support lambda body as property expression`);
29
- while (currentPropertyExpression instanceof V1_AppliedProperty) {
30
- assertTrue(currentPropertyExpression.parameters.length >= 1, `Can't build projection column: only support lambda body as property expression`);
31
- currentPropertyExpression = currentPropertyExpression
32
- .parameters[0];
33
- // Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
34
- // $x.employees->subType(@Person)->subType(@Staff)
35
- while (currentPropertyExpression instanceof V1_AppliedFunction &&
36
- matchFunctionName(currentPropertyExpression.function, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
37
- currentPropertyExpression = currentPropertyExpression
38
- .parameters[0];
39
- }
40
- }
41
- // check lambda variable and parameter match
42
- assertType(currentPropertyExpression, V1_Variable, `Can't build projection column: only support lambda body as property expression`);
43
- assertTrue(columnLambdaParameter.name === currentPropertyExpression.name, `Can't build column lambda: expects variable used in lambda body '${currentPropertyExpression.name}' to match lambda parameter '${columnLambdaParameter.name}'`);
44
- return valueSpecification.accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
45
- };
46
- const buildAggregationExpression = (valueSpecification, openVariables, compileContext, processingContext) => {
47
- assertType(valueSpecification, V1_AppliedFunction, `Can't build aggregation: only support function`);
48
- assertTrue(matchFunctionName(valueSpecification.function, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG), `Can't build aggregation: only support agg()`);
49
- assertTrue(valueSpecification.parameters.length === 2, `Can't build agg() expression: agg() expects 2 arguments`);
50
- // column lambda
51
- const columnLambda = guaranteeType(valueSpecification.parameters[0], V1_Lambda, `Can't build agg() expression: agg() expects argument #1 as a lambda`);
52
- const processedColumnLambda = returnUndefOnError(() => buildProjectionColumnLambda(columnLambda, openVariables, compileContext, processingContext)) ??
53
- new INTERNAL__UnknownValueSpecification(V1_serializeValueSpecification(columnLambda));
54
- // aggregate lambda
55
- const aggregateLambda = guaranteeType(valueSpecification.parameters[1], V1_Lambda);
56
- const processedAggregateLambda = aggregateLambda.accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
57
- return V1_buildBaseSimpleFunctionExpression([processedColumnLambda, processedAggregateLambda], extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG), compileContext);
58
- };
59
- export const V1_buildGetAllFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
60
- const [expression, processedParams] = V1_buildGenericFunctionExpression(functionName, parameters, openVariables, compileContext, processingContext);
61
- const precedingExpression = expression.parametersValues[0];
62
- assertType(precedingExpression, InstanceValue, `Can't build getAll() expression: only support getAll() immediately following a class`);
63
- expression.genericType = precedingExpression.genericType;
64
- expression.multiplicity = precedingExpression.multiplicity;
65
- return [expression, processedParams];
66
- };
67
- export const V1_buildExistsFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
68
- assertTrue(parameters.length === 2, `Can't build exists() expression: exists() expects 1 argument`);
69
- const precedingExpression = parameters[0].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
70
- precedingExpression.genericType = guaranteeType(precedingExpression, AbstractPropertyExpression).func.genericType;
71
- const lambda = parameters[1];
72
- if (lambda instanceof V1_Lambda) {
73
- lambda.parameters.forEach((variable) => {
74
- if (variable.name && !variable.class) {
75
- const variableExpression = new VariableExpression(variable.name, compileContext.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE));
76
- variableExpression.genericType = precedingExpression.genericType;
77
- processingContext.addInferredVariables(variable.name, variableExpression);
78
- }
79
- });
80
- }
81
- const processedParameters = [
82
- precedingExpression,
83
- parameters[1].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables)),
84
- ];
85
- const expression = V1_buildBaseSimpleFunctionExpression(processedParameters, functionName, compileContext);
86
- return [expression, processedParameters];
87
- };
88
- export const V1_buildFilterFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
89
- assertTrue(parameters.length === 2, `Can't build filter() expression: filter() expects 1 argument`);
90
- const precedingExpression = parameters[0].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
91
- if (precedingExpression.genericType) {
92
- const lambda = parameters[1];
93
- if (lambda instanceof V1_Lambda) {
94
- lambda.parameters.forEach((variable) => {
95
- if (variable.name && !variable.class) {
96
- const variableExpression = new VariableExpression(variable.name, precedingExpression.multiplicity);
97
- variableExpression.genericType = precedingExpression.genericType;
98
- processingContext.addInferredVariables(variable.name, variableExpression);
99
- }
100
- });
101
- }
102
- }
103
- const processedParams = [
104
- precedingExpression,
105
- parameters[1].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables)),
106
- ];
107
- const expression = V1_buildBaseSimpleFunctionExpression(processedParams, functionName, compileContext);
108
- // return type of filter() is the same as that of the function precedes it
109
- expression.genericType = precedingExpression.genericType;
110
- expression.multiplicity = precedingExpression.multiplicity;
111
- return [expression, processedParams];
112
- };
113
- export const V1_buildProjectFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
114
- assertTrue(parameters.length === 3, `Can't build project() expression: project() expects 2 arguments`);
115
- let topLevelLambdaParameters = [];
116
- const precedingExperession = parameters[0].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
117
- assertNonNullable(precedingExperession.genericType, `Can't build project() expression: preceding expression return type is missing`);
118
- const columnExpressions = parameters[1];
119
- assertType(columnExpressions, V1_Collection, `Can't build project() expression: project() expects argument #1 to be a collection`);
120
- topLevelLambdaParameters = columnExpressions.values
121
- .filter(filterByType(V1_Lambda))
122
- .map((lambda) => lambda.parameters)
123
- .flat();
124
- const variables = new Set();
125
- // Make sure top-level lambdas have their lambda parameter types set properly
126
- topLevelLambdaParameters.forEach((variable) => {
127
- if (!variables.has(variable.name) && !variable.class) {
128
- const variableExpression = new VariableExpression(variable.name, precedingExperession.multiplicity);
129
- variableExpression.genericType = precedingExperession.genericType;
130
- processingContext.addInferredVariables(variable.name, variableExpression);
131
- }
132
- });
133
- // build column expressions taking into account of derivation
134
- const processedColumnExpressions = new CollectionInstanceValue(new Multiplicity(columnExpressions.multiplicity.lowerBound, columnExpressions.multiplicity.upperBound));
135
- processedColumnExpressions.values = columnExpressions.values.map((value) => {
136
- try {
137
- return buildProjectionColumnLambda(value, openVariables, compileContext, processingContext);
138
- }
139
- catch {
140
- return new INTERNAL__UnknownValueSpecification(V1_serializeValueSpecification(value));
141
- }
142
- });
143
- const processedParams = [
144
- precedingExperession,
145
- processedColumnExpressions,
146
- parameters[2].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables)),
147
- ];
148
- const expression = V1_buildBaseSimpleFunctionExpression(processedParams, functionName, compileContext);
149
- expression.genericType = GenericTypeExplicitReference.create(new GenericType(compileContext.resolveType(TDS_ROW).value));
150
- return [expression, processedParams];
151
- };
152
- export const V1_buildGroupByFunctionExpression = (functionName, parameters, openVariables, compileContext, processingContext) => {
153
- let topLevelLambdaParameters = [];
154
- assertTrue(parameters.length === 4, `Can't build groupBy() expression: groupBy() expects 3 arguments`);
155
- const precedingExperession = parameters[0].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
156
- assertNonNullable(precedingExperession.genericType, `Can't build groupBy() expression: preceding expression return type is missing`);
157
- // normal columns
158
- const columnExpressions = parameters[1];
159
- assertType(columnExpressions, V1_Collection, `Can't build groupBy() expression: groupBy() expects argument #1 to be a collection`);
160
- topLevelLambdaParameters = columnExpressions.values
161
- .filter(filterByType(V1_Lambda))
162
- .map((lambda) => lambda.parameters)
163
- .flat();
164
- // aggregation columns
165
- const aggregationExpressions = parameters[2];
166
- assertType(aggregationExpressions, V1_Collection, `Can't build groupBy() expression: groupBy() expects argument #2 to be a collection`);
167
- topLevelLambdaParameters = topLevelLambdaParameters.concat(aggregationExpressions.values
168
- .filter((value) => value instanceof V1_AppliedFunction &&
169
- matchFunctionName(value.function, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG))
170
- .map((value) => value.parameters)
171
- .flat()
172
- .filter(filterByType(V1_Lambda))
173
- .map((lambda) => lambda.parameters)
174
- .flat());
175
- // Make sure top-level lambdas have their lambda parameter types set properly
176
- const variables = new Set();
177
- topLevelLambdaParameters.forEach((variable) => {
178
- if (!variables.has(variable.name) && !variable.class) {
179
- const variableExpression = new VariableExpression(variable.name, precedingExperession.multiplicity);
180
- variableExpression.genericType = precedingExperession.genericType;
181
- processingContext.addInferredVariables(variable.name, variableExpression);
182
- }
183
- });
184
- // build column expressions taking into account of derivation
185
- const processedColumnExpressions = new CollectionInstanceValue(new Multiplicity(columnExpressions.multiplicity.lowerBound, columnExpressions.multiplicity.upperBound));
186
- processedColumnExpressions.values = columnExpressions.values.map((value) => {
187
- try {
188
- return buildProjectionColumnLambda(value, openVariables, compileContext, processingContext);
189
- }
190
- catch {
191
- return new INTERNAL__UnknownValueSpecification(V1_serializeValueSpecification(value));
192
- }
193
- });
194
- // build aggregation expressions taking into account of derivation
195
- const processedAggregationExpressions = new CollectionInstanceValue(new Multiplicity(aggregationExpressions.multiplicity.lowerBound, aggregationExpressions.multiplicity.upperBound));
196
- processedAggregationExpressions.values = aggregationExpressions.values.map((value) => buildAggregationExpression(value, openVariables, compileContext, processingContext));
197
- const processedParams = [
198
- precedingExperession,
199
- processedColumnExpressions,
200
- processedAggregationExpressions,
201
- parameters[3].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables)),
202
- ];
203
- const expression = V1_buildBaseSimpleFunctionExpression(processedParams, functionName, compileContext);
204
- expression.genericType = GenericTypeExplicitReference.create(new GenericType(compileContext.resolveType(TDS_ROW).value));
205
- return [expression, processedParams];
206
- };
207
- //# sourceMappingURL=V1_QueryBuilder_FunctionExpressionBuilder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V1_QueryBuilder_FunctionExpressionBuilder.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iCAAiC,EACjC,OAAO,GACR,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAML,oCAAoC,EACpC,iCAAiC,EACjC,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,YAAY,EACZ,mCAAmC,EACnC,WAAW,EACX,8BAA8B,EAC9B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,2BAA2B,GAAG,CAClC,kBAAyC,EACzC,aAAuB,EACvB,cAAsC,EACtC,iBAAuC,EACnB,EAAE;IACtB,UAAU,CACR,kBAAkB,EAClB,SAAS,EACT,oDAAoD,CACrD,CAAC;IAEF,mBAAmB;IACnB,UAAU,CACR,kBAAkB,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAC1C,qEAAqE,CACtE,CAAC;IACF,MAAM,qBAAqB,GAAG,aAAa,CACzC,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC,EAChC,WAAW,EACX,qEAAqE,CACtE,CAAC;IAEF,cAAc;IACd,UAAU,CACR,kBAAkB,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EACpC,2EAA2E,CAC5E,CAAC;IACF,IAAI,yBAAyB,GAA0B,kBAAkB;SACtE,IAAI,CAAC,CAAC,CAA0B,CAAC;IACpC,UAAU,CACR,yBAAyB,EACzB,kBAAkB,EAClB,gFAAgF,CACjF,CAAC;IACF,OAAO,yBAAyB,YAAY,kBAAkB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AC1B,+BAA+B;QAC9B,UAAU,CAAC,CAAC,CAA2B,CAAC,gCAAgC,CACvE,IAAI,4BAA4B,CAC9B,cAAc,EACd,iBAAiB,EACjB,aAAa,CACd,CACF;KACF,CAAC;IACF,MAAM,UAAU,GAAG,oCAAoC,CACrD,eAAe,EACf,YAAY,EACZ,cAAc,CACf,CAAC;IACF,UAAU,CAAC,WAAW,GAAG,4BAA4B,CAAC,MAAM,CAC1D,IAAI,WAAW,CAAC,cAAc,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAC3D,CAAC;IACF,OAAO,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;AACvC,CAAC,CAAC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { type SimpleFunctionExpression, type Type } from '@finos/legend-graph';
17
- export declare const V1_buildSubTypePropertyExpressionTypeInference: (inferredVariable: SimpleFunctionExpression) => Type | undefined;
18
- //# sourceMappingURL=V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EAEV,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,8CAA8C,qBACvC,wBAAwB,KACzC,IAAI,GAAG,SAGwB,CAAC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { InstanceValue, } from '@finos/legend-graph';
17
- export const V1_buildSubTypePropertyExpressionTypeInference = (inferredVariable) => inferredVariable.parametersValues.filter((param) => param instanceof InstanceValue)[0]?.genericType?.value.rawType;
18
- //# sourceMappingURL=V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAC5D,gBAA0C,EACxB,EAAE,CACpB,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,CACtC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,YAAY,aAAa,CAC1C,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC"}
@@ -1,29 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { type PureModel, V1_PureGraphManager, type AbstractPureGraphManager } from '@finos/legend-graph';
17
- import type { Entity } from '@finos/legend-storage';
18
- import { MappingRuntimeCompatibilityAnalysisResult } from '../../../action/analytics/MappingRuntimeCompatibilityAnalysis.js';
19
- import { ServiceExecutionAnalysisResult } from '../../../action/analytics/ServiceExecutionAnalysis.js';
20
- import { QueryBuilder_PureGraphManagerExtension } from '../QueryBuilder_PureGraphManagerExtension.js';
21
- export declare class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuilder_PureGraphManagerExtension {
22
- graphManager: V1_PureGraphManager;
23
- constructor(graphManager: AbstractPureGraphManager);
24
- getSupportedProtocolVersion(): string;
25
- buildGraphForCreateQuerySetup(graph: PureModel, entities: Entity[], dependencyEntities: Map<string, Entity[]>): Promise<void>;
26
- surveyMappingRuntimeCompatibility(entities: Entity[], dependencyEntities: Map<string, Entity[]>): Promise<MappingRuntimeCompatibilityAnalysisResult[]>;
27
- surveyServiceExecution(entities: Entity[], dependencyEntities: Map<string, Entity[]>): Promise<ServiceExecutionAnalysisResult[]>;
28
- }
29
- //# sourceMappingURL=V1_QueryBuilder_PureGraphManagerExtension.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAaL,KAAK,SAAS,EACd,mBAAmB,EAEnB,KAAK,wBAAwB,EAI9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAQpD,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAEtG,qBAAa,yCAA0C,SAAQ,sCAAsC;IAC3F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAK/B,6BAA6B,CACjC,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,MAAM,EAAE,EAClB,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GACxC,OAAO,CAAC,IAAI,CAAC;IA0EV,iCAAiC,CACrC,QAAQ,EAAE,MAAM,EAAE,EAClB,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GACxC,OAAO,CAAC,yCAAyC,EAAE,CAAC;IA2GjD,sBAAsB,CAC1B,QAAQ,EAAE,MAAM,EAAE,EAClB,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GACxC,OAAO,CAAC,8BAA8B,EAAE,CAAC;CA0C7C"}
@@ -1,182 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { EngineRuntime, GraphBuilderError, MappingInclude, V1_getIncludedMappingPath, V1_GraphBuilderContextBuilder, V1_Mapping, V1_MAPPING_ELEMENT_PROTOCOL_TYPE, V1_PACKAGEABLE_RUNTIME_ELEMENT_PROTOCOL_TYPE, V1_PureMultiExecution, V1_Service, V1_PackageableRuntime, V1_PureGraphManager, PureClientVersion, CORE_PURE_PATH, getAllIncludedMappings, } from '@finos/legend-graph';
17
- import { assertErrorThrown, filterByType, guaranteeNonEmptyString, guaranteeType, } from '@finos/legend-shared';
18
- import { MappingRuntimeCompatibilityAnalysisResult } from '../../../action/analytics/MappingRuntimeCompatibilityAnalysis.js';
19
- import { ServiceExecutionAnalysisResult } from '../../../action/analytics/ServiceExecutionAnalysis.js';
20
- import { QueryBuilder_PureGraphManagerExtension } from '../QueryBuilder_PureGraphManagerExtension.js';
21
- export class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuilder_PureGraphManagerExtension {
22
- constructor(graphManager) {
23
- super(graphManager);
24
- this.graphManager = guaranteeType(graphManager, V1_PureGraphManager);
25
- }
26
- getSupportedProtocolVersion() {
27
- return PureClientVersion.V1_0_0;
28
- }
29
- // We could optimize this further by omitting parts of the entities we don't need
30
- async buildGraphForCreateQuerySetup(graph, entities, dependencyEntities) {
31
- try {
32
- const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntities, (entity) => entity.content
33
- ._type === V1_MAPPING_ELEMENT_PROTOCOL_TYPE ||
34
- entity.content
35
- ._type === V1_PACKAGEABLE_RUNTIME_ELEMENT_PROTOCOL_TYPE);
36
- // handle mapping includes
37
- const mappings = [
38
- ...graph.ownMappings,
39
- ...graph.dependencyManager.mappings,
40
- ];
41
- const v1Mappings = graphBuilderInput
42
- .map((e) => e.data.elements.filter(filterByType(V1_Mapping)))
43
- .flat();
44
- const context = new V1_GraphBuilderContextBuilder(graph, graph, this.graphManager.graphBuilderExtensions, this.graphManager.log).build();
45
- // build include index for compatible runtime analysis
46
- v1Mappings.forEach((element) => {
47
- const mapping = mappings.find((e) => e.path === element.path);
48
- if (mapping) {
49
- mapping.includes = element.includedMappings.map((i) => new MappingInclude(mapping, context.resolveMapping(guaranteeNonEmptyString(V1_getIncludedMappingPath(i), `Mapping include path is missing or empty`))));
50
- }
51
- });
52
- // handle runtimes
53
- const runtimes = [
54
- ...graph.ownRuntimes,
55
- ...graph.dependencyManager.runtimes,
56
- ];
57
- const v1Runtimes = graphBuilderInput
58
- .map((e) => e.data.elements.filter(filterByType(V1_PackageableRuntime)))
59
- .flat();
60
- v1Runtimes.forEach((element) => {
61
- const runtime = runtimes.find((e) => e.path === element.path);
62
- if (runtime) {
63
- const runtimeValue = new EngineRuntime();
64
- runtime.runtimeValue = runtimeValue;
65
- runtimeValue.mappings = element.runtimeValue.mappings.map((mapping) => context.resolveMapping(mapping.path));
66
- }
67
- });
68
- }
69
- catch (error) {
70
- assertErrorThrown(error);
71
- /**
72
- * Wrap all error with `GraphBuilderError`, as we throw a lot of assertion error in the graph builder
73
- * But we might want to rethink this decision in the future and throw appropriate type of error
74
- */
75
- throw error instanceof GraphBuilderError
76
- ? error
77
- : new GraphBuilderError(error);
78
- }
79
- }
80
- async surveyMappingRuntimeCompatibility(entities, dependencyEntities) {
81
- const result = [];
82
- const graph = await this.graphManager.createEmptyGraph({
83
- initializeSystem: false,
84
- });
85
- const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntities, (entity) => [CORE_PURE_PATH.MAPPING, CORE_PURE_PATH.RUNTIME].includes(entity.classifierPath),
86
- // NOTE: small optimization since we only need to survey runtimes and mappings
87
- (entity) => {
88
- if (entity.classifierPath === CORE_PURE_PATH.MAPPING) {
89
- entity.content = {
90
- _type: entity.content._type,
91
- name: entity.content.name,
92
- package: entity.content.package,
93
- includes: entity.content.includes,
94
- };
95
- }
96
- else if (entity.classifierPath === CORE_PURE_PATH.RUNTIME) {
97
- entity.content = {
98
- _type: entity.content._type,
99
- name: entity.content.name,
100
- package: entity.content.package,
101
- runtimeValue: {
102
- mappings: entity.content.runtimeValue?.mappings,
103
- },
104
- };
105
- }
106
- return entity;
107
- });
108
- const context = new V1_GraphBuilderContextBuilder(graph, graph, this.graphManager.graphBuilderExtensions, this.graphManager.log).build();
109
- graphBuilderInput
110
- .map((element) => element.data.elements.filter(filterByType(V1_Mapping)))
111
- .flat()
112
- .forEach((element) => {
113
- const mapping = graph.getNullableMapping(element.path);
114
- if (mapping) {
115
- mapping.includes = element.includedMappings.map((include) => new MappingInclude(mapping, context.resolveMapping(guaranteeNonEmptyString(V1_getIncludedMappingPath(include), `Mapping include path is missing or empty`))));
116
- }
117
- });
118
- graphBuilderInput
119
- .map((element) => element.data.elements.filter(filterByType(V1_PackageableRuntime)))
120
- .flat()
121
- .forEach((element) => {
122
- const runtime = graph.getNullableRuntime(element.path);
123
- if (runtime) {
124
- const runtimeValue = new EngineRuntime();
125
- runtime.runtimeValue = runtimeValue;
126
- runtimeValue.mappings = element.runtimeValue.mappings.map((mapping) => context.resolveMapping(mapping.path));
127
- }
128
- });
129
- graph.mappings.forEach((mapping) => {
130
- const mappingRuntimeCompatibilityAnalysisResult = new MappingRuntimeCompatibilityAnalysisResult();
131
- mappingRuntimeCompatibilityAnalysisResult.mapping = mapping;
132
- mappingRuntimeCompatibilityAnalysisResult.runtimes =
133
- // If the runtime claims to cover some mappings which include the specified mapping,
134
- // then we deem the runtime to be compatible with the such mapping
135
- graph.runtimes.filter((runtime) => runtime.runtimeValue.mappings
136
- .map((mappingReference) => [
137
- mappingReference.value,
138
- ...getAllIncludedMappings(mappingReference.value),
139
- ])
140
- .flat()
141
- .includes(mapping));
142
- result.push(mappingRuntimeCompatibilityAnalysisResult);
143
- });
144
- return result;
145
- }
146
- async surveyServiceExecution(entities, dependencyEntities) {
147
- const result = [];
148
- const graph = await this.graphManager.createEmptyGraph({
149
- initializeSystem: false,
150
- });
151
- const graphBuilderInput = await this.graphManager.indexLightGraph(graph, entities, dependencyEntities, (entity) => entity.classifierPath === CORE_PURE_PATH.SERVICE,
152
- // NOTE: small optimization since we only need to inspect services' execution context
153
- (entity) => {
154
- if (entity.classifierPath === CORE_PURE_PATH.SERVICE) {
155
- entity.content = {
156
- _type: entity.content._type,
157
- name: entity.content.name,
158
- package: entity.content.package,
159
- execution: entity.content.execution,
160
- };
161
- }
162
- return entity;
163
- });
164
- graphBuilderInput
165
- .map((element) => element.data.elements.filter(filterByType(V1_Service)))
166
- .flat()
167
- .forEach((protocol) => {
168
- const service = graph.getNullableService(protocol.path);
169
- if (service) {
170
- const serviceAnalysisResult = new ServiceExecutionAnalysisResult();
171
- serviceAnalysisResult.service = service;
172
- if (protocol.execution instanceof V1_PureMultiExecution) {
173
- serviceAnalysisResult.executionKeys =
174
- protocol.execution.executionParameters.map((param) => param.key);
175
- }
176
- result.push(serviceAnalysisResult);
177
- }
178
- });
179
- return result;
180
- }
181
- }
182
- //# sourceMappingURL=V1_QueryBuilder_PureGraphManagerExtension.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,yBAAyB,EACzB,6BAA6B,EAC7B,UAAU,EACV,gCAAgC,EAChC,4CAA4C,EAC5C,qBAAqB,EACrB,UAAU,EACV,qBAAqB,EAGrB,mBAAmB,EACnB,iBAAiB,EAGjB,cAAc,EACd,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,aAAa,GAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAEtG,MAAM,OAAO,yCAA0C,SAAQ,sCAAsC;IAGnG,YAAY,YAAsC;QAChD,KAAK,CA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ACzB,IAAI,MAAM,CAAC,cAAc,KAAK,cAAc,CAAC,OAAO,EAAE;gBACpD,MAAM,CAAC,OAAO,GAAG;oBACf,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK;oBAC3B,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI;oBACzB,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,OAAO;oBAC/B,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,SAAS;iBACpC,CAAC;aACH;YACD,OAAO,MAAM,CAAC;QAChB,CAAC,CACF,CAAC;QACF,iBAAiB;aACd,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC;aACxE,IAAI,EAAE;aACN,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,OAAO,GAAG,KAAK,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,OAAO,EAAE;gBACX,MAAM,qBAAqB,GAAG,IAAI,8BAA8B,EAAE,CAAC;gBACnE,qBAAqB,CAAC,OAAO,GAAG,OAAO,CAAC;gBACxC,IAAI,QAAQ,CAAC,SAAS,YAAY,qBAAqB,EAAE;oBACvD,qBAAqB,CAAC,aAAa;wBACjC,QAAQ,CAAC,SAAS,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;iBACpE;gBACD,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;aACpC;QACH,CAAC,CAAC,CAAC;QACL,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export declare enum QUERY_BUILDER_GROUP_OPERATION {
17
- AND = "and",
18
- OR = "or"
19
- }
20
- export declare const fromGroupOperation: (operation: QUERY_BUILDER_GROUP_OPERATION) => string;
21
- export declare const toGroupOperation: (functionName: string) => QUERY_BUILDER_GROUP_OPERATION;
22
- //# sourceMappingURL=QueryBuilderGroupOperationHelper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderGroupOperationHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderGroupOperationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,oBAAY,6BAA6B;IACvC,GAAG,QAAQ;IACX,EAAE,OAAO;CACV;AAED,eAAO,MAAM,kBAAkB,cAClB,6BAA6B,KACvC,MAWF,CAAC;AAEF,eAAO,MAAM,gBAAgB,iBACb,MAAM,KACnB,6BAWF,CAAC"}
@@ -1,43 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { matchFunctionName } from '@finos/legend-graph';
17
- import { UnsupportedOperationError } from '@finos/legend-shared';
18
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../QueryBuilder_Const.js';
19
- export var QUERY_BUILDER_GROUP_OPERATION;
20
- (function (QUERY_BUILDER_GROUP_OPERATION) {
21
- QUERY_BUILDER_GROUP_OPERATION["AND"] = "and";
22
- QUERY_BUILDER_GROUP_OPERATION["OR"] = "or";
23
- })(QUERY_BUILDER_GROUP_OPERATION = QUERY_BUILDER_GROUP_OPERATION || (QUERY_BUILDER_GROUP_OPERATION = {}));
24
- export const fromGroupOperation = (operation) => {
25
- switch (operation) {
26
- case QUERY_BUILDER_GROUP_OPERATION.AND:
27
- return QUERY_BUILDER_SUPPORTED_FUNCTIONS.AND;
28
- case QUERY_BUILDER_GROUP_OPERATION.OR:
29
- return QUERY_BUILDER_SUPPORTED_FUNCTIONS.OR;
30
- default:
31
- throw new UnsupportedOperationError(`Can't derive function name from group operation '${operation}'`);
32
- }
33
- };
34
- export const toGroupOperation = (functionName) => {
35
- if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.AND)) {
36
- return QUERY_BUILDER_GROUP_OPERATION.AND;
37
- }
38
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.OR)) {
39
- return QUERY_BUILDER_GROUP_OPERATION.OR;
40
- }
41
- throw new UnsupportedOperationError(`Can't derive group operation from function name '${functionName}'`);
42
- };
43
- //# sourceMappingURL=QueryBuilderGroupOperationHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderGroupOperationHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderGroupOperationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAC;AAE7E,MAAM,CAAN,IAAY,6BAGX;AAHD,WAAY,6BAA6B;IACvC,4CAAW,CAAA;IACX,0CAAS,CAAA;AACX,CAAC,EAHW,6BAA6B,GAA7B,6BAA6B,KAA7B,6BAA6B,QAGxC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,SAAwC,EAChC,EAAE;IACV,QAAQ,SAAS,EAAE;QACjB,KAAK,6BAA6B,CAAC,GAAG;YACpC,OAAO,iCAAiC,CAAC,GAAG,CAAC;QAC/C,KAAK,6BAA6B,CAAC,EAAE;YACnC,OAAO,iCAAiC,CAAC,EAAE,CAAC;QAC9C;YACE,MAAM,IAAI,yBAAyB,CACjC,oDAAoD,SAAS,GAAG,CACjE,CAAC;KACL;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,YAAoB,EACW,EAAE;IACjC,IAAI,iBAAiB,CAAC,YAAY,EAAE,iCAAiC,CAAC,GAAG,CAAC,EAAE;QAC1E,OAAO,6BAA6B,CAAC,GAAG,CAAC;KAC1C;SAAM,IACL,iBAAiB,CAAC,YAAY,EAAE,iCAAiC,CAAC,EAAE,CAAC,EACrE;QACA,OAAO,6BAA6B,CAAC,EAAE,CAAC;KACzC;IACD,MAAM,IAAI,yBAAyB,CACjC,oDAAoD,YAAY,GAAG,CACpE,CAAC;AACJ,CAAC,CAAC"}
@@ -1,26 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import type { RawLambda, AbstractPropertyExpression } from '@finos/legend-graph';
17
- import type { QueryBuilderState } from './QueryBuilderState.js';
18
- export declare type QueryBuilderPreviewData = {
19
- columns: string[];
20
- rows: {
21
- values: (string | number)[];
22
- }[];
23
- };
24
- export declare const buildNumericPreviewDataQuery: (queryBuilderState: QueryBuilderState, propertyExpression: AbstractPropertyExpression) => RawLambda;
25
- export declare const buildNonNumericPreviewDataQuery: (queryBuilderState: QueryBuilderState, propertyExpression: AbstractPropertyExpression) => RawLambda;
26
- //# sourceMappingURL=QueryBuilderPreviewDataHelper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderPreviewDataHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderPreviewDataHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,SAAS,EACT,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAW7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAoEhE,oBAAY,uBAAuB,GAAG;IACpC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,EAAE;QAAE,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;KAAE,EAAE,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,sBACpB,iBAAiB,sBAChB,0BAA0B,KAC7C,SA8CF,CAAC;AAEF,eAAO,MAAM,+BAA+B,sBACvB,iBAAiB,sBAChB,0BAA0B,KAC7C,SAoDF,CAAC"}