@finos/legend-query-builder 2.1.7 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (511) 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 +4 -4
  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.map +1 -1
  54. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +3 -3
  55. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  56. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
  57. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  58. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
  59. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  60. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +1 -1
  61. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  62. package/lib/components/filter/QueryBuilderFilterPanel.js +1 -1
  63. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  64. package/lib/components/shared/BasicValueSpecificationEditor.js +1 -1
  65. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  66. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  67. package/lib/components/shared/CustomDatePicker.js +39 -37
  68. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  69. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  70. package/lib/components/shared/LambdaEditor.js +9 -7
  71. package/lib/components/shared/LambdaEditor.js.map +1 -1
  72. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  73. package/lib/components/workflows/ClassQueryBuilder.js +2 -3
  74. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  75. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  76. package/lib/components/workflows/MappingQueryBuilder.js +2 -3
  77. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  78. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  79. package/lib/components/workflows/ServiceQueryBuilder.js +2 -1
  80. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  81. package/lib/{graphManager/QueryBuilderSupportedFunctions.d.ts → graph/QueryBuilderMetaModelConst.d.ts} +22 -1
  82. package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -0
  83. package/lib/{graphManager/QueryBuilderSupportedFunctions.js → graph/QueryBuilderMetaModelConst.js} +27 -1
  84. package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -0
  85. package/lib/graph-manager/QueryBuilder_GraphManagerPreset.d.ts.map +1 -0
  86. package/lib/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.js +1 -1
  87. package/lib/graph-manager/QueryBuilder_GraphManagerPreset.js.map +1 -0
  88. package/lib/{graphManager/QueryBuilder_GraphManagerPlugin.d.ts → graph-manager/QueryBuilder_PureGraphManagerPlugin.d.ts} +2 -1
  89. package/lib/graph-manager/QueryBuilder_PureGraphManagerPlugin.d.ts.map +1 -0
  90. package/lib/{graphManager/QueryBuilder_GraphManagerPlugin.js → graph-manager/QueryBuilder_PureGraphManagerPlugin.js} +9 -1
  91. package/lib/graph-manager/QueryBuilder_PureGraphManagerPlugin.js.map +1 -0
  92. package/lib/graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +1 -0
  93. package/lib/graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +1 -0
  94. package/lib/graph-manager/action/analytics/ServiceExecutionAnalysis.d.ts.map +1 -0
  95. package/lib/graph-manager/action/analytics/ServiceExecutionAnalysis.js.map +1 -0
  96. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
  97. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +1 -0
  98. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  99. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +1 -0
  100. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -0
  101. package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +26 -2
  102. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -0
  103. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
  104. package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +2 -2
  105. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -0
  106. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -0
  107. package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +5 -5
  108. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -0
  109. package/lib/index.css +16 -0
  110. package/lib/index.d.ts +10 -11
  111. package/lib/index.d.ts.map +1 -1
  112. package/lib/index.js +8 -9
  113. package/lib/index.js.map +1 -1
  114. package/lib/package.json +3 -2
  115. package/lib/stores/QueryBuilderConstantsState.js +3 -3
  116. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  117. package/lib/stores/QueryBuilderGroupOperationHelper.js +1 -1
  118. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -1
  119. package/lib/stores/QueryBuilderParametersState.js +2 -2
  120. package/lib/stores/QueryBuilderParametersState.js.map +1 -1
  121. package/lib/stores/QueryBuilderPropertyEditorState.js +3 -3
  122. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  123. package/lib/stores/QueryBuilderResultState.js +4 -4
  124. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  125. package/lib/stores/QueryBuilderState.js +2 -2
  126. package/lib/stores/QueryBuilderState.js.map +1 -1
  127. package/lib/stores/QueryBuilderStateBuilder.js +1 -1
  128. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  129. package/lib/{graphManager/QueryBuilderHashUtils.d.ts → stores/QueryBuilderStateHashUtils.d.ts} +2 -2
  130. package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -0
  131. package/lib/stores/QueryBuilderStateHashUtils.js +111 -0
  132. package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -0
  133. package/lib/stores/QueryBuilderTextEditorState.js +2 -2
  134. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  135. package/lib/stores/QueryBuilderUnsupportedQueryState.js +2 -2
  136. package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -1
  137. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +1 -1
  138. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  139. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +1 -1
  140. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  141. package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -1
  142. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  143. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts +39 -0
  144. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -0
  145. package/lib/stores/{QueryBuilderStateTestUtils.js → __test-utils__/QueryBuilderStateTestUtils.js} +54 -6
  146. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -0
  147. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +2 -2
  148. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  149. package/lib/stores/explorer/QueryBuilderExplorerState.js +1 -1
  150. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  151. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +1 -2
  152. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  153. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +1 -2
  154. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  155. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +2 -2
  156. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  157. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
  158. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +4 -4
  159. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  160. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +2 -2
  161. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
  162. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  163. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +3 -3
  164. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  165. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js +1 -1
  166. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
  167. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
  168. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  169. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +3 -3
  170. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
  171. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +3 -3
  172. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  173. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +1 -1
  174. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
  175. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
  176. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +5 -3
  177. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  178. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
  179. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +5 -3
  180. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  181. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +3 -3
  182. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
  183. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +3 -3
  184. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  185. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +3 -3
  186. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  187. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -1
  188. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js +5 -3
  189. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
  190. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -1
  191. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js +5 -3
  192. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
  193. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +3 -3
  194. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  195. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +3 -3
  196. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  197. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -1
  198. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +5 -3
  199. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
  200. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +6 -6
  201. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  202. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +1 -1
  203. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
  204. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +1 -1
  205. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  206. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
  207. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +3 -2
  208. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  209. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -4
  210. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  211. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -4
  212. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  213. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  214. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +9 -7
  215. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  216. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
  217. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +6 -6
  218. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
  219. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  220. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +6 -6
  221. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
  222. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
  223. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +6 -4
  224. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  225. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +3 -3
  226. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  227. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
  228. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +6 -6
  229. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
  230. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
  231. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +6 -6
  232. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
  233. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -4
  234. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  235. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +3 -3
  236. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  237. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -1
  238. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  239. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +1 -1
  240. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  241. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +6 -6
  242. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
  243. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js +1 -1
  244. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -1
  245. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js +1 -1
  246. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
  247. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js +3 -3
  248. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -1
  249. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.d.ts.map +1 -1
  250. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js +5 -3
  251. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -1
  252. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.d.ts.map +1 -1
  253. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js +5 -3
  254. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -1
  255. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.d.ts.map +1 -1
  256. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js +5 -3
  257. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -1
  258. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.d.ts.map +1 -1
  259. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js +5 -3
  260. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -1
  261. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js +3 -3
  262. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -1
  263. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js +3 -3
  264. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -1
  265. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.d.ts.map +1 -1
  266. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js +5 -3
  267. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -1
  268. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js +3 -3
  269. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -1
  270. package/lib/stores/filter/QueryBuilderFilterState.js +6 -6
  271. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  272. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
  273. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
  274. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +1 -1
  275. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  276. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +1 -1
  277. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  278. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  279. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -4
  280. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  281. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  282. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -4
  283. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  284. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  285. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +11 -7
  286. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  287. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  288. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +6 -6
  289. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  290. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  291. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +6 -6
  292. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  293. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  294. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +6 -4
  295. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  296. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  297. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +6 -4
  298. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  299. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  300. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +8 -6
  301. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  302. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  303. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +6 -6
  304. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  305. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  306. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -4
  307. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  308. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +2 -2
  309. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  310. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +2 -2
  311. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  312. package/lib/stores/shared/ValueSpecificationEditorHelper.js +4 -3
  313. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  314. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -2
  315. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  316. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js +1 -1
  317. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js.map +1 -1
  318. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
  319. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  320. package/package.json +11 -10
  321. package/src/__test__.ts +17 -0
  322. package/src/components/QueryBuilder.tsx +3 -3
  323. package/src/components/QueryBuilderConstantExpressionPanel.tsx +4 -5
  324. package/src/components/QueryBuilderDiffPanel.tsx +10 -80
  325. package/src/components/QueryBuilderParametersPanel.tsx +8 -9
  326. package/src/components/QueryBuilderResultPanel.tsx +7 -5
  327. package/src/components/QueryBuilderSideBar.tsx +5 -10
  328. package/src/components/QueryBuilderTextEditor.tsx +4 -4
  329. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +2 -2
  330. package/src/components/QueryBuilder_LegendApplicationPlugin.ts +1 -1
  331. package/src/components/{QueryBuilderComponentTestUtils.tsx → __test-utils__/QueryBuilderComponentTestUtils.tsx} +29 -34
  332. package/src/components/execution-plan/ExecutionPlanViewer.tsx +6 -3
  333. package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +4 -2
  334. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +2 -2
  335. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +2 -2
  336. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +5 -3
  337. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1 -1
  338. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +1 -1
  339. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +1 -1
  340. package/src/components/filter/QueryBuilderFilterPanel.tsx +1 -1
  341. package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -1
  342. package/src/components/shared/CustomDatePicker.tsx +54 -41
  343. package/src/components/shared/LambdaEditor.tsx +10 -8
  344. package/src/components/workflows/ClassQueryBuilder.tsx +6 -8
  345. package/src/components/workflows/MappingQueryBuilder.tsx +6 -8
  346. package/src/components/workflows/ServiceQueryBuilder.tsx +5 -5
  347. package/src/{graphManager/QueryBuilderSupportedFunctions.ts → graph/QueryBuilderMetaModelConst.ts} +29 -0
  348. package/src/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.ts +1 -1
  349. package/src/{graphManager/QueryBuilder_GraphManagerPlugin.ts → graph-manager/QueryBuilder_PureGraphManagerPlugin.ts} +9 -0
  350. package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +55 -1
  351. package/src/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +2 -2
  352. package/src/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +13 -5
  353. package/src/index.ts +13 -11
  354. package/src/stores/QueryBuilderConstantsState.ts +3 -3
  355. package/src/stores/QueryBuilderGroupOperationHelper.ts +1 -1
  356. package/src/stores/QueryBuilderParametersState.ts +2 -2
  357. package/src/stores/QueryBuilderPropertyEditorState.ts +3 -3
  358. package/src/stores/QueryBuilderResultState.ts +4 -4
  359. package/src/stores/QueryBuilderState.ts +2 -2
  360. package/src/stores/QueryBuilderStateBuilder.ts +1 -1
  361. package/src/{graphManager/QueryBuilderHashUtils.ts → stores/QueryBuilderStateHashUtils.ts} +1 -1
  362. package/src/stores/QueryBuilderTextEditorState.ts +2 -2
  363. package/src/stores/QueryBuilderUnsupportedQueryState.ts +2 -2
  364. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +1 -1
  365. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +1 -1
  366. package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -1
  367. package/src/stores/{QueryBuilderStateTestUtils.ts → __test-utils__/QueryBuilderStateTestUtils.ts} +80 -8
  368. package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +2 -2
  369. package/src/stores/explorer/QueryBuilderExplorerState.ts +1 -1
  370. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +1 -1
  371. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +2 -2
  372. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +7 -5
  373. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +2 -2
  374. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +5 -3
  375. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
  376. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +4 -4
  377. package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +3 -3
  378. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +3 -3
  379. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +1 -1
  380. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +5 -3
  381. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +5 -3
  382. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +3 -3
  383. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +3 -3
  384. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +3 -3
  385. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +5 -3
  386. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +5 -3
  387. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +3 -3
  388. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +3 -3
  389. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +5 -3
  390. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +6 -6
  391. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
  392. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +1 -1
  393. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +4 -4
  394. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -4
  395. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -4
  396. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +8 -7
  397. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +5 -6
  398. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +5 -6
  399. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +6 -4
  400. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +3 -3
  401. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +5 -6
  402. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +5 -6
  403. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -4
  404. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +3 -3
  405. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -1
  406. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +1 -1
  407. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +6 -6
  408. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.ts +1 -1
  409. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts +1 -1
  410. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.ts +3 -3
  411. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.ts +5 -3
  412. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.ts +5 -3
  413. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.ts +5 -3
  414. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.ts +5 -3
  415. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.ts +3 -3
  416. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.ts +3 -3
  417. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.ts +5 -3
  418. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.ts +3 -3
  419. package/src/stores/filter/QueryBuilderFilterState.ts +6 -6
  420. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -1
  421. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +1 -1
  422. package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +1 -1
  423. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -4
  424. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -4
  425. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +10 -7
  426. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +5 -6
  427. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +5 -6
  428. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +6 -4
  429. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +6 -4
  430. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +7 -6
  431. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +5 -6
  432. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -4
  433. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +2 -2
  434. package/src/stores/shared/ValueSpecificationEditorHelper.ts +4 -4
  435. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -2
  436. package/src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts +1 -1
  437. package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +1 -1
  438. package/tsconfig.json +19 -19
  439. package/lib/application/QueryBuilderDocumentation.d.ts.map +0 -1
  440. package/lib/application/QueryBuilderDocumentation.js.map +0 -1
  441. package/lib/application/QueryBuilderEvent.d.ts.map +0 -1
  442. package/lib/application/QueryBuilderEvent.js.map +0 -1
  443. package/lib/application/QueryBuilderSetting.d.ts.map +0 -1
  444. package/lib/application/QueryBuilderSetting.js.map +0 -1
  445. package/lib/application/QueryBuilderTelemetryHelper.d.ts.map +0 -1
  446. package/lib/application/QueryBuilderTelemetryHelper.js.map +0 -1
  447. package/lib/application/QueryBuilderTesting.d.ts.map +0 -1
  448. package/lib/application/QueryBuilderTesting.js.map +0 -1
  449. package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +0 -1
  450. package/lib/components/QueryBuilderComponentTestUtils.js.map +0 -1
  451. package/lib/components/shared/ElementIconUtils.d.ts.map +0 -1
  452. package/lib/components/shared/ElementIconUtils.js +0 -37
  453. package/lib/components/shared/ElementIconUtils.js.map +0 -1
  454. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +0 -1
  455. package/lib/graphManager/QueryBuilderHashUtils.js +0 -111
  456. package/lib/graphManager/QueryBuilderHashUtils.js.map +0 -1
  457. package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +0 -1
  458. package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +0 -1
  459. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
  460. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
  461. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
  462. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
  463. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
  464. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
  465. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
  466. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
  467. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  468. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  469. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
  470. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
  471. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
  472. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
  473. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  474. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  475. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +0 -1
  476. package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +0 -1
  477. package/lib/stores/QueryBuilderStateTestUtils.d.ts +0 -24
  478. package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +0 -1
  479. package/lib/stores/QueryBuilderStateTestUtils.js.map +0 -1
  480. package/src/components/shared/ElementIconUtils.tsx +0 -47
  481. /package/lib/{application → __lib__}/QueryBuilderDocumentation.d.ts +0 -0
  482. /package/lib/{application → __lib__}/QueryBuilderDocumentation.js +0 -0
  483. /package/lib/{application → __lib__}/QueryBuilderEvent.d.ts +0 -0
  484. /package/lib/{application → __lib__}/QueryBuilderEvent.js +0 -0
  485. /package/lib/{application → __lib__}/QueryBuilderSetting.d.ts +0 -0
  486. /package/lib/{application → __lib__}/QueryBuilderSetting.js +0 -0
  487. /package/lib/{application → __lib__}/QueryBuilderTelemetryHelper.d.ts +0 -0
  488. /package/lib/{application → __lib__}/QueryBuilderTelemetryHelper.js +0 -0
  489. /package/lib/{application → __lib__}/QueryBuilderTesting.d.ts +0 -0
  490. /package/lib/{application → __lib__}/QueryBuilderTesting.js +0 -0
  491. /package/lib/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.d.ts +0 -0
  492. /package/lib/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -0
  493. /package/lib/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -0
  494. /package/lib/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.d.ts +0 -0
  495. /package/lib/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.js +0 -0
  496. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -0
  497. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -0
  498. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -0
  499. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -0
  500. /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -0
  501. /package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -0
  502. /package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +0 -0
  503. /package/src/{application → __lib__}/QueryBuilderDocumentation.ts +0 -0
  504. /package/src/{application → __lib__}/QueryBuilderEvent.ts +0 -0
  505. /package/src/{application → __lib__}/QueryBuilderSetting.ts +0 -0
  506. /package/src/{application → __lib__}/QueryBuilderTelemetryHelper.ts +0 -0
  507. /package/src/{application → __lib__}/QueryBuilderTesting.ts +0 -0
  508. /package/src/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -0
  509. /package/src/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.ts +0 -0
  510. /package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -0
  511. /package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterOperator_StartWith.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,cAAc,EAGd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OA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ACH;YACD;gBACE,MAAM,IAAI,yBAAyB,CACjC,gDAAgD,IAAI,CAAC,QAAQ,CAC3D,oBAAoB,CACrB,uCAAuC,YAAY,CAAC,IAAI,GAAG,CAC7D,CAAC;SACL;IACH,CAAC;IAED,8BAA8B,CAC5B,oBAA0C;QAE1C,OAAO,8BAA8B,CACnC,oBAAoB,EACpB,iCAAiC,CAAC,WAAW,CAC9C,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,WAAoC,EACpC,UAAoC;QAEpC,OAAO,yBAAyB,CAC9B,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,WAAW,EAC7C,IAAI,CACL,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC,CAAC,4BAA4B,CAAC,0BAA0B,CAAC,CAAC,CAAC;IAC9E,CAAC;CACF;AAED,MAAM,OAAO,uCAAwC,SAAQ,oCAAoC;IACtF,QAAQ,CAAC,oBAA0C;QAC1D,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAEQ,8BAA8B,CACrC,oBAA0C;QAE1C,OAAO,kBAAkB,CACvB,KAAK,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,CAC3D,CAAC;IACJ,CAAC;IAEQ,yBAAyB,CAChC,WAAoC,EACpC,UAAoC;QAEpC,MAAM,eAAe,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACxD,OAAO,eAAe;YACpB,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,WAAW,EAAE,eAAe,CAAC;YAC/D,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,8BAA8B;SAC5D,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderFilterOperator_StartWith.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GA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,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,8BAA8B;SAClE,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -16,7 +16,7 @@
