@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,173 +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 { assertType, addUniqueEntry, deleteEntry } from '@finos/legend-shared';
17
- import { PropertyExplicitReference, Class, PropertyGraphFetchTree, PackageableElementExplicitReference, TYPE_CAST_TOKEN, } from '@finos/legend-graph';
18
- import { QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, } from '../../explorer/QueryBuilderExplorerState.js';
19
- import { graphFetchTree_addSubTree, graphFetchTree_removeSubTree, } from '@finos/legend-application';
20
- export class QueryBuilderGraphFetchTreeNodeData {
21
- isSelected;
22
- isOpen;
23
- id;
24
- label;
25
- childrenIds = [];
26
- parentId;
27
- tree;
28
- constructor(id, label, parentId, graphFetchTreeNode) {
29
- this.id = id;
30
- this.label = label;
31
- this.parentId = parentId;
32
- this.tree = graphFetchTreeNode;
33
- // NOTE: in this tree, every node is open
34
- this.isOpen = true;
35
- }
36
- get type() {
37
- return this.tree.property.value.genericType.value.rawType;
38
- }
39
- }
40
- export const generateGraphFetchTreeNodeID = (property, parentNodeId, subType) => `${parentNodeId ? `${parentNodeId}.` : ''}${property.name}${subType ? `${TYPE_CAST_TOKEN}${subType.path}` : ''}`;
41
- const buildGraphFetchSubTree = (tree, parentNode, nodes) => {
42
- assertType(tree, PropertyGraphFetchTree, 'Graph fetch sub-tree must be a property graph fetch tree');
43
- const property = tree.property.value;
44
- const subType = tree.subType?.value;
45
- const parentNodeId = parentNode?.id;
46
- const node = new QueryBuilderGraphFetchTreeNodeData(generateGraphFetchTreeNodeID(property, parentNodeId, subType), property.name, parentNodeId, tree);
47
- tree.subTrees.forEach((subTree) => {
48
- const subTreeNode = buildGraphFetchSubTree(subTree, node, nodes);
49
- addUniqueEntry(node.childrenIds, subTreeNode.id);
50
- nodes.set(subTreeNode.id, subTreeNode);
51
- });
52
- return node;
53
- };
54
- /**
55
- * Build graph fetch tree data from an existing graph fetch tree root
56
- */
57
- export const buildGraphFetchTreeData = (tree) => {
58
- const rootIds = [];
59
- const nodes = new Map();
60
- tree.subTrees.forEach((subTree) => {
61
- const subTreeNode = buildGraphFetchSubTree(subTree, undefined, nodes);
62
- addUniqueEntry(rootIds, subTreeNode.id);
63
- nodes.set(subTreeNode.id, subTreeNode);
64
- });
65
- return { rootIds, nodes, tree };
66
- };
67
- export const isGraphFetchTreeDataEmpty = (treeData) => treeData.tree.subTrees.length === 0;
68
- const getPrunableNodes = (treeData) => Array.from(treeData.nodes.values()).filter((node) =>
69
- // childless class nodes
70
- (node.tree instanceof PropertyGraphFetchTree &&
71
- node.type instanceof Class &&
72
- node.childrenIds.length === 0) ||
73
- // orphan node
74
- (node.tree instanceof PropertyGraphFetchTree &&
75
- !(node.type instanceof Class) &&
76
- node.parentId &&
77
- !treeData.nodes.has(node.parentId)));
78
- const removeNode = (treeData, node) => {
79
- const parentNode = node.parentId
80
- ? treeData.nodes.get(node.parentId)
81
- : undefined;
82
- if (parentNode) {
83
- deleteEntry(parentNode.childrenIds, node.id);
84
- graphFetchTree_removeSubTree(parentNode.tree, node.tree);
85
- }
86
- else {
87
- deleteEntry(treeData.rootIds, node.id);
88
- graphFetchTree_removeSubTree(treeData.tree, node.tree);
89
- }
90
- treeData.nodes.delete(node.id);
91
- };
92
- const pruneTreeData = (treeData) => {
93
- let prunableNodes = getPrunableNodes(treeData);
94
- while (prunableNodes.length) {
95
- prunableNodes.forEach((node) => {
96
- removeNode(treeData, node);
97
- });
98
- prunableNodes = getPrunableNodes(treeData);
99
- }
100
- };
101
- export const removeNodeRecursively = (treeData, node) => {
102
- removeNode(treeData, node);
103
- pruneTreeData(treeData);
104
- };
105
- export const addQueryBuilderPropertyNode = (treeData, explorerTreeData, node, queryBuilderState) => {
106
- // traverse the property node all the way to the root and resolve the
107
- // chain of property that leads to this property node
108
- const propertyGraphFetchTrees = [
109
- new PropertyGraphFetchTree(PropertyExplicitReference.create(node.property), undefined),
110
- ];
111
- let parentExplorerTreeNode = explorerTreeData.nodes.get(node.parentId);
112
- while (parentExplorerTreeNode instanceof
113
- QueryBuilderExplorerTreePropertyNodeData ||
114
- parentExplorerTreeNode instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
115
- let subType = undefined;
116
- let subtypeAssigned = false;
117
- while (parentExplorerTreeNode instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
118
- if (!subtypeAssigned) {
119
- subType = PackageableElementExplicitReference.create(parentExplorerTreeNode.subclass);
120
- subtypeAssigned = true;
121
- }
122
- parentExplorerTreeNode = explorerTreeData.nodes.get(parentExplorerTreeNode.parentId);
123
- }
124
- if (parentExplorerTreeNode instanceof QueryBuilderExplorerTreePropertyNodeData) {
125
- const propertyGraphFetchTree = new PropertyGraphFetchTree(PropertyExplicitReference.create(parentExplorerTreeNode.property), subType);
126
- propertyGraphFetchTree.subTrees.push(propertyGraphFetchTrees[0]);
127
- propertyGraphFetchTrees.unshift(propertyGraphFetchTree);
128
- parentExplorerTreeNode = explorerTreeData.nodes.get(parentExplorerTreeNode.parentId);
129
- }
130
- else {
131
- queryBuilderState.applicationStore.notifyError(`Can't cast the root class of graph fetch structure to its subtype`);
132
- return;
133
- }
134
- }
135
- // traverse the chain of property from the root class to find a node in the
136
- // current graph fetch tree that matches any of this property, consider
137
- // this the starting point
138
- //
139
- // If we found a match, use that as the starting point, otherwise, use the root
140
- // of the graph fetch tree as the starting point
141
- //
142
- // NOTE: here we assume that we don't allow specifying duplicated nodes.
143
- // perhaps we need to allow that behavior in the future so people can customize the
144
- // shape of the object (e.g. same field but under different aliases)
145
- let currentNodeId = undefined;
146
- let parentNode = undefined;
147
- let newSubTree;
148
- for (const propertyGraphFetchTree of propertyGraphFetchTrees) {
149
- currentNodeId = generateGraphFetchTreeNodeID(propertyGraphFetchTree.property.value, currentNodeId, propertyGraphFetchTree.subType?.value);
150
- const existingGraphFetchNode = treeData.nodes.get(currentNodeId);
151
- if (existingGraphFetchNode) {
152
- parentNode = existingGraphFetchNode;
153
- }
154
- else {
155
- newSubTree = propertyGraphFetchTree;
156
- break;
157
- }
158
- }
159
- // construct the query builder graph fetch subtree from the starting point
160
- if (newSubTree) {
161
- const childNode = buildGraphFetchSubTree(newSubTree, parentNode, treeData.nodes);
162
- treeData.nodes.set(childNode.id, childNode);
163
- if (parentNode) {
164
- addUniqueEntry(parentNode.childrenIds, childNode.id);
165
- graphFetchTree_addSubTree(parentNode.tree, childNode.tree);
166
- }
167
- else {
168
- addUniqueEntry(treeData.rootIds, childNode.id);
169
- graphFetchTree_addSubTree(treeData.tree, childNode.tree);
170
- }
171
- }
172
- };
173
- //# sourceMappingURL=QueryBuilderGraphFetchTreeUtil.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeUtil.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE/E,OAAO,EAKL,yBAAyB,EACzB,KAAK,EACL,sBAAsB,EACtB,mCAAmC,EACnC,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,GACxC,MAAM,6CAA6C,CAAC;AAErD,OAAO,EACL,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC;AAEnC,MAAM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AAQ,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;QAC5C,IAAI,UAAU,EAAE;YACd,cAAc,CAAC,UAAU,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YACrD,yBAAyB,CAAC,UAAU,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;SAC5D;aAAM;YACL,cAAc,CAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YAC/C,yBAAyB,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;SAC1D;KACF;AACH,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 LambdaFunction } from '@finos/legend-graph';
17
- import type { QueryBuilderGraphFetchTreeState } from './QueryBuilderGraphFetchTreeState.js';
18
- export declare const appendGraphFetch: (graphFetchTreeState: QueryBuilderGraphFetchTreeState, lambdaFunction: LambdaFunction, options?: {
19
- /**
20
- * Set queryBuilderState to `true` when we construct query for execution within the app.
21
- * queryBuilderState will make the lambda function building process overrides several query values, such as the row limit.
22
- */
23
- isBuildingExecutionQuery?: boolean | undefined;
24
- keepSourceInformation?: boolean | undefined;
25
- }) => void;
26
- //# sourceMappingURL=QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAUL,KAAK,cAAc,EAEpB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AA8D5F,eAAO,MAAM,gBAAgB,wBACN,+BAA+B,kBACpC,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IAgDF,CAAC"}
@@ -1,72 +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 { extractElementNameFromPath, GenericType, GenericTypeExplicitReference, matchFunctionName, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, RootGraphFetchTreeInstanceValue, } from '@finos/legend-graph';
17
- import { guaranteeNonNullable, guaranteeType } from '@finos/legend-shared';
18
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../QueryBuilder_Const.js';
19
- import { isGraphFetchTreeDataEmpty } from './QueryBuilderGraphFetchTreeUtil.js';
20
- const appendTakeLimit = (queryBuilderState, lambda, previewLimit) => {
21
- if (!previewLimit) {
22
- return lambda;
23
- }
24
- const multiplicityOne = queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
25
- if (lambda.expressionSequence.length === 1) {
26
- const func = lambda.expressionSequence[0];
27
- if (func instanceof SimpleFunctionExpression) {
28
- if (matchFunctionName(func.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SERIALIZE)) {
29
- const limit = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.INTEGER))), multiplicityOne);
30
- limit.values = [previewLimit];
31
- const takeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TAKE), multiplicityOne);
32
- // NOTE: `take()` does not work on `graphFetch()` or `serialize()` so we need to
33
- // put it next to `all()`
34
- const serializeFunction = func;
35
- const graphFetchFunc = guaranteeType(serializeFunction.parametersValues[0], SimpleFunctionExpression);
36
- const getAllFunc = graphFetchFunc
37
- .parametersValues[0];
38
- takeFunction.parametersValues[0] = getAllFunc;
39
- takeFunction.parametersValues[1] = limit;
40
- graphFetchFunc.parametersValues = [
41
- takeFunction,
42
- graphFetchFunc.parametersValues[1],
43
- ];
44
- return lambda;
45
- }
46
- }
47
- }
48
- return lambda;
49
- };
50
- export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) => {
51
- const queryBuilderState = graphFetchTreeState.queryBuilderState;
52
- const precedingExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0], `Can't build graph-fetch tree expression: preceding expression is not defined`);
53
- const multiplicityOne = queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
54
- // build graph-fetch tree
55
- if (graphFetchTreeState.treeData &&
56
- !isGraphFetchTreeDataEmpty(graphFetchTreeState.treeData)) {
57
- const graphFetchInstance = new RootGraphFetchTreeInstanceValue(multiplicityOne);
58
- graphFetchInstance.values = [graphFetchTreeState.treeData.tree];
59
- const serializeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SERIALIZE), multiplicityOne);
60
- const graphFetchFunc = new SimpleFunctionExpression(graphFetchTreeState.isChecked
61
- ? extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH_CHECKED)
62
- : extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH), multiplicityOne);
63
- graphFetchFunc.parametersValues = [precedingExpression, graphFetchInstance];
64
- serializeFunction.parametersValues = [graphFetchFunc, graphFetchInstance];
65
- lambdaFunction.expressionSequence[0] = serializeFunction;
66
- }
67
- // build result set modifier: i.e. preview limit
68
- if (options?.isBuildingExecutionQuery) {
69
- appendTakeLimit(queryBuilderState, lambdaFunction, queryBuilderState.resultState.previewLimit);
70
- }
71
- };
72
- //# sourceMappingURL=QueryBuilderGraphFetchValueSpecificationBuilder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,cAAc,EACd,wBAAwB,EACxB,yBAAyB,EAGzB,+BAA+B,GAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAGnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,MAAM,eAAe,GAAG,CACtB,iBAAoC,EACpC,MAAsB,EACtB,YAAiC,EACjB,EAAE;IAClB,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,MAAM,CAAC;KACf;IACD,MAAM,eAAe,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ChD,IAAI,OAAO,EAAE,wBAAwB,EAAE;QACrC,eAAe,CACb,iBAAiB,EACjB,cAAc,EACd,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAC3C,CAAC;KACH;AACH,CAAC,CAAC"}
@@ -1,73 +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 GeneratorFn } from '@finos/legend-shared';
17
- import { type QueryBuilderExplorerTreePropertyNodeData } from '../../explorer/QueryBuilderExplorerState.js';
18
- import { QueryBuilderPropertyExpressionState } from '../../QueryBuilderPropertyEditorState.js';
19
- import type { QueryBuilderState } from '../../QueryBuilderState.js';
20
- import { type AbstractPropertyExpression, type Type, RawLambda } from '@finos/legend-graph';
21
- import { LambdaEditorState } from '@finos/legend-application';
22
- import type { QueryBuilderProjectionState } from './QueryBuilderProjectionState.js';
23
- export declare const QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE = "PROJECTION_COLUMN";
24
- export interface QueryBuilderProjectionColumnDragSource {
25
- columnState: QueryBuilderProjectionColumnState;
26
- }
27
- export declare abstract class QueryBuilderProjectionColumnState {
28
- readonly uuid: string;
29
- projectionState: QueryBuilderProjectionState;
30
- columnName: string;
31
- constructor(projectionState: QueryBuilderProjectionState, columnName: string);
32
- setColumnName(val: string): void;
33
- abstract getReturnType(): Type | undefined;
34
- }
35
- export declare class QueryBuilderSimpleProjectionColumnState extends QueryBuilderProjectionColumnState {
36
- lambdaParameterName: string;
37
- propertyExpressionState: QueryBuilderPropertyExpressionState;
38
- constructor(projectionState: QueryBuilderProjectionState, propertyExpression: AbstractPropertyExpression, humanizePropertyName: boolean);
39
- setLambdaParameterName(val: string): void;
40
- changeProperty(node: QueryBuilderExplorerTreePropertyNodeData, humanizePropertyName: boolean): void;
41
- getReturnType(): Type | undefined;
42
- }
43
- declare class QueryBuilderDerivationProjectionLambdaState extends LambdaEditorState {
44
- queryBuilderState: QueryBuilderState;
45
- derivationProjectionColumnState: QueryBuilderDerivationProjectionColumnState;
46
- /**
47
- * This is used to store the JSON string when viewing the query in JSON mode
48
- * TODO: consider moving this to another state if we need to simplify the logic of text-mode
49
- */
50
- readOnlylambdaJson: string;
51
- constructor(queryBuilderState: QueryBuilderState, derivationProjectionColumnState: QueryBuilderDerivationProjectionColumnState);
52
- get lambdaId(): string;
53
- setLambdaJson(lambdaJson: string): void;
54
- convertLambdaGrammarStringToObject(): GeneratorFn<void>;
55
- convertLambdaObjectToGrammarString(pretty: boolean): GeneratorFn<void>;
56
- }
57
- export declare class QueryBuilderDerivationProjectionColumnState extends QueryBuilderProjectionColumnState {
58
- derivationLambdaEditorState: QueryBuilderDerivationProjectionLambdaState;
59
- lambda: RawLambda;
60
- returnType: Type | undefined;
61
- constructor(projectionState: QueryBuilderProjectionState, lambda: RawLambda);
62
- setLambda(val: RawLambda): void;
63
- setReturnType(val: Type | undefined): void;
64
- /**
65
- * Fetches lambda return type for derivation column.
66
- * Throws error if unable to fetch type or if type is not primitive or an enumeration
67
- * as expected by a projection column
68
- */
69
- fetchDerivationLambdaReturnType(): GeneratorFn<void>;
70
- getReturnType(): Type | undefined;
71
- }
72
- export {};
73
- //# sourceMappingURL=QueryBuilderProjectionColumnState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderProjectionColumnState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAOjB,MAAM,sBAA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2CAA2C,CAAC;IAC7E;;;OAGG;IACH,kBAAkB,SAAM;gBAGtB,iBAAiB,EAAE,iBAAiB,EACpC,+BAA+B,EAAE,2CAA2C;IAO9E,IAAI,QAAQ,IAAI,MAAM,CAQrB;IAED,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAItC,kCAAkC,IAAI,WAAW,CAAC,IAAI,CAAC;IA2BvD,kCAAkC,CAAC,MAAM,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;CAmCxE;AAED,qBAAa,2CAA4C,SAAQ,iCAAiC;IAChG,2BAA2B,EAAE,2CAA2C,CAAC;IACzE,MAAM,EAAE,SAAS,CAAC;IAClB,UAAU,EAAE,IAAI,GAAG,SAAS,CAAC;gBAEjB,eAAe,EAAE,2BAA2B,EAAE,MAAM,EAAE,SAAS;IAkB3E,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI;IAI/B,aAAa,CAAC,GAAG,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI;IAI1C;;;;OAIG;IACF,+BAA+B,IAAI,WAAW,CAAC,IAAI,CAAC;IA4C5C,aAAa,IAAI,IAAI,GAAG,SAAS;CAG3C"}
@@ -1,187 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { action, makeObservable, observable, flow } from 'mobx';
17
- import { LogEvent, assertErrorThrown, uuid, guaranteeNonNullable, assertTrue, assertNonEmptyString, } from '@finos/legend-shared';
18
- import { buildPropertyExpressionFromExplorerTreeNodeData, } from '../../explorer/QueryBuilderExplorerState.js';
19
- import { getPropertyChainName, QueryBuilderPropertyExpressionState, } from '../../QueryBuilderPropertyEditorState.js';
20
- import { PackageableElementExplicitReference, GRAPH_MANAGER_EVENT, PRIMITIVE_TYPE, buildSourceInformationSourceId, ParserError, TYPICAL_MULTIPLICITY_TYPE, RawVariableExpression, Enumeration, RawLambda, stub_RawLambda, } from '@finos/legend-graph';
21
- import { DEFAULT_LAMBDA_VARIABLE_NAME, QUERY_BUILDER_SOURCE_ID_LABEL, } from '../../../QueryBuilder_Const.js';
22
- import { LambdaEditorState } from '@finos/legend-application';
23
- export const QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE = 'PROJECTION_COLUMN';
24
- export class QueryBuilderProjectionColumnState {
25
- uuid = uuid();
26
- projectionState;
27
- columnName;
28
- constructor(projectionState, columnName) {
29
- makeObservable(this, {
30
- uuid: false,
31
- projectionState: false,
32
- columnName: observable,
33
- setColumnName: action,
34
- });
35
- this.projectionState = projectionState;
36
- this.columnName = columnName;
37
- }
38
- setColumnName(val) {
39
- this.columnName = val;
40
- }
41
- }
42
- export class QueryBuilderSimpleProjectionColumnState extends QueryBuilderProjectionColumnState {
43
- lambdaParameterName = DEFAULT_LAMBDA_VARIABLE_NAME;
44
- propertyExpressionState;
45
- constructor(projectionState, propertyExpression, humanizePropertyName) {
46
- super(projectionState, '');
47
- makeObservable(this, {
48
- lambdaParameterName: observable,
49
- propertyExpressionState: observable,
50
- setLambdaParameterName: action,
51
- changeProperty: action,
52
- });
53
- this.propertyExpressionState = new QueryBuilderPropertyExpressionState(projectionState.queryBuilderState, propertyExpression);
54
- this.columnName = getPropertyChainName(this.propertyExpressionState.propertyExpression, humanizePropertyName);
55
- }
56
- setLambdaParameterName(val) {
57
- this.lambdaParameterName = val;
58
- }
59
- changeProperty(node, humanizePropertyName) {
60
- this.propertyExpressionState = new QueryBuilderPropertyExpressionState(this.projectionState.queryBuilderState, buildPropertyExpressionFromExplorerTreeNodeData(this.projectionState.queryBuilderState.explorerState
61
- .nonNullableTreeData, node, this.projectionState.queryBuilderState.graphManagerState.graph, this.projectionState.queryBuilderState.explorerState.propertySearchState
62
- .allMappedPropertyNodes));
63
- this.columnName = getPropertyChainName(this.propertyExpressionState.propertyExpression, humanizePropertyName);
64
- }
65
- getReturnType() {
66
- return this.propertyExpressionState.propertyExpression.func.genericType
67
- .value.rawType;
68
- }
69
- }
70
- class QueryBuilderDerivationProjectionLambdaState extends LambdaEditorState {
71
- queryBuilderState;
72
- derivationProjectionColumnState;
73
- /**
74
- * This is used to store the JSON string when viewing the query in JSON mode
75
- * TODO: consider moving this to another state if we need to simplify the logic of text-mode
76
- */
77
- readOnlylambdaJson = '';
78
- constructor(queryBuilderState, derivationProjectionColumnState) {
79
- super('', '');
80
- this.queryBuilderState = queryBuilderState;
81
- this.derivationProjectionColumnState = derivationProjectionColumnState;
82
- }
83
- get lambdaId() {
84
- return buildSourceInformationSourceId([
85
- // TODO: to be reworked
86
- // See https://github.com/finos/legend-studio/issues/1168
87
- QUERY_BUILDER_SOURCE_ID_LABEL.QUERY_BUILDER,
88
- QUERY_BUILDER_SOURCE_ID_LABEL.PROJECTION,
89
- this.derivationProjectionColumnState.uuid,
90
- ]);
91
- }
92
- setLambdaJson(lambdaJson) {
93
- this.readOnlylambdaJson = lambdaJson;
94
- }
95
- *convertLambdaGrammarStringToObject() {
96
- const emptyLambda = stub_RawLambda();
97
- if (this.lambdaString) {
98
- try {
99
- const lambda = (yield this.queryBuilderState.graphManagerState.graphManager.pureCodeToLambda(this.fullLambdaString, this.lambdaId));
100
- this.setParserError(undefined);
101
- this.derivationProjectionColumnState.setLambda(lambda);
102
- }
103
- catch (error) {
104
- assertErrorThrown(error);
105
- if (error instanceof ParserError) {
106
- this.setParserError(error);
107
- }
108
- this.queryBuilderState.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE), error);
109
- }
110
- }
111
- else {
112
- this.clearErrors();
113
- this.derivationProjectionColumnState.setLambda(emptyLambda);
114
- }
115
- }
116
- *convertLambdaObjectToGrammarString(pretty) {
117
- if (this.derivationProjectionColumnState.lambda.body) {
118
- try {
119
- const lambdas = new Map();
120
- lambdas.set(this.lambdaId, new RawLambda(this.derivationProjectionColumnState.lambda.parameters, this.derivationProjectionColumnState.lambda.body));
121
- const isolatedLambdas = (yield this.queryBuilderState.graphManagerState.graphManager.lambdasToPureCode(lambdas, pretty));
122
- const grammarText = isolatedLambdas.get(this.lambdaId);
123
- this.setLambdaString(grammarText !== undefined
124
- ? this.extractLambdaString(grammarText)
125
- : '');
126
- this.clearErrors();
127
- }
128
- catch (error) {
129
- assertErrorThrown(error);
130
- this.queryBuilderState.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE), error);
131
- }
132
- }
133
- else {
134
- this.clearErrors();
135
- this.setLambdaString('');
136
- }
137
- }
138
- }
139
- export class QueryBuilderDerivationProjectionColumnState extends QueryBuilderProjectionColumnState {
140
- derivationLambdaEditorState;
141
- lambda;
142
- returnType;
143
- constructor(projectionState, lambda) {
144
- super(projectionState, '(derivation)');
145
- makeObservable(this, {
146
- lambda: observable,
147
- returnType: observable,
148
- setLambda: action,
149
- fetchDerivationLambdaReturnType: flow,
150
- });
151
- this.derivationLambdaEditorState =
152
- new QueryBuilderDerivationProjectionLambdaState(projectionState.queryBuilderState, this);
153
- this.lambda = lambda;
154
- }
155
- setLambda(val) {
156
- this.lambda = val;
157
- }
158
- setReturnType(val) {
159
- this.returnType = val;
160
- }
161
- /**
162
- * Fetches lambda return type for derivation column.
163
- * Throws error if unable to fetch type or if type is not primitive or an enumeration
164
- * as expected by a projection column
165
- */
166
- *fetchDerivationLambdaReturnType() {
167
- assertTrue(Array.isArray(this.lambda.parameters));
168
- const projectionParameter = this.lambda.parameters;
169
- const graph = this.projectionState.queryBuilderState.graphManagerState.graph;
170
- const multiplicityOne = graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
171
- assertTrue(projectionParameter.length === 1);
172
- const variable = projectionParameter[0];
173
- assertNonEmptyString(variable.name);
174
- // assign variable to query class
175
- const rawVariableExpression = new RawVariableExpression(variable.name, multiplicityOne, PackageableElementExplicitReference.create(guaranteeNonNullable(this.projectionState.queryBuilderState.querySetupState._class)));
176
- const _rawVariableExpression = this.projectionState.queryBuilderState.graphManagerState.graphManager.serializeRawValueSpecification(rawVariableExpression);
177
- const isolatedLambda = new RawLambda([_rawVariableExpression], this.lambda.body);
178
- const type = (yield this.projectionState.queryBuilderState.graphManagerState.graphManager.getLambdaReturnType(isolatedLambda, graph));
179
- const resolvedType = graph.getType(type);
180
- assertTrue(Object.values(PRIMITIVE_TYPE).includes(resolvedType.path) || resolvedType instanceof Enumeration, 'projection column must have primitive return type');
181
- this.setReturnType(resolvedType);
182
- }
183
- getReturnType() {
184
- return this.returnType;
185
- }
186
- }
187
- //# sourceMappingURL=QueryBuilderProjectionColumnState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderProjectionColumnState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,IAAI,EACJ,oBAAoB,EACpB,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,+CAA+C,GAChD,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,oBAAoB,EACpB,mCAAmC,GACpC,MAAM,0CAA0C,CAAC;AAElD,OAAO,EAIL,mCAAmC,EACnC,mBAAmB,EACnB,cAAc,EACd,8BAA8B,EAC9B,WAAW,EACX,yBAAyB,EACzB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,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cAAc,EACd,KAAK,CACN,CAAW,CAAC;QACf,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzC,UAAU,CACR,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,QAAQ,CACpC,YAAY,CAAC,IAAsB,CACpC,IAAI,YAAY,YAAY,WAAW,EACxC,mDAAmD,CACpD,CAAC;QACF,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IACnC,CAAC;IAEQ,aAAa;QACpB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;CACF"}
@@ -1,68 +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 GeneratorFn } from '@finos/legend-shared';
17
- import type { QueryBuilderState } from '../../QueryBuilderState.js';
18
- import { type CompilationError, Class, type LambdaFunction } from '@finos/legend-graph';
19
- import { QueryBuilderAggregationState } from './aggregation/QueryBuilderAggregationState.js';
20
- import { QueryBuilderFetchStructureImplementationState } from '../QueryBuilderFetchStructureImplementationState.js';
21
- import { QueryResultSetModifierState } from './QueryResultSetModifierState.js';
22
- import { QueryBuilderPostFilterState } from './post-filter/QueryBuilderPostFilterState.js';
23
- import type { QueryBuilderPostFilterOperator } from './post-filter/QueryBuilderPostFilterOperator.js';
24
- import type { QueryBuilderAggregateOperator } from './aggregation/QueryBuilderAggregateOperator.js';
25
- import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, type QueryBuilderProjectionColumnState } from './QueryBuilderProjectionColumnState.js';
26
- import type { QueryBuilderFetchStructureState } from '../QueryBuilderFetchStructureState.js';
27
- import { type QueryBuilderExplorerTreePropertyNodeData } from '../../explorer/QueryBuilderExplorerState.js';
28
- import type { LambdaFunctionBuilderOption } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
29
- export declare class QueryBuilderProjectionState extends QueryBuilderFetchStructureImplementationState {
30
- columns: QueryBuilderProjectionColumnState[];
31
- aggregationState: QueryBuilderAggregationState;
32
- postFilterState: QueryBuilderPostFilterState;
33
- resultSetModifierState: QueryResultSetModifierState;
34
- isConvertDerivationProjectionObjects: boolean;
35
- showPostFilterPanel: boolean;
36
- postFilterOperators: QueryBuilderPostFilterOperator[];
37
- aggregationOperators: QueryBuilderAggregateOperator[];
38
- constructor(queryBuilderState: QueryBuilderState, fetchStructureState: QueryBuilderFetchStructureState);
39
- get type(): string;
40
- get derivations(): QueryBuilderDerivationProjectionColumnState[];
41
- get hasParserError(): boolean;
42
- get usedExplorerTreePropertyNodeIDs(): string[];
43
- get validationIssues(): string[] | undefined;
44
- onClassChange(_class: Class | undefined): void;
45
- appendFetchStructure(lambdaFunction: LambdaFunction, options?: LambdaFunctionBuilderOption): void;
46
- setShowPostFilterPanel(val: boolean): void;
47
- convertDerivationProjectionObjects(): GeneratorFn<void>;
48
- transformSimpleProjectionToDerivation(simpleProjectionColumnState: QueryBuilderSimpleProjectionColumnState): void;
49
- replaceColumn(oldVal: QueryBuilderProjectionColumnState, newVal: QueryBuilderProjectionColumnState): void;
50
- removeColumn(val: QueryBuilderProjectionColumnState): void;
51
- addColumn(val: QueryBuilderProjectionColumnState, options?: {
52
- /**
53
- * Often time, we would want to enforce doing a sort when adding new column
54
- * to ensure aggregate columns stay at the bottom of the list of projections
55
- * But sometimes, we can opt in to use this flag to disable this sorting behavior,
56
- * such as when we build/process.
57
- */
58
- skipSorting?: boolean | undefined;
59
- }): void;
60
- moveColumn(sourceIndex: number, targetIndex: number): void;
61
- addNewBlankDerivation(): void;
62
- revealCompilationError(compilationError: CompilationError): boolean;
63
- clearCompilationError(): void;
64
- fetchProperty(node: QueryBuilderExplorerTreePropertyNodeData): void;
65
- fetchProperties(nodes: QueryBuilderExplorerTreePropertyNodeData[]): void;
66
- checkBeforeChangingImplementation(onChange: () => void): void;
67
- }
68
- //# sourceMappingURL=QueryBuilderProjectionState.d.ts.map