@finos/legend-application-query 6.0.0 → 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 (624) hide show
  1. package/lib/application/LegendQuery.d.ts.map +1 -1
  2. package/lib/application/LegendQuery.js +4 -7
  3. package/lib/application/LegendQuery.js.map +1 -1
  4. package/lib/components/LegendQueryApplication.d.ts +0 -1
  5. package/lib/components/LegendQueryApplication.d.ts.map +1 -1
  6. package/lib/components/QueryEditor.d.ts +0 -1
  7. package/lib/components/QueryEditor.d.ts.map +1 -1
  8. package/lib/components/QueryEditor.js +71 -19
  9. package/lib/components/QueryEditor.js.map +1 -1
  10. package/lib/components/QueryEditorComponentTestUtils.d.ts +1 -1
  11. package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
  12. package/lib/components/QueryEditorComponentTestUtils.js +7 -9
  13. package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
  14. package/lib/index.css +2 -2
  15. package/lib/index.css.map +1 -1
  16. package/lib/index.d.ts +0 -7
  17. package/lib/index.d.ts.map +1 -1
  18. package/lib/index.js +0 -8
  19. package/lib/index.js.map +1 -1
  20. package/lib/package.json +4 -10
  21. package/lib/stores/LegendQueryApplicationPlugin.d.ts +1 -1
  22. package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
  23. package/lib/stores/QueryEditorStore.d.ts +12 -1
  24. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  25. package/lib/stores/QueryEditorStore.js +52 -21
  26. package/lib/stores/QueryEditorStore.js.map +1 -1
  27. package/lib/stores/QuerySetupStore.d.ts +1 -1
  28. package/lib/stores/QuerySetupStore.d.ts.map +1 -1
  29. package/lib/stores/QuerySetupStore.js +1 -1
  30. package/lib/stores/QuerySetupStore.js.map +1 -1
  31. package/package.json +11 -17
  32. package/src/application/LegendQuery.tsx +7 -8
  33. package/src/components/QueryEditor.tsx +282 -48
  34. package/src/components/QueryEditorComponentTestUtils.tsx +15 -13
  35. package/src/index.ts +0 -15
  36. package/src/stores/LegendQueryApplicationPlugin.ts +1 -1
  37. package/src/stores/QueryEditorStore.ts +62 -34
  38. package/src/stores/QuerySetupStore.ts +5 -3
  39. package/tsconfig.json +1 -118
  40. package/lib/components/query-builder/QueryBuilder.d.ts +0 -23
  41. package/lib/components/query-builder/QueryBuilder.d.ts.map +0 -1
  42. package/lib/components/query-builder/QueryBuilder.js +0 -111
  43. package/lib/components/query-builder/QueryBuilder.js.map +0 -1
  44. package/lib/components/query-builder/QueryBuilderParametersPanel.d.ts +0 -32
  45. package/lib/components/query-builder/QueryBuilderParametersPanel.d.ts.map +0 -1
  46. package/lib/components/query-builder/QueryBuilderParametersPanel.js +0 -128
  47. package/lib/components/query-builder/QueryBuilderParametersPanel.js.map +0 -1
  48. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.d.ts +0 -30
  49. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.d.ts.map +0 -1
  50. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.js +0 -116
  51. package/lib/components/query-builder/QueryBuilderPropertyExpressionEditor.js.map +0 -1
  52. package/lib/components/query-builder/QueryBuilderResultPanel.d.ts +0 -23
  53. package/lib/components/query-builder/QueryBuilderResultPanel.d.ts.map +0 -1
  54. package/lib/components/query-builder/QueryBuilderResultPanel.js +0 -242
  55. package/lib/components/query-builder/QueryBuilderResultPanel.js.map +0 -1
  56. package/lib/components/query-builder/QueryBuilderSideBar.d.ts +0 -42
  57. package/lib/components/query-builder/QueryBuilderSideBar.d.ts.map +0 -1
  58. package/lib/components/query-builder/QueryBuilderSideBar.js +0 -169
  59. package/lib/components/query-builder/QueryBuilderSideBar.js.map +0 -1
  60. package/lib/components/query-builder/QueryBuilderTextEditor.d.ts +0 -23
  61. package/lib/components/query-builder/QueryBuilderTextEditor.d.ts.map +0 -1
  62. package/lib/components/query-builder/QueryBuilderTextEditor.js +0 -48
  63. package/lib/components/query-builder/QueryBuilderTextEditor.js.map +0 -1
  64. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.d.ts +0 -23
  65. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.d.ts.map +0 -1
  66. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.js +0 -36
  67. package/lib/components/query-builder/QueryBuilderUnsupportedQueryEditor.js.map +0 -1
  68. package/lib/components/query-builder/QueryBuilder_TestID.d.ts +0 -26
  69. package/lib/components/query-builder/QueryBuilder_TestID.d.ts.map +0 -1
  70. package/lib/components/query-builder/QueryBuilder_TestID.js +0 -27
  71. package/lib/components/query-builder/QueryBuilder_TestID.js.map +0 -1
  72. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.d.ts +0 -36
  73. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.d.ts.map +0 -1
  74. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.js +0 -340
  75. package/lib/components/query-builder/explorer/QueryBuilderExplorerPanel.js.map +0 -1
  76. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -23
  77. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
  78. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.js +0 -147
  79. package/lib/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
  80. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.d.ts +0 -23
  81. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
  82. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.js +0 -122
  83. package/lib/components/query-builder/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
  84. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -24
  85. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
  86. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.js +0 -200
  87. package/lib/components/query-builder/explorer/QueryBuilderPropertySearchPanel.js.map +0 -1
  88. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -23
  89. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
  90. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.js +0 -52
  91. package/lib/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.js.map +0 -1
  92. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -32
  93. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
  94. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.js +0 -94
  95. package/lib/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +0 -1
  96. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -31
  97. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +0 -1
  98. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.js +0 -378
  99. package/lib/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.js.map +0 -1
  100. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.d.ts +0 -23
  101. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
  102. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.js +0 -216
  103. package/lib/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
  104. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -23
  105. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +0 -1
  106. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.js +0 -88
  107. package/lib/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.js.map +0 -1
  108. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.d.ts +0 -23
  109. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.d.ts.map +0 -1
  110. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.js +0 -316
  111. package/lib/components/query-builder/filter/QueryBuilderFilterPanel.js.map +0 -1
  112. package/lib/components/query-builder/shared/ElementIconUtils.d.ts +0 -18
  113. package/lib/components/query-builder/shared/ElementIconUtils.d.ts.map +0 -1
  114. package/lib/components/query-builder/shared/ElementIconUtils.js +0 -37
  115. package/lib/components/query-builder/shared/ElementIconUtils.js.map +0 -1
  116. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.d.ts +0 -43
  117. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
  118. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.js +0 -47
  119. package/lib/components/query-builder/shared/QueryBuilderLambdaEditor.js.map +0 -1
  120. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.d.ts +0 -20
  121. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
  122. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.js +0 -28
  123. package/lib/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.js.map +0 -1
  124. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.d.ts +0 -26
  125. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
  126. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.js +0 -32
  127. package/lib/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.js.map +0 -1
  128. package/lib/components/query-builder/workflows/ClassQueryBuilder.d.ts +0 -18
  129. package/lib/components/query-builder/workflows/ClassQueryBuilder.d.ts.map +0 -1
  130. package/lib/components/query-builder/workflows/ClassQueryBuilder.js +0 -87
  131. package/lib/components/query-builder/workflows/ClassQueryBuilder.js.map +0 -1
  132. package/lib/components/query-builder/workflows/MappingQueryBuilder.d.ts +0 -18
  133. package/lib/components/query-builder/workflows/MappingQueryBuilder.d.ts.map +0 -1
  134. package/lib/components/query-builder/workflows/MappingQueryBuilder.js +0 -88
  135. package/lib/components/query-builder/workflows/MappingQueryBuilder.js.map +0 -1
  136. package/lib/components/query-builder/workflows/ServiceQueryBuilder.d.ts +0 -18
  137. package/lib/components/query-builder/workflows/ServiceQueryBuilder.d.ts.map +0 -1
  138. package/lib/components/query-builder/workflows/ServiceQueryBuilder.js +0 -69
  139. package/lib/components/query-builder/workflows/ServiceQueryBuilder.js.map +0 -1
  140. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +0 -60
  141. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +0 -1
  142. package/lib/graphManager/QueryBuilderSupportedFunctions.js +0 -65
  143. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +0 -1
  144. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +0 -21
  145. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
  146. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +0 -27
  147. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
  148. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +0 -24
  149. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
  150. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +0 -32
  151. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
  152. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -21
  153. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
  154. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -20
  155. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
  156. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +0 -21
  157. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
  158. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +0 -20
  159. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
  160. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -25
  161. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  162. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -21
  163. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  164. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -18
  165. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
  166. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -20
  167. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
  168. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -22
  169. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
  170. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +0 -70
  171. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
  172. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +0 -22
  173. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +0 -1
  174. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +0 -207
  175. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +0 -1
  176. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +0 -18
  177. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +0 -1
  178. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +0 -18
  179. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +0 -1
  180. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -29
  181. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  182. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +0 -182
  183. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  184. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.d.ts +0 -25
  185. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.d.ts.map +0 -1
  186. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.js +0 -32
  187. package/lib/stores/query-builder/QueryBuilderChangeDetectionState.js.map +0 -1
  188. package/lib/stores/query-builder/QueryBuilderConfig.d.ts +0 -32
  189. package/lib/stores/query-builder/QueryBuilderConfig.d.ts.map +0 -1
  190. package/lib/stores/query-builder/QueryBuilderConfig.js +0 -34
  191. package/lib/stores/query-builder/QueryBuilderConfig.js.map +0 -1
  192. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.d.ts +0 -22
  193. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.d.ts.map +0 -1
  194. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.js +0 -43
  195. package/lib/stores/query-builder/QueryBuilderGroupOperationHelper.js.map +0 -1
  196. package/lib/stores/query-builder/QueryBuilderMilestoningState.d.ts +0 -32
  197. package/lib/stores/query-builder/QueryBuilderMilestoningState.d.ts.map +0 -1
  198. package/lib/stores/query-builder/QueryBuilderMilestoningState.js +0 -95
  199. package/lib/stores/query-builder/QueryBuilderMilestoningState.js.map +0 -1
  200. package/lib/stores/query-builder/QueryBuilderParametersState.d.ts +0 -28
  201. package/lib/stores/query-builder/QueryBuilderParametersState.d.ts.map +0 -1
  202. package/lib/stores/query-builder/QueryBuilderParametersState.js +0 -39
  203. package/lib/stores/query-builder/QueryBuilderParametersState.js.map +0 -1
  204. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.d.ts +0 -26
  205. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.d.ts.map +0 -1
  206. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.js +0 -138
  207. package/lib/stores/query-builder/QueryBuilderPreviewDataHelper.js.map +0 -1
  208. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.d.ts +0 -62
  209. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.d.ts.map +0 -1
  210. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.js +0 -395
  211. package/lib/stores/query-builder/QueryBuilderPropertyEditorState.js.map +0 -1
  212. package/lib/stores/query-builder/QueryBuilderResultState.d.ts +0 -41
  213. package/lib/stores/query-builder/QueryBuilderResultState.d.ts.map +0 -1
  214. package/lib/stores/query-builder/QueryBuilderResultState.js +0 -176
  215. package/lib/stores/query-builder/QueryBuilderResultState.js.map +0 -1
  216. package/lib/stores/query-builder/QueryBuilderState.d.ts +0 -112
  217. package/lib/stores/query-builder/QueryBuilderState.d.ts.map +0 -1
  218. package/lib/stores/query-builder/QueryBuilderState.js +0 -337
  219. package/lib/stores/query-builder/QueryBuilderState.js.map +0 -1
  220. package/lib/stores/query-builder/QueryBuilderStateBuilder.d.ts +0 -124
  221. package/lib/stores/query-builder/QueryBuilderStateBuilder.d.ts.map +0 -1
  222. package/lib/stores/query-builder/QueryBuilderStateBuilder.js +0 -311
  223. package/lib/stores/query-builder/QueryBuilderStateBuilder.js.map +0 -1
  224. package/lib/stores/query-builder/QueryBuilderStateTestUtils.d.ts +0 -24
  225. package/lib/stores/query-builder/QueryBuilderStateTestUtils.d.ts.map +0 -1
  226. package/lib/stores/query-builder/QueryBuilderStateTestUtils.js +0 -50
  227. package/lib/stores/query-builder/QueryBuilderStateTestUtils.js.map +0 -1
  228. package/lib/stores/query-builder/QueryBuilderTextEditorState.d.ts +0 -49
  229. package/lib/stores/query-builder/QueryBuilderTextEditorState.d.ts.map +0 -1
  230. package/lib/stores/query-builder/QueryBuilderTextEditorState.js +0 -145
  231. package/lib/stores/query-builder/QueryBuilderTextEditorState.js.map +0 -1
  232. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.d.ts +0 -24
  233. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.d.ts.map +0 -1
  234. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.js +0 -85
  235. package/lib/stores/query-builder/QueryBuilderTypeaheadHelper.js.map +0 -1
  236. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.d.ts +0 -26
  237. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.d.ts.map +0 -1
  238. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.js +0 -37
  239. package/lib/stores/query-builder/QueryBuilderUnsupportedQueryState.js.map +0 -1
  240. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.d.ts +0 -20
  241. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.d.ts.map +0 -1
  242. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.js +0 -87
  243. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilder.js.map +0 -1
  244. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.d.ts +0 -27
  245. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +0 -1
  246. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.js +0 -161
  247. package/lib/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.js.map +0 -1
  248. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.d.ts +0 -61
  249. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.d.ts.map +0 -1
  250. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.js +0 -235
  251. package/lib/stores/query-builder/QueryBuilderValueSpecificationHelper.js.map +0 -1
  252. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.d.ts +0 -99
  253. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.d.ts.map +0 -1
  254. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.js +0 -446
  255. package/lib/stores/query-builder/explorer/QueryBuilderExplorerState.js.map +0 -1
  256. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.d.ts +0 -46
  257. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.d.ts.map +0 -1
  258. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.js +0 -242
  259. package/lib/stores/query-builder/explorer/QueryBuilderPropertySearchState.js.map +0 -1
  260. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.d.ts +0 -59
  261. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.d.ts.map +0 -1
  262. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.js +0 -228
  263. package/lib/stores/query-builder/explorer/QueryFunctionsExplorerState.js.map +0 -1
  264. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +0 -40
  265. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +0 -1
  266. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.js +0 -34
  267. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +0 -1
  268. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.d.ts +0 -27
  269. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +0 -1
  270. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.js +0 -73
  271. package/lib/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.js.map +0 -1
  272. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +0 -49
  273. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
  274. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +0 -157
  275. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +0 -1
  276. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +0 -20
  277. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +0 -1
  278. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +0 -62
  279. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +0 -1
  280. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +0 -42
  281. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
  282. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +0 -173
  283. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
  284. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +0 -26
  285. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +0 -1
  286. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +0 -72
  287. package/lib/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +0 -1
  288. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +0 -73
  289. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
  290. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.js +0 -187
  291. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
  292. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.d.ts +0 -68
  293. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
  294. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.js +0 -305
  295. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
  296. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +0 -25
  297. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +0 -1
  298. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +0 -186
  299. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +0 -1
  300. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +0 -26
  301. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
  302. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +0 -189
  303. package/lib/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
  304. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.d.ts +0 -43
  305. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
  306. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.js +0 -77
  307. package/lib/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
  308. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +0 -32
  309. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
  310. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +0 -36
  311. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
  312. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -18
  313. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
  314. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -38
  315. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
  316. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +0 -42
  317. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
  318. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +0 -103
  319. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
  320. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +0 -20
  321. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +0 -1
  322. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +0 -96
  323. package/lib/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +0 -1
  324. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +0 -22
  325. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
  326. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +0 -40
  327. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
  328. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +0 -27
  329. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
  330. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +0 -50
  331. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
  332. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +0 -27
  333. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
  334. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +0 -55
  335. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
  336. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +0 -26
  337. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
  338. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +0 -50
  339. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
  340. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +0 -27
  341. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
  342. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +0 -78
  343. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
  344. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +0 -27
  345. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
  346. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +0 -67
  347. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
  348. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +0 -26
  349. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
  350. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +0 -86
  351. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
  352. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +0 -26
  353. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
  354. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +0 -86
  355. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
  356. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +0 -27
  357. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
  358. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +0 -50
  359. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
  360. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +0 -27
  361. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
  362. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +0 -50
  363. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
  364. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +0 -26
  365. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
  366. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +0 -45
  367. package/lib/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
  368. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -29
  369. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
  370. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +0 -30
  371. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
  372. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -18
  373. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
  374. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -44
  375. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
  376. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +0 -135
  377. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
  378. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +0 -585
  379. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
  380. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +0 -22
  381. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +0 -1
  382. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +0 -122
  383. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +0 -1
  384. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -19
  385. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
  386. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +0 -79
  387. package/lib/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
  388. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +0 -23
  389. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
  390. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +0 -73
  391. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
  392. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -32
  393. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
  394. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +0 -75
  395. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
  396. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -32
  397. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
  398. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +0 -75
  399. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
  400. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -32
  401. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
  402. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +0 -118
  403. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
  404. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -27
  405. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
  406. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +0 -81
  407. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
  408. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -24
  409. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  410. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -43
  411. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
  412. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -32
  413. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
  414. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +0 -104
  415. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
  416. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -33
  417. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
  418. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +0 -67
  419. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
  420. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -27
  421. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
  422. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +0 -81
  423. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
  424. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -24
  425. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
  426. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -43
  427. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
  428. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -32
  429. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
  430. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +0 -75
  431. package/lib/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
  432. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.d.ts +0 -27
  433. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.d.ts.map +0 -1
  434. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.js +0 -20
  435. package/lib/stores/query-builder/filter/QueryBuilderFilterOperator.js.map +0 -1
  436. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.d.ts +0 -18
  437. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.d.ts.map +0 -1
  438. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.js +0 -44
  439. package/lib/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.js.map +0 -1
  440. package/lib/stores/query-builder/filter/QueryBuilderFilterState.d.ts +0 -123
  441. package/lib/stores/query-builder/filter/QueryBuilderFilterState.d.ts.map +0 -1
  442. package/lib/stores/query-builder/filter/QueryBuilderFilterState.js +0 -531
  443. package/lib/stores/query-builder/filter/QueryBuilderFilterState.js.map +0 -1
  444. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.d.ts +0 -19
  445. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.d.ts.map +0 -1
  446. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.js +0 -74
  447. package/lib/stores/query-builder/filter/QueryBuilderFilterStateBuilder.js.map +0 -1
  448. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +0 -19
  449. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +0 -1
  450. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.js +0 -78
  451. package/lib/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +0 -1
  452. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +0 -21
  453. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
  454. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.js +0 -257
  455. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.js.map +0 -1
  456. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +0 -32
  457. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
  458. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.js +0 -71
  459. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.js.map +0 -1
  460. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +0 -32
  461. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
  462. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.js +0 -71
  463. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
  464. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +0 -32
  465. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
  466. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.js +0 -115
  467. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.js.map +0 -1
  468. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +0 -27
  469. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
  470. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +0 -83
  471. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
  472. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +0 -27
  473. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  474. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +0 -83
  475. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
  476. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.d.ts +0 -32
  477. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
  478. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.js +0 -103
  479. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.js.map +0 -1
  480. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +0 -32
  481. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
  482. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +0 -65
  483. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
  484. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +0 -27
  485. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
  486. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.js +0 -83
  487. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
  488. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +0 -27
  489. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
  490. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +0 -83
  491. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
  492. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +0 -32
  493. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
  494. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.js +0 -71
  495. package/lib/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
  496. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.d.ts +0 -35
  497. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.d.ts.map +0 -1
  498. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.js +0 -57
  499. package/lib/stores/query-builder/workflows/ClassQueryBuilderState.js.map +0 -1
  500. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.d.ts +0 -33
  501. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.d.ts.map +0 -1
  502. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.js +0 -55
  503. package/lib/stores/query-builder/workflows/MappingQueryBuilderState.js.map +0 -1
  504. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.d.ts +0 -44
  505. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.d.ts.map +0 -1
  506. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.js +0 -90
  507. package/lib/stores/query-builder/workflows/ServiceQueryBuilderState.js.map +0 -1
  508. package/src/components/query-builder/QueryBuilder.tsx +0 -411
  509. package/src/components/query-builder/QueryBuilderParametersPanel.tsx +0 -431
  510. package/src/components/query-builder/QueryBuilderPropertyExpressionEditor.tsx +0 -376
  511. package/src/components/query-builder/QueryBuilderResultPanel.tsx +0 -640
  512. package/src/components/query-builder/QueryBuilderSideBar.tsx +0 -421
  513. package/src/components/query-builder/QueryBuilderTextEditor.tsx +0 -127
  514. package/src/components/query-builder/QueryBuilderUnsupportedQueryEditor.tsx +0 -88
  515. package/src/components/query-builder/QueryBuilder_TestID.ts +0 -26
  516. package/src/components/query-builder/explorer/QueryBuilderExplorerPanel.tsx +0 -934
  517. package/src/components/query-builder/explorer/QueryBuilderFunctionsExplorerPanel.tsx +0 -554
  518. package/src/components/query-builder/explorer/QueryBuilderMilestoneEditor.tsx +0 -296
  519. package/src/components/query-builder/explorer/QueryBuilderPropertySearchPanel.tsx +0 -617
  520. package/src/components/query-builder/fetch-structure/QueryBuilderFetchStructurePanel.tsx +0 -112
  521. package/src/components/query-builder/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +0 -276
  522. package/src/components/query-builder/fetch-structure/QueryBuilderPostFilterPanel.tsx +0 -1103
  523. package/src/components/query-builder/fetch-structure/QueryBuilderProjectionPanel.tsx +0 -649
  524. package/src/components/query-builder/fetch-structure/QueryBuilderResultModifierPanel.tsx +0 -254
  525. package/src/components/query-builder/filter/QueryBuilderFilterPanel.tsx +0 -891
  526. package/src/components/query-builder/shared/ElementIconUtils.tsx +0 -47
  527. package/src/components/query-builder/shared/QueryBuilderLambdaEditor.tsx +0 -120
  528. package/src/components/query-builder/shared/QueryBuilderPanelIssueCountBadge.tsx +0 -40
  529. package/src/components/query-builder/shared/QueryBuilderPropertyInfoTooltip.tsx +0 -87
  530. package/src/components/query-builder/workflows/ClassQueryBuilder.tsx +0 -198
  531. package/src/components/query-builder/workflows/MappingQueryBuilder.tsx +0 -195
  532. package/src/components/query-builder/workflows/ServiceQueryBuilder.tsx +0 -192
  533. package/src/graphManager/QueryBuilderSupportedFunctions.ts +0 -67
  534. package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +0 -32
  535. package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +0 -33
  536. package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -22
  537. package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +0 -22
  538. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -47
  539. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -27
  540. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +0 -167
  541. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +0 -571
  542. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +0 -28
  543. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +0 -296
  544. package/src/stores/query-builder/QueryBuilderChangeDetectionState.ts +0 -37
  545. package/src/stores/query-builder/QueryBuilderConfig.ts +0 -34
  546. package/src/stores/query-builder/QueryBuilderGroupOperationHelper.ts +0 -54
  547. package/src/stores/query-builder/QueryBuilderMilestoningState.ts +0 -164
  548. package/src/stores/query-builder/QueryBuilderParametersState.ts +0 -52
  549. package/src/stores/query-builder/QueryBuilderPreviewDataHelper.ts +0 -202
  550. package/src/stores/query-builder/QueryBuilderPropertyEditorState.ts +0 -668
  551. package/src/stores/query-builder/QueryBuilderResultState.ts +0 -281
  552. package/src/stores/query-builder/QueryBuilderState.ts +0 -470
  553. package/src/stores/query-builder/QueryBuilderStateBuilder.ts +0 -585
  554. package/src/stores/query-builder/QueryBuilderStateTestUtils.ts +0 -91
  555. package/src/stores/query-builder/QueryBuilderTextEditorState.ts +0 -203
  556. package/src/stores/query-builder/QueryBuilderTypeaheadHelper.ts +0 -152
  557. package/src/stores/query-builder/QueryBuilderUnsupportedQueryState.ts +0 -44
  558. package/src/stores/query-builder/QueryBuilderValueSpecificationBuilder.ts +0 -179
  559. package/src/stores/query-builder/QueryBuilderValueSpecificationBuilderHelper.ts +0 -256
  560. package/src/stores/query-builder/QueryBuilderValueSpecificationHelper.ts +0 -359
  561. package/src/stores/query-builder/explorer/QueryBuilderExplorerState.ts +0 -813
  562. package/src/stores/query-builder/explorer/QueryBuilderPropertySearchState.ts +0 -333
  563. package/src/stores/query-builder/explorer/QueryFunctionsExplorerState.ts +0 -375
  564. package/src/stores/query-builder/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +0 -65
  565. package/src/stores/query-builder/fetch-structure/QueryBuilderFetchStructureState.ts +0 -107
  566. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +0 -240
  567. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +0 -131
  568. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +0 -282
  569. package/src/stores/query-builder/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +0 -154
  570. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +0 -327
  571. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionState.ts +0 -569
  572. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +0 -426
  573. package/src/stores/query-builder/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +0 -416
  574. package/src/stores/query-builder/fetch-structure/projection/QueryResultSetModifierState.ts +0 -95
  575. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +0 -79
  576. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -41
  577. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +0 -145
  578. package/src/stores/query-builder/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +0 -228
  579. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +0 -109
  580. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +0 -98
  581. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +0 -106
  582. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +0 -96
  583. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +0 -173
  584. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +0 -155
  585. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +0 -174
  586. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +0 -174
  587. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +0 -98
  588. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +0 -98
  589. package/src/stores/query-builder/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +0 -88
  590. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +0 -66
  591. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -65
  592. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +0 -807
  593. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +0 -297
  594. package/src/stores/query-builder/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -121
  595. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +0 -129
  596. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +0 -140
  597. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +0 -135
  598. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +0 -218
  599. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +0 -143
  600. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -70
  601. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +0 -183
  602. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +0 -113
  603. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +0 -143
  604. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -70
  605. package/src/stores/query-builder/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +0 -135
  606. package/src/stores/query-builder/filter/QueryBuilderFilterOperator.ts +0 -52
  607. package/src/stores/query-builder/filter/QueryBuilderFilterOperatorLoader.ts +0 -65
  608. package/src/stores/query-builder/filter/QueryBuilderFilterState.ts +0 -736
  609. package/src/stores/query-builder/filter/QueryBuilderFilterStateBuilder.ts +0 -155
  610. package/src/stores/query-builder/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -120
  611. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperatorHelper.ts +0 -524
  612. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Contain.ts +0 -134
  613. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_EndWith.ts +0 -134
  614. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -211
  615. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +0 -145
  616. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +0 -145
  617. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_In.ts +0 -181
  618. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +0 -125
  619. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThan.ts +0 -145
  620. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +0 -145
  621. package/src/stores/query-builder/filter/operators/QueryBuilderFilterOperator_StartWith.ts +0 -134
  622. package/src/stores/query-builder/workflows/ClassQueryBuilderState.ts +0 -80
  623. package/src/stores/query-builder/workflows/MappingQueryBuilderState.ts +0 -86
  624. package/src/stores/query-builder/workflows/ServiceQueryBuilderState.ts +0 -143