16
16
  import { GenericType, GenericTypeExplicitReference, getMilestoneTemporalStereotype, MILESTONING_STEREOTYPE, observe_ValueSpecification, VariableExpression, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
17
17
  import { hashArray, guaranteeNonNullable, } from '@finos/legend-shared';
18
18
  import { action, computed, makeObservable, observable } 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 { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
21
21
  import { LambdaParameterState } from '../shared/LambdaParameterState.js';
22
22
  import { QueryBuilderBitemporalMilestoningImplementation } from './QueryBuilderBitemporalMilestoningImplementation.js';
@@ -106,7 +106,7 @@ export class QueryBuilderMilestoningState {
106
106
  }
107
107
  get hashCode() {
108
108
  return hashArray([
109
- QUERY_BUILDER_HASH_STRUCTURE.MILESTONING_STATE,
109
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.MILESTONING_STATE,
110
110
  this.businessDate ?? '',
111
111
  this.processingDate ?? '',
112
112
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderMilestoningState.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAElB,YAAY,EACZ,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MA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,IAAI,CAAC,cAAc,CAAC;YACnE,CAAC,CAAC,KAAK,CAAC;QACV,OAAO,cAAc,IAAI,oBAAoB,CAAC;IAChD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,iBAAiB;YAC9C,IAAI,CAAC,YAAY,IAAI,EAAE;YACvB,IAAI,CAAC,cAAc,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderMilestoningState.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAElB,YAAY,EACZ,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AACvH,OAAO,EAAE,qDAAqD,EAAE,MAAM,4DAA4D,CAAC;AAEnI,OAAO,EAAE,uDAAuD,EAAE,MAAM,8DAA8D,CAAC;AAEvI,MAAM,OAAO,4BAA4B;IAC9B,0BAA0B,GACjC,EAAE,CAAC;IAEL,iBAAiB,CAAoB;IAErC,qBAAqB,GAAG,KAAK,CAAC;IAC9B,iEAAiE;IACjE,yDAAyD;IACzD,YAAY,CAAkC;IAC9C,cAAc,CAAkC;IAEhD,YAAY,i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CAC1D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,KAAK,aAAa,CACxC,EACD;YACA,MAAM,aAAa,GAAG,IAAI,oBAAoB,CAC5C,oBAAoB,EACpB,IAAI,CAAC,iBAAiB,CAAC,eAAe,EACtC,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAC;YACF,aAAa,CAAC,kBAAkB,EAAE,CAAC;YACnC,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;SACpE;QACD,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY;YACtC,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC;YACjE,CAAC,CAAC,KAAK,CAAC;QACV,MAAM,oBAAoB,GAAG,IAAI,CAAC,cAAc;YAC9C,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC;YACnE,CAAC,CAAC,KAAK,CAAC;QACV,OAAO,cAAc,IAAI,oBAAoB,CAAC;IAChD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,IAAI,CAAC,YAAY,IAAI,EAAE;YACvB,IAAI,CAAC,cAAc,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type PureModel, VariableExpression, type ValueSpecification, type Type, Enumeration, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, SUPPORTED_FUNCTIONS, type ObserverContext } from '@finos/legend-graph';
17
- export declare const createSupportedFunctionExpression: (supportedFuncName: SUPPORTED_FUNCTIONS, expectedReturnType: Type) => SimpleFunctionExpression;
16
+ import { type PureModel, VariableExpression, type ValueSpecification, type Type, Enumeration, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, type ObserverContext } from '@finos/legend-graph';
17
+ export declare const createSupportedFunctionExpression: (supportedFuncName: string, expectedReturnType: Type) => SimpleFunctionExpression;
18
18
  export declare const createMockEnumerationProperty: (enumeration: Enumeration) => string;
19
19
  export declare const buildPrimitiveInstanceValue: (graph: PureModel, type: PRIMITIVE_TYPE, value: unknown, observerContext: ObserverContext) => PrimitiveInstanceValue;
20
20
  export declare const buildDefaultInstanceValue: (graph: PureModel, type: Type, observerContext: ObserverContext) => ValueSpecification;
@@ -1 +1 @@
1
- {"version":3,"file":"ValueSpecificationEditorHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,kBAAkB,EAClB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EAGT,WAAW,EAMX,sBAAsB,EAEtB,cAAc,EAEd,wBAAwB,EACxB,mBAAmB,EACnB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAU7B,eAAO,MAAM,iCAAiC,sBACzB,mBAAmB,sBAClB,IAAI,KACvB,wBAOF,CAAC;AAiDF,eAAO,MAAM,6BAA6B,gBAC3B,WAAW,KACvB,MACyE,CAAC;AAE7E,eAAO,MAAM,2BAA2B,UAC/B,SAAS,QACV,cAAc,SACb,OAAO,mBACG,eAAe,KAC/B,sBAQF,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAC7B,SAAS,QACV,IAAI,mBACO,eAAe,KAC/B,kBAgDF,CAAC;AAEF,eAAO,MAAM,mCAAmC,cACnC,kBAAkB,SACtB,SAAS,mBACC,eAAe,KAC/B,kBAAkB,GAAG,SA8BvB,CAAC;AAEF,eAAO,MAAM,gCAAgC,uBACvB,kBAAkB,KACrC,MAAM,GAAG,SAkBX,CAAC"}
1
+ {"version":3,"file":"ValueSpecificationEditorHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,kBAAkB,EAClB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EAGT,WAAW,EAMX,sBAAsB,EAEtB,cAAc,EAEd,wBAAwB,EACxB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAW7B,eAAO,MAAM,iCAAiC,sBACzB,MAAM,sBACL,IAAI,KACvB,wBAOF,CAAC;AAiDF,eAAO,MAAM,6BAA6B,gBAC3B,WAAW,KACvB,MACyE,CAAC;AAE7E,eAAO,MAAM,2BAA2B,UAC/B,SAAS,QACV,cAAc,SACb,OAAO,mBACG,eAAe,KAC/B,sBAQF,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAC7B,SAAS,QACV,IAAI,mBACO,eAAe,KAC/B,kBAgDF,CAAC;AAEF,eAAO,MAAM,mCAAmC,cACnC,kBAAkB,SACtB,SAAS,mBACC,eAAe,KAC/B,kBAAkB,GAAG,SA8BvB,CAAC;AAEF,eAAO,MAAM,gCAAgC,uBACvB,kBAAkB,KACrC,MAAM,GAAG,SAkBX,CAAC"}
@@ -13,10 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { VariableExpression, CollectionInstanceValue, Enumeration, EnumValueExplicitReference, EnumValueInstanceValue, GenericType, GenericTypeExplicitReference, getEnumValue, PrimitiveInstanceValue, PrimitiveType, PRIMITIVE_TYPE, INTERNAL__PropagatedValue, SimpleFunctionExpression, SUPPORTED_FUNCTIONS, } from '@finos/legend-graph';
16
+ import { VariableExpression, CollectionInstanceValue, Enumeration, EnumValueExplicitReference, EnumValueInstanceValue, GenericType, GenericTypeExplicitReference, getEnumValue, PrimitiveInstanceValue, PrimitiveType, PRIMITIVE_TYPE, INTERNAL__PropagatedValue, SimpleFunctionExpression, } from '@finos/legend-graph';
17
17
  import { Randomizer, UnsupportedOperationError } from '@finos/legend-shared';
18
18
  import { generateDefaultValueForPrimitiveType } from '../QueryBuilderValueSpecificationHelper.js';
19
19
  import { instanceValue_setValues, valueSpecification_setGenericType, } from './ValueSpecificationModifierHelper.js';
20
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
20
21
  const VAR_DEFAULT_NAME = 'var';
21
22
  export const createSupportedFunctionExpression = (supportedFuncName, expectedReturnType) => {
22
23
  const funcExpression = new SimpleFunctionExpression(supportedFuncName);
@@ -27,10 +28,10 @@ const createMockPrimitiveValueSpecification = (primitiveType, propertyName, obse
27
28
  const primitiveTypeName = primitiveType.name;
28
29
  if (primitiveTypeName === PRIMITIVE_TYPE.DATE ||
29
30
  primitiveTypeName === PRIMITIVE_TYPE.DATETIME) {
30
- return createSupportedFunctionExpression(SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
31
+ return createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
31
32
  }
32
33
  else if (primitiveTypeName === PRIMITIVE_TYPE.STRICTDATE) {
33
- return createSupportedFunctionExpression(SUPPORTED_FUNCTIONS.TODAY, PrimitiveType.STRICTDATE);
34
+ return createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TODAY, PrimitiveType.STRICTDATE);
34
35
  }
35
36
  const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(primitiveType)));
36
37
  const randomizer = new Randomizer();
@@ -1 +1 @@
1
- {"version":3,"file":"ValueSpecificationEditorHelper.js","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,kBAAkB,EAIlB,uBAAuB,EACvB,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACt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AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAC9C,kBAAsC,EAClB,EAAE;IACtB,IAAI,kBAAkB,YAAY,sBAAsB,EAAE;QACxD,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC;KACjD;SAAM,IAAI,kBAAkB,YAAY,sBAAsB,EAAE;QAC/D,MAAM,KAAK,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC3C,OAAO,GAAG,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,IAAI,IAAI,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;KACnE;SAAM,IAAI,kBAAkB,YAAY,kBAAkB,EAAE;QAC3D,OAAO,kBAAkB,CAAC,IAAI,CAAC;KAChC;SAAM,IAAI,kBAAkB,YAAY,yBAAyB,EAAE;QAClE,OAAO,gCAAgC,CAAC,kBAAkB,CAAC,QAAQ,EAAE,CAAC,CAAC;KACxE;SAAM,IAAI,kBAAkB,YAAY,wBAAwB,EAAE;QACjE,OAAO,kBAAkB,CAAC,YAAY,CAAC;KACxC;SAAM,IAAI,kBAAkB,YAAY,uBAAuB,EAAE;QAChE,OAAO,kBAAkB,CAAC,MAAM;aAC7B,GAAG,CAAC,gCAAgC,CAAC;aACrC,IAAI,CAAC,GAAG,CAAC,CAAC;KACd;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
1
+ {"version":3,"file":"ValueSpecificationEditorHelper.js","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,kBAAkB,EAIlB,uBAAuB,EACvB,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,WAAW,EACX,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,yBAAyB,EACzB,wBAAwB,GAEzB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AAsC,EAClB,EAAE;IACtB,IAAI,kBAAkB,YAAY,sBAAsB,EAAE;QACxD,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC;KACjD;SAAM,IAAI,kBAAkB,YAAY,sBAAsB,EAAE;QAC/D,MAAM,KAAK,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC3C,OAAO,GAAG,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,IAAI,IAAI,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;KACnE;SAAM,IAAI,kBAAkB,YAAY,kBAAkB,EAAE;QAC3D,OAAO,kBAAkB,CAAC,IAAI,CAAC;KAChC;SAAM,IAAI,kBAAkB,YAAY,yBAAyB,EAAE;QAClE,OAAO,gCAAgC,CAAC,kBAAkB,CAAC,QAAQ,EAAE,CAAC,CAAC;KACxE;SAAM,IAAI,kBAAkB,YAAY,wBAAwB,EAAE;QACjE,OAAO,kBAAkB,CAAC,YAAY,CAAC;KACxC;SAAM,IAAI,kBAAkB,YAAY,uBAAuB,EAAE;QAChE,OAAO,kBAAkB,CAAC,MAAM;aAC7B,GAAG,CAAC,gCAAgC,CAAC;aACrC,IAAI,CAAC,GAAG,CAAC,CAAC;KACd;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
@@ -16,7 +16,7 @@
16
16
  import { observe_ValueSpecification, GenericTypeExplicitReference, GenericType, PrimitiveInstanceValue, PrimitiveType, } from '@finos/legend-graph';
17
17
  import { 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 { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
21
21
  export class QueryBuilderWatermarkState {
22
22
  queryBuilderState;
@@ -62,7 +62,7 @@ export class QueryBuilderWatermarkState {
62
62
  }
63
63
  get hashCode() {
64
64
  return hashArray([
65
- QUERY_BUILDER_HASH_STRUCTURE.WATERMARK_STATE,
65
+ QUERY_BUILDER_STATE_HASH_STRUCTURE.WATERMARK_STATE,
66
66
  this.value ?? '',
67
67
  ]);
68
68
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWatermarkState.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,4BAA4B,EAC5B,WAAW,EACX,sBAAsB,EACtB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAE3F,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAEhG,MAAM,OAAO,0BAA0B;IAC5B,iBAAiB,CAAoB;IAC9C,KAAK,CAAkC;IACvC,kBAAkB,GAAG,KAAK,CAAC;IAE3B,YAAY,iBAAoC;QAC9C,cAAc,CAAC,IAAI,EAAE;YACnB,KAAK,EAAE,UAAU;YACjB,kBAAkB,EAAE,UAAU;YAC9B,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,MAAM;YAClB,eAAe,EAAE,MAAM;YACvB,qBAAqB,EAAE,MAAM;YAC7B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,UAAU;QACR,MAAM,iBAAiB,GAAG,IAAI,sBAAsB,CAClD,4BAA4B,CAAC,MAAM,CACjC,IAAI,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CACtC,CACF,CAAC;QAEF,iBAAiB,CAAC,MAAM,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAC9C,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC;IAED,qBAAqB,CAAC,GAAY;QAChC,IAAI,CAAC,kBAAkB,GAAG,GAAG,CAAC;IAChC,CAAC;IAED,eAAe;QACb,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;SAC1B;aAAM;YACL,IAAI,CAAC,UAAU,EAAE,CAAC;SACnB;IACH,CAAC;IAED,QAAQ,CAAC,GAAmC;QAC1C,IAAI,CAAC,KAAK,GAAG,GAAG;YACd,CAAC,CAAC,0BAA0B,CAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC;YACzE,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,OAAO,IAAI,CAAC,KAAK;YACf,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC;YAC1D,CAAC,CAAC,KAAK,CAAC;IACZ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,eAAe;YAC5C,IAAI,CAAC,KAAK,IAAI,EAAE;SACjB,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderWatermarkState.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,4BAA4B,EAC5B,WAAW,EACX,sBAAsB,EACtB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EA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AAC;IAChB,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,OAAO,IAAI,CAAC,KAAK;YACf,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC;YAC1D,CAAC,CAAC,KAAK,CAAC;IACZ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,eAAe;YAClD,IAAI,CAAC,KAAK,IAAI,EAAE;SACjB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { SimpleFunctionExpression, matchFunctionName, } from '@finos/legend-graph';
17
17
  import { assertTrue, guaranteeType } from '@finos/legend-shared';
18
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graphManager/QueryBuilderSupportedFunctions.js';
18
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
19
19
  import { QueryBuilderValueSpecificationProcessor } from '../QueryBuilderStateBuilder.js';
20
20
  export const processWatermarkExpression = (expression, queryBuilderState, parentLambda) => {
21
21
  // check preceding expression
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWatermarkStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AAEzG,OAAO,EAAE,uCAAuC,EAAE,MAAM,gCAAgC,CAAC;AAEzF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,UAAoC,EACpC,iBAAoC,EACpC,YAA4B,EACtB,EAAE;IACR,6BAA6B;IAC7B,MAAM,mBAAmB,GAAG,aAAa,CACvC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC9B,wBAAwB,EACxB,0GAA0G,CAC3G,CAAC;IACF,UAAU,CACR,iBAAiB,CAAC,mBAAmB,CAAC,YAAY,EAAE;QAClD,iCAAiC,CAAC,OAAO;KAC1C,CAAC,EACF,qGAAqG,CACtG,CAAC;IAEF,uCAAuC,CAAC,OAAO,CAC7C,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,CAClB,CAAC;IAEF,MAAM,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACtD,iBAAiB,CAAC,cAAc,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAC5D,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderWatermarkStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAE9F,OAAO,EAAE,uCAAuC,EAAE,MAAM,gCAAgC,CAAC;AAEzF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,UAAoC,EACpC,iBAAoC,EACpC,YAA4B,EACtB,EAAE;IACR,6BAA6B;IAC7B,MAAM,mBAAmB,GAAG,aAAa,CACvC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC9B,wBAAwB,EACxB,0GAA0G,CAC3G,CAAC;IACF,UAAU,CACR,iBAAiB,CAAC,mBAAmB,CAAC,YAAY,EAAE;QAClD,iCAAiC,CAAC,OAAO;KAC1C,CAAC,EACF,qGAAqG,CACtG,CAAC;IAEF,uCAAuC,CAAC,OAAO,CAC7C,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,CAClB,CAAC;IAEF,MAAM,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACtD,iBAAiB,CAAC,cAAc,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAC5D,CAAC,CAAC"}
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { SimpleFunctionExpression, extractElementNameFromPath, } from '@finos/legend-graph';
17
17
  import { guaranteeNonNullable } from '@finos/legend-shared';
18
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graphManager/QueryBuilderSupportedFunctions.js';
18
+ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
19
19
  export const buildWatermarkExpression = (watermarkState, lambdaFunction) => {
20
20
  if (!watermarkState.value) {
21
21
  return;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWatermarkValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AAGzG,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,cAA0C,EAC1C,cAA8B,EACxB,EAAE;IACR,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QACzB,OAAO;KACR;IACD,MAAM,iBAAiB,GAAG,oBAAoB,CAC5C,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,CACrC,CAAC;IAEF,yBAAyB;IACzB,MAAM,mBAAmB,GAAG,IAAI,wBAAwB,CACtD,0BAA0B,CAAC,iCAAiC,CAAC,SAAS,CAAC,CACxE,CAAC;IAEF,YAAY;IACZ,mBAAmB,CAAC,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAE7D,YAAY;IACZ,mBAAmB,CAAC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAEhE,uCAAuC;IACvC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC;AAC7D,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderWatermarkValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAG9F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,cAA0C,EAC1C,cAA8B,EACxB,EAAE;IACR,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QACzB,OAAO;KACR;IACD,MAAM,iBAAiB,GAAG,oBAAoB,CAC5C,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,CACrC,CAAC;IAEF,yBAAyB;IACzB,MAAM,mBAAmB,GAAG,IAAI,wBAAwB,CACtD,0BAA0B,CAAC,iCAAiC,CAAC,SAAS,CAAC,CACxE,CAAC;IAEF,YAAY;IACZ,mBAAmB,CAAC,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAE7D,YAAY;IACZ,mBAAmB,CAAC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAEhE,uCAAuC;IACvC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC;AAC7D,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "2.1.7",
3
+ "version": "3.0.0",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -20,6 +20,7 @@
20
20
  "type": "module",
21
21
  "exports": {
22
22
  ".": "./lib/index.js",
23
+ "./test": "./lib/__test__.js",
23
24
  "./lib/index.css": "./lib/index.css"
24
25
  },
25
26
  "module": "lib/index.js",
@@ -41,15 +42,15 @@
41
42
  "test:watch": "jest --watch"
42
43
  },
43
44
  "dependencies": {
44
- "@finos/legend-application": "14.0.4",
45
- "@finos/legend-art": "7.0.0",
46
- "@finos/legend-graph": "27.0.3",
47
- "@finos/legend-lego": "0.1.4",
48
- "@finos/legend-server-depot": "4.4.14",
49
- "@finos/legend-shared": "8.2.0",
50
- "@finos/legend-storage": "3.0.48",
45
+ "@finos/legend-application": "15.0.0",
46
+ "@finos/legend-art": "7.0.1",
47
+ "@finos/legend-graph": "28.0.0",
48
+ "@finos/legend-lego": "0.1.5",
49
+ "@finos/legend-server-depot": "5.0.0",
50
+ "@finos/legend-shared": "9.0.0",
51
+ "@finos/legend-storage": "3.0.49",
51
52
  "@testing-library/react": "14.0.0",
52
- "@types/react": "18.0.34",
53
+ "@types/react": "18.0.37",
53
54
  "@types/react-dom": "18.0.11",
54
55
  "mathjs": "11.8.0",
55
56
  "mobx": "6.9.0",
@@ -62,7 +63,7 @@
62
63
  "sql-formatter": "12.2.0"
63
64
  },
64
65
  "devDependencies": {
65
- "@finos/legend-dev-utils": "2.0.53",
66
+ "@finos/legend-dev-utils": "2.0.54",
66
67
  "@jest/globals": "29.5.0",
67
68
  "cross-env": "7.0.3",
68
69
  "eslint": "8.38.0",
@@ -0,0 +1,17 @@
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
+
17
+ export { TEST__setUpQueryBuilder } from './components/__test-utils__/QueryBuilderComponentTestUtils.js';
@@ -49,7 +49,7 @@ import { QueryBuilderTextEditor } from './QueryBuilderTextEditor.js';
49
49
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
50
50
  import { QueryBuilderTextEditorMode } from '../stores/QueryBuilderTextEditorState.js';
51
51
  import { QueryBuilderFetchStructurePanel } from './fetch-structure/QueryBuilderFetchStructurePanel.js';
52
- import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
52
+ import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
53
53
  import { flowResult } from 'mobx';
54
54
  import { QueryBuilderUnsupportedQueryEditor } from './QueryBuilderUnsupportedQueryEditor.js';
55
55
  import {
@@ -67,9 +67,9 @@ import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSP
67
67
  import { QueryBuilderWatermarkEditor } from './watermark/QueryBuilderWatermark.js';
68
68
  import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpressionPanel.js';
69
69
  import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
70
- import { QUERY_BUILDER_SETTING_KEY } from '../application/QueryBuilderSetting.js';
70
+ import { QUERY_BUILDER_SETTING_KEY } from '../__lib__/QueryBuilderSetting.js';
71
71
  import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
72
- import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../application/QueryBuilderDocumentation.js';
72
+ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
73
73
 
74
74
  const QueryBuilderStatusBar = observer(
75
75
  (props: { queryBuilderState: QueryBuilderState }) => {
@@ -15,10 +15,10 @@
15
15
  */
16
16
 
17
17
  import {
18
- type PackageableElementOption,
19
18
  buildElementOption,
20
19
  getPackageableElementOptionFormatter,
21
- } from '@finos/legend-application';
20
+ type PackageableElementOption,
21
+ } from '@finos/legend-lego/graph-editor';
22
22
  import {
23
23
  BlankPanelPlaceholder,
24
24
  CustomSelectorInput,
@@ -49,8 +49,8 @@ import { buildDefaultInstanceValue } from '../stores/shared/ValueSpecificationEd
49
49
  import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
50
50
  import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
51
51
  import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
52
- import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
53
- import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../application/QueryBuilderDocumentation.js';
52
+ import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
53
+ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
54
54
 
55
55
  // NOTE: We currently only allow constant variables for primitive types of multiplicity ONE.
56
56
  // This is why we don't show multiplicity in the editor.
@@ -153,7 +153,6 @@ const QueryBuilderConstantExpressionEditor = observer(
153
153
  darkMode:
154
154
  !applicationStore.layoutService
155
155
  .TEMPORARY__isLightColorThemeEnabled,
156
- graph: queryBuilderState.graphManagerState.graph,
157
156
  })}
158
157
  />
159
158
  </PanelFormSection>
@@ -14,90 +14,21 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import {
18
- CODE_EDITOR_LANGUAGE,
19
- CODE_EDITOR_THEME,
20
- TAB_SIZE,
21
- useApplicationStore,
22
- } from '@finos/legend-application';
23
- import { clsx, Dialog, useResizeDetector, Button } from '@finos/legend-art';
17
+ import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
18
+ import { clsx, Dialog, Button } from '@finos/legend-art';
24
19
  import { observer } from 'mobx-react-lite';
25
- import { editor as monacoEditorAPI } from 'monaco-editor';
26
- import { useEffect, useRef, useState } from 'react';
20
+ import { useEffect } from 'react';
27
21
  import {
28
22
  type QueryBuilderDiffViewState,
29
23
  QueryBuilderDiffViewMode,
30
24
  } from '../stores/QueryBuilderChangeDetectionState.js';
31
25
  import { pruneSourceInformation } from '@finos/legend-graph';
32
26
  import {
33
- disposeDiffCodeEditor,
34
- getBaseCodeEditorOptions,
27
+ CODE_EDITOR_LANGUAGE,
28
+ CodeDiffView,
29
+ JSONDiffView,
35
30
  } from '@finos/legend-lego/code-editor';
36
31
 
37
- const TextDiffView = observer(
38
- (props: {
39
- language: CODE_EDITOR_LANGUAGE;
40
- from?: string | undefined;
41
- to?: string | undefined;
42
- }) => {
43
- const { from, to, language } = props;
44
- const applicationStore = useApplicationStore();
45
- const [editor, setEditor] =
46
- useState<monacoEditorAPI.IStandaloneDiffEditor>();
47
- const editorRef = useRef<HTMLDivElement>(null);
48
- const originalText = from ?? '';
49
- const modifiedText = to ?? '';
50
-
51
- const { ref, width, height } = useResizeDetector<HTMLDivElement>();
52
-
53
- useEffect(() => {
54
- if (width !== undefined && height !== undefined) {
55
- editor?.layout({ width, height });
56
- }
57
- }, [editor, width, height]);
58
-
59
- useEffect(() => {
60
- if (!editor && editorRef.current) {
61
- const element = editorRef.current;
62
- const _editor = monacoEditorAPI.createDiffEditor(element, {
63
- ...getBaseCodeEditorOptions(),
64
- theme: applicationStore.layoutService
65
- .TEMPORARY__isLightColorThemeEnabled
66
- ? CODE_EDITOR_THEME.TEMPORARY__VSCODE_LIGHT
67
- : CODE_EDITOR_THEME.LEGEND,
68
- readOnly: true,
69
- wordWrap: 'on',
70
- });
71
- setEditor(_editor);
72
- }
73
- }, [applicationStore, editor]);
74
-
75
- if (editor) {
76
- const originalModel = monacoEditorAPI.createModel(originalText, language);
77
- const modifiedModel = monacoEditorAPI.createModel(modifiedText, language);
78
- editor.setModel({
79
- original: originalModel,
80
- modified: modifiedModel,
81
- });
82
- }
83
-
84
- useEffect(
85
- () => (): void => {
86
- if (editor) {
87
- disposeDiffCodeEditor(editor);
88
- }
89
- },
90
- [editor],
91
- ); // dispose editor
92
-
93
- return (
94
- <div ref={ref} className="code-editor__container">
95
- <div className="code-editor__body" ref={editorRef} />
96
- </div>
97
- );
98
- },
99
- );
100
-
101
32
  export const QueryBuilderDiffViewPanel = observer(
102
33
  (props: { diffViewState: QueryBuilderDiffViewState }) => {
103
34
  const { diffViewState } = props;
@@ -149,15 +80,14 @@ export const QueryBuilderDiffViewPanel = observer(
149
80
  </div>
150
81
  <div className="query-builder__diff-panel__content">
151
82
  {diffViewState.mode === QueryBuilderDiffViewMode.GRAMMAR && (
152
- <TextDiffView
83
+ <CodeDiffView
153
84
  language={CODE_EDITOR_LANGUAGE.PURE}
154
85
  from={fromGrammarText}
155
86
  to={toGrammarText}
156
87
  />
157
88
  )}
158
89
  {diffViewState.mode === QueryBuilderDiffViewMode.JSON && (
159
- <TextDiffView
160
- language={CODE_EDITOR_LANGUAGE.JSON}
90
+ <JSONDiffView
161
91
  from={JSON.stringify(
162
92
  {
163
93
  parameters: diffViewState.initialQuery.parameters
@@ -172,7 +102,7 @@ export const QueryBuilderDiffViewPanel = observer(
172
102
  : undefined,
173
103
  },
174
104
  null,
175
- TAB_SIZE,
105
+ DEFAULT_TAB_SIZE,
176
106
  )}
177
107
  to={JSON.stringify(
178
108
  {
@@ -188,7 +118,7 @@ export const QueryBuilderDiffViewPanel = observer(
188
118
  : undefined,
189
119
  },
190
120
  null,
191
- TAB_SIZE,
121
+ DEFAULT_TAB_SIZE,
192
122
  )}
193
123
  />
194
124
  )}
@@ -39,20 +39,20 @@ import {
39
39
  Multiplicity,
40
40
  getMultiplicityPrettyDescription,
41
41
  } from '@finos/legend-graph';
42
- import {
43
- type PackageableElementOption,
44
- buildElementOption,
45
- getPackageableElementOptionFormatter,
46
- useApplicationStore,
47
- } from '@finos/legend-application';
42
+ import { useApplicationStore } from '@finos/legend-application';
48
43
  import { generateEnumerableNameFromToken } from '@finos/legend-shared';
49
44
  import { DEFAULT_VARIABLE_NAME } from '../stores/QueryBuilderConfig.js';
50
45
  import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
51
46
  import { LambdaParameterState } from '../stores/shared/LambdaParameterState.js';
52
47
  import { LambdaParameterValuesEditor } from './shared/LambdaParameterValuesEditor.js';
53
48
  import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
54
- import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
55
- import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../application/QueryBuilderDocumentation.js';
49
+ import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
50
+ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
51
+ import {
52
+ buildElementOption,
53
+ getPackageableElementOptionFormatter,
54
+ type PackageableElementOption,
55
+ } from '@finos/legend-lego/graph-editor';
56
56
 
57
57
  type MultiplicityOption = { label: string; value: Multiplicity };
58
58
 
@@ -182,7 +182,6 @@ const VariableExpressionEditor = observer(
182
182
  darkMode:
183
183
  !applicationStore.layoutService
184
184
  .TEMPORARY__isLightColorThemeEnabled,
185
- graph: queryBuilderState.graphManagerState.graph,
186
185
  })}
187
186
  />
188
187
  </div>
@@ -45,8 +45,7 @@ import {
45
45
  import {
46
46
  ActionAlertActionType,
47
47
  ActionAlertType,
48
- CODE_EDITOR_LANGUAGE,
49
- TAB_SIZE,
48
+ DEFAULT_TAB_SIZE,
50
49
  useApplicationStore,
51
50
  } from '@finos/legend-application';
52
51
  import {
@@ -82,12 +81,15 @@ import {
82
81
  instanceValue_setValues,
83
82
  } from '../stores/shared/ValueSpecificationModifierHelper.js';
84
83
  import { PARAMETER_SUBMIT_ACTION } from '../stores/shared/LambdaParameterState.js';
85
- import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
84
+ import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
86
85
  import {
87
86
  DataGrid,
88
87
  type DataGridCellMouseOverEvent,
89
88
  } from '@finos/legend-lego/data-grid';
90
- import { CodeEditor } from '@finos/legend-lego/code-editor';
89
+ import {
90
+ CODE_EDITOR_LANGUAGE,
91
+ CodeEditor,
92
+ } from '@finos/legend-lego/code-editor';
91
93
  import { ExecutionPlanViewer } from './execution-plan/ExecutionPlanViewer.js';
92
94
 
93
95
  const QueryBuilderGridResultContextMenu = observer(
@@ -428,7 +430,7 @@ const QueryBuilderResultValues = observer(
428
430
  inputValue={JSON.stringify(
429
431
  extractExecutionResultValues(executionResult),
430
432
  null,
431
- TAB_SIZE,
433
+ DEFAULT_TAB_SIZE,
432
434
  )}
433
435
  isReadOnly={true}
434
436
  />
@@ -26,7 +26,7 @@ import {
26
26
  } from '@finos/legend-art';
27
27
  import { observer } from 'mobx-react-lite';
28
28
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
29
- import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
29
+ import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
30
30
  import {
31
31
  type Class,
32
32
  type Mapping,
@@ -41,14 +41,13 @@ import {
41
41
  VARIABLE_REFERENCE_TOKEN,
42
42
  isElementDeprecated,
43
43
  PrimitiveType,
44
- type PureModel,
45
44
  } from '@finos/legend-graph';
45
+ import { useApplicationStore } from '@finos/legend-application';
46
46
  import {
47
- type PackageableElementOption,
48
- getPackageableElementOptionFormatter,
49
47
  buildElementOption,
50
- useApplicationStore,
51
- } from '@finos/legend-application';
48
+ getPackageableElementOptionFormatter,
49
+ type PackageableElementOption,
50
+ } from '@finos/legend-lego/graph-editor';
52
51
  import { MilestoningParametersEditor } from './explorer/QueryBuilderMilestoningEditor.js';
53
52
 
54
53
  export const getParameterValue = (
@@ -188,7 +187,6 @@ export const QueryBuilderClassSelector = observer(
188
187
  darkMode:
189
188
  !applicationStore.layoutService
190
189
  .TEMPORARY__isLightColorThemeEnabled,
191
- graph: queryBuilderState.graphManagerState.graph,
192
190
  })}
193
191
  />
194
192
  {queryBuilderState.isQuerySupported && (
@@ -226,7 +224,6 @@ export const buildRuntimeValueOption = (
226
224
 
227
225
  export const getRuntimeOptionFormatter = (props: {
228
226
  darkMode?: boolean;
229
- pureModel: PureModel;
230
227
  }): ((option: { value: Runtime }) => React.ReactNode) =>
231
228
  function RuntimeOptionLabel(option: { value: Runtime }): React.ReactNode {
232
229
  if (option.value instanceof RuntimePointer) {
@@ -351,7 +348,6 @@ const BasicQueryBuilderSetup = observer(
351
348
  darkMode:
352
349
  !applicationStore.layoutService
353
350
  .TEMPORARY__isLightColorThemeEnabled,
354
- graph: queryBuilderState.graphManagerState.graph,
355
351
  })}
356
352
  />
357
353
  </div>
@@ -386,7 +382,6 @@ const BasicQueryBuilderSetup = observer(
386
382
  darkMode:
387
383
  !applicationStore.layoutService
388
384
  .TEMPORARY__isLightColorThemeEnabled,
389
- pureModel: queryBuilderState.graphManagerState.graph,
390
385
  })}
391
386
  />
392
387
  </div>
@@ -31,12 +31,12 @@ import {
31
31
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
32
32
  import { QueryBuilderTextEditorMode } from '../stores/QueryBuilderTextEditorState.js';
33
33
  import { flowResult } from 'mobx';
34
+ import { useApplicationStore } from '@finos/legend-application';
35
+ import { LambdaEditor } from './shared/LambdaEditor.js';
34
36
  import {
35
37
  CODE_EDITOR_LANGUAGE,
36
- useApplicationStore,
37
- } from '@finos/legend-application';
38
- import { LambdaEditor } from './shared/LambdaEditor.js';
39
- import { CodeEditor } from '@finos/legend-lego/code-editor';
38
+ CodeEditor,
39
+ } from '@finos/legend-lego/code-editor';
40
40
 
41
41
  export const QueryBuilderTextEditor = observer(
42
42
  (props: { queryBuilderState: QueryBuilderState }) => {
@@ -29,7 +29,7 @@ import {
29
29
  import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
30
30
  import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
31
31
 
32
- const QueryBuilderUnsupportedQueryEditPanel = observer(
32
+ const QueryBuilderUnsupportedQueryViewer = observer(
33
33
  (props: { queryBuilderState: QueryBuilderState }) => {
34
34
  const { queryBuilderState } = props;
35
35
  const queryUnsupportedState = queryBuilderState.unsupportedQueryState;
@@ -77,7 +77,7 @@ export const QueryBuilderUnsupportedQueryEditor = observer(
77
77
  </ResizablePanel>
78
78
  <ResizablePanelSplitter />
79
79
  <ResizablePanel>
80
- <QueryBuilderUnsupportedQueryEditPanel
80
+ <QueryBuilderUnsupportedQueryViewer
81
81
  queryBuilderState={queryBuilderState}
82
82
  />
83
83
  </ResizablePanel>
@@ -24,7 +24,7 @@ import {
24
24
  type LegendApplicationSetup,
25
25
  } from '@finos/legend-application';
26
26
  import packageJson from '../../package.json';
27
- import { QUERY_BUILDER_SETTING_CONFIG } from '../application/QueryBuilderSetting.js';
27
+ import { QUERY_BUILDER_SETTING_CONFIG } from '../__lib__/QueryBuilderSetting.js';
28
28
  import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
29
29
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
30
30
  import { configureDataGridComponent } from '@finos/legend-lego/data-grid';