@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,395 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { action, makeAutoObservable } from 'mobx';
17
- import { getNullableFirstElement, guaranteeNonNullable, guaranteeType, isCamelCase, prettyCamelCase, prettyCONSTName, } from '@finos/legend-shared';
18
- import { Class, TYPICAL_MULTIPLICITY_TYPE, CollectionInstanceValue, AbstractPropertyExpression, DerivedProperty, Enumeration, EnumValueExplicitReference, EnumValueInstanceValue, InstanceValue, PrimitiveInstanceValue, PRIMITIVE_TYPE, VariableExpression, getMilestoneTemporalStereotype, MILESTONING_STEREOTYPE, SimpleFunctionExpression, matchFunctionName, TYPE_CAST_TOKEN, observe_AbstractPropertyExpression, GenericTypeExplicitReference, GenericType, DEFAULT_BUSINESS_DATE_MILESTONING_PARAMETER_NAME, DEFAULT_PROCESSING_DATE_MILESTONING_PARAMETER_NAME, INTERNAL__PropagatedValue, Association, getGeneratedMilestonedPropertiesForAssociation, } from '@finos/legend-graph';
19
- import { generateDefaultValueForPrimitiveType } from './QueryBuilderValueSpecificationHelper.js';
20
- import { functionExpression_setParametersValues } from '@finos/legend-application';
21
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graphManager/QueryBuilderSupportedFunctions.js';
22
- export const getDerivedPropertyMilestoningSteoreotype = (property, graph) => {
23
- const owner = property._OWNER;
24
- if (owner instanceof Class) {
25
- return getMilestoneTemporalStereotype(owner, graph);
26
- }
27
- else if (owner instanceof Association) {
28
- const generatedMilestonedProperties = getGeneratedMilestonedPropertiesForAssociation(owner, property);
29
- if (generatedMilestonedProperties.length) {
30
- const ownerClass = generatedMilestonedProperties[0]?.genericType.value.rawType;
31
- return getMilestoneTemporalStereotype(guaranteeType(ownerClass, Class), graph);
32
- }
33
- }
34
- return undefined;
35
- };
36
- /**
37
- * Check if the parameter value of the milestoned property is
38
- * the same as those specified in global scope, so that we can
39
- * potentially replace them with propgated value.
40
- */
41
- const matchMilestoningParameterValue = (stereotype, idx, parameterValue, milestoningDate) => {
42
- const checkIfEquivalent = (param1, param2) => {
43
- if (param1 instanceof VariableExpression &&
44
- param2 instanceof VariableExpression) {
45
- return param1.name === param2.name;
46
- }
47
- else if (param1 instanceof PrimitiveInstanceValue &&
48
- param2 instanceof PrimitiveInstanceValue) {
49
- if (param1.genericType.value.rawType.name === PRIMITIVE_TYPE.LATESTDATE &&
50
- param2.genericType.value.rawType.name === PRIMITIVE_TYPE.LATESTDATE) {
51
- return true;
52
- }
53
- return (param1.genericType.value.rawType.name ===
54
- param2.genericType.value.rawType.name &&
55
- param1.values[0] === param2.values[0]);
56
- }
57
- return false;
58
- };
59
- switch (stereotype) {
60
- case MILESTONING_STEREOTYPE.BITEMPORAL:
61
- return ((idx === 0 &&
62
- checkIfEquivalent(parameterValue, milestoningDate.processingDate)) ||
63
- (idx === 1 &&
64
- checkIfEquivalent(parameterValue, milestoningDate.businessDate)));
65
- case MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL:
66
- return checkIfEquivalent(parameterValue, milestoningDate.processingDate);
67
- case MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL:
68
- return checkIfEquivalent(parameterValue, milestoningDate.businessDate);
69
- default:
70
- }
71
- return false;
72
- };
73
- export const prettyPropertyName = (value) => isCamelCase(value) ? prettyCamelCase(value) : prettyCONSTName(value);
74
- /**
75
- * Generate a parameter value for the derived property given the index if the property is milestoned.
76
- *
77
- * This method considers different scenarios for milestoning and take into account date propagation
78
- * See https://github.com/finos/legend-studio/pull/891
79
- */
80
- export const generateMilestonedPropertyParameterValue = (derivedPropertyExpressionState, idx) => {
81
- // Milestoning transformations should not be done on actual derived properties.
82
- if (derivedPropertyExpressionState.derivedProperty._OWNER.derivedProperties.includes(derivedPropertyExpressionState.derivedProperty)) {
83
- return undefined;
84
- }
85
- const milestoningState = derivedPropertyExpressionState.queryBuilderState.milestoningState;
86
- const temporalSource = getDerivedPropertyMilestoningSteoreotype(derivedPropertyExpressionState.derivedProperty, derivedPropertyExpressionState.queryBuilderState.graphManagerState.graph);
87
- const temporalTarget = derivedPropertyExpressionState.propertyExpression.func.genericType.value
88
- .rawType instanceof Class &&
89
- derivedPropertyExpressionState.propertyExpression.func._OWNER
90
- ._generatedMilestonedProperties.length !== 0
91
- ? getMilestoneTemporalStereotype(derivedPropertyExpressionState.propertyExpression.func.genericType
92
- .value.rawType, derivedPropertyExpressionState.queryBuilderState.graphManagerState
93
- .graph)
94
- : undefined;
95
- const shouldReturnMilestoningParameter = temporalTarget &&
96
- ((idx < derivedPropertyExpressionState.parameterValues.length &&
97
- (matchMilestoningParameterValue(temporalTarget, idx, guaranteeNonNullable(derivedPropertyExpressionState.parameterValues[idx]), milestoningState) ||
98
- /**
99
- * Checks if the given milestoning needs to be overwritten or not.
100
- * Specially, we would need to rewrite the query if the user passes a single parameter
101
- * to the `bitemporal` property expression with `processing temporal` source.
102
- */
103
- (getDerivedPropertyMilestoningSteoreotype(derivedPropertyExpressionState.derivedProperty, derivedPropertyExpressionState.queryBuilderState.graphManagerState
104
- .graph) === MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL &&
105
- temporalTarget === MILESTONING_STEREOTYPE.BITEMPORAL &&
106
- derivedPropertyExpressionState.parameterValues.length === 1))) ||
107
- idx >= derivedPropertyExpressionState.parameterValues.length);
108
- if (!shouldReturnMilestoningParameter) {
109
- return undefined;
110
- }
111
- switch (temporalTarget) {
112
- case MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL: {
113
- if (!milestoningState.businessDate) {
114
- milestoningState.setBusinessDate(derivedPropertyExpressionState.queryBuilderState.milestoningState.buildMilestoningParameter(DEFAULT_BUSINESS_DATE_MILESTONING_PARAMETER_NAME));
115
- }
116
- const parameter = new INTERNAL__PropagatedValue(derivedPropertyExpressionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE));
117
- parameter.getValue = () => guaranteeNonNullable(milestoningState.businessDate);
118
- return parameter;
119
- }
120
- case MILESTONING_STEREOTYPE.BITEMPORAL: {
121
- if (!milestoningState.processingDate) {
122
- milestoningState.setProcessingDate(derivedPropertyExpressionState.queryBuilderState.milestoningState.buildMilestoningParameter(DEFAULT_PROCESSING_DATE_MILESTONING_PARAMETER_NAME));
123
- }
124
- if (!milestoningState.businessDate) {
125
- milestoningState.setBusinessDate(derivedPropertyExpressionState.queryBuilderState.milestoningState.buildMilestoningParameter(DEFAULT_BUSINESS_DATE_MILESTONING_PARAMETER_NAME));
126
- }
127
- if (idx === 0) {
128
- if (temporalSource === MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL &&
129
- derivedPropertyExpressionState.parameterValues.length === 1) {
130
- return guaranteeType(derivedPropertyExpressionState.propertyExpression
131
- .parametersValues[0], AbstractPropertyExpression).parametersValues[1];
132
- }
133
- const parameter = new INTERNAL__PropagatedValue(derivedPropertyExpressionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE));
134
- parameter.getValue = () => guaranteeNonNullable(milestoningState.processingDate);
135
- return parameter;
136
- }
137
- else {
138
- if (temporalSource === MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL &&
139
- derivedPropertyExpressionState.parameterValues.length === 1) {
140
- return derivedPropertyExpressionState.parameterValues[0];
141
- }
142
- else if (temporalSource === MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL &&
143
- derivedPropertyExpressionState.parameterValues.length === 1) {
144
- return guaranteeType(derivedPropertyExpressionState.propertyExpression
145
- .parametersValues[0], AbstractPropertyExpression).parametersValues[1];
146
- }
147
- const parameter = new INTERNAL__PropagatedValue(derivedPropertyExpressionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE));
148
- parameter.getValue = () => guaranteeNonNullable(milestoningState.businessDate);
149
- return parameter;
150
- }
151
- }
152
- case MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL: {
153
- if (!milestoningState.processingDate) {
154
- milestoningState.setProcessingDate(derivedPropertyExpressionState.queryBuilderState.milestoningState.buildMilestoningParameter(DEFAULT_PROCESSING_DATE_MILESTONING_PARAMETER_NAME));
155
- }
156
- const parameter = new INTERNAL__PropagatedValue(derivedPropertyExpressionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE));
157
- parameter.getValue = () => guaranteeNonNullable(milestoningState.processingDate);
158
- return parameter;
159
- }
160
- default:
161
- return undefined;
162
- }
163
- };
164
- export const getPropertyChainName = (propertyExpression, humanizePropertyName) => {
165
- const propertyNameDecorator = humanizePropertyName
166
- ? prettyPropertyName
167
- : (val) => val;
168
- const chunks = [propertyNameDecorator(propertyExpression.func.name)];
169
- let currentExpression = propertyExpression;
170
- while (currentExpression instanceof AbstractPropertyExpression) {
171
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
172
- // Take care of chain of subtypes (a pattern that is not useful, but we want to support and potentially rectify)
173
- // $x.employees->subType(@Person)->subType(@Staff).department
174
- while (currentExpression instanceof SimpleFunctionExpression &&
175
- matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
176
- const subtypeChunk = `${TYPE_CAST_TOKEN}(${propertyNameDecorator(currentExpression.parametersValues.filter((param) => param instanceof InstanceValue)[0]?.genericType?.value.rawType.name ?? '')})`;
177
- chunks.unshift(subtypeChunk);
178
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
179
- }
180
- if (currentExpression instanceof AbstractPropertyExpression) {
181
- chunks.unshift(propertyNameDecorator(currentExpression.func.name));
182
- }
183
- }
184
- const processedChunks = [];
185
- for (const chunk of chunks) {
186
- if (!processedChunks.length) {
187
- processedChunks.push(chunk);
188
- }
189
- else {
190
- const latestProcessedChunk = guaranteeNonNullable(processedChunks[processedChunks.length - 1]);
191
- if (latestProcessedChunk.startsWith(TYPE_CAST_TOKEN)) {
192
- processedChunks[processedChunks.length - 1] = `${latestProcessedChunk}${chunk}`;
193
- }
194
- else {
195
- processedChunks.push(chunk);
196
- }
197
- }
198
- }
199
- return processedChunks.join(humanizePropertyName ? '/' : '.');
200
- };
201
- export const getPropertyPath = (propertyExpression) => {
202
- const propertyNameChain = [propertyExpression.func.name];
203
- let currentExpression = propertyExpression;
204
- while (currentExpression instanceof AbstractPropertyExpression) {
205
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
206
- if (currentExpression instanceof AbstractPropertyExpression) {
207
- propertyNameChain.unshift(currentExpression.func.name);
208
- }
209
- }
210
- return propertyNameChain.join('.');
211
- };
212
- export const generateValueSpecificationForParameter = (parameter, graph) => {
213
- if (parameter.genericType) {
214
- const type = parameter.genericType.value.rawType;
215
- if ([
216
- PRIMITIVE_TYPE.STRING,
217
- PRIMITIVE_TYPE.BOOLEAN,
218
- PRIMITIVE_TYPE.NUMBER,
219
- PRIMITIVE_TYPE.FLOAT,
220
- PRIMITIVE_TYPE.DECIMAL,
221
- PRIMITIVE_TYPE.INTEGER,
222
- PRIMITIVE_TYPE.DATE,
223
- PRIMITIVE_TYPE.STRICTDATE,
224
- PRIMITIVE_TYPE.DATETIME,
225
- PRIMITIVE_TYPE.LATESTDATE,
226
- ].includes(type.name)) {
227
- const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(
228
- // NOTE: since the default generated value for type Date is a StrictDate
229
- // we need to adjust the generic type accordingly
230
- // See https://github.com/finos/legend-studio/issues/1391
231
- type.name === PRIMITIVE_TYPE.DATE
232
- ? graph.getType(PRIMITIVE_TYPE.STRICTDATE)
233
- : type)), parameter.multiplicity);
234
- if (type.name !== PRIMITIVE_TYPE.LATESTDATE) {
235
- primitiveInstanceValue.values = [
236
- generateDefaultValueForPrimitiveType(type.name),
237
- ];
238
- }
239
- return primitiveInstanceValue;
240
- }
241
- else if (type instanceof Enumeration) {
242
- const enumValueInstanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(type)), parameter.multiplicity);
243
- if (type.values.length) {
244
- const enumValueRef = EnumValueExplicitReference.create(type.values[0]);
245
- enumValueInstanceValue.values = [enumValueRef];
246
- }
247
- return enumValueInstanceValue;
248
- }
249
- }
250
- // for arguments of types we don't support, we will fill them with `[]`
251
- // which in Pure is equivalent to `null` in other languages
252
- return new CollectionInstanceValue(graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ZERO));
253
- };
254
- const fillDerivedPropertyParameterValues = (derivedPropertyExpressionState) => {
255
- const parameterValues = derivedPropertyExpressionState.parameterValues;
256
- derivedPropertyExpressionState.parameters.forEach((parameter, idx) => {
257
- // Check if a value is already provided for a parameter
258
- if (idx < derivedPropertyExpressionState.parameterValues.length) {
259
- // Here we check if the parameter value matches with the corresponding `businessDate` or `processingDate`
260
- // NOTE: This will rewrite provided query since if people explicitly specified the parameter values,
261
- // we will overwrite them.
262
- parameterValues[idx] =
263
- generateMilestonedPropertyParameterValue(derivedPropertyExpressionState, idx) ?? guaranteeNonNullable(parameterValues[idx]);
264
- // Otherwise, we will just skip this parameter as value is already provided
265
- return;
266
- }
267
- parameterValues.push(generateMilestonedPropertyParameterValue(derivedPropertyExpressionState, idx) ??
268
- generateValueSpecificationForParameter(parameter, derivedPropertyExpressionState.queryBuilderState.graphManagerState
269
- .graph));
270
- });
271
- functionExpression_setParametersValues(derivedPropertyExpressionState.propertyExpression, [
272
- guaranteeNonNullable(derivedPropertyExpressionState.propertyExpression.parametersValues[0]),
273
- ...parameterValues,
274
- ], derivedPropertyExpressionState.queryBuilderState.observableContext);
275
- };
276
- export class QueryBuilderDerivedPropertyExpressionState {
277
- queryBuilderState;
278
- path;
279
- title;
280
- propertyExpression;
281
- derivedProperty;
282
- parameters = [];
283
- constructor(queryBuilderState, propertyExpression) {
284
- this.path = getPropertyPath(propertyExpression);
285
- this.title = getPropertyChainName(propertyExpression, true);
286
- this.propertyExpression = observe_AbstractPropertyExpression(propertyExpression, queryBuilderState.observableContext);
287
- this.queryBuilderState = queryBuilderState;
288
- this.derivedProperty = guaranteeType(propertyExpression.func, DerivedProperty);
289
- // build the parameters of the derived properties
290
- if (Array.isArray(this.derivedProperty.parameters)) {
291
- this.parameters = this.derivedProperty.parameters.map((parameter) => guaranteeType(this.queryBuilderState.graphManagerState.graphManager.buildValueSpecification(parameter, this.queryBuilderState.graphManagerState.graph), VariableExpression));
292
- }
293
- fillDerivedPropertyParameterValues(this);
294
- }
295
- get property() {
296
- return this.propertyExpression.func;
297
- }
298
- get parameterValues() {
299
- return this.propertyExpression.parametersValues.slice(1);
300
- }
301
- get isValid() {
302
- // TODO: more type matching logic here (take into account multiplicity, type, etc.)
303
- return this.parameterValues.every((paramValue) => {
304
- if (paramValue instanceof InstanceValue) {
305
- const isRequired = paramValue.multiplicity.lowerBound >= 1;
306
- // required and no values provided. LatestDate doesn't have any values so we skip that check for it.
307
- if (isRequired &&
308
- paramValue.genericType?.value.rawType.name !==
309
- PRIMITIVE_TYPE.LATESTDATE &&
310
- !paramValue.values.length) {
311
- return false;
312
- }
313
- // more values than allowed
314
- if (paramValue.multiplicity.upperBound &&
315
- paramValue.values.length > paramValue.multiplicity.upperBound) {
316
- return false;
317
- }
318
- }
319
- return true;
320
- });
321
- }
322
- }
323
- export class QueryBuilderPropertyExpressionState {
324
- queryBuilderState;
325
- path;
326
- title;
327
- propertyExpression;
328
- isEditingDerivedPropertyExpression = false;
329
- // Since this property is a chain expression, some link of the chain can be
330
- // derived property, as such, we need to keep track of the derived properties state in an array
331
- derivedPropertyExpressionStates = [];
332
- /**
333
- * If at least one property in the chain is of multiplicity greater than 1,
334
- * the property might have multiple values and can cause row explosions.
335
- *
336
- * In other words, saying `$x.b == 1` is not quite accurate if `$x.b` is multi
337
- * is multi. Instead, we should do something like `$x.b->exists($x1 | $x1 == 1)`
338
- */
339
- requiresExistsHandling = false;
340
- constructor(queryBuilderState, propertyExpression) {
341
- makeAutoObservable(this, {
342
- queryBuilderState: false,
343
- setIsEditingDerivedProperty: action,
344
- initDerivedPropertyExpressionStates: action,
345
- });
346
- this.queryBuilderState = queryBuilderState;
347
- this.propertyExpression = observe_AbstractPropertyExpression(propertyExpression, queryBuilderState.observableContext);
348
- this.path = getPropertyPath(propertyExpression);
349
- this.title = getPropertyChainName(propertyExpression, true);
350
- this.initDerivedPropertyExpressionStates();
351
- }
352
- get isValid() {
353
- return this.derivedPropertyExpressionStates.every((e) => e.isValid);
354
- }
355
- setIsEditingDerivedProperty(val) {
356
- this.isEditingDerivedPropertyExpression = val;
357
- }
358
- initDerivedPropertyExpressionStates() {
359
- let requiresExistsHandling = false;
360
- const result = [];
361
- let currentExpression = this.propertyExpression;
362
- while (currentExpression instanceof AbstractPropertyExpression) {
363
- // Check if the property chain can results in column that have multiple values
364
- if (currentExpression.func.multiplicity.upperBound === undefined ||
365
- currentExpression.func.multiplicity.upperBound > 1) {
366
- requiresExistsHandling = true;
367
- }
368
- // check if the property is milestoned
369
- if (currentExpression.func.genericType.value.rawType instanceof Class &&
370
- currentExpression.func._OWNER._generatedMilestonedProperties.length !==
371
- 0) {
372
- const name = currentExpression.func.name;
373
- const func = currentExpression.func._OWNER._generatedMilestonedProperties.find((e) => e.name === name);
374
- if (func) {
375
- currentExpression.func = func;
376
- }
377
- }
378
- // Create states to hold derived properties' parameters and arguments for editing
379
- if (currentExpression.func instanceof DerivedProperty) {
380
- const derivedPropertyExpressionState = new QueryBuilderDerivedPropertyExpressionState(this.queryBuilderState, currentExpression);
381
- result.push(derivedPropertyExpressionState);
382
- }
383
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
384
- // Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
385
- // $x.employees->subType(@Person)->subType(@Staff)
386
- while (currentExpression instanceof SimpleFunctionExpression &&
387
- matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
388
- currentExpression = getNullableFirstElement(currentExpression.parametersValues);
389
- }
390
- }
391
- this.requiresExistsHandling = requiresExistsHandling;
392
- this.derivedPropertyExpressionStates = result.slice().reverse();
393
- }
394
- }
395
- //# sourceMappingURL=QueryBuilderPropertyEditorState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBuilderPropertyEditorState.js","sourceRoot":"","sources":["../../../src/stores/query-builder/QueryBuilderPropertyEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MA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M,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC;IAClE,CAAC;CACF"}
@@ -1,41 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { type GeneratorFn, ActionState } from '@finos/legend-shared';
17
- import type { QueryBuilderState } from './QueryBuilderState.js';
18
- import { type ExecutionResult, type RawLambda, EXECUTION_SERIALIZATION_FORMAT } from '@finos/legend-graph';
19
- import { ExecutionPlanState } from '@finos/legend-application';
20
- export declare class QueryBuilderResultState {
21
- queryBuilderState: QueryBuilderState;
22
- exportDataState: ActionState;
23
- previewLimit: number;
24
- isRunningQuery: boolean;
25
- isGeneratingPlan: boolean;
26
- executionResult?: ExecutionResult | undefined;
27
- executionPlanState: ExecutionPlanState;
28
- executionDuration?: number | undefined;
29
- queryRunPromise: Promise<ExecutionResult> | undefined;
30
- constructor(queryBuilderState: QueryBuilderState);
31
- setIsRunningQuery: (val: boolean) => void;
32
- setExecutionResult: (val: ExecutionResult | undefined) => void;
33
- setExecutionDuration: (val: number | undefined) => void;
34
- setPreviewLimit: (val: number) => void;
35
- setQueryRunPromise: (promise: Promise<ExecutionResult> | undefined) => void;
36
- buildExecutionRawLambda(): RawLambda;
37
- exportData(serializationFormat: EXECUTION_SERIALIZATION_FORMAT): GeneratorFn<void>;
38
- runQuery(): GeneratorFn<void>;
39
- generatePlan(debug: boolean): GeneratorFn<void>;
40
- }
41
- //# sourceMappingURL=QueryBuilderResultState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryBu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"}
@@ -1,176 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { action, makeAutoObservable } from 'mobx';
17
- import { assertErrorThrown, LogEvent, guaranteeNonNullable, ContentType, guaranteeType, downloadFileUsingDataURI, UnsupportedOperationError, ActionState, } from '@finos/legend-shared';
18
- import { GRAPH_MANAGER_EVENT, EXECUTION_SERIALIZATION_FORMAT, RawExecutionResult, buildRawLambdaFromLambdaFunction, } from '@finos/legend-graph';
19
- import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
20
- import { buildParametersLetLambdaFunc, ExecutionPlanState, } from '@finos/legend-application';
21
- const DEFAULT_LIMIT = 1000;
22
- export class QueryBuilderResultState {
23
- queryBuilderState;
24
- exportDataState = ActionState.create();
25
- previewLimit = DEFAULT_LIMIT;
26
- isRunningQuery = false;
27
- isGeneratingPlan = false;
28
- executionResult;
29
- executionPlanState;
30
- executionDuration;
31
- queryRunPromise = undefined;
32
- constructor(queryBuilderState) {
33
- makeAutoObservable(this, {
34
- queryBuilderState: false,
35
- executionPlanState: false,
36
- setIsRunningQuery: action,
37
- setExecutionResult: action,
38
- });
39
- this.queryBuilderState = queryBuilderState;
40
- this.executionPlanState = new ExecutionPlanState(this.queryBuilderState.applicationStore, this.queryBuilderState.graphManagerState);
41
- }
42
- setIsRunningQuery = (val) => {
43
- this.isRunningQuery = val;
44
- };
45
- setExecutionResult = (val) => {
46
- this.executionResult = val;
47
- };
48
- setExecutionDuration = (val) => {
49
- this.executionDuration = val;
50
- };
51
- setPreviewLimit = (val) => {
52
- this.previewLimit = Math.max(1, val);
53
- };
54
- setQueryRunPromise = (promise) => {
55
- this.queryRunPromise = promise;
56
- };
57
- buildExecutionRawLambda() {
58
- let query;
59
- if (this.queryBuilderState.isQuerySupported) {
60
- const lambdaFunction = buildLambdaFunction(this.queryBuilderState, {
61
- isBuildingExecutionQuery: true,
62
- });
63
- query = buildRawLambdaFromLambdaFunction(lambdaFunction, this.queryBuilderState.graphManagerState);
64
- }
65
- else {
66
- query = guaranteeNonNullable(this.queryBuilderState.unsupportedQueryState.rawLambda, 'Lambda is required to execute query');
67
- if (!this.queryBuilderState.isParameterSupportDisabled &&
68
- this.queryBuilderState.parametersState.parameterStates.length) {
69
- const letlambdaFunction = buildParametersLetLambdaFunc(this.queryBuilderState.graphManagerState.graph, this.queryBuilderState.parametersState.parameterStates);
70
- const letRawLambda = buildRawLambdaFromLambdaFunction(letlambdaFunction, this.queryBuilderState.graphManagerState);
71
- // reset paramaters
72
- if (Array.isArray(query.body) && Array.isArray(letRawLambda.body)) {
73
- letRawLambda.body = [
74
- ...letRawLambda.body,
75
- ...query.body,
76
- ];
77
- query = letRawLambda;
78
- }
79
- }
80
- }
81
- return query;
82
- }
83
- *exportData(serializationFormat) {
84
- try {
85
- this.exportDataState.inProgress();
86
- const mapping = guaranteeNonNullable(this.queryBuilderState.mapping, 'Mapping is required to execute query');
87
- const runtime = guaranteeNonNullable(this.queryBuilderState.runtimeValue, `Runtime is required to execute query`);
88
- const query = this.buildExecutionRawLambda();
89
- const result = (yield this.queryBuilderState.graphManagerState.graphManager.executeMapping(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph, {
90
- serializationFormat,
91
- }));
92
- let contentType;
93
- let fileName = 'result';
94
- let content;
95
- switch (serializationFormat) {
96
- case EXECUTION_SERIALIZATION_FORMAT.CSV:
97
- {
98
- const rawResult = guaranteeType(result, RawExecutionResult);
99
- contentType = ContentType.TEXT_CSV;
100
- fileName = `${fileName}.csv`;
101
- content = rawResult.value;
102
- }
103
- break;
104
- default:
105
- throw new UnsupportedOperationError(`Can't download file for serialization type: '${serializationFormat}'`);
106
- }
107
- downloadFileUsingDataURI(fileName, content, contentType);
108
- this.exportDataState.pass();
109
- }
110
- catch (error) {
111
- assertErrorThrown(error);
112
- this.queryBuilderState.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE), error);
113
- this.queryBuilderState.applicationStore.notifyError(error);
114
- this.exportDataState.fail();
115
- }
116
- }
117
- *runQuery() {
118
- try {
119
- this.isRunningQuery = true;
120
- const mapping = guaranteeNonNullable(this.queryBuilderState.mapping, 'Mapping is required to execute query');
121
- const runtime = guaranteeNonNullable(this.queryBuilderState.runtimeValue, `Runtime is required to execute query`);
122
- const query = this.buildExecutionRawLambda();
123
- const startTime = Date.now();
124
- const promise = this.queryBuilderState.graphManagerState.graphManager.executeMapping(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph);
125
- this.setQueryRunPromise(promise);
126
- const result = (yield promise);
127
- if (this.queryRunPromise === promise) {
128
- this.setExecutionResult(result);
129
- this.setExecutionDuration(Date.now() - startTime);
130
- }
131
- }
132
- catch (error) {
133
- assertErrorThrown(error);
134
- this.queryBuilderState.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE), error);
135
- this.queryBuilderState.applicationStore.notifyError(error);
136
- }
137
- finally {
138
- this.setIsRunningQuery(false);
139
- }
140
- }
141
- *generatePlan(debug) {
142
- try {
143
- this.isGeneratingPlan = true;
144
- const mapping = guaranteeNonNullable(this.queryBuilderState.mapping, 'Mapping is required to execute query');
145
- const runtime = guaranteeNonNullable(this.queryBuilderState.runtimeValue, `Runtime is required to execute query`);
146
- const query = this.queryBuilderState.buildQuery();
147
- let rawPlan;
148
- if (debug) {
149
- const debugResult = (yield this.queryBuilderState.graphManagerState.graphManager.debugExecutionPlanGeneration(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph));
150
- rawPlan = debugResult.plan;
151
- this.executionPlanState.setDebugText(debugResult.debug);
152
- }
153
- else {
154
- rawPlan =
155
- (yield this.queryBuilderState.graphManagerState.graphManager.generateExecutionPlan(query, mapping, runtime, this.queryBuilderState.graphManagerState.graph));
156
- }
157
- try {
158
- this.executionPlanState.setRawPlan(rawPlan);
159
- const plan = this.queryBuilderState.graphManagerState.graphManager.buildExecutionPlan(rawPlan, this.queryBuilderState.graphManagerState.graph);
160
- this.executionPlanState.setPlan(plan);
161
- }
162
- catch {
163
- // do nothing
164
- }
165
- }
166
- catch (error) {
167
- assertErrorThrown(error);
168
- this.queryBuilderState.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE), error);
169
- this.queryBuilderState.applicationStore.notifyError(error);
170
- }
171
- finally {
172
- this.isGeneratingPlan = false;
173
- }
174
- }
175
- }
176
- //# sourceMappingURL=QueryBuilderResultState.js.map