@finos/legend-query-builder 2.1.6 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (515) hide show
  1. package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -0
  2. package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -0
  3. package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -0
  4. package/lib/__lib__/QueryBuilderEvent.js.map +1 -0
  5. package/lib/__lib__/QueryBuilderSetting.d.ts.map +1 -0
  6. package/lib/__lib__/QueryBuilderSetting.js.map +1 -0
  7. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -0
  8. package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -0
  9. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -0
  10. package/lib/__lib__/QueryBuilderTesting.js.map +1 -0
  11. package/lib/{components/shared/ElementIconUtils.d.ts → __test__.d.ts} +2 -3
  12. package/lib/__test__.d.ts.map +1 -0
  13. package/lib/__test__.js +17 -0
  14. package/lib/__test__.js.map +1 -0
  15. package/lib/components/QueryBuilder.js +3 -3
  16. package/lib/components/QueryBuilder.js.map +1 -1
  17. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  18. package/lib/components/QueryBuilderConstantExpressionPanel.js +3 -4
  19. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  20. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  21. package/lib/components/QueryBuilderDiffPanel.js +7 -51
  22. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  23. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  24. package/lib/components/QueryBuilderParametersPanel.js +4 -4
  25. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  26. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  27. package/lib/components/QueryBuilderResultPanel.js +16 -16
  28. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  29. package/lib/components/QueryBuilderSideBar.d.ts +1 -2
  30. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  31. package/lib/components/QueryBuilderSideBar.js +3 -5
  32. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  33. package/lib/components/QueryBuilderTextEditor.js +2 -2
  34. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  35. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +2 -2
  36. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
  37. package/lib/components/QueryBuilder_LegendApplicationPlugin.js +1 -1
  38. package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
  39. package/lib/components/{QueryBuilderComponentTestUtils.d.ts → __test-utils__/QueryBuilderComponentTestUtils.d.ts} +1 -1
  40. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -0
  41. package/lib/components/{QueryBuilderComponentTestUtils.js → __test-utils__/QueryBuilderComponentTestUtils.js} +17 -15
  42. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -0
  43. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
  44. package/lib/components/execution-plan/ExecutionPlanViewer.js +3 -3
  45. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
  46. package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -1
  47. package/lib/components/execution-plan/SQLExecutionNodeViewer.js +1 -2
  48. package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
  49. package/lib/components/explorer/QueryBuilderExplorerPanel.js +2 -2
  50. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  51. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +2 -2
  52. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  53. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +12 -2
  54. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  55. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +147 -22
  56. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  57. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
  58. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  59. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
  60. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  61. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +1 -1
  62. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  63. package/lib/components/filter/QueryBuilderFilterPanel.js +1 -1
  64. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  65. package/lib/components/shared/BasicValueSpecificationEditor.js +1 -1
  66. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  67. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  68. package/lib/components/shared/CustomDatePicker.js +39 -37
  69. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  70. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  71. package/lib/components/shared/LambdaEditor.js +9 -7
  72. package/lib/components/shared/LambdaEditor.js.map +1 -1
  73. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  74. package/lib/components/workflows/ClassQueryBuilder.js +2 -3
  75. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  76. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  77. package/lib/components/workflows/MappingQueryBuilder.js +2 -3
  78. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  79. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  80. package/lib/components/workflows/ServiceQueryBuilder.js +2 -1
  81. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  82. package/lib/{graphManager/QueryBuilderSupportedFunctions.d.ts → graph/QueryBuilderMetaModelConst.d.ts} +22 -1
  83. package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -0
  84. package/lib/{graphManager/QueryBuilderSupportedFunctions.js → graph/QueryBuilderMetaModelConst.js} +27 -1
  85. package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -0
  86. package/lib/graph-manager/QueryBuilder_GraphManagerPreset.d.ts.map +1 -0
  87. package/lib/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.js +1 -1
  88. package/lib/graph-manager/QueryBuilder_GraphManagerPreset.js.map +1 -0
  89. package/lib/{graphManager/QueryBuilder_GraphManagerPlugin.d.ts → graph-manager/QueryBuilder_PureGraphManagerPlugin.d.ts} +2 -1
  90. package/lib/graph-manager/QueryBuilder_PureGraphManagerPlugin.d.ts.map +1 -0
  91. package/lib/{graphManager/QueryBuilder_GraphManagerPlugin.js → graph-manager/QueryBuilder_PureGraphManagerPlugin.js} +9 -1
  92. package/lib/graph-manager/QueryBuilder_PureGraphManagerPlugin.js.map +1 -0
  93. package/lib/graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +1 -0
  94. package/lib/graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +1 -0
  95. package/lib/graph-manager/action/analytics/ServiceExecutionAnalysis.d.ts.map +1 -0
  96. package/lib/graph-manager/action/analytics/ServiceExecutionAnalysis.js.map +1 -0
  97. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
  98. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +1 -0
  99. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  100. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +1 -0
  101. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -0
  102. package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +26 -2
  103. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -0
  104. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
  105. package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +2 -2
  106. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -0
  107. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -0
  108. package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +5 -5
  109. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -0
  110. package/lib/index.css +2 -2
  111. package/lib/index.css.map +1 -1
  112. package/lib/index.d.ts +10 -11
  113. package/lib/index.d.ts.map +1 -1
  114. package/lib/index.js +8 -9
  115. package/lib/index.js.map +1 -1
  116. package/lib/package.json +3 -2
  117. package/lib/stores/QueryBuilderConstantsState.js +3 -3
  118. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  119. package/lib/stores/QueryBuilderGroupOperationHelper.js +1 -1
  120. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -1
  121. package/lib/stores/QueryBuilderParametersState.js +2 -2
  122. package/lib/stores/QueryBuilderParametersState.js.map +1 -1
  123. package/lib/stores/QueryBuilderPropertyEditorState.js +3 -3
  124. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  125. package/lib/stores/QueryBuilderResultState.js +4 -4
  126. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  127. package/lib/stores/QueryBuilderState.js +2 -2
  128. package/lib/stores/QueryBuilderState.js.map +1 -1
  129. package/lib/stores/QueryBuilderStateBuilder.js +1 -1
  130. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  131. package/lib/{graphManager/QueryBuilderHashUtils.d.ts → stores/QueryBuilderStateHashUtils.d.ts} +2 -2
  132. package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -0
  133. package/lib/stores/QueryBuilderStateHashUtils.js +111 -0
  134. package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -0
  135. package/lib/stores/QueryBuilderTextEditorState.js +2 -2
  136. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  137. package/lib/stores/QueryBuilderUnsupportedQueryState.js +2 -2
  138. package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -1
  139. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +1 -1
  140. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  141. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +1 -1
  142. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  143. package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -1
  144. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  145. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts +39 -0
  146. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -0
  147. package/lib/stores/{QueryBuilderStateTestUtils.js → __test-utils__/QueryBuilderStateTestUtils.js} +54 -6
  148. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -0
  149. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +2 -2
  150. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  151. package/lib/stores/explorer/QueryBuilderExplorerState.js +1 -1
  152. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  153. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +1 -2
  154. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  155. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +1 -2
  156. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  157. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +3 -0
  158. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  159. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +21 -3
  160. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  161. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
  162. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +4 -4
  163. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  164. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +2 -2
  165. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
  166. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  167. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +14 -14
  168. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  169. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js +1 -1
  170. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
  171. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
  172. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  173. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +3 -3
  174. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
  175. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +3 -3
  176. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  177. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +1 -1
  178. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
  179. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
  180. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +5 -3
  181. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  182. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
  183. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +5 -3
  184. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  185. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +3 -3
  186. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
  187. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +3 -3
  188. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  189. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +3 -3
  190. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  191. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -1
  192. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js +5 -3
  193. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
  194. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -1
  195. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js +5 -3
  196. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
  197. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +3 -3
  198. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  199. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +3 -3
  200. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  201. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -1
  202. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +5 -3
  203. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
  204. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +6 -6
  205. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  206. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +1 -1
  207. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
  208. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +1 -1
  209. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  210. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  211. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +3 -2
  212. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  213. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -4
  214. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  215. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -4
  216. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  217. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  218. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +9 -7
  219. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  220. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
  221. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +6 -6
  222. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
  223. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  224. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +6 -6
  225. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
  226. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
  227. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +6 -4
  228. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  229. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +3 -3
  230. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  231. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
  232. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +6 -6
  233. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
  234. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
  235. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +6 -6
  236. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
  237. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -4
  238. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  239. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +3 -3
  240. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  241. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -1
  242. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  243. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +1 -1
  244. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  245. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +6 -6
  246. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
  247. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js +1 -1
  248. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -1
  249. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js +1 -1
  250. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
  251. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js +3 -3
  252. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -1
  253. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.d.ts.map +1 -1
  254. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js +5 -3
  255. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -1
  256. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.d.ts.map +1 -1
  257. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js +5 -3
  258. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -1
  259. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.d.ts.map +1 -1
  260. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js +5 -3
  261. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -1
  262. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.d.ts.map +1 -1
  263. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js +5 -3
  264. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -1
  265. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js +3 -3
  266. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -1
  267. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js +3 -3
  268. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -1
  269. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.d.ts.map +1 -1
  270. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js +5 -3
  271. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -1
  272. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js +3 -3
  273. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -1
  274. package/lib/stores/filter/QueryBuilderFilterState.js +6 -6
  275. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  276. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
  277. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
  278. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +1 -1
  279. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  280. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +1 -1
  281. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  282. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  283. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -4
  284. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  285. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  286. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -4
  287. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  288. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  289. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +11 -7
  290. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  291. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  292. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +6 -6
  293. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  294. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  295. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +6 -6
  296. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  297. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  298. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +6 -4
  299. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  300. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  301. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +6 -4
  302. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  303. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  304. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +8 -6
  305. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  306. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  307. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +6 -6
  308. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  309. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  310. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -4
  311. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  312. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +2 -2
  313. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  314. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +2 -2
  315. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  316. package/lib/stores/shared/ValueSpecificationEditorHelper.js +4 -3
  317. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  318. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -2
  319. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  320. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js +1 -1
  321. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js.map +1 -1
  322. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
  323. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  324. package/package.json +11 -10
  325. package/src/__test__.ts +17 -0
  326. package/src/components/QueryBuilder.tsx +3 -3
  327. package/src/components/QueryBuilderConstantExpressionPanel.tsx +4 -5
  328. package/src/components/QueryBuilderDiffPanel.tsx +10 -80
  329. package/src/components/QueryBuilderParametersPanel.tsx +8 -9
  330. package/src/components/QueryBuilderResultPanel.tsx +24 -19
  331. package/src/components/QueryBuilderSideBar.tsx +5 -10
  332. package/src/components/QueryBuilderTextEditor.tsx +4 -4
  333. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +2 -2
  334. package/src/components/QueryBuilder_LegendApplicationPlugin.ts +1 -1
  335. package/src/components/{QueryBuilderComponentTestUtils.tsx → __test-utils__/QueryBuilderComponentTestUtils.tsx} +29 -34
  336. package/src/components/execution-plan/ExecutionPlanViewer.tsx +6 -3
  337. package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +4 -2
  338. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +2 -2
  339. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +2 -2
  340. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +388 -65
  341. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1 -1
  342. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +1 -1
  343. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +1 -1
  344. package/src/components/filter/QueryBuilderFilterPanel.tsx +1 -1
  345. package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -1
  346. package/src/components/shared/CustomDatePicker.tsx +54 -41
  347. package/src/components/shared/LambdaEditor.tsx +10 -8
  348. package/src/components/workflows/ClassQueryBuilder.tsx +6 -8
  349. package/src/components/workflows/MappingQueryBuilder.tsx +6 -8
  350. package/src/components/workflows/ServiceQueryBuilder.tsx +5 -5
  351. package/src/{graphManager/QueryBuilderSupportedFunctions.ts → graph/QueryBuilderMetaModelConst.ts} +29 -0
  352. package/src/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.ts +1 -1
  353. package/src/{graphManager/QueryBuilder_GraphManagerPlugin.ts → graph-manager/QueryBuilder_PureGraphManagerPlugin.ts} +9 -0
  354. package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +55 -1
  355. package/src/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +2 -2
  356. package/src/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +13 -5
  357. package/src/index.ts +13 -11
  358. package/src/stores/QueryBuilderConstantsState.ts +3 -3
  359. package/src/stores/QueryBuilderGroupOperationHelper.ts +1 -1
  360. package/src/stores/QueryBuilderParametersState.ts +2 -2
  361. package/src/stores/QueryBuilderPropertyEditorState.ts +3 -3
  362. package/src/stores/QueryBuilderResultState.ts +4 -4
  363. package/src/stores/QueryBuilderState.ts +2 -2
  364. package/src/stores/QueryBuilderStateBuilder.ts +1 -1
  365. package/src/{graphManager/QueryBuilderHashUtils.ts → stores/QueryBuilderStateHashUtils.ts} +1 -1
  366. package/src/stores/QueryBuilderTextEditorState.ts +2 -2
  367. package/src/stores/QueryBuilderUnsupportedQueryState.ts +2 -2
  368. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +1 -1
  369. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +1 -1
  370. package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -1
  371. package/src/stores/{QueryBuilderStateTestUtils.ts → __test-utils__/QueryBuilderStateTestUtils.ts} +80 -8
  372. package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +2 -2
  373. package/src/stores/explorer/QueryBuilderExplorerState.ts +1 -1
  374. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +1 -1
  375. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +36 -2
  376. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +7 -5
  377. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +2 -2
  378. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +16 -14
  379. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
  380. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +4 -4
  381. package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +3 -3
  382. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +3 -3
  383. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +1 -1
  384. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +5 -3
  385. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +5 -3
  386. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +3 -3
  387. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +3 -3
  388. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +3 -3
  389. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +5 -3
  390. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +5 -3
  391. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +3 -3
  392. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +3 -3
  393. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +5 -3
  394. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +6 -6
  395. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
  396. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +1 -1
  397. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +4 -4
  398. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -4
  399. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -4
  400. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +8 -7
  401. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +5 -6
  402. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +5 -6
  403. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +6 -4
  404. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +3 -3
  405. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +5 -6
  406. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +5 -6
  407. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -4
  408. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +3 -3
  409. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -1
  410. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +1 -1
  411. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +6 -6
  412. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.ts +1 -1
  413. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts +1 -1
  414. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.ts +3 -3
  415. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.ts +5 -3
  416. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.ts +5 -3
  417. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.ts +5 -3
  418. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.ts +5 -3
  419. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.ts +3 -3
  420. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.ts +3 -3
  421. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.ts +5 -3
  422. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.ts +3 -3
  423. package/src/stores/filter/QueryBuilderFilterState.ts +6 -6
  424. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -1
  425. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +1 -1
  426. package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +1 -1
  427. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -4
  428. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -4
  429. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +10 -7
  430. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +5 -6
  431. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +5 -6
  432. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +6 -4
  433. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +6 -4
  434. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +7 -6
  435. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +5 -6
  436. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -4
  437. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +2 -2
  438. package/src/stores/shared/ValueSpecificationEditorHelper.ts +4 -4
  439. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -2
  440. package/src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts +1 -1
  441. package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +1 -1
  442. package/tsconfig.json +19 -19
  443. package/lib/application/QueryBuilderDocumentation.d.ts.map +0 -1
  444. package/lib/application/QueryBuilderDocumentation.js.map +0 -1
  445. package/lib/application/QueryBuilderEvent.d.ts.map +0 -1
  446. package/lib/application/QueryBuilderEvent.js.map +0 -1
  447. package/lib/application/QueryBuilderSetting.d.ts.map +0 -1
  448. package/lib/application/QueryBuilderSetting.js.map +0 -1
  449. package/lib/application/QueryBuilderTelemetryHelper.d.ts.map +0 -1
  450. package/lib/application/QueryBuilderTelemetryHelper.js.map +0 -1
  451. package/lib/application/QueryBuilderTesting.d.ts.map +0 -1
  452. package/lib/application/QueryBuilderTesting.js.map +0 -1
  453. package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +0 -1
  454. package/lib/components/QueryBuilderComponentTestUtils.js.map +0 -1
  455. package/lib/components/shared/ElementIconUtils.d.ts.map +0 -1
  456. package/lib/components/shared/ElementIconUtils.js +0 -37
  457. package/lib/components/shared/ElementIconUtils.js.map +0 -1
  458. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +0 -1
  459. package/lib/graphManager/QueryBuilderHashUtils.js +0 -111
  460. package/lib/graphManager/QueryBuilderHashUtils.js.map +0 -1
  461. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +0 -1
  462. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +0 -1
  463. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
  464. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
  465. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
  466. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
  467. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
  468. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
  469. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
  470. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
  471. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  472. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  473. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
  474. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
  475. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
  476. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
  477. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  478. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  479. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +0 -1
  480. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +0 -1
  481. package/lib/stores/QueryBuilderStateTestUtils.d.ts +0 -24
  482. package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +0 -1
  483. package/lib/stores/QueryBuilderStateTestUtils.js.map +0 -1
  484. package/src/components/shared/ElementIconUtils.tsx +0 -47
  485. /package/lib/{application → __lib__}/QueryBuilderDocumentation.d.ts +0 -0
  486. /package/lib/{application → __lib__}/QueryBuilderDocumentation.js +0 -0
  487. /package/lib/{application → __lib__}/QueryBuilderEvent.d.ts +0 -0
  488. /package/lib/{application → __lib__}/QueryBuilderEvent.js +0 -0
  489. /package/lib/{application → __lib__}/QueryBuilderSetting.d.ts +0 -0
  490. /package/lib/{application → __lib__}/QueryBuilderSetting.js +0 -0
  491. /package/lib/{application → __lib__}/QueryBuilderTelemetryHelper.d.ts +0 -0
  492. /package/lib/{application → __lib__}/QueryBuilderTelemetryHelper.js +0 -0
  493. /package/lib/{application → __lib__}/QueryBuilderTesting.d.ts +0 -0
  494. /package/lib/{application → __lib__}/QueryBuilderTesting.js +0 -0
  495. /package/lib/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.d.ts +0 -0
  496. /package/lib/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -0
  497. /package/lib/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -0
  498. /package/lib/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.d.ts +0 -0
  499. /package/lib/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.js +0 -0
  500. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -0
  501. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -0
  502. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -0
  503. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -0
  504. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -0
  505. /package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -0
  506. /package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +0 -0
  507. /package/src/{application → __lib__}/QueryBuilderDocumentation.ts +0 -0
  508. /package/src/{application → __lib__}/QueryBuilderEvent.ts +0 -0
  509. /package/src/{application → __lib__}/QueryBuilderSetting.ts +0 -0
  510. /package/src/{application → __lib__}/QueryBuilderTelemetryHelper.ts +0 -0
  511. /package/src/{application → __lib__}/QueryBuilderTesting.ts +0 -0
  512. /package/src/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -0
  513. /package/src/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.ts +0 -0
  514. /package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -0
  515. /package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -0