@@ -1,311 +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, guaranteeType, UnsupportedOperationError, } from '@finos/legend-shared';
17
- import { MILESTONING_STEREOTYPE, matchFunctionName, Class, SimpleFunctionExpression, getMilestoneTemporalStereotype, } from '@finos/legend-graph';
18
- import { processTDSPostFilterExpression } from './fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js';
19
- import { LambdaParameterState } from '@finos/legend-application';
20
- import { processFilterExpression } from './filter/QueryBuilderFilterStateBuilder.js';
21
- import { processTDSAggregateExpression, processTDSGroupByExpression, } from './fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js';
22
- import { processGraphFetchExpression, processGraphFetchSerializeExpression, } from './fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js';
23
- import { processTDSDistinctExpression, processTDSProjectExpression, processTDSProjectionColumnPropertyExpression, processTDSProjectionDerivationExpression, processTDSSortDirectionExpression, processTDSSortExpression, processTDSTakeExpression, } from './fetch-structure/projection/QueryBuilderProjectionStateBuilder.js';
24
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graphManager/QueryBuilderSupportedFunctions.js';
25
- const processGetAllExpression = (expression, queryBuilderState) => {
26
- const _class = expression.genericType?.value.rawType;
27
- assertType(_class, Class, `Can't process getAll() expression: getAll() return type is missing`);
28
- queryBuilderState.setClass(_class);
29
- queryBuilderState.milestoningState.updateMilestoningConfiguration();
30
- queryBuilderState.explorerState.refreshTreeData();
31
- // check parameters (milestoning) and build state
32
- let acceptedNoOfParameters = 1;
33
- const stereotype = getMilestoneTemporalStereotype(_class, queryBuilderState.graphManagerState.graph);
34
- switch (stereotype) {
35
- case MILESTONING_STEREOTYPE.BITEMPORAL:
36
- acceptedNoOfParameters = 3;
37
- assertTrue(expression.parametersValues.length === acceptedNoOfParameters, `Can't process getAll() expression: when used with a bitemporal milestoned class getAll() expects two parameters`);
38
- queryBuilderState.milestoningState.setProcessingDate(expression.parametersValues[1]);
39
- queryBuilderState.milestoningState.setBusinessDate(expression.parametersValues[2]);
40
- break;
41
- case MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL:
42
- acceptedNoOfParameters = 2;
43
- assertTrue(expression.parametersValues.length === acceptedNoOfParameters, `Can't process getAll() expression: when used with a milestoned class getAll() expects a parameter`);
44
- queryBuilderState.milestoningState.setBusinessDate(expression.parametersValues[1]);
45
- break;
46
- case MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL:
47
- acceptedNoOfParameters = 2;
48
- assertTrue(expression.parametersValues.length === acceptedNoOfParameters, `Can't process getAll() expression: when used with a milestoned class getAll() expects a parameter`);
49
- queryBuilderState.milestoningState.setProcessingDate(expression.parametersValues[1]);
50
- break;
51
- default:
52
- assertTrue(expression.parametersValues.length === acceptedNoOfParameters, `Can't process getAll() expression: getAll() expects no arguments`);
53
- }
54
- };
55
- /**
56
- * This is the value specification processor (a.k.a state builder) for query builder.
57
- *
58
- * Unlike value specification builder which takes care of transforming the value specification
59
- * from `protocol` to `metamodel`, and doing some (naive) type-inferencing, the processor takes care
60
- * of traversing the query, analyzing it to build the query builder state. The processor represents
61
- * a particular way we want to look at the query, if the query is not like what the processor
62
- * expects, or understands, query builder state could not be built, i.e. the query will be deemed
63
- * unsupported by query builder
64
- *
65
- * NOTE: While traversing the expression, this processor also does a fair amount of
66
- * validations and assertions--enough to properly build the state. Unlike the builder,
67
- * the processor should NEVER modify the metamodel, just traversing it.
68
- */
69
- export class QueryBuilderValueSpecificationProcessor {
70
- queryBuilderState;
71
- /**
72
- * A value specification is a tree of value specifications.
73
- *
74
- * This structure may not intuitively correspond to how we write it in Pure
75
- * For example, consider the following expression in Pure:
76
- *
77
- * | Person.all()->filter(x|$x.age > 0)->project([x|$x.name], ['Name'])->sort([desc('Name')]);
78
- *
79
- * which is equivalent to the more cryptic version:
80
- *
81
- * | sort(project(filter(all(Person), x|$x.age > 0), [x|$x.name], ['Name']), [desc('Name')]);
82
- *
83
- * Hence, the metamodel looks something like this (with some parts redacted)
84
- * {
85
- * "function": "sort",
86
- * "parameters": [
87
- * {
88
- * "function": "project",
89
- * "parameters": [
90
- * {
91
- * "function": "filter",
92
- * "parameters": [
93
- * {
94
- * "function": "getAll",
95
- * ...
96
- * },
97
- * ... // filter() expression
98
- * ]
99
- * },
100
- * ... // project() expression column and alias
101
- * ]
102
- * },
103
- * {
104
- * "_type": "collection",
105
- * "values": [
106
- * {
107
- * "function": "desc",
108
- * ... // desc() expression
109
- * }
110
- * ]
111
- * }
112
- * ]
113
- * }
114
- *
115
- * The first grammar form is farily declarative in nature and perhaps more intuitive.
116
- * We tend to think, in terms of order of running:
117
- * all() --> filter() --> project() --> sort()
118
- *
119
- * However, in reality, when the expression is used or read, the order of traversal is reversed:
120
- * sort() --> project() --> filter() --> all()
121
- *
122
- * Now, in the context of the value specification processor, we need information about preceding
123
- * expression in order to validate the usage context of functions, (for example, we want to only
124
- * support project() after all() or filter()). In the case of function expression chain,
125
- * we have to look at the function expression first parameter. There are some other context,
126
- * such as what happens within the second parameter of the sort() expression
127
- * in this case, we have the desc() expression, but it's not part of the main expression chain;
128
- * however, we need to verify desc() is used within sort(), in this case, we have to record
129
- * the parent expression. This is when the following attribute comes into use when processing
130
- * value specification.
131
- */
132
- parentExpression;
133
- constructor(queryBuilderState, parentExpression) {
134
- this.queryBuilderState = queryBuilderState;
135
- this.parentExpression = parentExpression;
136
- }
137
- static process(valueSpecification, queryBuilderState) {
138
- valueSpecification.accept_ValueSpecificationVisitor(new QueryBuilderValueSpecificationProcessor(queryBuilderState, undefined));
139
- }
140
- /**
141
- * Process value specification with information about parent function expression
142
- * in order to be used in some validation/assertion
143
- */
144
- static processChild(valueSpecification, parentExpression, queryBuilderState) {
145
- valueSpecification.accept_ValueSpecificationVisitor(new QueryBuilderValueSpecificationProcessor(queryBuilderState, parentExpression));
146
- }
147
- visit_INTERNAL__UnknownValueSpecification(valueSpecification) {
148
- assertNonNullable(this.parentExpression, `Can't process unknown value: parent expression cannot be retrieved`);
149
- if (matchFunctionName(this.parentExpression.functionName, [
150
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
151
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
152
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG,
153
- ])) {
154
- processTDSProjectionDerivationExpression(valueSpecification, this.parentExpression, this.queryBuilderState);
155
- return;
156
- }
157
- throw new UnsupportedOperationError(`Can't process unknown value with parent expression of function ${this.parentExpression.functionName}()`);
158
- }
159
- visit_RootGraphFetchTreeInstanceValue(valueSpecification) {
160
- throw new UnsupportedOperationError();
161
- }
162
- visit_PropertyGraphFetchTreeInstanceValue(valueSpecification) {
163
- throw new UnsupportedOperationError();
164
- }
165
- visit_AlloySerializationConfigInstanceValue(valueSpecification) {
166
- throw new UnsupportedOperationError();
167
- }
168
- visit_PrimitiveInstanceValue(valueSpecification) {
169
- throw new UnsupportedOperationError();
170
- }
171
- visit_EnumValueInstanceValue(valueSpecification) {
172
- throw new UnsupportedOperationError();
173
- }
174
- visit_RuntimeInstanceValue(valueSpecification) {
175
- throw new UnsupportedOperationError();
176
- }
177
- visit_PairInstanceValue(valueSpecification) {
178
- throw new UnsupportedOperationError();
179
- }
180
- visit_MappingInstanceValue(valueSpecification) {
181
- throw new UnsupportedOperationError();
182
- }
183
- visit_PureListInstanceValue(valueSpecification) {
184
- throw new UnsupportedOperationError();
185
- }
186
- visit_CollectionInstanceValue(valueSpecification) {
187
- throw new UnsupportedOperationError();
188
- }
189
- visit_FunctionExpression(valueSpecification) {
190
- throw new UnsupportedOperationError();
191
- }
192
- visit_INTERNAL__PropagatedValue(valueSpecification) {
193
- throw new UnsupportedOperationError();
194
- }
195
- visit_SimpleFunctionExpression(valueSpecification) {
196
- const functionName = valueSpecification.functionName;
197
- if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL)) {
198
- processGetAllExpression(valueSpecification, this.queryBuilderState);
199
- return;
200
- }
201
- else if (matchFunctionName(functionName, [
202
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER,
203
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER,
204
- ])) {
205
- // NOTE: for filter, since it sometimes can be ambiguous
206
- // whether meta::pure::functions::collection::filter() was used
207
- // or meta::pure::tds::filter() was used, we have to have custom logic
208
- // to determine
209
- // check parameters
210
- assertTrue(valueSpecification.parametersValues.length === 2, `Can't process filter() expression: filter() expects 1 argument`);
211
- // check preceding expression
212
- const precedingExpression = guaranteeType(valueSpecification.parametersValues[0], SimpleFunctionExpression, `Can't process filter() expression: only support filter() immediately following an expression`);
213
- QueryBuilderValueSpecificationProcessor.process(precedingExpression, this.queryBuilderState);
214
- if (matchFunctionName(precedingExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL)) {
215
- assertTrue(matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER), `Can't process filter() expression: only supports ${QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER}() immediately following getAll() (got '${functionName}')`);
216
- processFilterExpression(valueSpecification, this.queryBuilderState);
217
- return;
218
- }
219
- else if (matchFunctionName(precedingExpression.functionName, [
220
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
221
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
222
- ])) {
223
- assertTrue(matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER), `Can't process post-filter expression: only supports ${QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER}() immediately following project()/groupBy() (got '${functionName}')`);
224
- processTDSPostFilterExpression(valueSpecification, this.queryBuilderState);
225
- return;
226
- }
227
- else {
228
- throw new UnsupportedOperationError(`Can't process filter() expression: only support filter() immediately following getAll() or project()/groupBy()`);
229
- }
230
- }
231
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT)) {
232
- processTDSProjectExpression(valueSpecification, this.queryBuilderState);
233
- return;
234
- }
235
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE)) {
236
- processTDSTakeExpression(valueSpecification, this.queryBuilderState);
237
- return;
238
- }
239
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT)) {
240
- processTDSDistinctExpression(valueSpecification, this.queryBuilderState);
241
- return;
242
- }
243
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT)) {
244
- processTDSSortExpression(valueSpecification, this.queryBuilderState);
245
- return;
246
- }
247
- else if (matchFunctionName(functionName, [
248
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_ASC,
249
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DESC,
250
- ])) {
251
- processTDSSortDirectionExpression(valueSpecification, this.parentExpression, this.queryBuilderState);
252
- return;
253
- }
254
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY)) {
255
- processTDSGroupByExpression(valueSpecification, this.queryBuilderState);
256
- return;
257
- }
258
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG)) {
259
- processTDSAggregateExpression(valueSpecification, this.parentExpression, this.queryBuilderState);
260
- return;
261
- }
262
- else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SERIALIZE)) {
263
- processGraphFetchSerializeExpression(valueSpecification, this.queryBuilderState);
264
- return;
265
- }
266
- else if (matchFunctionName(functionName, [
267
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH_CHECKED,
268
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH,
269
- ])) {
270
- processGraphFetchExpression(valueSpecification, this.queryBuilderState);
271
- return;
272
- }
273
- throw new UnsupportedOperationError(`Can't process expression of function ${functionName}()`);
274
- }
275
- visit_VariableExpression(valueSpecification) {
276
- throw new UnsupportedOperationError();
277
- }
278
- visit_LambdaFunctionInstanceValue(valueSpecification) {
279
- valueSpecification.values.forEach((value) => value.expressionSequence.forEach((expression) => expression.accept_ValueSpecificationVisitor(new QueryBuilderValueSpecificationProcessor(this.queryBuilderState, this.parentExpression))));
280
- }
281
- visit_AbstractPropertyExpression(valueSpecification) {
282
- assertNonNullable(this.parentExpression, `Can't process property expression: parent expression cannot be retrieved`);
283
- if (matchFunctionName(this.parentExpression.functionName, [
284
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
285
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
286
- QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG,
287
- ])) {
288
- processTDSProjectionColumnPropertyExpression(valueSpecification, this.queryBuilderState);
289
- return;
290
- }
291
- throw new UnsupportedOperationError(`Can't process property expression with parent expression of function ${this.parentExpression.functionName}()`);
292
- }
293
- visit_InstanceValue(valueSpecification) {
294
- throw new UnsupportedOperationError();
295
- }
296
- }
297
- export const processParameters = (parameters, queryBuilderState) => {
298
- const queryParameterState = queryBuilderState.parametersState;
299
- parameters.forEach((parameter) => {
300
- const parameterState = new LambdaParameterState(parameter, queryBuilderState.observableContext, queryBuilderState.graphManagerState.graph);
301
- parameterState.mockParameterValue();
302
- queryParameterState.addParameter(parameterState);
303
- });
304
- };
305
- export const processQueryLambdaFunction = (lambdaFunction, queryBuilderState) => {
306
- if (lambdaFunction.functionType.parameters.length) {
307
- processParameters(lambdaFunction.functionType.parameters, queryBuilderState);
308
- }
309
- lambdaFunction.expressionSequence.map((expression) => QueryBuilderValueSpecificationProcessor.process(expression, queryBuilderState));
310
- };
311
- //# sourceMappingURL=QueryBuilderStateBuilder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/query-builder/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAcL,sBAAsB,EACtB,iBAAiB,EACjB,K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,0BAA0B,GAAG,CACxC,cAA8B,EAC9B,iBAAoC,EAC9B,EAAE;IACR,IAAI,cAAc,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE;QACjD,iBAAiB,CACf,cAAc,CAAC,YAAY,CAAC,UAAU,EACtC,iBAAiB,CAClB,CAAC;KACH;IACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CACnD,uCAAuC,CAAC,OAAO,CAC7C,UAAU,EACV,iBAAiB,CAClB,CACF,CAAC;AACJ,CAAC,CAAC"}
@@ -1,24 +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, type RawMappingModelCoverageAnalysisResult } from '@finos/legend-graph';
17
- import type { Entity } from '@finos/legend-storage';
18
- import { type QueryBuilderState } from './QueryBuilderState.js';
19
- export declare const TEST__setUpQueryBuilderState: (entities: Entity[], rawLambda?: RawLambda | undefined, executionContext?: {
20
- _class: string;
21
- mapping: string;
22
- runtime?: string | undefined;
23
- } | undefined, rawMappingModelCoverageAnalysisResult?: RawMappingModelCoverageAnalysisResult | undefined) => Promise<QueryBuilderState>;
24
- //# sourceMappingURL=QueryBuilderStateTestUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderStateTestUtils.d.ts","sourceRoot":"","sources":["../../../src/stores/query-builder/QueryBuilderStateTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,qCAAqC,EAG3C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAKpD,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,wBAAwB,CAAC;AAGhC,eAAO,MAAM,4BAA4B,aAC7B,MAAM,EAAE,cACN,SAAS,GAAG,SAAS,qBAE7B;IACE,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,GACD,SAAS,0CAET,qCAAqC,GACrC,SAAS,KACZ,QAAQ,iBAAiB,CA2C3B,CAAC"}
@@ -1,50 +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 { TEST__getTestApplicationStore } from '@finos/legend-application';
17
- import { TEST__buildGraphWithEntities, TEST__getTestGraphManagerState, } from '@finos/legend-graph';
18
- import { jest } from '@jest/globals';
19
- import { flowResult } from 'mobx';
20
- import { LegendQueryPluginManager } from '../../application/LegendQueryPluginManager.js';
21
- import { QueryBuilder_GraphManagerPreset } from '../../graphManager/QueryBuilder_GraphManagerPreset.js';
22
- import { INTERNAL__BasicQueryBuilderState, } from './QueryBuilderState.js';
23
- import { TEST__getTestLegendQueryApplicationConfig } from '../QueryEditorStoreTestUtils.js';
24
- export const TEST__setUpQueryBuilderState = async (entities, rawLambda, executionContext, rawMappingModelCoverageAnalysisResult) => {
25
- const pluginManager = LegendQueryPluginManager.create();
26
- pluginManager.usePresets([new QueryBuilder_GraphManagerPreset()]).install();
27
- const applicationStore = TEST__getTestApplicationStore(TEST__getTestLegendQueryApplicationConfig(), LegendQueryPluginManager.create());
28
- const graphManagerState = TEST__getTestGraphManagerState(pluginManager);
29
- await TEST__buildGraphWithEntities(graphManagerState, entities);
30
- const queryBuilderState = new INTERNAL__BasicQueryBuilderState(applicationStore, graphManagerState);
31
- if (rawLambda) {
32
- queryBuilderState.rebuildWithQuery(rawLambda);
33
- }
34
- if (executionContext) {
35
- const graph = queryBuilderState.graphManagerState.graph;
36
- queryBuilderState.class = graph.getClass(executionContext._class);
37
- queryBuilderState.mapping = graph.getMapping(executionContext.mapping);
38
- if (executionContext.runtime) {
39
- queryBuilderState.runtimeValue = graph.getRuntime(executionContext.runtime);
40
- }
41
- }
42
- if (rawMappingModelCoverageAnalysisResult) {
43
- jest
44
- .spyOn(queryBuilderState.graphManagerState.graphManager, 'analyzeMappingModelCoverage')
45
- .mockResolvedValue(queryBuilderState.graphManagerState.graphManager.buildMappingModelCoverageAnalysisResult(rawMappingModelCoverageAnalysisResult));
46
- await flowResult(queryBuilderState.explorerState.analyzeMappingModelCoverage());
47
- }
48
- return queryBuilderState;
49
- };
50
- //# sourceMappingURL=QueryBuilderStateTestUtils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderStateTestUtils.js","sourceRoot":"","sources":["../../../src/stores/query-builder/QueryBuilderStateTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAGL,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,+BAA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KAAK,CACJ,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,EAChD,6BAA6B,CAC9B;aACA,iBAAiB,CAChB,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACtF,qCAAqC,CACtC,CACF,CAAC;QAEJ,MAAM,UAAU,CACd,iBAAiB,CAAC,aAAa,CAAC,2BAA2B,EAAE,CAC9D,CAAC;KACH;IACD,OAAO,iBAAiB,CAAC;AAC3B,CAAC,CAAC"}
@@ -1,49 +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 { RawLambda } from '@finos/legend-graph';
17
- import { type GeneratorFn } from '@finos/legend-shared';
18
- import type { QueryBuilderState } from './QueryBuilderState.js';
19
- import { LambdaEditorState } from '@finos/legend-application';
20
- export declare class QueryBuilderRawLambdaState {
21
- lambda: RawLambda;
22
- constructor(lambda: RawLambda);
23
- setLambda(lambda: RawLambda): void;
24
- }
25
- export declare enum QueryBuilderTextEditorMode {
26
- TEXT = "TEXT",
27
- JSON = "JSON"
28
- }
29
- export declare class QueryBuilderTextEditorState extends LambdaEditorState {
30
- queryBuilderState: QueryBuilderState;
31
- rawLambdaState: QueryBuilderRawLambdaState;
32
- isConvertingLambdaToString: boolean;
33
- mode: QueryBuilderTextEditorMode | undefined;
34
- /**
35
- * This is used to store the JSON string when viewing the query in JSON mode
36
- * TODO: consider moving this to another state if we need to simplify the logic of text-mode
37
- */
38
- readOnlylambdaJson: string;
39
- constructor(queryBuilderState: QueryBuilderState);
40
- get lambdaId(): string;
41
- setQueryRawLambdaState(rawLambdaState: QueryBuilderRawLambdaState): void;
42
- setMode(openModal: QueryBuilderTextEditorMode | undefined): void;
43
- setLambdaJson(lambdaJson: string): void;
44
- convertLambdaGrammarStringToObject(): GeneratorFn<void>;
45
- convertLambdaObjectToGrammarString(pretty: boolean): GeneratorFn<void>;
46
- openModal(mode: QueryBuilderTextEditorMode): void;
47
- closeModal(): GeneratorFn<void>;
48
- }
49
- //# sourceMappingURL=QueryBuilderTextEditorState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderTextEditorState.d.ts","sourceRoot":"","sources":["../../../src/stores/query-builder/QueryBuilderTextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,SAAS,EAGV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAY,MAAM,2BAA2B,CAAC;AAExE,qBAAa,0BAA0B;IACrC,MAAM,EAAE,SAAS,CAAC;gBAEN,MAAM,EAAE,SAAS;IAS7B,SAAS,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI;CAGnC;AAED,oBAAY,0BAA0B;IACpC,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,qBAAa,2BAA4B,SAAQ,iBAAiB;IAChE,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,0BAA0B,CAAC;IAC3C,0BAA0B,UAAS;IACnC,IAAI,EAAE,0BAA0B,GAAG,SAAS,CAAC;IAC7C;;;OAGG;IACH,kBAAkB,SAAM;gBAEZ,iBAAiB,EAAE,iBAAiB;IAiBhD,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,sBAAsB,CAAC,cAAc,EAAE,0BAA0B,GAAG,IAAI;IAIxE,OAAO,CAAC,SAAS,EAAE,0BAA0B,GAAG,SAAS,GAAG,IAAI;IAIhE,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAItC,kCAAkC,IAAI,WAAW,CAAC,IAAI,CAAC;IA4BvD,kCAAkC,CAAC,MAAM,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;IAuCvE,SAAS,CAAC,IAAI,EAAE,0BAA0B,GAAG,IAAI;IAqBhD,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC;CAejC"}
@@ -1,145 +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 { GRAPH_MANAGER_EVENT, buildSourceInformationSourceId, ParserError, RawLambda, stub_RawLambda, pruneSourceInformation, } from '@finos/legend-graph';
17
- import { assertErrorThrown, LogEvent, } from '@finos/legend-shared';
18
- import { observable, action, flow, makeObservable, flowResult } from 'mobx';
19
- import { LambdaEditorState, TAB_SIZE } from '@finos/legend-application';
20
- export class QueryBuilderRawLambdaState {
21
- lambda;
22
- constructor(lambda) {
23
- this.lambda = lambda;
24
- makeObservable(this, {
25
- lambda: observable,
26
- setLambda: action,
27
- });
28
- }
29
- setLambda(lambda) {
30
- this.lambda = lambda;
31
- }
32
- }
33
- export var QueryBuilderTextEditorMode;
34
- (function (QueryBuilderTextEditorMode) {
35
- QueryBuilderTextEditorMode["TEXT"] = "TEXT";
36
- QueryBuilderTextEditorMode["JSON"] = "JSON";
37
- })(QueryBuilderTextEditorMode = QueryBuilderTextEditorMode || (QueryBuilderTextEditorMode = {}));
38
- export class QueryBuilderTextEditorState extends LambdaEditorState {
39
- queryBuilderState;
40
- rawLambdaState;
41
- isConvertingLambdaToString = false;
42
- mode;
43
- /**
44
- * This is used to store the JSON string when viewing the query in JSON mode
45
- * TODO: consider moving this to another state if we need to simplify the logic of text-mode
46
- */
47
- readOnlylambdaJson = '';
48
- constructor(queryBuilderState) {
49
- super('', '');
50
- makeObservable(this, {
51
- rawLambdaState: observable,
52
- isConvertingLambdaToString: observable,
53
- mode: observable,
54
- setQueryRawLambdaState: action,
55
- setMode: action,
56
- openModal: action,
57
- closeModal: flow,
58
- });
59
- this.queryBuilderState = queryBuilderState;
60
- this.rawLambdaState = new QueryBuilderRawLambdaState(stub_RawLambda());
61
- }
62
- get lambdaId() {
63
- return buildSourceInformationSourceId(['query-builder']);
64
- }
65
- setQueryRawLambdaState(rawLambdaState) {
66
- this.rawLambdaState = rawLambdaState;
67
- }
68
- setMode(openModal) {
69
- this.mode = openModal;
70
- }
71
- setLambdaJson(lambdaJson) {
72
- this.readOnlylambdaJson = lambdaJson;
73
- }
74
- *convertLambdaGrammarStringToObject() {
75
- const emptyLambda = stub_RawLambda();
76
- if (this.lambdaString) {
77
- try {
78
- const lambda = (yield this.queryBuilderState.graphManagerState.graphManager.pureCodeToLambda(this.fullLambdaString, this.lambdaId, { pruneSourceInformation: true }));
79
- this.setParserError(undefined);
80
- this.rawLambdaState.setLambda(lambda);
81
- }
82
- catch (error) {
83
- assertErrorThrown(error);
84
- if (error instanceof ParserError) {
85
- this.setParserError(error);
86
- }
87
- this.queryBuilderState.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE), error);
88
- }
89
- }
90
- else {
91
- this.clearErrors();
92
- this.rawLambdaState.setLambda(emptyLambda);
93
- }
94
- }
95
- *convertLambdaObjectToGrammarString(pretty) {
96
- if (this.rawLambdaState.lambda.body) {
97
- this.isConvertingLambdaToString = true;
98
- try {
99
- const lambdas = new Map();
100
- lambdas.set(this.lambdaId, new RawLambda(this.rawLambdaState.lambda.parameters, this.rawLambdaState.lambda.body));
101
- const isolatedLambdas = (yield this.queryBuilderState.graphManagerState.graphManager.lambdasToPureCode(lambdas, pretty));
102
- const grammarText = isolatedLambdas.get(this.lambdaId);
103
- this.setLambdaString(grammarText !== undefined
104
- ? this.extractLambdaString(grammarText)
105
- : '');
106
- this.clearErrors();
107
- this.isConvertingLambdaToString = false;
108
- }
109
- catch (error) {
110
- assertErrorThrown(error);
111
- this.queryBuilderState.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE), error);
112
- this.isConvertingLambdaToString = false;
113
- }
114
- }
115
- else {
116
- this.clearErrors();
117
- this.setLambdaString('');
118
- }
119
- }
120
- openModal(mode) {
121
- const rawLambda = this.queryBuilderState.buildQuery();
122
- if (mode === QueryBuilderTextEditorMode.TEXT) {
123
- this.setQueryRawLambdaState(new QueryBuilderRawLambdaState(rawLambda));
124
- }
125
- if (mode === QueryBuilderTextEditorMode.JSON) {
126
- this.setLambdaJson(JSON.stringify(pruneSourceInformation(this.queryBuilderState.graphManagerState.graphManager.serializeRawValueSpecification(rawLambda)), null, TAB_SIZE));
127
- }
128
- this.setMode(mode);
129
- }
130
- *closeModal() {
131
- if (this.mode === QueryBuilderTextEditorMode.TEXT) {
132
- yield flowResult(this.convertLambdaGrammarStringToObject());
133
- if (this.parserError) {
134
- this.queryBuilderState.applicationStore.notifyError(`Can't parse query. Please fix error before closing: ${this.parserError.message}`);
135
- }
136
- else {
137
- this.queryBuilderState.initialize(this.rawLambdaState.lambda);
138
- this.setMode(undefined);
139
- }
140
- return;
141
- }
142
- this.setMode(undefined);
143
- }
144
- }
145
- //# sourceMappingURL=QueryBuilderTextEditorState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderTextEditorState.js","sourceRoot":"","sources":["../../../src/stores/query-builder/QueryBuilderTextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mB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version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { type AbstractPropertyExpression, type ExecutionResult, type ValueSpecification, type RawLambda } from '@finos/legend-graph';
17
- import type { QueryBuilderAggregateColumnState } from './fetch-structure/projection/aggregation/QueryBuilderAggregationState.js';
18
- import { QueryBuilderProjectionColumnState } from './fetch-structure/projection/QueryBuilderProjectionColumnState.js';
19
- import type { QueryBuilderState } from './QueryBuilderState.js';
20
- export declare const buildPropertyTypeaheadQuery: (queryBuilderState: QueryBuilderState, propertyExpression: AbstractPropertyExpression, value: ValueSpecification | undefined) => RawLambda;
21
- export declare const buildProjectionColumnTypeaheadQuery: (queryBuilderState: QueryBuilderState, columnState: QueryBuilderProjectionColumnState | QueryBuilderAggregateColumnState, value: ValueSpecification | undefined) => RawLambda;
22
- export declare const buildTypeaheadOptions: (result: ExecutionResult) => string[];
23
- export declare const performTypeahead: (val: ValueSpecification | undefined) => boolean;
24
- //# sourceMappingURL=QueryBuilderTypeaheadHelper.d.ts.map