@finos/legend-query-builder 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (608) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/lib/components/QueryBuilder.d.ts +22 -0
  4. package/lib/components/QueryBuilder.d.ts.map +1 -0
  5. package/lib/components/QueryBuilder.js +111 -0
  6. package/lib/components/QueryBuilder.js.map +1 -0
  7. package/lib/components/QueryBuilderComponentTestUtils.d.ts +24 -0
  8. package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +1 -0
  9. package/lib/components/QueryBuilderComponentTestUtils.js +54 -0
  10. package/lib/components/QueryBuilderComponentTestUtils.js.map +1 -0
  11. package/lib/components/QueryBuilderParametersPanel.d.ts +31 -0
  12. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -0
  13. package/lib/components/QueryBuilderParametersPanel.js +128 -0
  14. package/lib/components/QueryBuilderParametersPanel.js.map +1 -0
  15. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +29 -0
  16. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -0
  17. package/lib/components/QueryBuilderPropertyExpressionEditor.js +116 -0
  18. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -0
  19. package/lib/components/QueryBuilderResultPanel.d.ts +22 -0
  20. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -0
  21. package/lib/components/QueryBuilderResultPanel.js +242 -0
  22. package/lib/components/QueryBuilderResultPanel.js.map +1 -0
  23. package/lib/components/QueryBuilderSideBar.d.ts +41 -0
  24. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -0
  25. package/lib/components/QueryBuilderSideBar.js +169 -0
  26. package/lib/components/QueryBuilderSideBar.js.map +1 -0
  27. package/lib/components/QueryBuilderTextEditor.d.ts +22 -0
  28. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -0
  29. package/lib/components/QueryBuilderTextEditor.js +48 -0
  30. package/lib/components/QueryBuilderTextEditor.js.map +1 -0
  31. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +22 -0
  32. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -0
  33. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +36 -0
  34. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -0
  35. package/lib/components/QueryBuilder_TestID.d.ts +26 -0
  36. package/lib/components/QueryBuilder_TestID.d.ts.map +1 -0
  37. package/lib/components/QueryBuilder_TestID.js +27 -0
  38. package/lib/components/QueryBuilder_TestID.js.map +1 -0
  39. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +36 -0
  40. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -0
  41. package/lib/components/explorer/QueryBuilderExplorerPanel.js +340 -0
  42. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -0
  43. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +22 -0
  44. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -0
  45. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +147 -0
  46. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -0
  47. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts +22 -0
  48. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +1 -0
  49. package/lib/components/explorer/QueryBuilderMilestoneEditor.js +122 -0
  50. package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +1 -0
  51. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +23 -0
  52. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -0
  53. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +200 -0
  54. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -0
  55. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +22 -0
  56. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -0
  57. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +52 -0
  58. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -0
  59. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +31 -0
  60. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -0
  61. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +94 -0
  62. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -0
  63. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +30 -0
  64. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -0
  65. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +378 -0
  66. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -0
  67. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +22 -0
  68. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -0
  69. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +216 -0
  70. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -0
  71. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +22 -0
  72. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -0
  73. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +88 -0
  74. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -0
  75. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +22 -0
  76. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -0
  77. package/lib/components/filter/QueryBuilderFilterPanel.js +316 -0
  78. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -0
  79. package/lib/components/shared/ElementIconUtils.d.ts +18 -0
  80. package/lib/components/shared/ElementIconUtils.d.ts.map +1 -0
  81. package/lib/components/shared/ElementIconUtils.js +37 -0
  82. package/lib/components/shared/ElementIconUtils.js.map +1 -0
  83. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +42 -0
  84. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +1 -0
  85. package/lib/components/shared/QueryBuilderLambdaEditor.js +47 -0
  86. package/lib/components/shared/QueryBuilderLambdaEditor.js.map +1 -0
  87. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts +20 -0
  88. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -0
  89. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +28 -0
  90. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -0
  91. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +26 -0
  92. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -0
  93. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +32 -0
  94. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -0
  95. package/lib/components/workflows/ClassQueryBuilder.d.ts +18 -0
  96. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -0
  97. package/lib/components/workflows/ClassQueryBuilder.js +87 -0
  98. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -0
  99. package/lib/components/workflows/MappingQueryBuilder.d.ts +18 -0
  100. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -0
  101. package/lib/components/workflows/MappingQueryBuilder.js +88 -0
  102. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -0
  103. package/lib/components/workflows/ServiceQueryBuilder.d.ts +18 -0
  104. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -0
  105. package/lib/components/workflows/ServiceQueryBuilder.js +69 -0
  106. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -0
  107. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +60 -0
  108. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +1 -0
  109. package/lib/graphManager/QueryBuilderSupportedFunctions.js +65 -0
  110. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +1 -0
  111. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +21 -0
  112. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +1 -0
  113. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +27 -0
  114. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +1 -0
  115. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +24 -0
  116. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +1 -0
  117. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +32 -0
  118. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +1 -0
  119. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +21 -0
  120. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +1 -0
  121. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +20 -0
  122. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +1 -0
  123. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +21 -0
  124. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +1 -0
  125. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +20 -0
  126. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +1 -0
  127. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +25 -0
  128. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
  129. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +21 -0
  130. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +1 -0
  131. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +18 -0
  132. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  133. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +20 -0
  134. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +1 -0
  135. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +22 -0
  136. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -0
  137. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +70 -0
  138. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -0
  139. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +22 -0
  140. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +1 -0
  141. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +207 -0
  142. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +1 -0
  143. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +18 -0
  144. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +1 -0
  145. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +18 -0
  146. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +1 -0
  147. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +29 -0
  148. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
  149. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +182 -0
  150. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -0
  151. package/lib/index.css +17 -0
  152. package/lib/index.css.map +1 -0
  153. package/lib/index.d.ts +28 -0
  154. package/lib/index.d.ts.map +1 -0
  155. package/lib/index.js +26 -0
  156. package/lib/index.js.map +1 -0
  157. package/lib/package.json +95 -0
  158. package/lib/stores/QueryBuilderBootstraper.d.ts +17 -0
  159. package/lib/stores/QueryBuilderBootstraper.d.ts.map +1 -0
  160. package/lib/stores/QueryBuilderBootstraper.js +22 -0
  161. package/lib/stores/QueryBuilderBootstraper.js.map +1 -0
  162. package/lib/stores/QueryBuilderChangeDetectionState.d.ts +25 -0
  163. package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -0
  164. package/lib/stores/QueryBuilderChangeDetectionState.js +32 -0
  165. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -0
  166. package/lib/stores/QueryBuilderConfig.d.ts +32 -0
  167. package/lib/stores/QueryBuilderConfig.d.ts.map +1 -0
  168. package/lib/stores/QueryBuilderConfig.js +34 -0
  169. package/lib/stores/QueryBuilderConfig.js.map +1 -0
  170. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts +22 -0
  171. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +1 -0
  172. package/lib/stores/QueryBuilderGroupOperationHelper.js +43 -0
  173. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -0
  174. package/lib/stores/QueryBuilderMilestoningState.d.ts +32 -0
  175. package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -0
  176. package/lib/stores/QueryBuilderMilestoningState.js +95 -0
  177. package/lib/stores/QueryBuilderMilestoningState.js.map +1 -0
  178. package/lib/stores/QueryBuilderParametersState.d.ts +28 -0
  179. package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -0
  180. package/lib/stores/QueryBuilderParametersState.js +39 -0
  181. package/lib/stores/QueryBuilderParametersState.js.map +1 -0
  182. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts +26 -0
  183. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -0
  184. package/lib/stores/QueryBuilderPreviewDataHelper.js +138 -0
  185. package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -0
  186. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +62 -0
  187. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -0
  188. package/lib/stores/QueryBuilderPropertyEditorState.js +395 -0
  189. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -0
  190. package/lib/stores/QueryBuilderResultState.d.ts +41 -0
  191. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -0
  192. package/lib/stores/QueryBuilderResultState.js +176 -0
  193. package/lib/stores/QueryBuilderResultState.js.map +1 -0
  194. package/lib/stores/QueryBuilderState.d.ts +110 -0
  195. package/lib/stores/QueryBuilderState.d.ts.map +1 -0
  196. package/lib/stores/QueryBuilderState.js +334 -0
  197. package/lib/stores/QueryBuilderState.js.map +1 -0
  198. package/lib/stores/QueryBuilderStateBuilder.d.ts +124 -0
  199. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -0
  200. package/lib/stores/QueryBuilderStateBuilder.js +311 -0
  201. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -0
  202. package/lib/stores/QueryBuilderStateTestUtils.d.ts +24 -0
  203. package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +1 -0
  204. package/lib/stores/QueryBuilderStateTestUtils.js +50 -0
  205. package/lib/stores/QueryBuilderStateTestUtils.js.map +1 -0
  206. package/lib/stores/QueryBuilderTextEditorState.d.ts +49 -0
  207. package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -0
  208. package/lib/stores/QueryBuilderTextEditorState.js +145 -0
  209. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -0
  210. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +24 -0
  211. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -0
  212. package/lib/stores/QueryBuilderTypeaheadHelper.js +85 -0
  213. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -0
  214. package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts +26 -0
  215. package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts.map +1 -0
  216. package/lib/stores/QueryBuilderUnsupportedQueryState.js +37 -0
  217. package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -0
  218. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +20 -0
  219. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -0
  220. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +87 -0
  221. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -0
  222. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +27 -0
  223. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -0
  224. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +161 -0
  225. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -0
  226. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +61 -0
  227. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -0
  228. package/lib/stores/QueryBuilderValueSpecificationHelper.js +235 -0
  229. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -0
  230. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +99 -0
  231. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -0
  232. package/lib/stores/explorer/QueryBuilderExplorerState.js +446 -0
  233. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -0
  234. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +46 -0
  235. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -0
  236. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +242 -0
  237. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -0
  238. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +59 -0
  239. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -0
  240. package/lib/stores/explorer/QueryFunctionsExplorerState.js +228 -0
  241. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -0
  242. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +40 -0
  243. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -0
  244. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +34 -0
  245. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -0
  246. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +27 -0
  247. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -0
  248. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +73 -0
  249. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -0
  250. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +49 -0
  251. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -0
  252. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +157 -0
  253. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -0
  254. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +20 -0
  255. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -0
  256. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +62 -0
  257. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -0
  258. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +42 -0
  259. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -0
  260. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +173 -0
  261. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -0
  262. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +26 -0
  263. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +1 -0
  264. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +72 -0
  265. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +1 -0
  266. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +73 -0
  267. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -0
  268. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +187 -0
  269. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +1 -0
  270. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +68 -0
  271. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -0
  272. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +305 -0
  273. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -0
  274. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +25 -0
  275. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -0
  276. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +186 -0
  277. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +1 -0
  278. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +26 -0
  279. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -0
  280. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +189 -0
  281. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -0
  282. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +43 -0
  283. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +1 -0
  284. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +77 -0
  285. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +1 -0
  286. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +32 -0
  287. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -0
  288. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +36 -0
  289. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +1 -0
  290. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +18 -0
  291. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +1 -0
  292. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +38 -0
  293. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +1 -0
  294. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +42 -0
  295. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -0
  296. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +103 -0
  297. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -0
  298. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +20 -0
  299. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -0
  300. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +96 -0
  301. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -0
  302. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +22 -0
  303. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +1 -0
  304. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +40 -0
  305. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +1 -0
  306. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +27 -0
  307. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
  308. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +50 -0
  309. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -0
  310. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +27 -0
  311. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
  312. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +55 -0
  313. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -0
  314. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +26 -0
  315. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
  316. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +50 -0
  317. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
  318. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +27 -0
  319. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
  320. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +78 -0
  321. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
  322. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +27 -0
  323. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
  324. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +67 -0
  325. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
  326. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +26 -0
  327. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
  328. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +86 -0
  329. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -0
  330. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +26 -0
  331. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
  332. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +86 -0
  333. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -0
  334. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +27 -0
  335. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
  336. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +50 -0
  337. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
  338. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +27 -0
  339. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
  340. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +50 -0
  341. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
  342. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +26 -0
  343. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
  344. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +45 -0
  345. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
  346. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +29 -0
  347. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -0
  348. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +30 -0
  349. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +1 -0
  350. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +18 -0
  351. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +1 -0
  352. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +44 -0
  353. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +1 -0
  354. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +135 -0
  355. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -0
  356. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +585 -0
  357. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -0
  358. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +22 -0
  359. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -0
  360. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +122 -0
  361. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -0
  362. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +19 -0
  363. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -0
  364. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +79 -0
  365. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -0
  366. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +23 -0
  367. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
  368. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +73 -0
  369. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
  370. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +32 -0
  371. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
  372. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +75 -0
  373. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
  374. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +32 -0
  375. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
  376. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +75 -0
  377. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
  378. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +32 -0
  379. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
  380. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +118 -0
  381. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
  382. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +27 -0
  383. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
  384. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +81 -0
  385. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
  386. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +24 -0
  387. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  388. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +43 -0
  389. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
  390. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +32 -0
  391. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
  392. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +104 -0
  393. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -0
  394. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +33 -0
  395. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
  396. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +67 -0
  397. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
  398. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +27 -0
  399. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
  400. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +81 -0
  401. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
  402. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +24 -0
  403. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
  404. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +43 -0
  405. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
  406. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +32 -0
  407. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
  408. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +75 -0
  409. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -0
  410. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +27 -0
  411. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -0
  412. package/lib/stores/filter/QueryBuilderFilterOperator.js +20 -0
  413. package/lib/stores/filter/QueryBuilderFilterOperator.js.map +1 -0
  414. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts +18 -0
  415. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +1 -0
  416. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js +44 -0
  417. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +1 -0
  418. package/lib/stores/filter/QueryBuilderFilterState.d.ts +123 -0
  419. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -0
  420. package/lib/stores/filter/QueryBuilderFilterState.js +531 -0
  421. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -0
  422. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +19 -0
  423. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -0
  424. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +74 -0
  425. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -0
  426. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +19 -0
  427. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -0
  428. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +78 -0
  429. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -0
  430. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +21 -0
  431. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +1 -0
  432. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js +257 -0
  433. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +1 -0
  434. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +32 -0
  435. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -0
  436. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +71 -0
  437. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -0
  438. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +32 -0
  439. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -0
  440. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +71 -0
  441. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -0
  442. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +32 -0
  443. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -0
  444. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +115 -0
  445. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -0
  446. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +27 -0
  447. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -0
  448. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +83 -0
  449. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -0
  450. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +27 -0
  451. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  452. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +83 -0
  453. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -0
  454. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +32 -0
  455. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -0
  456. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +103 -0
  457. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -0
  458. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +32 -0
  459. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -0
  460. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +65 -0
  461. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -0
  462. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +27 -0
  463. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -0
  464. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +83 -0
  465. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -0
  466. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +27 -0
  467. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -0
  468. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +83 -0
  469. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -0
  470. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +32 -0
  471. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -0
  472. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +71 -0
  473. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -0
  474. package/lib/stores/workflows/ClassQueryBuilderState.d.ts +35 -0
  475. package/lib/stores/workflows/ClassQueryBuilderState.d.ts.map +1 -0
  476. package/lib/stores/workflows/ClassQueryBuilderState.js +57 -0
  477. package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -0
  478. package/lib/stores/workflows/MappingQueryBuilderState.d.ts +33 -0
  479. package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -0
  480. package/lib/stores/workflows/MappingQueryBuilderState.js +55 -0
  481. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -0
  482. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +44 -0
  483. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -0
  484. package/lib/stores/workflows/ServiceQueryBuilderState.js +90 -0
  485. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -0
  486. package/package.json +95 -0
  487. package/src/components/QueryBuilder.tsx +411 -0
  488. package/src/components/QueryBuilderComponentTestUtils.tsx +122 -0
  489. package/src/components/QueryBuilderParametersPanel.tsx +431 -0
  490. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +376 -0
  491. package/src/components/QueryBuilderResultPanel.tsx +640 -0
  492. package/src/components/QueryBuilderSideBar.tsx +421 -0
  493. package/src/components/QueryBuilderTextEditor.tsx +127 -0
  494. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +88 -0
  495. package/src/components/QueryBuilder_TestID.ts +26 -0
  496. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +934 -0
  497. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +554 -0
  498. package/src/components/explorer/QueryBuilderMilestoneEditor.tsx +296 -0
  499. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +617 -0
  500. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +112 -0
  501. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +276 -0
  502. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1103 -0
  503. package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +649 -0
  504. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +254 -0
  505. package/src/components/filter/QueryBuilderFilterPanel.tsx +891 -0
  506. package/src/components/shared/ElementIconUtils.tsx +47 -0
  507. package/src/components/shared/QueryBuilderLambdaEditor.tsx +120 -0
  508. package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +40 -0
  509. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +87 -0
  510. package/src/components/workflows/ClassQueryBuilder.tsx +198 -0
  511. package/src/components/workflows/MappingQueryBuilder.tsx +195 -0
  512. package/src/components/workflows/ServiceQueryBuilder.tsx +192 -0
  513. package/src/graphManager/QueryBuilderSupportedFunctions.ts +67 -0
  514. package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +32 -0
  515. package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +33 -0
  516. package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +22 -0
  517. package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +22 -0
  518. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +47 -0
  519. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +27 -0
  520. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +167 -0
  521. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +571 -0
  522. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +28 -0
  523. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +296 -0
  524. package/src/index.ts +38 -0
  525. package/src/stores/QueryBuilderBootstraper.ts +23 -0
  526. package/src/stores/QueryBuilderChangeDetectionState.ts +37 -0
  527. package/src/stores/QueryBuilderConfig.ts +34 -0
  528. package/src/stores/QueryBuilderGroupOperationHelper.ts +54 -0
  529. package/src/stores/QueryBuilderMilestoningState.ts +164 -0
  530. package/src/stores/QueryBuilderParametersState.ts +52 -0
  531. package/src/stores/QueryBuilderPreviewDataHelper.ts +202 -0
  532. package/src/stores/QueryBuilderPropertyEditorState.ts +668 -0
  533. package/src/stores/QueryBuilderResultState.ts +281 -0
  534. package/src/stores/QueryBuilderState.ts +465 -0
  535. package/src/stores/QueryBuilderStateBuilder.ts +585 -0
  536. package/src/stores/QueryBuilderStateTestUtils.ts +99 -0
  537. package/src/stores/QueryBuilderTextEditorState.ts +203 -0
  538. package/src/stores/QueryBuilderTypeaheadHelper.ts +152 -0
  539. package/src/stores/QueryBuilderUnsupportedQueryState.ts +44 -0
  540. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +179 -0
  541. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +256 -0
  542. package/src/stores/QueryBuilderValueSpecificationHelper.ts +359 -0
  543. package/src/stores/explorer/QueryBuilderExplorerState.ts +798 -0
  544. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +333 -0
  545. package/src/stores/explorer/QueryFunctionsExplorerState.ts +375 -0
  546. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +65 -0
  547. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +107 -0
  548. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +240 -0
  549. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +131 -0
  550. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +282 -0
  551. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +154 -0
  552. package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +327 -0
  553. package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +569 -0
  554. package/src/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +426 -0
  555. package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +416 -0
  556. package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +95 -0
  557. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +79 -0
  558. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +41 -0
  559. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +145 -0
  560. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +228 -0
  561. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +109 -0
  562. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +98 -0
  563. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +106 -0
  564. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +96 -0
  565. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +173 -0
  566. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +155 -0
  567. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +174 -0
  568. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +174 -0
  569. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +98 -0
  570. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +98 -0
  571. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +88 -0
  572. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +66 -0
  573. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +65 -0
  574. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +807 -0
  575. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +297 -0
  576. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +121 -0
  577. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +129 -0
  578. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +140 -0
  579. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +135 -0
  580. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +218 -0
  581. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +143 -0
  582. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +70 -0
  583. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +183 -0
  584. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +113 -0
  585. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +143 -0
  586. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +70 -0
  587. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +135 -0
  588. package/src/stores/filter/QueryBuilderFilterOperator.ts +52 -0
  589. package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +65 -0
  590. package/src/stores/filter/QueryBuilderFilterState.ts +736 -0
  591. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +155 -0
  592. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +120 -0
  593. package/src/stores/filter/operators/QueryBuilderFilterOperatorHelper.ts +524 -0
  594. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +134 -0
  595. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +134 -0
  596. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +211 -0
  597. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +145 -0
  598. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +145 -0
  599. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +181 -0
  600. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +125 -0
  601. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +145 -0
  602. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +145 -0
  603. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +134 -0
  604. package/src/stores/workflows/ClassQueryBuilderState.ts +80 -0
  605. package/src/stores/workflows/MappingQueryBuilderState.ts +86 -0
  606. package/src/stores/workflows/ServiceQueryBuilderState.ts +143 -0
  607. package/tsconfig.json +166 -0
  608. package/tsconfig.package.json +38 -0