@@ -48,11 +48,13 @@ import {
48
48
  V1_ValueSpecificationBuilder,
49
49
  AbstractPropertyExpression,
50
50
  VariableExpression,
51
- CORE_PURE_PATH,
52
51
  Multiplicity,
53
52
  PrimitiveType,
54
53
  } from '@finos/legend-graph';
55
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../QueryBuilderSupportedFunctions.js';
54
+ import {
55
+ QUERY_BUILDER_PURE_PATH,
56
+ QUERY_BUILDER_SUPPORTED_FUNCTIONS,
57
+ } from '../../../../graph/QueryBuilderMetaModelConst.js';
56
58
 
57
59
  const buildProjectionColumnLambda = (
58
60
  valueSpecification: V1_ValueSpecification,
@@ -433,7 +435,9 @@ export const V1_buildProjectFunctionExpression = (
433
435
  compileContext,
434
436
  );
435
437
  expression.genericType = GenericTypeExplicitReference.create(
436
- new GenericType(compileContext.resolveType(CORE_PURE_PATH.TDS_ROW).value),
438
+ new GenericType(
439
+ compileContext.resolveType(QUERY_BUILDER_PURE_PATH.TDS_ROW).value,
440
+ ),
437
441
  );
438
442
 
439
443
  return expression;
@@ -574,7 +578,9 @@ export const V1_buildGroupByFunctionExpression = (
574
578
  compileContext,
575
579
  );
576
580
  expression.genericType = GenericTypeExplicitReference.create(
577
- new GenericType(compileContext.resolveType(CORE_PURE_PATH.TDS_ROW).value),
581
+ new GenericType(
582
+ compileContext.resolveType(QUERY_BUILDER_PURE_PATH.TDS_ROW).value,
583
+ ),
578
584
  );
579
585
 
580
586
  return expression;
@@ -774,7 +780,9 @@ export const V1_buildOLAPGroupByFunctionExpression = (
774
780
  compileContext,
775
781
  );
776
782
  expression.genericType = GenericTypeExplicitReference.create(
777
- new GenericType(compileContext.resolveType(CORE_PURE_PATH.TDS_ROW).value),
783
+ new GenericType(
784
+ compileContext.resolveType(QUERY_BUILDER_PURE_PATH.TDS_ROW).value,
785
+ ),
778
786
  );
779
787
 
780
788
  return expression;
package/src/index.ts CHANGED
@@ -15,12 +15,12 @@
15
15
  */
16
16
 
17
17
  // application
18
- export * from './application/QueryBuilderTelemetryHelper.js';
19
- export * from './application/QueryBuilderEvent.js';
18
+ export * from './__lib__/QueryBuilderTelemetryHelper.js';
19
+ export * from './__lib__/QueryBuilderEvent.js';
20
20
 
21
- export { QueryBuilder_GraphManagerPreset } from './graphManager/QueryBuilder_GraphManagerPreset.js';
21
+ export { QueryBuilder_GraphManagerPreset } from './graph-manager/QueryBuilder_GraphManagerPreset.js';
22
22
 
23
- export { QUERY_BUILDER_TEST_ID } from './application/QueryBuilderTesting.js';
23
+ export { QUERY_BUILDER_TEST_ID } from './__lib__/QueryBuilderTesting.js';
24
24
  export {
25
25
  type CheckEntitlementEditorRender,
26
26
  QueryBuilder_LegendApplicationPlugin,
@@ -43,26 +43,28 @@ export {
43
43
  ServiceQueryBuilderState,
44
44
  } from './stores/workflows/ServiceQueryBuilderState.js';
45
45
 
46
- export { getQueryBuilderGraphManagerExtension } from './graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js';
47
- export type { ServiceExecutionAnalysisResult } from './graphManager/action/analytics/ServiceExecutionAnalysis.js';
48
- export type { MappingRuntimeCompatibilityAnalysisResult } from './graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js';
46
+ export { getQueryBuilderGraphManagerExtension } from './graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js';
47
+ export type { ServiceExecutionAnalysisResult } from './graph-manager/action/analytics/ServiceExecutionAnalysis.js';
48
+ export type { MappingRuntimeCompatibilityAnalysisResult } from './graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.js';
49
49
  export * from './stores/ServiceInfo.js';
50
50
  export * from './components/ServiceQuerySetupUtils.js';
51
51
  export * from './components/QuerySetupUtils.js';
52
52
  export * from './components/QueryBuilderTextEditor.js';
53
53
 
54
- export { TEST__setUpQueryBuilder } from './components/QueryBuilderComponentTestUtils.js';
55
54
  export { QueryBuilderTextEditorMode } from './stores/QueryBuilderTextEditorState.js';
56
55
 
57
56
  // ------------------------------------------- Shared components -------------------------------------------
58
57
 
59
58
  export * from './components/shared/LambdaEditor.js';
59
+ export { LambdaEditorState } from './stores/shared/LambdaEditorState.js';
60
+
61
+ export * from './stores/shared/LambdaParameterState.js';
62
+
60
63
  export * from './components/shared/BasicValueSpecificationEditor.js';
61
64
  export * from './components/shared/LambdaParameterValuesEditor.js';
62
- export * from './components/execution-plan/ExecutionPlanViewer.js';
63
65
 
64
- export { LambdaEditorState } from './stores/shared/LambdaEditorState.js';
65
- export * from './stores/shared/LambdaParameterState.js';
66
66
  export * from './stores/shared/ValueSpecificationModifierHelper.js';
67
67
  export * from './stores/shared/ValueSpecificationEditorHelper.js';
68
+
69
+ export * from './components/execution-plan/ExecutionPlanViewer.js';
68
70
  export * from './stores/execution-plan/ExecutionPlanState.js';
@@ -32,7 +32,7 @@ import {
32
32
  assertErrorThrown,
33
33
  } from '@finos/legend-shared';
34
34
  import { action, makeObservable, observable } from 'mobx';
35
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../graphManager/QueryBuilderHashUtils.js';
35
+ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from './QueryBuilderStateHashUtils.js';
36
36
  import type { QueryBuilderState } from './QueryBuilderState.js';
37
37
  import { buildDefaultInstanceValue } from './shared/ValueSpecificationEditorHelper.js';
38
38
  import { valueSpecification_setGenericType } from './shared/ValueSpecificationModifierHelper.js';
@@ -109,7 +109,7 @@ export class QueryBuilderConstantExpressionState implements Hashable {
109
109
 
110
110
  get hashCode(): string {
111
111
  return hashArray([
112
- QUERY_BUILDER_HASH_STRUCTURE.CONSTANT_EXPRESSION_STATE,
112
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.CONSTANT_EXPRESSION_STATE,
113
113
  this.variable.name,
114
114
  this.value,
115
115
  ]);
@@ -169,7 +169,7 @@ export class QueryBuilderConstantsState implements Hashable {
169
169
 
170
170
  get hashCode(): string {
171
171
  return hashArray([
172
- QUERY_BUILDER_HASH_STRUCTURE.CONSTANT_STATE,
172
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.CONSTANT_STATE,
173
173
  hashArray(this.constants),
174
174
  ]);
175
175
  }
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { matchFunctionName } from '@finos/legend-graph';
18
18
  import { UnsupportedOperationError } from '@finos/legend-shared';
19
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graphManager/QueryBuilderSupportedFunctions.js';
19
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
20
20
 
21
21
  export enum QUERY_BUILDER_GROUP_OPERATION {
22
22
  AND = 'and',
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { type Hashable, hashArray } from '@finos/legend-shared';
18
18
  import { observable, makeObservable, action, override } from 'mobx';
19
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../graphManager/QueryBuilderHashUtils.js';
19
+ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from './QueryBuilderStateHashUtils.js';
20
20
  import type { QueryBuilderState } from './QueryBuilderState.js';
21
21
  import {
22
22
  type LambdaParameterState,
@@ -50,7 +50,7 @@ export class QueryBuilderParametersState
50
50
 
51
51
  override get hashCode(): string {
52
52
  return hashArray([
53
- QUERY_BUILDER_HASH_STRUCTURE.PARAMETERS_STATE,
53
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.PARAMETERS_STATE,
54
54
  hashArray(this.parameterStates),
55
55
  ]);
56
56
  }
@@ -53,8 +53,8 @@ import {
53
53
  generateDefaultValueForPrimitiveType,
54
54
  } from './QueryBuilderValueSpecificationHelper.js';
55
55
  import type { QueryBuilderState } from './QueryBuilderState.js';
56
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graphManager/QueryBuilderSupportedFunctions.js';
57
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../graphManager/QueryBuilderHashUtils.js';
56
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
57
+ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from './QueryBuilderStateHashUtils.js';
58
58
  import {
59
59
  propertyExpression_setFunc,
60
60
  functionExpression_setParametersValues,
@@ -426,7 +426,7 @@ export class QueryBuilderPropertyExpressionState implements Hashable {
426
426
 
427
427
  get hashCode(): string {
428
428
  return hashArray([
429
- QUERY_BUILDER_HASH_STRUCTURE.PROPERTY_EXPRESSION_STATE,
429
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.PROPERTY_EXPRESSION_STATE,
430
430
  this.propertyExpression,
431
431
  ]);
432
432
  }
@@ -39,14 +39,14 @@ import {
39
39
  extractExecutionResultValues,
40
40
  } from '@finos/legend-graph';
41
41
  import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
42
- import { TAB_SIZE } from '@finos/legend-application';
42
+ import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
43
43
  import {
44
44
  buildExecutionParameterValues,
45
45
  getExecutionQueryFromRawLambda,
46
46
  } from './shared/LambdaParameterState.js';
47
47
  import type { LambdaFunctionBuilderOption } from './QueryBuilderValueSpecificationBuilderHelper.js';
48
- import { QueryBuilderTelemetryHelper } from '../application/QueryBuilderTelemetryHelper.js';
49
- import { QUERY_BUILDER_EVENT } from '../application/QueryBuilderEvent.js';
48
+ import { QueryBuilderTelemetryHelper } from '../__lib__/QueryBuilderTelemetryHelper.js';
49
+ import { QUERY_BUILDER_EVENT } from '../__lib__/QueryBuilderEvent.js';
50
50
  import { ExecutionPlanState } from './execution-plan/ExecutionPlanState.js';
51
51
 
52
52
  const DEFAULT_LIMIT = 1000;
@@ -185,7 +185,7 @@ export class QueryBuilderResultState {
185
185
  content = JSON.stringify(
186
186
  extractExecutionResultValues(result),
187
187
  null,
188
- TAB_SIZE,
188
+ DEFAULT_TAB_SIZE,
189
189
  );
190
190
  }
191
191
  const fileName = `result.${getContentTypeFileExtension(contentType)}`;
@@ -74,7 +74,7 @@ import type { QueryBuilderFilterOperator } from './filter/QueryBuilderFilterOper
74
74
  import { getQueryBuilderCoreFilterOperators } from './filter/QueryBuilderFilterOperatorLoader.js';
75
75
  import { QueryBuilderChangeDetectionState } from './QueryBuilderChangeDetectionState.js';
76
76
  import { QueryBuilderMilestoningState } from './milestoning/QueryBuilderMilestoningState.js';
77
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../graphManager/QueryBuilderHashUtils.js';
77
+ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from './QueryBuilderStateHashUtils.js';
78
78
  import { QUERY_BUILDER_COMMAND_KEY } from './QueryBuilderCommand.js';
79
79
  import { QueryBuilderWatermarkState } from './watermark/QueryBuilderWatermarkState.js';
80
80
  import { QueryBuilderConstantsState } from './QueryBuilderConstantsState.js';
@@ -577,7 +577,7 @@ export abstract class QueryBuilderState implements CommandRegistrar {
577
577
 
578
578
  get hashCode(): string {
579
579
  return hashArray([
580
- QUERY_BUILDER_HASH_STRUCTURE.QUERY_BUILDER_STATE,
580
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.QUERY_BUILDER_STATE,
581
581
  this.unsupportedQueryState,
582
582
  this.milestoningState,
583
583
  this.parametersState,
@@ -66,7 +66,7 @@ import {
66
66
  processTDSSortExpression,
67
67
  processTDSTakeExpression,
68
68
  } from './fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js';
69
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graphManager/QueryBuilderSupportedFunctions.js';
69
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
70
70
  import { LambdaParameterState } from './shared/LambdaParameterState.js';
71
71
  import { processTDS_OLAPGroupByExpression } from './fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js';
72
72
  import { processWatermarkExpression } from './watermark/QueryBuilderWatermarkStateBuilder.js';
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- export enum QUERY_BUILDER_HASH_STRUCTURE {
17
+ export enum QUERY_BUILDER_STATE_HASH_STRUCTURE {
18
18
  // parameters state
19
19
  PARAMETERS_STATE = 'PARAMETERS_STATE',
20
20
  CONSTANT_STATE = 'CONSTANT_STATE',
@@ -30,7 +30,7 @@ import {
30
30
  } from '@finos/legend-shared';
31
31
  import { observable, action, flow, makeObservable, flowResult } from 'mobx';
32
32
  import type { QueryBuilderState } from './QueryBuilderState.js';
33
- import { TAB_SIZE } from '@finos/legend-application';
33
+ import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
34
34
  import { LambdaEditorState } from './shared/LambdaEditorState.js';
35
35
 
36
36
  export class QueryBuilderRawLambdaState {
@@ -182,7 +182,7 @@ export class QueryBuilderTextEditorState extends LambdaEditorState {
182
182
  ),
183
183
  ),
184
184
  null,
185
- TAB_SIZE,
185
+ DEFAULT_TAB_SIZE,
186
186
  ),
187
187
  );
188
188
  }
@@ -18,7 +18,7 @@ import { makeObservable, action, observable, computed } from 'mobx';
18
18
  import { type Hashable, hashArray } from '@finos/legend-shared';
19
19
  import type { QueryBuilderState } from './QueryBuilderState.js';
20
20
  import type { RawLambda } from '@finos/legend-graph';
21
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../graphManager/QueryBuilderHashUtils.js';
21
+ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from './QueryBuilderStateHashUtils.js';
22
22
 
23
23
  export class QueryBuilderUnsupportedQueryState implements Hashable {
24
24
  readonly queryBuilderState: QueryBuilderState;
@@ -47,7 +47,7 @@ export class QueryBuilderUnsupportedQueryState implements Hashable {
47
47
 
48
48
  get hashCode(): string {
49
49
  return hashArray([
50
- QUERY_BUILDER_HASH_STRUCTURE.UNSUPPORTED_QUERY_STATE,
50
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.UNSUPPORTED_QUERY_STATE,
51
51
  this.rawLambda ?? '',
52
52
  ]);
53
53
  }
@@ -36,7 +36,7 @@ import type { QueryBuilderState } from './QueryBuilderState.js';
36
36
  import { buildFilterExpression } from './filter/QueryBuilderFilterValueSpecificationBuilder.js';
37
37
  import type { LambdaFunctionBuilderOption } from './QueryBuilderValueSpecificationBuilderHelper.js';
38
38
  import type { QueryBuilderFetchStructureState } from './fetch-structure/QueryBuilderFetchStructureState.js';
39
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graphManager/QueryBuilderSupportedFunctions.js';
39
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
40
40
  import { buildWatermarkExpression } from './watermark/QueryBuilderWatermarkValueSpecificationBuilder.js';
41
41
  import { buildExecutionQueryFromLambdaFunction } from './shared/LambdaParameterState.js';
42
42
  import type { QueryBuilderConstantExpressionState } from './QueryBuilderConstantsState.js';
@@ -31,7 +31,7 @@ import {
31
31
  guaranteeNonNullable,
32
32
  guaranteeType,
33
33
  } from '@finos/legend-shared';
34
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graphManager/QueryBuilderSupportedFunctions.js';
34
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
35
35
  import type { QueryBuilderState } from './QueryBuilderState.js';
36
36
  import {
37
37
  functionExpression_setParametersValues,
@@ -56,7 +56,7 @@ import {
56
56
  isString,
57
57
  UnsupportedOperationError,
58
58
  } from '@finos/legend-shared';
59
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graphManager/QueryBuilderSupportedFunctions.js';
59
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
60
60
  import {
61
61
  getDerivedPropertyMilestoningSteoreotype,
62
62
  validateMilestoningPropertyExpressionChain,
@@ -15,24 +15,96 @@
15
15
  */
16
16
 
17
17
  import {
18
- TEST__getGenericApplicationConfig,
19
- TEST__getTestApplicationStore,
20
- TEST__LegendApplicationPluginManager,
18
+ ApplicationStore,
19
+ LegendApplicationConfig,
20
+ type LegendApplicationPlugin,
21
+ LegendApplicationPluginManager,
21
22
  } from '@finos/legend-application';
23
+ import { TEST__getApplicationVersionData } from '@finos/legend-application/test';
22
24
  import {
23
25
  type RawLambda,
24
26
  type RawMappingModelCoverageAnalysisResult,
27
+ type GraphManagerPluginManager,
28
+ type PureProtocolProcessorPlugin,
29
+ type PureGraphManagerPlugin,
30
+ type PureGraphPlugin,
31
+ } from '@finos/legend-graph';
32
+ import {
25
33
  TEST__buildGraphWithEntities,
26
34
  TEST__getTestGraphManagerState,
27
- } from '@finos/legend-graph';
28
- import { createSpy } from '@finos/legend-shared';
35
+ } from '@finos/legend-graph/test';
36
+ import { createSpy } from '@finos/legend-shared/test';
29
37
  import type { Entity } from '@finos/legend-storage';
30
38
  import { flowResult } from 'mobx';
31
- import { QueryBuilder_GraphManagerPreset } from '../graphManager/QueryBuilder_GraphManagerPreset.js';
39
+ import { QueryBuilder_GraphManagerPreset } from '../../graph-manager/QueryBuilder_GraphManagerPreset.js';
32
40
  import {
33
41
  INTERNAL__BasicQueryBuilderState,
34
42
  type QueryBuilderState,
35
- } from './QueryBuilderState.js';
43
+ } from '../QueryBuilderState.js';
44
+
45
+ export class TEST__LegendApplicationPluginManager
46
+ extends LegendApplicationPluginManager<LegendApplicationPlugin>
47
+ implements GraphManagerPluginManager
48
+ {
49
+ private pureProtocolProcessorPlugins: PureProtocolProcessorPlugin[] = [];
50
+ private pureGraphManagerPlugins: PureGraphManagerPlugin[] = [];
51
+ private pureGraphPlugins: PureGraphPlugin[] = [];
52
+
53
+ private constructor() {
54
+ super();
55
+ }
56
+
57
+ static create(): TEST__LegendApplicationPluginManager {
58
+ return new TEST__LegendApplicationPluginManager();
59
+ }
60
+
61
+ registerPureProtocolProcessorPlugin(
62
+ plugin: PureProtocolProcessorPlugin,
63
+ ): void {
64
+ this.pureProtocolProcessorPlugins.push(plugin);
65
+ }
66
+
67
+ registerPureGraphManagerPlugin(plugin: PureGraphManagerPlugin): void {
68
+ this.pureGraphManagerPlugins.push(plugin);
69
+ }
70
+
71
+ registerPureGraphPlugin(plugin: PureGraphPlugin): void {
72
+ this.pureGraphPlugins.push(plugin);
73
+ }
74
+
75
+ getPureGraphManagerPlugins(): PureGraphManagerPlugin[] {
76
+ return [...this.pureGraphManagerPlugins];
77
+ }
78
+
79
+ getPureProtocolProcessorPlugins(): PureProtocolProcessorPlugin[] {
80
+ return [...this.pureProtocolProcessorPlugins];
81
+ }
82
+
83
+ getPureGraphPlugins(): PureGraphPlugin[] {
84
+ return [...this.pureGraphPlugins];
85
+ }
86
+ }
87
+
88
+ class TEST__LegendApplicationConfig extends LegendApplicationConfig {
89
+ override getDefaultApplicationStorageKey(): string {
90
+ return 'test';
91
+ }
92
+ }
93
+
94
+ export const TEST__getGenericApplicationConfig = (
95
+ extraConfigData = {},
96
+ ): LegendApplicationConfig => {
97
+ const config = new TEST__LegendApplicationConfig({
98
+ configData: {
99
+ env: 'TEST',
100
+ appName: 'TEST',
101
+ ...extraConfigData,
102
+ },
103
+ versionData: TEST__getApplicationVersionData(),
104
+ baseAddress: '/',
105
+ });
106
+ return config;
107
+ };
36
108
 
37
109
  export const TEST__setUpQueryBuilderState = async (
38
110
  entities: Entity[],
@@ -50,7 +122,7 @@ export const TEST__setUpQueryBuilderState = async (
50
122
  ): Promise<QueryBuilderState> => {
51
123
  const pluginManager = TEST__LegendApplicationPluginManager.create();
52
124
  pluginManager.usePresets([new QueryBuilder_GraphManagerPreset()]).install();
53
- const applicationStore = TEST__getTestApplicationStore(
125
+ const applicationStore = new ApplicationStore(
54
126
  TEST__getGenericApplicationConfig(),
55
127
  pluginManager,
56
128
  );
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { type Hashable, hashArray } from '@finos/legend-shared';
18
18
  import { makeObservable, observable, action, computed } from 'mobx';
19
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../../graphManager/QueryBuilderHashUtils.js';
19
+ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
20
20
  import type { QueryBuilderState } from '../QueryBuilderState.js';
21
21
 
22
22
  export class QueryBuilderCheckEntitlementsState implements Hashable {
@@ -39,7 +39,7 @@ export class QueryBuilderCheckEntitlementsState implements Hashable {
39
39
 
40
40
  get hashCode(): string {
41
41
  return hashArray([
42
- QUERY_BUILDER_HASH_STRUCTURE.CHECK_ENTITLEMENTS_STATE,
42
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.CHECK_ENTITLEMENTS_STATE,
43
43
  this.isCheckingEntitlements,
44
44
  ]);
45
45
  }
@@ -67,7 +67,7 @@ import {
67
67
  type QueryBuilderPreviewData,
68
68
  } from '../QueryBuilderPreviewDataHelper.js';
69
69
  import { QueryBuilderPropertySearchState } from './QueryBuilderPropertySearchState.js';
70
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graphManager/QueryBuilderSupportedFunctions.js';
70
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
71
71
  import { propertyExpression_setFunc } from '../shared/ValueSpecificationModifierHelper.js';
72
72
 
73
73
  export enum QUERY_BUILDER_EXPLORER_TREE_DND_TYPE {
@@ -30,6 +30,7 @@ import {
30
30
  addUniqueEntry,
31
31
  deleteEntry,
32
32
  guaranteeNonNullable,
33
+ FuzzySearchAdvancedConfigState,
33
34
  } from '@finos/legend-shared';
34
35
  import {
35
36
  observable,
@@ -52,7 +53,6 @@ import {
52
53
  QueryBuilderExplorerTreeSubTypeNodeData,
53
54
  } from './QueryBuilderExplorerState.js';
54
55
  import type { QueryBuilderState } from '../QueryBuilderState.js';
55
- import { FuzzySearchAdvancedConfigState } from '@finos/legend-application/components';
56
56
 
57
57
  export class QueryBuilderPropertySearchState {
58
58
  queryBuilderState: QueryBuilderState;
@@ -48,13 +48,14 @@ import {
48
48
  import type { LambdaFunctionBuilderOption } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
49
49
  import { appendGraphFetch } from './QueryBuilderGraphFetchTreeValueSpecificationBuilder.js';
50
50
  import {
51
+ deepClone,
51
52
  guaranteeNonNullable,
52
53
  hashArray,
53
54
  type Hashable,
54
55
  UnsupportedOperationError,
55
56
  ContentType,
56
57
  } from '@finos/legend-shared';
57
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
58
+ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
58
59
  import { isValueExpressionReferencedInValue } from '../../QueryBuilderValueSpecificationHelper.js';
59
60
  import type { ExportDataInfo } from '../../QueryBuilderResultState.js';
60
61
 
@@ -190,6 +191,7 @@ export class GraphFetchExternalFormatSerializationState extends GraphFetchSerial
190
191
  targetBinding: observable,
191
192
  treeData: observable.ref,
192
193
  serializationContentType: computed,
194
+ setGraphFetchTree: action,
193
195
  });
194
196
  this.targetBinding = targetBinding;
195
197
  this.treeData = treeData;
@@ -203,6 +205,30 @@ export class GraphFetchExternalFormatSerializationState extends GraphFetchSerial
203
205
  this.treeData = val;
204
206
  }
205
207
 
208
+ addProperty(
209
+ node: QueryBuilderExplorerTreePropertyNodeData,
210
+ options?: {
211
+ refreshTreeData?: boolean;
212
+ },
213
+ ): void {
214
+ if (!this.treeData) {
215
+ this.queryBuilderGraphFetchTreeState.queryBuilderState.applicationStore.notificationService.notifyWarning(
216
+ `Can't add property: graph-fetch tree has not been properly initialized`,
217
+ );
218
+ return;
219
+ }
220
+ addQueryBuilderPropertyNode(
221
+ this.treeData,
222
+ this.queryBuilderGraphFetchTreeState.queryBuilderState.explorerState
223
+ .nonNullableTreeData,
224
+ node,
225
+ this.queryBuilderGraphFetchTreeState.queryBuilderState,
226
+ );
227
+ if (options?.refreshTreeData) {
228
+ this.setGraphFetchTree({ ...this.treeData });
229
+ }
230
+ }
231
+
206
232
  override getLabel(): string {
207
233
  return SERIALIZATION_TYPE.EXTERNAL_FORMAT;
208
234
  }
@@ -409,6 +435,14 @@ export class QueryBuilderGraphFetchTreeState
409
435
 
410
436
  fetchProperty(node: QueryBuilderExplorerTreePropertyNodeData): void {
411
437
  this.addProperty(node, { refreshTreeData: true });
438
+ if (
439
+ this.serializationState instanceof
440
+ GraphFetchExternalFormatSerializationState
441
+ ) {
442
+ this.serializationState.addProperty(deepClone(node), {
443
+ refreshTreeData: true,
444
+ });
445
+ }
412
446
  }
413
447
 
414
448
  fetchProperties(nodes: QueryBuilderExplorerTreePropertyNodeData[]): void {
@@ -463,7 +497,7 @@ export class QueryBuilderGraphFetchTreeState
463
497
 
464
498
  get hashCode(): string {
465
499
  return hashArray([
466
- QUERY_BUILDER_HASH_STRUCTURE.GRAPH_FETCH_STATE,
500
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.GRAPH_FETCH_STATE,
467
501
  this.isChecked.toString(),
468
502
  this.treeData?.tree ?? '',
469
503
  ]);
@@ -28,7 +28,6 @@ import {
28
28
  Binding,
29
29
  SUPPORTED_FUNCTIONS,
30
30
  Class,
31
- PURE_SERIALIZE_CONFIG_CLASS,
32
31
  KeyExpressionInstanceValue,
33
32
  CollectionInstanceValue,
34
33
  getClassProperty,
@@ -42,7 +41,10 @@ import {
42
41
  guaranteeNonNullable,
43
42
  guaranteeType,
44
43
  } from '@finos/legend-shared';
45
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graphManager/QueryBuilderSupportedFunctions.js';
44
+ import {
45
+ QUERY_BUILDER_PURE_PATH,
46
+ QUERY_BUILDER_SUPPORTED_FUNCTIONS,
47
+ } from '../../../graph/QueryBuilderMetaModelConst.js';
46
48
  import type { QueryBuilderState } from '../../QueryBuilderState.js';
47
49
  import { QueryBuilderValueSpecificationProcessor } from '../../QueryBuilderStateBuilder.js';
48
50
  import { FETCH_STRUCTURE_IMPLEMENTATION } from '../QueryBuilderFetchStructureImplementationState.js';
@@ -140,7 +142,7 @@ const processKeyExpressionValueOnSerializationConfig = (
140
142
  const _classType = guaranteeType(
141
143
  _classProperty.genericType.value.rawType,
142
144
  PrimitiveType,
143
- `Only primitive types suppported for config. Property ${keyValue} for class ${PURE_SERIALIZE_CONFIG_CLASS} is of type ${_classProperty.genericType.value.rawType.path}`,
145
+ `Only primitive types suppported for config. Property ${keyValue} for class '${QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG}' is of type '${_classProperty.genericType.value.rawType.path}'`,
144
146
  );
145
147
  const expressionValue = guaranteeNonNullable(
146
148
  guaranteeType(
@@ -255,8 +257,8 @@ export const processGraphFetchSerializeExpression = (
255
257
  `Can't process serialize() expression: serialization config expects first param to be a class`,
256
258
  );
257
259
  assertTrue(
258
- configClass.path === PURE_SERIALIZE_CONFIG_CLASS,
259
- `Can't process serialize() expression: serialiaztion config class expected to be ${PURE_SERIALIZE_CONFIG_CLASS}, got : ${configClass.path}`,
260
+ configClass.path === QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG,
261
+ `Can't process serialize() expression: serialiaztion config class expected to be '${QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG}', got : ${configClass.path}`,
260
262
  );
261
263
  // 2nd param: empty string
262
264
  // TODO: Investigate why `new` function as the second input as empty string
@@ -39,7 +39,7 @@ import {
39
39
  QueryBuilderExplorerTreeSubTypeNodeData,
40
40
  } from '../../explorer/QueryBuilderExplorerState.js';
41
41
  import type { QueryBuilderState } from '../../QueryBuilderState.js';
42
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
42
+ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
43
43
  import { computed, makeObservable } from 'mobx';
44
44
  import {
45
45
  graphFetchTree_addSubTree,
@@ -81,7 +81,7 @@ export class QueryBuilderGraphFetchTreeNodeData
81
81
 
82
82
  get hashCode(): string {
83
83
  return hashArray([
84
- QUERY_BUILDER_HASH_STRUCTURE.GRAPH_FETCH_TREE_NODE_DATA,
84
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.GRAPH_FETCH_TREE_NODE_DATA,
85
85
  this.id,
86
86
  this.label,
87
87
  this.tree,