@@ -0,0 +1,94 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { useCallback } from 'react';
18
+ import { observer } from 'mobx-react-lite';
19
+ import { useDrop } from 'react-dnd';
20
+ import { clsx, TreeView, BlankPanelPlaceholder, ChevronDownIcon, ChevronRightIcon, TimesIcon, CheckSquareIcon, SquareIcon, InfoCircleIcon, PanelDropZone, } from '@finos/legend-art';
21
+ import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
22
+ import { isNonNullable } from '@finos/legend-shared';
23
+ import { removeNodeRecursively, isGraphFetchTreeDataEmpty, } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
24
+ import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
25
+ import { getClassPropertyIcon } from '../shared/ElementIconUtils.js';
26
+ const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
27
+ const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
28
+ const { removeNode } = innerProps;
29
+ const property = node.tree.property.value;
30
+ const type = property.genericType.value.rawType;
31
+ const subType = node.tree.subType?.value;
32
+ const isExpandable = Boolean(node.childrenIds.length);
33
+ const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
34
+ const nodeTypeIcon = getClassPropertyIcon(type);
35
+ const toggleExpandNode = () => onNodeSelect?.(node);
36
+ const deleteNode = () => removeNode(node);
37
+ return (_jsxs("div", { className: "tree-view__node__container query-builder-graph-fetch-tree__node__container", style: {
38
+ paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 2)}rem`,
39
+ display: 'flex',
40
+ }, children: [_jsxs("div", { className: "query-builder-graph-fetch-tree__node__content", children: [_jsxs("div", { className: "tree-view__node__icon query-builder-graph-fetch-tree__node__icon", children: [_jsx("div", { className: "query-builder-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon }), _jsx("div", { className: "query-builder-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label query-builder-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, subType && (_jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type__label", children: subType.name }) })), _jsx("div", { className: "query-builder-graph-fetch-tree__node__type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__type__label", children: type.name }) })] })] }), _jsx("div", { className: "query-builder-graph-fetch-tree__node__actions", children: _jsx("button", { className: "query-builder-graph-fetch-tree__node__action", title: "Remove", tabIndex: -1, onClick: deleteNode, children: _jsx(TimesIcon, {}) }) })] }));
41
+ };
42
+ export const QueryBuilderGraphFetchTreeExplorer = observer((props) => {
43
+ const { graphFetchState, treeData, updateTreeData, isReadOnly } = props;
44
+ const onNodeSelect = (node) => {
45
+ if (node.childrenIds.length) {
46
+ node.isOpen = !node.isOpen;
47
+ }
48
+ updateTreeData({ ...treeData });
49
+ };
50
+ const getChildNodes = (node) => node.childrenIds
51
+ .map((id) => treeData.nodes.get(id))
52
+ .filter(isNonNullable);
53
+ const removeNode = (node) => {
54
+ removeNodeRecursively(treeData, node);
55
+ updateTreeData({ ...treeData });
56
+ };
57
+ const toggleChecked = () => graphFetchState.setChecked(!graphFetchState.isChecked);
58
+ return (_jsxs("div", { className: "query-builder-graph-fetch-tree", children: [_jsx("div", { className: "query-builder-graph-fetch-tree__toolbar", children: _jsxs("div", { className: clsx('panel__content__form__section__toggler'), onClick: toggleChecked, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
59
+ 'panel__content__form__section__toggler__btn--toggled': graphFetchState.isChecked,
60
+ }), children: graphFetchState.isChecked ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Check graph fetch" }), _jsx("div", { className: "query-builder-graph-fetch-tree__toolbar__hint-icon", children: _jsx(InfoCircleIcon, { title: "With this enabled, while executing, violations of constraints will reported as part of the result, rather than causing a failure" }) })] }) }), _jsx("div", { className: "query-builder-graph-fetch-tree__container", children: _jsx(TreeView, { components: {
61
+ TreeNodeContainer: QueryBuilderGraphFetchTreeNodeContainer,
62
+ }, treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
63
+ isReadOnly,
64
+ removeNode,
65
+ } }) })] }));
66
+ });
67
+ export const QueryBuilderGraphFetchTreePanel = observer((props) => {
68
+ const { graphFetchTreeState } = props;
69
+ const treeData = graphFetchTreeState.treeData;
70
+ // Deep/Graph Fetch Tree
71
+ const updateTreeData = (data) => {
72
+ graphFetchTreeState.setGraphFetchTree(data);
73
+ };
74
+ // Drag and Drop
75
+ const handleDrop = useCallback((item) => {
76
+ graphFetchTreeState.addProperty(item.node, { refreshTreeData: true });
77
+ }, [graphFetchTreeState]);
78
+ const [{ isDragOver }, dropTargetConnector] = useDrop(() => ({
79
+ accept: [
80
+ QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
81
+ QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
82
+ ],
83
+ drop: (item, monitor) => {
84
+ if (!monitor.didDrop()) {
85
+ handleDrop(item);
86
+ } // prevent drop event propagation to accomondate for nested DnD
87
+ },
88
+ collect: (monitor) => ({
89
+ isDragOver: monitor.isOver({ shallow: true }),
90
+ }),
91
+ }), [handleDrop]);
92
+ return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_GRAPH_FETCH, className: "panel__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [(!treeData || isGraphFetchTreeDataEmpty(treeData)) && (_jsx(BlankPanelPlaceholder, { text: "Add a graph fetch property", tooltipText: "Drag and drop properties here" })), treeData && !isGraphFetchTreeDataEmpty(treeData) && (_jsx(QueryBuilderGraphFetchTreeExplorer, { graphFetchState: graphFetchTreeState, treeData: treeData, isReadOnly: false, updateTreeData: updateTreeData }))] }) }));
93
+ });
94
+ //# sourceMappingURL=QueryBuilderGraphFetchTreePanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":";AAAA;;;;;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,CAAC,OAAO,EAAE,EAAE;gBACtB,UAAU,CAAC,IAAI,CAAC,CAAC;aAClB,CAAC,+DAA+D;QACnE,CAAC;QACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACrB,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;SAC9C,CAAC;KACH,CAAC,EACF,CAAC,UAAU,CAAC,CACb,CAAC;IAEF,OAAO,CACL,6BACe,qBAAqB,CAAC,yBAAyB,EAC5D,SAAS,EAAC,gBAAgB,YAE1B,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,CAAC,CAAC,QAAQ,IAAI,yBAAyB,CAAC,QAAQ,CAAC,CAAC,IAAI,CACrD,KAAC,qBAAqB,IACpB,IAAI,EAAC,4BAA4B,EACjC,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,QAAQ,IAAI,CAAC,yBAAyB,CAAC,QAAQ,CAAC,IAAI,CACnD,KAAC,kCAAkC,IACjC,eAAe,EAAE,mBAAmB,EACpC,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,KAAK,EACjB,cAAc,EAAE,cAAc,GAC9B,CACH,IACa,GACZ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,30 @@
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 { PostFilterConditionState } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
17
+ import { type QueryBuilderProjectionColumnState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
18
+ import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
19
+ export declare const QueryBuilderColumnBadge: ((props: {
20
+ postFilterConditionState: PostFilterConditionState;
21
+ onColumnChange: (columnState: QueryBuilderProjectionColumnState) => Promise<void>;
22
+ }) => JSX.Element) & {
23
+ displayName: string;
24
+ };
25
+ export declare const QueryBuilderPostFilterPanel: ((props: {
26
+ queryBuilderState: QueryBuilderState;
27
+ }) => JSX.Element) & {
28
+ displayName: string;
29
+ };
30
+ //# sourceMappingURL=QueryBuilderPostFilterPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderPostFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+DH,OAAO,EAGL,wBAAwB,EAMzB,MAAM,oFAAoF,CAAC;AAC5F,OAAO,EACL,KAAK,iCAAiC,EAIvC,MAAM,8EAA8E,CAAC;AACtF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgM3E,eAAO,MAAM,uBAAuB;8BAEN,wBAAwB;kCAEnC,iCAAiC,KAC3C,QAAQ,IAAI,CAAC;;;CAsErB,CAAC;AAksBF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAmCjD,CAAC"}
@@ -0,0 +1,378 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { useApplicationStore, BasicValueSpecificationEditor, } from '@finos/legend-application';
18
+ import { BlankPanelPlaceholder, CaretDownIcon, ChevronDownIcon, ChevronRightIcon, ClickAwayListener, clsx, ContextMenu, DropdownMenu, FilledTriangleIcon, MenuContent, MenuContentItem, TimesIcon, PlusIcon, ExpandIcon, CompressIcon, CircleIcon, BrushIcon, NewFolderIcon, PlusCircleIcon, InfoCircleIcon, Tooltip, StringTypeIcon, ToggleIcon, HashtagIcon, ClockIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, BlankPanelContent, } from '@finos/legend-art';
19
+ import { Class, Enumeration, PrimitiveType, PRIMITIVE_TYPE, getMultiplicityDescription, } from '@finos/legend-graph';
20
+ import { assertErrorThrown, guaranteeNonNullable, returnUndefOnError, debounce, } from '@finos/legend-shared';
21
+ import { flowResult } from 'mobx';
22
+ import { observer } from 'mobx-react-lite';
23
+ import { forwardRef, useCallback, useMemo, useRef, useState } from 'react';
24
+ import { useDrop, useDrag } from 'react-dnd';
25
+ import { getColumnMultiplicity } from '../../stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js';
26
+ import { QueryBuilderAggregateColumnState } from '../../stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js';
27
+ import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, QueryBuilderPostFilterTreeGroupNodeData, QUERY_BUILDER_POST_FILTER_DND_TYPE, QueryBuilderPostFilterTreeBlankConditionNodeData, } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
28
+ import { QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE, QueryBuilderDerivationProjectionColumnState, } from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
29
+ import { QUERY_BUILDER_PARAMETER_DND_TYPE, } from '../../stores/QueryBuilderParametersState.js';
30
+ import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
31
+ import { isTypeCompatibleForAssignment } from '../../stores/QueryBuilderValueSpecificationHelper.js';
32
+ import { QUERY_BUILDER_GROUP_OPERATION } from '../../stores/QueryBuilderGroupOperationHelper.js';
33
+ import { QueryBuilderProjectionState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
34
+ const QueryBuilderPostFilterConditionContextMenu = observer(forwardRef(function QueryBuilderPostFilterConditionContextMenu(props, ref) {
35
+ const { projectionState, node } = props;
36
+ const postFilterState = projectionState.postFilterState;
37
+ const removeNode = () => postFilterState.removeNodeAndPruneBranch(node);
38
+ const createCondition = () => {
39
+ postFilterState.suppressClickawayEventListener();
40
+ postFilterState.addNodeFromNode(new QueryBuilderPostFilterTreeBlankConditionNodeData(undefined), node);
41
+ };
42
+ const createGroupCondition = () => {
43
+ postFilterState.suppressClickawayEventListener();
44
+ postFilterState.addGroupConditionNodeFromNode(node);
45
+ };
46
+ const newGroupWithCondition = () => {
47
+ postFilterState.suppressClickawayEventListener();
48
+ postFilterState.newGroupWithConditionFromNode(undefined, node);
49
+ };
50
+ return (_jsxs(MenuContent, { ref: ref, children: [node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(MenuContentItem, { onClick: createCondition, children: "Add New Condition" })), node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(MenuContentItem, { onClick: createGroupCondition, children: "Add New Logical Group" })), node instanceof QueryBuilderPostFilterTreeConditionNodeData && (_jsx(MenuContentItem, { onClick: newGroupWithCondition, children: "Form a New Logical Group" })), _jsx(MenuContentItem, { onClick: removeNode, children: "Remove" })] }));
51
+ }));
52
+ const QueryBuilderPostFilterGroupConditionEditor = observer((props) => {
53
+ const { node, isDragOver } = props;
54
+ const switchOperation = (event) => {
55
+ event.stopPropagation(); // prevent triggering selecting the node
56
+ node.setGroupOperation(node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.AND
57
+ ? QUERY_BUILDER_GROUP_OPERATION.OR
58
+ : QUERY_BUILDER_GROUP_OPERATION.AND);
59
+ };
60
+ return (_jsx("div", { className: "query-builder-post-filter-tree__node__label__content", children: _jsx(PanelEntryDropZonePlaceholder, { showPlaceholder: isDragOver, label: "Add to Logical Group", className: "query-builder__dnd__placeholder", children: _jsxs("div", { className: clsx('query-builder-post-filter-tree__group-node', {
61
+ 'query-builder-post-filter-tree__group-node--and': node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.AND,
62
+ 'query-builder-post-filter-tree__group-node--or': node.groupOperation === QUERY_BUILDER_GROUP_OPERATION.OR,
63
+ }), title: "Switch Operation", onClick: switchOperation, children: [_jsx("div", { className: "query-builder-post-filter-tree__group-node__label", children: node.groupOperation }), _jsx("button", { className: "query-builder-post-filter-tree__group-node__action", children: _jsx(FilledTriangleIcon, {}) })] }) }) }));
64
+ });
65
+ const renderPropertyTypeIcon = (type) => {
66
+ if (type instanceof PrimitiveType) {
67
+ if (type.name === PRIMITIVE_TYPE.STRING) {
68
+ return _jsx(StringTypeIcon, { className: "query-builder-column-badge__icon" });
69
+ }
70
+ else if (type.name === PRIMITIVE_TYPE.BOOLEAN) {
71
+ return _jsx(ToggleIcon, { className: "query-builder-column-badge__icon" });
72
+ }
73
+ else if (type.name === PRIMITIVE_TYPE.NUMBER ||
74
+ type.name === PRIMITIVE_TYPE.INTEGER ||
75
+ type.name === PRIMITIVE_TYPE.FLOAT ||
76
+ type.name === PRIMITIVE_TYPE.DECIMAL) {
77
+ return _jsx(HashtagIcon, { className: "query-builder-column-badge__icon" });
78
+ }
79
+ else if (type.name === PRIMITIVE_TYPE.DATE ||
80
+ type.name === PRIMITIVE_TYPE.DATETIME ||
81
+ type.name === PRIMITIVE_TYPE.STRICTDATE) {
82
+ return _jsx(ClockIcon, { className: "query-builder-column-badge__icon" });
83
+ }
84
+ }
85
+ else if (type instanceof Enumeration) {
86
+ return _jsx("div", { className: "icon query-builder-column-badge__icon", children: "E" });
87
+ }
88
+ return null;
89
+ };
90
+ const QueryBuilderColumnInfoTooltip = (props) => {
91
+ const { columnState, placement, children } = props;
92
+ const type = columnState.getReturnType();
93
+ const multiplicity = returnUndefOnError(() => getColumnMultiplicity(columnState));
94
+ return (_jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
95
+ tooltip: 'query-builder__tooltip',
96
+ arrow: 'query-builder__tooltip__arrow',
97
+ tooltipPlacementRight: 'query-builder__tooltip--right',
98
+ }, TransitionProps: {
99
+ // disable transition
100
+ // NOTE: somehow, this is the only workaround we have, if for example
101
+ // we set `appear = true`, the tooltip will jump out of position
102
+ timeout: 0,
103
+ }, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Name" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: columnState.columnName })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: type?.path })] }), multiplicity && (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Multiplicity" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: getMultiplicityDescription(multiplicity) })] }))] }), children: children }));
104
+ };
105
+ export const QueryBuilderColumnBadge = observer((props) => {
106
+ const { postFilterConditionState, onColumnChange } = props;
107
+ const applicationStore = useApplicationStore();
108
+ const type = postFilterConditionState.columnState.getReturnType();
109
+ const handleDrop = useCallback((item) => onColumnChange(item.columnState), [onColumnChange]);
110
+ const [{ isDragOver }, dropConnector] = useDrop(() => ({
111
+ accept: [QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE],
112
+ drop: (item, monitor) => {
113
+ if (!monitor.didDrop()) {
114
+ handleDrop(item).catch(applicationStore.alertUnhandledError);
115
+ } // prevent drop event propagation to accomondate for nested DnD
116
+ },
117
+ collect: (monitor) => ({
118
+ isDragOver: monitor.isOver({ shallow: true }),
119
+ }),
120
+ }), [applicationStore, handleDrop]);
121
+ return (_jsx("div", { ref: dropConnector, className: "query-builder-column-badge", children: _jsx(PanelEntryDropZonePlaceholder, { showPlaceholder: isDragOver, label: "Change Property", className: "query-builder__dnd__placeholder", children: _jsxs("div", { className: "query-builder-column-badge__content", children: [type && (_jsx("div", { className: clsx('query-builder-column-badge__type', {
122
+ 'query-builder-column-badge__type--class': type instanceof Class,
123
+ 'query-builder-column-badge__type--enumeration': type instanceof Enumeration,
124
+ 'query-builder-column-badge__type--primitive': type instanceof PrimitiveType,
125
+ }), children: renderPropertyTypeIcon(type) })), _jsx("div", { className: "query-builder-column-badge__property", title: `${postFilterConditionState.columnName}`, children: postFilterConditionState.columnName }), _jsx(QueryBuilderColumnInfoTooltip, { columnState: postFilterConditionState.columnState, placement: "bottom-end", children: _jsx("div", { className: "query-builder-column-badge__property__info", children: _jsx(InfoCircleIcon, {}) }) })] }) }) }));
126
+ });
127
+ const QueryBuilderPostFilterConditionEditor = observer((props) => {
128
+ const { node, isDragOver } = props;
129
+ const graph = node.condition.postFilterState.projectionState.queryBuilderState
130
+ .graphManagerState.graph;
131
+ const applicationStore = useApplicationStore();
132
+ const changeOperator = (val) => () => node.condition.changeOperator(val);
133
+ const changeColumn = async (columnState) => {
134
+ const currentColState = node.condition.columnState instanceof QueryBuilderAggregateColumnState
135
+ ? node.condition.columnState.projectionColumnState
136
+ : node.condition.columnState;
137
+ if (currentColState !== columnState) {
138
+ await flowResult(node.condition.changeColumn(columnState));
139
+ }
140
+ };
141
+ // Drag and Drop on filter condition value
142
+ const handleDrop = useCallback((item) => {
143
+ const parameterType = item.variable.parameter.genericType?.value.rawType;
144
+ const conditionValueType = node.condition.columnState.getReturnType();
145
+ if (conditionValueType &&
146
+ isTypeCompatibleForAssignment(parameterType, conditionValueType)) {
147
+ node.condition.setValue(item.variable.parameter);
148
+ }
149
+ else {
150
+ applicationStore.notifyWarning(`Incompatible parameter type ${parameterType?.name}. ${parameterType?.name} is not compatible with type ${conditionValueType?.name}.`);
151
+ }
152
+ }, [applicationStore, node.condition]);
153
+ const [{ isFilterValueDragOver }, dropConnector] = useDrop(() => ({
154
+ accept: [QUERY_BUILDER_PARAMETER_DND_TYPE],
155
+ drop: (item, monitor) => {
156
+ if (!monitor.didDrop()) {
157
+ handleDrop(item);
158
+ } // prevent drop event propagation to accomondate for nested DnD
159
+ },
160
+ collect: (monitor) => ({
161
+ isFilterValueDragOver: monitor.isOver({ shallow: true }),
162
+ }),
163
+ }), [handleDrop]);
164
+ const resetNode = () => {
165
+ node.condition.setValue(node.condition.operator.getDefaultFilterConditionValue(node.condition));
166
+ };
167
+ const debouncedTypeaheadSearch = useMemo(() => debounce((inputVal) => node.condition.handleTypeaheadSearch(), 1000), [node]);
168
+ const cleanUpReloadValues = () => {
169
+ node.condition.typeaheadSearchState.complete();
170
+ };
171
+ const changeValueSpecification = (val) => {
172
+ node.condition.setValue(val);
173
+ };
174
+ const selectorConfig = {
175
+ values: node.condition.typeaheadSearchResults,
176
+ isLoading: node.condition.typeaheadSearchState.isInProgress,
177
+ reloadValues: debouncedTypeaheadSearch,
178
+ cleanUpReloadValues,
179
+ };
180
+ return (_jsx("div", { className: "query-builder-post-filter-tree__node__label__content", children: _jsx(PanelEntryDropZonePlaceholder, { showPlaceholder: isDragOver, label: "Add New Logical Group", className: "query-builder__dnd__placeholder", children: _jsxs("div", { className: "query-builder-post-filter-tree__condition-node", children: [_jsx("div", { className: "query-builder-post-filter-tree__condition-node__property", children: _jsx(QueryBuilderColumnBadge, { postFilterConditionState: node.condition, onColumnChange: changeColumn }) }), _jsxs(DropdownMenu, { className: "query-builder-post-filter-tree__condition-node__operator", content: _jsx(MenuContent, { children: node.condition.operators.map((op) => (_jsx(MenuContentItem, { className: "query-builder-post-filter-tree__condition-node__operator__dropdown__option", onClick: changeOperator(op), children: op.getLabel() }, op.uuid))) }), menuProps: {
181
+ anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
182
+ transformOrigin: { vertical: 'top', horizontal: 'left' },
183
+ elevation: 7,
184
+ }, children: [_jsx("div", { className: "query-builder-post-filter-tree__condition-node__operator__label", children: node.condition.operator.getLabel() }), _jsx("button", { className: "query-builder-post-filter-tree__condition-node__operator__dropdown__trigger", tabIndex: -1, title: "Choose Operator...", children: _jsx(CaretDownIcon, {}) })] }), node.condition.value && (_jsx("div", { ref: dropConnector, className: "query-builder-post-filter-tree__condition-node__value", children: _jsx(PanelEntryDropZonePlaceholder, { showPlaceholder: isFilterValueDragOver, label: "Change Filter Value", className: "query-builder__dnd__placeholder", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: node.condition.value, setValueSpecification: changeValueSpecification, graph: graph, typeCheckOption: {
185
+ expectedType: guaranteeNonNullable(node.condition.columnState.getReturnType()),
186
+ }, resetValue: resetNode, selectorConfig: selectorConfig }) }) }))] }) }) }));
187
+ });
188
+ const QueryBuilderPostFilterBlankConditionEditor = observer((props) => {
189
+ const { isDragOver } = props;
190
+ return (_jsx("div", { className: "query-builder-post-filter-tree__node__label__content", children: _jsx(PanelEntryDropZonePlaceholder, { showPlaceholder: isDragOver, label: "Create Condition", className: "query-builder__dnd__placeholder", children: _jsx("div", { className: "query-builder-post-filter-tree__blank-node", children: "blank" }) }) }));
191
+ });
192
+ const QueryBuilderPostFilterTreeNodeContainer = observer((props) => {
193
+ const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
194
+ const { projectionState: projectionState } = innerProps;
195
+ const ref = useRef(null);
196
+ const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] = useState(false);
197
+ const applicationStore = useApplicationStore();
198
+ const postFilterState = projectionState.postFilterState;
199
+ const isExpandable = node instanceof QueryBuilderPostFilterTreeGroupNodeData;
200
+ const selectNode = () => onNodeSelect?.(node);
201
+ const toggleExpandNode = () => node.setIsOpen(!node.isOpen);
202
+ const removeNode = () => postFilterState.removeNodeAndPruneBranch(node);
203
+ const handleDrop = useCallback((item, type) => {
204
+ if (type === QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE) {
205
+ const columnState = item
206
+ .columnState;
207
+ let conditionState;
208
+ try {
209
+ conditionState = new PostFilterConditionState(postFilterState, columnState, undefined, undefined);
210
+ conditionState.setValue(conditionState.operator.getDefaultFilterConditionValue(conditionState));
211
+ }
212
+ catch (error) {
213
+ assertErrorThrown(error);
214
+ applicationStore.notifyWarning(error.message);
215
+ return;
216
+ }
217
+ if (node instanceof QueryBuilderPostFilterTreeGroupNodeData) {
218
+ postFilterState.addNodeFromNode(new QueryBuilderPostFilterTreeConditionNodeData(undefined, conditionState), node);
219
+ }
220
+ else if (node instanceof QueryBuilderPostFilterTreeConditionNodeData) {
221
+ postFilterState.newGroupWithConditionFromNode(new QueryBuilderPostFilterTreeConditionNodeData(undefined, conditionState), node);
222
+ }
223
+ else if (node instanceof QueryBuilderPostFilterTreeBlankConditionNodeData) {
224
+ postFilterState.replaceBlankNodeWithNode(new QueryBuilderPostFilterTreeConditionNodeData(undefined, conditionState), node);
225
+ }
226
+ }
227
+ }, [applicationStore, postFilterState, node]);
228
+ const [{ isDragOver }, dropConnector] = useDrop(() => ({
229
+ accept: [
230
+ ...Object.values(QUERY_BUILDER_POST_FILTER_DND_TYPE),
231
+ QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
232
+ ],
233
+ drop: (item, monitor) => {
234
+ if (!monitor.didDrop()) {
235
+ handleDrop(item, monitor.getItemType());
236
+ } // prevent drop event propagation to accomondate for nested DnD
237
+ },
238
+ collect: (monitor) => ({
239
+ isDragOver: monitor.isOver({ shallow: true }),
240
+ }),
241
+ }), [handleDrop]);
242
+ const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
243
+ type: node instanceof QueryBuilderPostFilterTreeGroupNodeData
244
+ ? QUERY_BUILDER_POST_FILTER_DND_TYPE.GROUP_CONDITION
245
+ : node instanceof QueryBuilderPostFilterTreeConditionNodeData
246
+ ? QUERY_BUILDER_POST_FILTER_DND_TYPE.CONDITION
247
+ : QUERY_BUILDER_POST_FILTER_DND_TYPE.BLANK_CONDITION,
248
+ item: () => ({ node }),
249
+ end: () => postFilterState.setRearrangingConditions(false),
250
+ }), [node, postFilterState]);
251
+ dragConnector(dropConnector(ref));
252
+ useDragPreviewLayer(dragPreviewConnector);
253
+ // context menu
254
+ const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
255
+ const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
256
+ return (_jsx(ContextMenu, { content: _jsx(QueryBuilderPostFilterConditionContextMenu, { projectionState: projectionState, node: node }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("div", { ref: ref, className: clsx('tree-view__node__container query-builder-post-filter-tree__node__container', {
257
+ 'query-builder-post-filter-tree__node__container--no-hover': postFilterState.isRearrangingConditions,
258
+ 'query-builder-post-filter-tree__node__container--selected': node === postFilterState.selectedNode,
259
+ 'query-builder-post-filter-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
260
+ }), children: [_jsxs("div", { className: "query-builder-post-filter-tree__node__content", style: {
261
+ paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 2) + 1.5}rem`,
262
+ display: 'flex',
263
+ }, onClick: selectNode, children: [isExpandable && (_jsx("div", { className: "query-builder-post-filter-tree__expand-icon", onClick: toggleExpandNode, children: node.isOpen ? _jsx(ChevronDownIcon, {}) : _jsx(ChevronRightIcon, {}) })), _jsxs("div", { className: clsx('tree-view__node__label query-builder-post-filter-tree__node__label', {
264
+ 'query-builder-post-filter-tree__node__label--expandable': isExpandable,
265
+ }), children: [node instanceof QueryBuilderPostFilterTreeGroupNodeData && (_jsx(QueryBuilderPostFilterGroupConditionEditor, { node: node, isDragOver: isDragOver })), node instanceof QueryBuilderPostFilterTreeConditionNodeData && (_jsx(QueryBuilderPostFilterConditionEditor, { node: node, isDragOver: isDragOver })), node instanceof
266
+ QueryBuilderPostFilterTreeBlankConditionNodeData && (_jsx(QueryBuilderPostFilterBlankConditionEditor, { node: node, isDragOver: isDragOver }))] })] }), _jsx("div", { className: "query-builder-post-filter-tree__node__actions", children: _jsx("button", { className: "query-builder-post-filter-tree__node__action", tabIndex: -1, title: "Remove", onClick: removeNode, children: _jsx(TimesIcon, {}) }) })] }) }));
267
+ });
268
+ const QueryBuilderPostFilterTreeNodeView = observer((props) => {
269
+ const { node, level, onNodeSelect, getChildNodes, stepPaddingInRem, innerProps, } = props;
270
+ return (_jsxs("div", { className: "tree-view__node__block", children: [_jsx(QueryBuilderPostFilterTreeNodeContainer, { node: node, level: level + 1, stepPaddingInRem: stepPaddingInRem, onNodeSelect: onNodeSelect, innerProps: innerProps }), node.isOpen &&
271
+ getChildNodes(node).map((childNode) => (_jsx(QueryBuilderPostFilterTreeNodeView, { node: childNode, level: level + 1, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: innerProps }, childNode.id)))] }));
272
+ });
273
+ const QueryBuilderPostFilterTree = observer((props) => {
274
+ const { projectionState } = props;
275
+ const postFilterState = projectionState.postFilterState;
276
+ const rootNodes = postFilterState.rootIds.map((rootId) => postFilterState.getNode(rootId));
277
+ const onNodeSelect = (node) => postFilterState.setSelectedNode(node);
278
+ const getChildNodes = (node) => node instanceof QueryBuilderPostFilterTreeGroupNodeData
279
+ ? node.childrenIds.map((id) => postFilterState.getNode(id))
280
+ : [];
281
+ const onClickAway = () => {
282
+ postFilterState.handleClickaway();
283
+ };
284
+ return (_jsx(ClickAwayListener, { onClickAway: onClickAway, children: _jsx("div", { className: "tree-view__node__root query-builder-post-filter-tree__root", children: rootNodes.map((node) => (_jsx(QueryBuilderPostFilterTreeNodeView, { level: 0, node: node, getChildNodes: getChildNodes, onNodeSelect: onNodeSelect, innerProps: {
285
+ projectionState: projectionState,
286
+ } }, node.id))) }) }));
287
+ });
288
+ const QueryBuilderPostFilterPanelContent = observer((props) => {
289
+ const { projectionState } = props;
290
+ const applicationStore = useApplicationStore();
291
+ const postFilterState = projectionState.postFilterState;
292
+ const rootNode = postFilterState.getRootNode();
293
+ // actions
294
+ const collapseTree = () => {
295
+ postFilterState.setSelectedNode(undefined);
296
+ postFilterState.collapseTree();
297
+ };
298
+ const expandTree = () => {
299
+ postFilterState.setSelectedNode(undefined);
300
+ postFilterState.expandTree();
301
+ };
302
+ const pruneTree = () => {
303
+ postFilterState.suppressClickawayEventListener();
304
+ postFilterState.pruneTree();
305
+ };
306
+ const simplifyTree = () => {
307
+ postFilterState.suppressClickawayEventListener();
308
+ postFilterState.simplifyTree();
309
+ };
310
+ const createCondition = () => {
311
+ postFilterState.suppressClickawayEventListener();
312
+ postFilterState.addNodeFromNode(new QueryBuilderPostFilterTreeBlankConditionNodeData(undefined), postFilterState.selectedNode);
313
+ };
314
+ const allowGroupCreation = postFilterState.isEmpty || // either the tree is empty
315
+ (postFilterState.selectedNode && // or a node is currently selected which is...
316
+ (postFilterState.selectedNode !== rootNode || // either not a root node
317
+ rootNode instanceof QueryBuilderPostFilterTreeGroupNodeData)); // or if it is the root note, it has to be a group node
318
+ const createGroupCondition = () => {
319
+ postFilterState.suppressClickawayEventListener();
320
+ if (allowGroupCreation) {
321
+ postFilterState.addGroupConditionNodeFromNode(postFilterState.selectedNode);
322
+ }
323
+ };
324
+ const newGroupWithCondition = () => {
325
+ postFilterState.suppressClickawayEventListener();
326
+ if (postFilterState.selectedNode instanceof
327
+ QueryBuilderPostFilterTreeConditionNodeData) {
328
+ postFilterState.newGroupWithConditionFromNode(undefined, postFilterState.selectedNode);
329
+ }
330
+ };
331
+ // Drag and Drop
332
+ const handleDrop = useCallback(async (item) => {
333
+ let postFilterConditionState;
334
+ try {
335
+ const columnState = item
336
+ .columnState;
337
+ const aggregateColumnState = projectionState.aggregationState.columns.find((column) => column.projectionColumnState === columnState);
338
+ if (!aggregateColumnState &&
339
+ columnState instanceof QueryBuilderDerivationProjectionColumnState) {
340
+ await flowResult(columnState.fetchDerivationLambdaReturnType());
341
+ }
342
+ postFilterConditionState = new PostFilterConditionState(postFilterState, aggregateColumnState ?? columnState, undefined, undefined);
343
+ postFilterConditionState.setValue(postFilterConditionState.operator.getDefaultFilterConditionValue(postFilterConditionState));
344
+ }
345
+ catch (error) {
346
+ assertErrorThrown(error);
347
+ applicationStore.notifyError(error.message);
348
+ return;
349
+ }
350
+ // NOTE: unfocus the current node when DnD a new node to the tree
351
+ postFilterState.setSelectedNode(undefined);
352
+ postFilterState.addNodeFromNode(new QueryBuilderPostFilterTreeConditionNodeData(undefined, postFilterConditionState), undefined);
353
+ }, [
354
+ applicationStore,
355
+ postFilterState,
356
+ projectionState.aggregationState.columns,
357
+ ]);
358
+ const [{ isDragOver }, dropTargetConnector] = useDrop(() => ({
359
+ accept: [QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE],
360
+ drop: (item, monitor) => {
361
+ if (!monitor.didDrop()) {
362
+ handleDrop(item).catch(applicationStore.alertUnhandledError);
363
+ } // prevent drop event propagation to accomondate for nested DnD
364
+ },
365
+ collect: (monitor) => ({
366
+ isDragOver: monitor.isOver({ shallow: true }),
367
+ }),
368
+ }), [applicationStore, handleDrop]);
369
+ return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER, className: "panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "post-filter" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action", onClick: createCondition, tabIndex: -1, title: "Create Condition", children: _jsx(PlusIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: !(postFilterState.selectedNode instanceof
370
+ QueryBuilderPostFilterTreeConditionNodeData), onClick: newGroupWithCondition, tabIndex: -1, title: "Create Group From Condition", children: _jsx(PlusCircleIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: !allowGroupCreation, onClick: createGroupCondition, tabIndex: -1, title: "Create Logical Group", children: _jsx(NewFolderIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: pruneTree, tabIndex: -1, title: "Cleanup Tree", children: _jsx(BrushIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: simplifyTree, tabIndex: -1, title: "Simplify Tree", children: _jsx(CircleIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, title: "Collapse Tree", children: _jsx(CompressIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: expandTree, tabIndex: -1, title: "Expand Tree", children: _jsx(ExpandIcon, {}) })] })] }), _jsx("div", { className: "panel__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [postFilterState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add a post-filter condition", tooltipText: "Drag and drop properties here" })), !postFilterState.isEmpty && (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_POST_FILTER_DND_TYPE) }), _jsx(QueryBuilderPostFilterTree, { projectionState: projectionState })] }))] }) })] }));
371
+ });
372
+ export const QueryBuilderPostFilterPanel = observer((props) => {
373
+ const { queryBuilderState } = props;
374
+ const fetchStructureImplementation = queryBuilderState.fetchStructureState.implementation;
375
+ return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER, className: "panel", children: [fetchStructureImplementation instanceof
376
+ QueryBuilderProjectionState && (_jsx(QueryBuilderPostFilterPanelContent, { projectionState: fetchStructureImplementation })), !(fetchStructureImplementation instanceof QueryBuilderProjectionState) && (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "post-filter" }) }) }), _jsx("div", { className: "panel__content", children: _jsx(BlankPanelContent, { children: "Post-filter is not supported for the current fetch-structure" }) })] }))] }));
377
+ });
378
+ //# sourceMappingURL=QueryBuilderPostFilterPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderPostFilterPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,6BAA6B,GAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAIL,qBAAqB,EACrB,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,cAAc,EACd,cAAc,EACd,OAAO,EACP,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,KAAK,EACL,WAAW,EACX,aAAa,EACb,cAAc,EACd,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,QAAQ,GACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,uGAAuG,CAAC;AAC9I,OAAO,EAAE,gCAAgC,EAAE,MAAM,qFAAqF,CAAC;AAEvI,OAAO,EAGL,wBAAwB,EAEx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-0,0 +1,22 @@
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 { QueryBuilderProjectionState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
17
+ export declare const QueryBuilderProjectionPanel: ((props: {
18
+ projectionState: QueryBuilderProjectionState;
19
+ }) => JSX.Element) & {
20
+ displayName: string;
21
+ };
22
+ //# sourceMappingURL=QueryBuilderProjectionPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderProjectionPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderProjectionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8DH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AAoa1H,eAAO,MAAM,2BAA2B,WAC9B;IAAE,eAAe,EAAE,2BAA2B,CAAA;CAAE;;CAuJzD,CAAC"}