@finos/legend-query-builder 0.0.2 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (392) hide show
  1. package/lib/components/QueryBuilder.d.ts +1 -0
  2. package/lib/components/QueryBuilder.d.ts.map +1 -1
  3. package/lib/components/QueryBuilder.js +14 -4
  4. package/lib/components/QueryBuilder.js.map +1 -1
  5. package/lib/components/QueryBuilderDiffPanel.d.ts +23 -0
  6. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -0
  7. package/lib/components/QueryBuilderDiffPanel.js +103 -0
  8. package/lib/components/QueryBuilderDiffPanel.js.map +1 -0
  9. package/lib/components/QueryBuilderParametersPanel.d.ts +1 -0
  10. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderParametersPanel.js +2 -2
  12. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  13. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +1 -0
  14. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  15. package/lib/components/QueryBuilderResultPanel.d.ts +1 -0
  16. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  17. package/lib/components/QueryBuilderResultPanel.js +9 -10
  18. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  19. package/lib/components/QueryBuilderSideBar.d.ts +1 -0
  20. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  21. package/lib/components/QueryBuilderSideBar.js +1 -1
  22. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  23. package/lib/components/QueryBuilderTextEditor.d.ts +1 -0
  24. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  25. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -0
  26. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
  27. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +2 -2
  28. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
  29. package/lib/components/QuerySetupUtils.d.ts +22 -0
  30. package/lib/components/QuerySetupUtils.d.ts.map +1 -0
  31. package/lib/components/QuerySetupUtils.js +20 -0
  32. package/lib/components/QuerySetupUtils.js.map +1 -0
  33. package/lib/components/ServiceQuerySetupUtils.d.ts +23 -0
  34. package/lib/components/ServiceQuerySetupUtils.d.ts.map +1 -0
  35. package/lib/components/ServiceQuerySetupUtils.js +25 -0
  36. package/lib/components/ServiceQuerySetupUtils.js.map +1 -0
  37. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  38. package/lib/components/explorer/QueryBuilderExplorerPanel.js +4 -10
  39. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  40. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -0
  41. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  42. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +8 -6
  43. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  44. package/lib/components/explorer/{QueryBuilderMilestoneEditor.d.ts → QueryBuilderMilestoningEditor.d.ts} +2 -1
  45. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -0
  46. package/lib/components/explorer/{QueryBuilderMilestoneEditor.js → QueryBuilderMilestoningEditor.js} +9 -9
  47. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -0
  48. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -0
  49. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  50. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +69 -61
  51. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  52. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -0
  53. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  54. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +3 -3
  55. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
  56. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +1 -0
  57. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  58. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +1 -0
  59. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  60. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +3 -3
  61. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  62. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +1 -0
  63. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -1
  64. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +3 -5
  65. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -1
  66. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -0
  67. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  68. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -0
  69. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  70. package/lib/components/filter/QueryBuilderFilterPanel.js +5 -9
  71. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  72. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +1 -0
  73. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +1 -1
  74. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
  75. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +7 -2
  76. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
  77. package/lib/graphManager/QueryBuilderHashUtils.d.ts +84 -0
  78. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -0
  79. package/lib/graphManager/QueryBuilderHashUtils.js +91 -0
  80. package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -0
  81. package/lib/index.css +17 -1
  82. package/lib/index.css.map +1 -1
  83. package/lib/index.d.ts +4 -0
  84. package/lib/index.d.ts.map +1 -1
  85. package/lib/index.js +4 -0
  86. package/lib/index.js.map +1 -1
  87. package/lib/package.json +11 -9
  88. package/lib/stores/QueryBuilderChangeDetectionState.d.ts +27 -5
  89. package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -1
  90. package/lib/stores/QueryBuilderChangeDetectionState.js +106 -10
  91. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
  92. package/lib/stores/QueryBuilderConfig.d.ts +1 -0
  93. package/lib/stores/QueryBuilderConfig.d.ts.map +1 -1
  94. package/lib/stores/QueryBuilderConfig.js +1 -0
  95. package/lib/stores/QueryBuilderConfig.js.map +1 -1
  96. package/lib/stores/QueryBuilderMilestoningState.d.ts +3 -1
  97. package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -1
  98. package/lib/stores/QueryBuilderMilestoningState.js +10 -0
  99. package/lib/stores/QueryBuilderMilestoningState.js.map +1 -1
  100. package/lib/stores/QueryBuilderParametersState.d.ts +4 -2
  101. package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -1
  102. package/lib/stores/QueryBuilderParametersState.js +11 -2
  103. package/lib/stores/QueryBuilderParametersState.js.map +1 -1
  104. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +5 -3
  105. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  106. package/lib/stores/QueryBuilderPropertyEditorState.js +15 -5
  107. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  108. package/lib/stores/QueryBuilderResultState.d.ts +5 -3
  109. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  110. package/lib/stores/QueryBuilderResultState.js +26 -6
  111. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  112. package/lib/stores/QueryBuilderState.d.ts +3 -5
  113. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  114. package/lib/stores/QueryBuilderState.js +32 -22
  115. package/lib/stores/QueryBuilderState.js.map +1 -1
  116. package/lib/stores/QueryBuilderStateTestUtils.js +1 -1
  117. package/lib/stores/QueryBuilderStateTestUtils.js.map +1 -1
  118. package/lib/stores/QueryBuilderTextEditorState.js +1 -1
  119. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  120. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  121. package/lib/stores/QueryBuilderTypeaheadHelper.js +3 -4
  122. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  123. package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts +4 -2
  124. package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts.map +1 -1
  125. package/lib/stores/QueryBuilderUnsupportedQueryState.js +10 -1
  126. package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -1
  127. package/lib/stores/ServiceInfo.d.ts +28 -0
  128. package/lib/stores/ServiceInfo.d.ts.map +1 -0
  129. package/lib/stores/ServiceInfo.js +34 -0
  130. package/lib/stores/ServiceInfo.js.map +1 -0
  131. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +6 -6
  132. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  133. package/lib/stores/explorer/QueryBuilderExplorerState.js +19 -14
  134. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  135. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +36 -17
  136. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  137. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +203 -161
  138. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  139. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +5 -3
  140. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  141. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +1 -0
  142. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  143. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +1 -1
  144. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
  145. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +3 -3
  146. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  147. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +3 -1
  148. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  149. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +9 -1
  150. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  151. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +7 -5
  152. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
  153. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +20 -5
  154. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
  155. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +7 -4
  156. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  157. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +20 -5
  158. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  159. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +6 -5
  160. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -1
  161. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +14 -9
  162. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -1
  163. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +6 -3
  164. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +1 -1
  165. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +28 -5
  166. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +1 -1
  167. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +4 -1
  168. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -1
  169. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +7 -1
  170. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +1 -1
  171. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +8 -5
  172. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  173. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +24 -7
  174. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -1
  175. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +3 -1
  176. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
  177. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +5 -0
  178. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  179. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +3 -1
  180. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
  181. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +5 -0
  182. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  183. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +3 -1
  184. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -1
  185. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +7 -0
  186. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
  187. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +3 -1
  188. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
  189. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +7 -1
  190. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  191. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +3 -1
  192. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -1
  193. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +7 -1
  194. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  195. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +3 -1
  196. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -1
  197. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +5 -0
  198. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
  199. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +3 -1
  200. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -1
  201. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +5 -0
  202. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
  203. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +3 -1
  204. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -1
  205. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +7 -0
  206. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  207. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +3 -1
  208. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -1
  209. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +7 -0
  210. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  211. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +3 -1
  212. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -1
  213. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +5 -0
  214. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
  215. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +3 -1
  216. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -1
  217. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
  218. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +14 -8
  219. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  220. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +54 -4
  221. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  222. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +4 -1
  223. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  224. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +12 -1
  225. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  226. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +4 -1
  227. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  228. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +12 -1
  229. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  230. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +4 -1
  231. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  232. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +10 -1
  233. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  234. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +3 -1
  235. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
  236. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +7 -1
  237. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
  238. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +1 -0
  239. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  240. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +7 -0
  241. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
  242. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +4 -1
  243. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
  244. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +10 -1
  245. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  246. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +4 -1
  247. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
  248. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +12 -0
  249. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  250. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +3 -1
  251. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
  252. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +7 -1
  253. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
  254. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +3 -1
  255. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
  256. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +7 -0
  257. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
  258. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +5 -2
  259. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  260. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +12 -1
  261. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  262. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +3 -1
  263. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -1
  264. package/lib/stores/filter/QueryBuilderFilterOperator.js.map +1 -1
  265. package/lib/stores/filter/QueryBuilderFilterState.d.ts +14 -8
  266. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  267. package/lib/stores/filter/QueryBuilderFilterState.js +54 -9
  268. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  269. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +4 -1
  270. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  271. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +10 -1
  272. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  273. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +4 -1
  274. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  275. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +10 -1
  276. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  277. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +4 -1
  278. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  279. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +8 -1
  280. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  281. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +3 -1
  282. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  283. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +7 -1
  284. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  285. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +3 -1
  286. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  287. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +7 -1
  288. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  289. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +4 -1
  290. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  291. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +8 -0
  292. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  293. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +4 -1
  294. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  295. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +10 -0
  296. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  297. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +3 -1
  298. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  299. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +5 -1
  300. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  301. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +3 -1
  302. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  303. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +7 -1
  304. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  305. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +4 -1
  306. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  307. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +10 -1
  308. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  309. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  310. package/lib/stores/workflows/ServiceQueryBuilderState.js +15 -7
  311. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  312. package/package.json +17 -15
  313. package/src/components/QueryBuilder.tsx +41 -1
  314. package/src/components/QueryBuilderDiffPanel.tsx +222 -0
  315. package/src/components/QueryBuilderParametersPanel.tsx +2 -2
  316. package/src/components/QueryBuilderResultPanel.tsx +34 -20
  317. package/src/components/QueryBuilderSideBar.tsx +1 -1
  318. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +8 -9
  319. package/src/components/QuerySetupUtils.ts +23 -0
  320. package/src/components/ServiceQuerySetupUtils.tsx +54 -0
  321. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -12
  322. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +24 -14
  323. package/src/components/explorer/{QueryBuilderMilestoneEditor.tsx → QueryBuilderMilestoningEditor.tsx} +12 -8
  324. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +156 -145
  325. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +10 -5
  326. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +5 -4
  327. package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +4 -7
  328. package/src/components/filter/QueryBuilderFilterPanel.tsx +6 -15
  329. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +22 -0
  330. package/src/graphManager/QueryBuilderHashUtils.ts +95 -0
  331. package/src/index.ts +4 -0
  332. package/src/stores/QueryBuilderChangeDetectionState.ts +143 -10
  333. package/src/stores/QueryBuilderConfig.ts +2 -0
  334. package/src/stores/QueryBuilderMilestoningState.ts +12 -1
  335. package/src/stores/QueryBuilderParametersState.ts +18 -3
  336. package/src/stores/QueryBuilderPropertyEditorState.ts +19 -7
  337. package/src/stores/QueryBuilderResultState.ts +30 -8
  338. package/src/stores/QueryBuilderState.ts +50 -37
  339. package/src/stores/QueryBuilderStateTestUtils.ts +1 -1
  340. package/src/stores/QueryBuilderTextEditorState.ts +1 -1
  341. package/src/stores/QueryBuilderTypeaheadHelper.ts +6 -5
  342. package/src/stores/QueryBuilderUnsupportedQueryState.ts +13 -3
  343. package/src/stores/ServiceInfo.ts +52 -0
  344. package/src/stores/explorer/QueryBuilderExplorerState.ts +26 -30
  345. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +259 -193
  346. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +8 -3
  347. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +4 -4
  348. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +18 -2
  349. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +31 -6
  350. package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +34 -9
  351. package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +23 -16
  352. package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +38 -8
  353. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +15 -2
  354. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +37 -12
  355. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +10 -1
  356. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +10 -1
  357. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +12 -1
  358. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +17 -2
  359. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +17 -2
  360. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +10 -1
  361. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +10 -1
  362. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +12 -1
  363. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +12 -1
  364. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +10 -1
  365. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +4 -2
  366. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +78 -10
  367. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +19 -1
  368. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +22 -2
  369. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +17 -1
  370. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +13 -1
  371. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +8 -0
  372. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +20 -2
  373. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +18 -1
  374. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +13 -1
  375. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +12 -1
  376. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +26 -3
  377. package/src/stores/filter/QueryBuilderFilterOperator.ts +4 -2
  378. package/src/stores/filter/QueryBuilderFilterState.ts +80 -22
  379. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +20 -2
  380. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +20 -2
  381. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +18 -2
  382. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +16 -2
  383. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +16 -2
  384. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +14 -1
  385. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +16 -1
  386. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +14 -2
  387. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +16 -2
  388. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +20 -2
  389. package/src/stores/workflows/ServiceQueryBuilderState.ts +24 -9
  390. package/tsconfig.json +8 -2
  391. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
  392. package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
@@ -14,10 +14,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { useRef, useState } from 'react';
18
- import { clsx, CheckSquareIcon, SquareIcon, BasePopover, ResizablePanelSplitter, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitterLine, InfoCircleIcon, TimesIcon, SearchIcon, ChevronDownIcon, ChevronRightIcon, useDragPreviewLayer, } from '@finos/legend-art';
17
+ import { useMemo, useRef, useState } from 'react';
18
+ import { clsx, CheckSquareIcon, SquareIcon, BasePopover, ResizablePanelSplitter, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitterLine, InfoCircleIcon, TimesIcon, SearchIcon, useDragPreviewLayer, PanelLoadingIndicator, BlankPanelContent, CogIcon, } from '@finos/legend-art';
19
19
  import { Class, Enumeration, getAllClassProperties, getAllOwnClassProperties, } from '@finos/legend-graph';
20
- import { guaranteeNonNullable } from '@finos/legend-shared';
20
+ import { debounce, guaranteeNonNullable } from '@finos/legend-shared';
21
21
  import { observer } from 'mobx-react-lite';
22
22
  import { useDrag } from 'react-dnd';
23
23
  import { QUERY_BUILDER_PROPERTY_SEARCH_TYPE } from '../../stores/QueryBuilderConfig.js';
@@ -26,6 +26,7 @@ import { prettyPropertyName } from '../../stores/QueryBuilderPropertyEditorState
26
26
  import { QueryBuilderSubclassInfoTooltip, renderPropertyTypeIcon, } from './QueryBuilderExplorerPanel.js';
27
27
  import { QueryBuilderPropertyInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
28
28
  import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
29
+ import { TextSearchAdvancedConfigMenu } from '@finos/legend-application';
29
30
  const prettyPropertyNameFromNodeId = (name) => {
30
31
  let propNameArray = name.split('.');
31
32
  propNameArray = propNameArray.map((p) => prettyPropertyName(p));
@@ -70,7 +71,7 @@ const prettyPropertyNameForSubTypeClass = (name) => {
70
71
  const QueryBuilderTreeNodeViewer = observer((props) => {
71
72
  const { node, queryBuilderState, explorerState, level, stepPaddingInRem } = props;
72
73
  const [isExpandable, setIsExpandable] = useState(false);
73
- const propertySearchPanelState = explorerState.propertySearchState;
74
+ const propertySearchState = explorerState.propertySearchState;
74
75
  const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
75
76
  type: node instanceof QueryBuilderExplorerTreePropertyNodeData
76
77
  ? node.type instanceof Enumeration
@@ -87,13 +88,6 @@ const QueryBuilderTreeNodeViewer = observer((props) => {
87
88
  }),
88
89
  }), [node]);
89
90
  useDragPreviewLayer(dragPreviewConnector);
90
- const isMultiple = (node instanceof QueryBuilderExplorerTreePropertyNodeData &&
91
- (node.property.multiplicity.upperBound === undefined ||
92
- node.property.multiplicity.upperBound > 1)) ||
93
- (node instanceof QueryBuilderExplorerTreeSubTypeNodeData &&
94
- (node.multiplicity.upperBound === undefined ||
95
- node.multiplicity.upperBound > 1));
96
- const nodeExpandIcon = isExpandable ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}));
97
91
  const getChildrenNodes = () => {
98
92
  const childNodes = [];
99
93
  if (node.childrenIds.length) {
@@ -115,45 +109,45 @@ const QueryBuilderTreeNodeViewer = observer((props) => {
115
109
  }
116
110
  return childNodes;
117
111
  };
118
- const parentNode = propertySearchPanelState.allMappedPropertyNodes.find((pn) => node instanceof QueryBuilderExplorerTreePropertyNodeData &&
112
+ const parentNode = propertySearchState.indexedExplorerTreeNodes.find((pn) => node instanceof QueryBuilderExplorerTreePropertyNodeData &&
119
113
  node.parentId === pn.id);
120
114
  return (_jsxs("div", { children: [_jsxs("div", { className: "tree-view__node__container query-builder-property-search-panel__node__container", ref: dragConnector, style: {
121
115
  paddingLeft: `${(level - 1) * stepPaddingInRem + 0.5}rem`,
122
116
  display: 'flex',
123
117
  }, onClick: () => setIsExpandable(!isExpandable),
124
118
  // Temporarily hide away the panel when we drag-and-drop the properties
125
- onDrag: () => propertySearchPanelState.setIsSearchPanelHidden(true), onDragEnd: () => propertySearchPanelState.setIsSearchPanelHidden(false), children: [_jsxs("div", { className: "tree-view__node__icon query-builder-property-search-panel__node__icon", children: [node.type instanceof Class && (_jsx("div", { className: "query-builder-property-search-panel__expand-icon", children: nodeExpandIcon })), _jsx("div", { className: "query-builder-property-search-panel__type-icon", children: renderPropertyTypeIcon(node.type) })] }), _jsxs("div", { className: "tree-view__node__label query-builder-property-search-panel__node__label query-builder-property-search-panel__node__label--with-action", children: [parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
126
- ? prettyPropertyNameForSubType(node.id)
127
- : node instanceof QueryBuilderExplorerTreeSubTypeNodeData
128
- ? prettyPropertyNameForSubTypeClass(node.id)
129
- : prettyPropertyNameFromNodeId(node.id), isMultiple && (_jsx("div", { className: "query-builder-property-search-panel__node__label__multiple", title: "Multiple values of this property can cause row explosion", children: "*" }))] }), _jsxs("div", { className: "query-builder-property-search-panel__node__actions", children: [node instanceof QueryBuilderExplorerTreePropertyNodeData && (_jsx(QueryBuilderPropertyInfoTooltip, { property: node.property, path: node.id, isMapped: node.mappingData.mapped, children: _jsx("div", { className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsx(InfoCircleIcon, {}) }) })), node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (_jsx(QueryBuilderSubclassInfoTooltip, { subclass: node.subclass, path: node.id, isMapped: node.mappingData.mapped, multiplicity: node.multiplicity, children: _jsx("div", { className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsx(InfoCircleIcon, {}) }) }))] })] }), isExpandable &&
119
+ onDrag: () => propertySearchState.setIsSearchPanelHidden(true), onDragEnd: () => propertySearchState.setIsSearchPanelHidden(false), children: [_jsx("div", { className: "tree-view__node__icon query-builder-property-search-panel__node__icon", children: _jsx("div", { className: "query-builder-property-search-panel__type-icon", children: renderPropertyTypeIcon(node.type) }) }), _jsx("div", { className: "tree-view__node__label query-builder-property-search-panel__node__label query-builder-property-search-panel__node__label--with-action", children: parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
120
+ ? prettyPropertyNameForSubType(node.id)
121
+ : node instanceof QueryBuilderExplorerTreeSubTypeNodeData
122
+ ? prettyPropertyNameForSubTypeClass(node.id)
123
+ : prettyPropertyNameFromNodeId(node.id) }), _jsxs("div", { className: "query-builder-property-search-panel__node__actions", children: [node instanceof QueryBuilderExplorerTreePropertyNodeData && (_jsx(QueryBuilderPropertyInfoTooltip, { property: node.property, path: node.id, isMapped: node.mappingData.mapped, children: _jsx("div", { className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsx(InfoCircleIcon, {}) }) })), node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (_jsx(QueryBuilderSubclassInfoTooltip, { subclass: node.subclass, path: node.id, isMapped: node.mappingData.mapped, multiplicity: node.multiplicity, children: _jsx("div", { className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsx(InfoCircleIcon, {}) }) }))] })] }), isExpandable &&
130
124
  getChildrenNodes().map((childNode) => (_jsx(QueryBuilderTreeNodeViewer, { node: childNode, queryBuilderState: queryBuilderState, level: 1, stepPaddingInRem: 2, explorerState: queryBuilderState.explorerState }, childNode.id)))] }));
131
125
  });
132
126
  export const QueryBuilderPropertySearchPanel = observer((props) => {
133
127
  const { queryBuilderState, triggerElement } = props;
134
128
  const explorerState = queryBuilderState.explorerState;
135
- const propertySearchPanelState = explorerState.propertySearchState;
129
+ const propertySearchState = explorerState.propertySearchState;
136
130
  const searchInputRef = useRef(null);
137
- const changePropertyName = (event) => {
138
- propertySearchPanelState.setSearchText(event.target.value);
139
- propertySearchPanelState.refreshPropertyState();
140
- if (propertySearchPanelState.searchText.length >= 3) {
141
- propertySearchPanelState.fetchMappedPropertyNodes(propertySearchPanelState.searchText);
142
- }
131
+ const searchConfigTriggerRef = useRef(null);
132
+ // search text
133
+ const debouncedSearchProperty = useMemo(() => debounce(() => propertySearchState.search(), 100), [propertySearchState]);
134
+ const onSearchPropertyTextChange = (event) => {
135
+ propertySearchState.setSearchText(event.target.value);
136
+ debouncedSearchProperty();
143
137
  };
144
- const clearPropertyName = () => {
145
- propertySearchPanelState.setSearchText('');
146
- propertySearchPanelState.refreshPropertyState();
138
+ // search actions
139
+ const clearSearch = () => {
140
+ propertySearchState.resetSearch();
147
141
  };
142
+ const toggleSearchConfigMenu = () => propertySearchState.setShowSearchConfigurationMenu(!propertySearchState.showSearchConfigurationMenu);
143
+ const closeSearchConfigMenu = () => propertySearchState.setShowSearchConfigurationMenu(false);
144
+ // life-cycle
145
+ const handleEnter = () => searchInputRef.current?.focus();
148
146
  const handleClose = () => {
149
- clearPropertyName();
150
- propertySearchPanelState.setIsSearchPanelOpen(false);
147
+ clearSearch();
148
+ propertySearchState.setIsSearchPanelOpen(false);
151
149
  };
152
- const toggleIsMultiple = () => {
153
- propertySearchPanelState.setFilterByMultiple(!propertySearchPanelState.filterByMultiple);
154
- };
155
- const handleEnter = () => searchInputRef.current?.focus();
156
- return (_jsx(BasePopover, { open: propertySearchPanelState.isSearchPanelOpen,
150
+ return (_jsx(BasePopover, { open: propertySearchState.isSearchPanelOpen,
157
151
  // we need to get rid of the backdrop and the click-away trap
158
152
  // to make this popover behave like a popper
159
153
  // NOTE: we will cancel the effect of click-away trap using CSS
@@ -162,7 +156,7 @@ export const QueryBuilderPropertySearchPanel = observer((props) => {
162
156
  root: 'query-builder-property-search-panel__container__root',
163
157
  },
164
158
  }, className: clsx('query-builder-property-search-panel__container', {
165
- 'query-builder-property-search-panel__container--hidden': propertySearchPanelState.isSearchPanelHidden,
159
+ 'query-builder-property-search-panel__container--hidden': propertySearchState.isSearchPanelHidden,
166
160
  }), anchorEl: triggerElement, onClose: handleClose, anchorOrigin: {
167
161
  vertical: 'bottom',
168
162
  horizontal: 'left',
@@ -170,31 +164,45 @@ export const QueryBuilderPropertySearchPanel = observer((props) => {
170
164
  vertical: 'top',
171
165
  horizontal: 'center',
172
166
  }, TransitionProps: { onEnter: handleEnter }, children: _jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PROPERTY_SEARCH_PANEL, className: "query-builder-property-search-panel", children: [_jsxs("div", { className: "query-builder-property-search-panel__header", children: [_jsxs("div", { className: "query-builder-property-search-panel__input__container", children: [_jsx("input", { ref: searchInputRef, className: clsx('query-builder-property-search-panel__input input--dark', {
173
- 'query-builder-property-search-panel__input--searching': propertySearchPanelState.searchText,
174
- }), onChange: changePropertyName, value: propertySearchPanelState.searchText, placeholder: "Search for a property" }), !propertySearchPanelState.searchText ? (_jsx("div", { className: "query-builder-property-search-panel__input__search__icon", children: _jsx(SearchIcon, {}) })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-builder-property-search-panel__input__search__count", children: propertySearchPanelState.filteredPropertyNodes.length }), _jsx("button", { className: "query-builder-property-search-panel__input__clear-btn", tabIndex: -1, onClick: clearPropertyName, title: "Clear", children: _jsx(TimesIcon, {}) })] }))] }), _jsx("button", { className: "btn btn--dark query-builder-property-search-panel__close-btn", tabIndex: -1, title: "Close", onClick: handleClose, children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "query-builder-property-search-panel__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 150, children: _jsxs("div", { className: "query-builder-property-search-panel__config", children: [_jsxs("div", { className: "query-builder-property-search-panel__form__section", children: [_jsxs("div", { className: "query-builder-property-search-panel__form__section__header__label", children: ["Multiple", _jsx("div", { className: "query-builder-property-search-panel__info__label", title: "Includes properties with multiplicity greater than one", children: _jsx(InfoCircleIcon, {}) })] }), _jsxs("div", { className: clsx('query-builder-property-search-panel__form__section__toggler', {
175
- 'query-builder-property-search-panel__form__section__toggler--disabled': false,
176
- }), children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
177
- 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchPanelState.filterByMultiple,
178
- }), onClick: toggleIsMultiple, tabIndex: -1, children: propertySearchPanelState.filterByMultiple ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Included" })] })] }), _jsxs("div", { className: "query-builder-property-search-panel__form__section", children: [_jsx("div", { className: "query-builder-property-search-panel__form__section__header__label", children: "Element types" }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
179
- 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS),
180
- }), onClick: () => {
181
- propertySearchPanelState.toggleTypeFilter(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS);
182
- }, tabIndex: -1, children: propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Class" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
183
- 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING),
184
- }), onClick: () => {
185
- propertySearchPanelState.toggleTypeFilter(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING);
186
- }, tabIndex: -1, children: propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "String" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
187
- 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN),
188
- }), onClick: () => {
189
- propertySearchPanelState.toggleTypeFilter(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN);
190
- }, tabIndex: -1, children: propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Boolean" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
191
- 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER),
192
- }), onClick: () => {
193
- propertySearchPanelState.toggleTypeFilter(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER);
194
- }, tabIndex: -1, children: propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Number" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
195
- 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE),
196
- }), onClick: () => {
197
- propertySearchPanelState.toggleTypeFilter(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE);
198
- }, tabIndex: -1, children: propertySearchPanelState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Date" })] })] })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsx("div", { className: "query-builder-property-search-panel__results", children: propertySearchPanelState.filteredPropertyNodes.map((node) => (_jsx(QueryBuilderTreeNodeViewer, { node: node, queryBuilderState: queryBuilderState, level: 1, stepPaddingInRem: 0, explorerState: queryBuilderState.explorerState }, node.id))) }) })] }) })] }) }));
167
+ 'query-builder-property-search-panel__input--searching': propertySearchState.searchText,
168
+ }), spellCheck: false, onChange: onSearchPropertyTextChange, value: propertySearchState.searchText, placeholder: "Search for a property by name or documentation" }), propertySearchState.searchText && (_jsx("div", { className: "query-builder-property-search-panel__input__search__count", children: propertySearchState.filteredSearchResults.length +
169
+ (propertySearchState.isOverSearchLimit &&
170
+ propertySearchState.filteredSearchResults.length !== 0
171
+ ? '+'
172
+ : '') })), _jsx("button", { ref: searchConfigTriggerRef, className: clsx('query-builder-property-search-panel__input__search__config__trigger', {
173
+ 'query-builder-property-search-panel__input__search__config__trigger--toggled': propertySearchState.showSearchConfigurationMenu,
174
+ 'query-builder-property-search-panel__input__search__config__trigger--active': propertySearchState.searchConfigurationState
175
+ .isAdvancedSearchActive,
176
+ }), tabIndex: -1, onClick: toggleSearchConfigMenu, title: "Click to toggle search config menu", children: _jsx(CogIcon, {}) }), _jsx(BasePopover, { open: Boolean(propertySearchState.showSearchConfigurationMenu), TransitionProps: {
177
+ onEnter: handleEnter,
178
+ }, anchorEl: searchConfigTriggerRef.current, onClose: closeSearchConfigMenu, anchorOrigin: {
179
+ vertical: 'bottom',
180
+ horizontal: 'center',
181
+ }, transformOrigin: {
182
+ vertical: 'top',
183
+ horizontal: 'center',
184
+ }, children: _jsx(TextSearchAdvancedConfigMenu, { configState: propertySearchState.searchConfigurationState }) }), !propertySearchState.searchText ? (_jsx(_Fragment, { children: _jsx("div", { className: "query-builder-property-search-panel__input__search__icon", children: _jsx(SearchIcon, {}) }) })) : (_jsx("button", { className: "query-builder-property-search-panel__input__clear-btn", tabIndex: -1, onClick: clearSearch, title: "Clear", children: _jsx(TimesIcon, {}) }))] }), _jsx("button", { className: "btn btn--dark query-builder-property-search-panel__close-btn", tabIndex: -1, title: "Close", onClick: handleClose, children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "query-builder-property-search-panel__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 150, children: _jsx("div", { className: "query-builder-property-search-panel__config", children: _jsxs("div", { className: "query-builder-property-search-panel__form__section", children: [_jsx("div", { className: "query-builder-property-search-panel__form__section__header__label", children: "By type" }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
185
+ 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS),
186
+ }), onClick: () => {
187
+ propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS);
188
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Class" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
189
+ 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING),
190
+ }), onClick: () => {
191
+ propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING);
192
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "String" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
193
+ 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN),
194
+ }), onClick: () => {
195
+ propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN);
196
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Boolean" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
197
+ 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER),
198
+ }), onClick: () => {
199
+ propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER);
200
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Number" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
201
+ 'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE),
202
+ }), onClick: () => {
203
+ propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE);
204
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Date" })] })] }) }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsxs(ResizablePanel, { children: [propertySearchState.searchState.isInProgress && (_jsx(PanelLoadingIndicator, { isLoading: true })), _jsxs("div", { className: "query-builder-property-search-panel__results", children: [!propertySearchState.searchState.isInProgress && (_jsxs(_Fragment, { children: [Boolean(propertySearchState.filteredSearchResults.length) &&
205
+ propertySearchState.filteredSearchResults.map((node) => (_jsx(QueryBuilderTreeNodeViewer, { node: node, queryBuilderState: queryBuilderState, level: 1, stepPaddingInRem: 0, explorerState: queryBuilderState.explorerState }, node.id))), !propertySearchState.filteredSearchResults.length &&
206
+ propertySearchState.searchText && (_jsxs(BlankPanelContent, { children: [_jsx("div", { className: "query-builder-property-search-panel__result-placeholder__text", children: "No result" }), _jsx("div", { className: "query-builder-property-search-panel__result-placeholder__tips", children: "Tips: Navigate deeper into the explorer tree to improve the scope and accuracy of the search" })] }))] })), propertySearchState.searchState.isInProgress && (_jsx(BlankPanelContent, { children: "Searching..." }))] })] })] }) })] }) }));
199
207
  });
200
208
  //# sourceMappingURL=QueryBuilderPropertySearchPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,IAAI,EACJ,e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C,CAAC,CACF,KAAC,UAAU,KAAG,CACf,GACM,EACT,cAAK,SAAS,EAAC,qEAAqE,qBAE9E,IACF,IACF,IACF,GACS,EACjB,KAAC,sBAAsB,cACrB,KAAC,0BAA0B,IAAC,KAAK,EAAC,4BAA4B,GAAG,GAC1C,EACzB,KAAC,cAAc,cACb,cAAK,SAAS,EAAC,8CAA8C,YAC1D,wBAAwB,CAAC,qBAAqB,CAAC,GAAG,CACjD,CAAC,IAAI,EAAE,EAAE,CAAC,CACR,KAAC,0BAA0B,IAEzB,IAAI,EAAE,IAAI,EACV,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,CAAC,EACR,gBAAgB,EAAE,CAAC,EACnB,aAAa,EAAE,iBAAiB,CAAC,aAAa,IALzC,IAAI,CAAC,EAAE,CAMZ,CACH,CACF,GACG,GACS,IACG,GAClB,IACF,GACM,CACf,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAc,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,EACX,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EA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R,KAAC,0BAA0B,IAEzB,IAAI,EAAE,IAAI,EACV,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,CAAC,EACR,gBAAgB,EAAE,CAAC,EACnB,aAAa,EAAE,iBAAiB,CAAC,aAAa,IALzC,IAAI,CAAC,EAAE,CAMZ,CACH,CACF,EACF,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,MAAM;wDAChD,mBAAmB,CAAC,UAAU,IAAI,CAChC,MAAC,iBAAiB,eAChB,cAAK,SAAS,EAAC,+DAA+D,0BAExE,EACN,cAAK,SAAS,EAAC,+DAA+D,6GAGxE,IACY,CACrB,IACF,CACJ,EACA,mBAAmB,CAAC,WAAW,CAAC,YAAY,IAAI,CAC/C,KAAC,iBAAiB,+BAAiC,CACpD,IACG,IACS,IACG,GAClB,IACF,GACM,CACf,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
17
18
  export declare const QueryBuilderFetchStructurePanel: ((props: {
18
19
  queryBuilderState: QueryBuilderState;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFetchStructurePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA4C3E,eAAO,MAAM,+BAA+B,WAClC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAgDjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFetchStructurePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AASH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA4C3E,eAAO,MAAM,+BAA+B,WAClC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAgDjD,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
- import { clsx, BlankPanelContent } from '@finos/legend-art';
18
+ import { clsx, BlankPanelContent, Panel, PanelContent, } from '@finos/legend-art';
19
19
  import { prettyCONSTName } from '@finos/legend-shared';
20
20
  import { QueryBuilderProjectionPanel } from './QueryBuilderProjectionPanel.js';
21
21
  import { QueryBuilderGraphFetchTreePanel } from './QueryBuilderGraphFetchTreePanel.js';
@@ -33,7 +33,7 @@ const QueryBuilderFetchStructureEditor = observer((props) => {
33
33
  else if (fetchStructureImplementation instanceof QueryBuilderGraphFetchTreeState) {
34
34
  return (_jsx(QueryBuilderGraphFetchTreePanel, { graphFetchTreeState: fetchStructureImplementation }));
35
35
  }
36
- return (_jsx("div", { className: "panel__content", children: _jsx(BlankPanelContent, { children: _jsx("div", { className: "query-builder__unsupported-view__main", children: _jsx("div", { className: "query-builder__unsupported-view__summary", children: "Unsupported fetch structure" }) }) }) }));
36
+ return (_jsx(PanelContent, { children: _jsx(BlankPanelContent, { children: _jsx("div", { className: "query-builder__unsupported-view__main", children: _jsx("div", { className: "query-builder__unsupported-view__summary", children: "Unsupported fetch structure" }) }) }) }));
37
37
  });
38
38
  export const QueryBuilderFetchStructurePanel = observer((props) => {
39
39
  const { queryBuilderState } = props;
@@ -45,7 +45,7 @@ export const QueryBuilderFetchStructurePanel = observer((props) => {
45
45
  });
46
46
  }
47
47
  };
48
- return (_jsxs("div", { className: "panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "fetch structure" }), _jsx(QueryBuilderPanelIssueCountBadge, { issues: fetchStructureState.implementation.validationIssues })] }), _jsx("div", { className: "panel__header__actions", children: _jsx("div", { className: "query-builder__fetch__structure__modes", children: Object.values(FETCH_STRUCTURE_IMPLEMENTATION).map((type) => (_jsx("button", { onClick: onChangeFetchStructureImplementation(type), className: clsx('query-builder__fetch__structure__mode', {
48
+ return (_jsxs(Panel, { children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "fetch structure" }), _jsx(QueryBuilderPanelIssueCountBadge, { issues: fetchStructureState.implementation.validationIssues })] }), _jsx("div", { className: "panel__header__actions", children: _jsx("div", { className: "query-builder__fetch__structure__modes", children: Object.values(FETCH_STRUCTURE_IMPLEMENTATION).map((type) => (_jsx("button", { onClick: onChangeFetchStructureImplementation(type), className: clsx('query-builder__fetch__structure__mode', {
49
49
  'query-builder__fetch__structure__mode--selected': type === fetchStructureState.implementation.type,
50
50
  }), children: prettyCONSTName(type) }, type))) }) })] }), _jsx(QueryBuilderFetchStructureEditor, { queryBuilderState: queryBuilderState })] }));
51
51
  });
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFetchStructurePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AACrH,OAAO,EAAE,+BAA+B,EAAE,MAAM,6EAA6E,CAAC;AAC9H,OAAO,EAAE,gCAAgC,EAAE,MAA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AS,EAAC,OAAO,aACpB,eAAK,SAAS,EAAC,eAAe,aAC5B,eAAK,SAAS,EAAC,sBAAsB,aACnC,cAAK,SAAS,EAAC,6BAA6B,gCAAsB,EAClE,KAAC,gCAAgC,IAC/B,MAAM,EAAE,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,GAC3D,IACE,EACN,cAAK,SAAS,EAAC,wBAAwB,YACrC,cAAK,SAAS,EAAC,wCAAwC,YACpD,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC3D,iBACE,OAAO,EAAE,oCAAoC,CAAC,IAAI,CAAC,EACnD,SAAS,EAAE,IAAI,CAAC,uCAAuC,EAAE;oCACvD,iDAAiD,EAC/C,IAAI,KAAK,mBAAmB,CAAC,cAAc,CAAC,IAAI;iCACnD,CAAC,YAGD,eAAe,CAAC,IAAI,CAAC,IAFjB,IAAI,CAGF,CACV,CAAC,GACE,GACF,IACF,EACN,KAAC,gCAAgC,IAC/B,iBAAiB,EAAE,iBAAiB,GACpC,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFetchStructurePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,iBAAiB,EACjB,KAAK,EACL,YAAY,GACb,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AACrH,OAAO,EAAE,+BAA+B,EAAE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ACH,CAAC,CAAC;IAEJ,OAAO,CACL,MAAC,KAAK,eACJ,eAAK,SAAS,EAAC,eAAe,aAC5B,eAAK,SAAS,EAAC,sBAAsB,aACnC,cAAK,SAAS,EAAC,6BAA6B,gCAAsB,EAClE,KAAC,gCAAgC,IAC/B,MAAM,EAAE,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,GAC3D,IACE,EACN,cAAK,SAAS,EAAC,wBAAwB,YACrC,cAAK,SAAS,EAAC,wCAAwC,YACpD,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC3D,iBACE,OAAO,EAAE,oCAAoC,CAAC,IAAI,CAAC,EACnD,SAAS,EAAE,IAAI,CAAC,uCAAuC,EAAE;oCACvD,iDAAiD,EAC/C,IAAI,KAAK,mBAAmB,CAAC,cAAc,CAAC,IAAI;iCACnD,CAAC,YAGD,eAAe,CAAC,IAAI,CAAC,IAFjB,IAAI,CAGF,CACV,CAAC,GACE,GACF,IACF,EACN,KAAC,gCAAgC,IAC/B,iBAAiB,EAAE,iBAAiB,GACpC,IACI,CACT,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import { type QueryBuilderGraphFetchTreeData } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
17
18
  import type { QueryBuilderGraphFetchTreeState } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
18
19
  export declare const QueryBuilderGraphFetchTreeExplorer: ((props: {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoBH,OAAO,EACL,KAAK,8BAA8B,EAIpC,MAAM,4EAA4E,CAAC;AAKpF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6EAA6E,CAAC;AA4FnI,eAAO,MAAM,kCAAkC;qBAE1B,+BAA+B;cACtC,8BAA8B;2BACjB,8BAA8B,KAAK,IAAI;gBAClD,OAAO;;;CAkEtB,CAAC;AAEF,eAAO,MAAM,+BAA+B,WAClC;IAAE,mBAAmB,EAAE,+BAA+B,CAAA;CAAE;;CAiEjE,CAAC"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAoBH,OAAO,EACL,KAAK,8BAA8B,EAIpC,MAAM,4EAA4E,CAAC;AAKpF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,6EAA6E,CAAC;AA4FnI,eAAO,MAAM,kCAAkC;qBAE1B,+BAA+B;cACtC,8BAA8B;2BACjB,8BAA8B,KAAK,IAAI;gBAClD,OAAO;;;CAkEtB,CAAC;AAEF,eAAO,MAAM,+BAA+B,WAClC;IAAE,mBAAmB,EAAE,+BAA+B,CAAA;CAAE;;CAiEjE,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import { PostFilterConditionState } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
17
18
  import { type QueryBuilderProjectionColumnState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
18
19
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPostFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+DH,OAAO,EAGL,wBAAwB,EAMzB,MAAM,oFAAoF,CAAC;AAC5F,OAAO,EACL,KAAK,iCAAiC,EAIvC,MAAM,8EAA8E,CAAC;AACtF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgM3E,eAAO,MAAM,uBAAuB;8BAEN,wBAAwB;kCAEnC,iCAAiC,KAC3C,QAAQ,IAAI,CAAC;;;CAsErB,CAAC;AAksBF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAmCjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPostFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAgEH,OAAO,EAGL,wBAAwB,EAMzB,MAAM,oFAAoF,CAAC;AAC5F,OAAO,EACL,KAAK,iCAAiC,EAIvC,MAAM,8EAA8E,CAAC;AACtF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgM3E,eAAO,MAAM,uBAAuB;8BAEN,wBAAwB;kCAEnC,iCAAiC,KAC3C,QAAQ,IAAI,CAAC;;;CAsErB,CAAC;AAksBF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAmCjD,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
15
15
  * limitations under the License.
16
16
  */
17
17
  import { useApplicationStore, BasicValueSpecificationEditor, } from '@finos/legend-application';
18
- import { BlankPanelPlaceholder, CaretDownIcon, ChevronDownIcon, ChevronRightIcon, ClickAwayListener, clsx, ContextMenu, DropdownMenu, FilledTriangleIcon, MenuContent, MenuContentItem, TimesIcon, PlusIcon, ExpandIcon, CompressIcon, CircleIcon, BrushIcon, NewFolderIcon, PlusCircleIcon, InfoCircleIcon, Tooltip, StringTypeIcon, ToggleIcon, HashtagIcon, ClockIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, BlankPanelContent, } from '@finos/legend-art';
18
+ import { BlankPanelPlaceholder, CaretDownIcon, ChevronDownIcon, ChevronRightIcon, ClickAwayListener, clsx, ContextMenu, DropdownMenu, FilledTriangleIcon, MenuContent, MenuContentItem, TimesIcon, PlusIcon, ExpandIcon, CompressIcon, CircleIcon, BrushIcon, NewFolderIcon, PlusCircleIcon, InfoCircleIcon, Tooltip, StringTypeIcon, ToggleIcon, HashtagIcon, ClockIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, BlankPanelContent, PanelContent, } from '@finos/legend-art';
19
19
  import { Class, Enumeration, PrimitiveType, PRIMITIVE_TYPE, getMultiplicityDescription, } from '@finos/legend-graph';
20
20
  import { assertErrorThrown, guaranteeNonNullable, returnUndefOnError, debounce, } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
@@ -367,12 +367,12 @@ const QueryBuilderPostFilterPanelContent = observer((props) => {
367
367
  }),
368
368
  }), [applicationStore, handleDrop]);
369
369
  return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER, className: "panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "post-filter" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action", onClick: createCondition, tabIndex: -1, title: "Create Condition", children: _jsx(PlusIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: !(postFilterState.selectedNode instanceof
370
- QueryBuilderPostFilterTreeConditionNodeData), onClick: newGroupWithCondition, tabIndex: -1, title: "Create Group From Condition", children: _jsx(PlusCircleIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: !allowGroupCreation, onClick: createGroupCondition, tabIndex: -1, title: "Create Logical Group", children: _jsx(NewFolderIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: pruneTree, tabIndex: -1, title: "Cleanup Tree", children: _jsx(BrushIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: simplifyTree, tabIndex: -1, title: "Simplify Tree", children: _jsx(CircleIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, title: "Collapse Tree", children: _jsx(CompressIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: expandTree, tabIndex: -1, title: "Expand Tree", children: _jsx(ExpandIcon, {}) })] })] }), _jsx("div", { className: "panel__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [postFilterState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add a post-filter condition", tooltipText: "Drag and drop properties here" })), !postFilterState.isEmpty && (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_POST_FILTER_DND_TYPE) }), _jsx(QueryBuilderPostFilterTree, { projectionState: projectionState })] }))] }) })] }));
370
+ QueryBuilderPostFilterTreeConditionNodeData), onClick: newGroupWithCondition, tabIndex: -1, title: "Create Group From Condition", children: _jsx(PlusCircleIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: !allowGroupCreation, onClick: createGroupCondition, tabIndex: -1, title: "Create Logical Group", children: _jsx(NewFolderIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: pruneTree, tabIndex: -1, title: "Cleanup Tree", children: _jsx(BrushIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: simplifyTree, tabIndex: -1, title: "Simplify Tree", children: _jsx(CircleIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, title: "Collapse Tree", children: _jsx(CompressIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: expandTree, tabIndex: -1, title: "Expand Tree", children: _jsx(ExpandIcon, {}) })] })] }), _jsx(PanelContent, { children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [postFilterState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add a post-filter condition", tooltipText: "Drag and drop properties here" })), !postFilterState.isEmpty && (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_POST_FILTER_DND_TYPE) }), _jsx(QueryBuilderPostFilterTree, { projectionState: projectionState })] }))] }) })] }));
371
371
  });
372
372
  export const QueryBuilderPostFilterPanel = observer((props) => {
373
373
  const { queryBuilderState } = props;
374
374
  const fetchStructureImplementation = queryBuilderState.fetchStructureState.implementation;
375
375
  return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER, className: "panel", children: [fetchStructureImplementation instanceof
376
- QueryBuilderProjectionState && (_jsx(QueryBuilderPostFilterPanelContent, { projectionState: fetchStructureImplementation })), !(fetchStructureImplementation instanceof QueryBuilderProjectionState) && (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "post-filter" }) }) }), _jsx("div", { className: "panel__content", children: _jsx(BlankPanelContent, { children: "Post-filter is not supported for the current fetch-structure" }) })] }))] }));
376
+ QueryBuilderProjectionState && (_jsx(QueryBuilderPostFilterPanelContent, { projectionState: fetchStructureImplementation })), !(fetchStructureImplementation instanceof QueryBuilderProjectionState) && (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "post-filter" }) }) }), _jsx(PanelContent, { children: _jsx(BlankPanelContent, { children: "Post-filter is not supported for the current fetch-structure" }) })] }))] }));
377
377
  });
378
378
  //# sourceMappingURL=QueryBuilderPostFilterPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPostFilterPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-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UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,eAAe,CAAC,OAAO,IAAI,CAC1B,KAAC,qBAAqB,IACpB,IAAI,EAAC,6BAA6B,EAClC,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,CAAC,eAAe,CAAC,OAAO,IAAI,CAC3B,8BACE,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA+C,EACvC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EACvC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,GACxD,EACF,KAAC,0BAA0B,IAAC,eAAe,EAAE,eAAe,GAAI,IAC/D,CACJ,IACa,GACZ,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,4BAA4B,GAChC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;IAEvD,OAAO,CACL,8BACe,qBAAqB,CAAC,yBAAyB,EAC5D,SAAS,EAAC,OAAO,aAEhB,4BAA4B;gBAC3B,2BAA2B,IAAI,CAC/B,KAAC,kCAAkC,IACjC,eAAe,EAAE,4BAA4B,GAC7C,CACH,EACA,CAAC,CACA,4BAA4B,YAAY,2BAA2B,CACpE,IAAI,CACH,8BACE,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,4BAAkB,GAC1D,GACF,EACN,cAAK,SAAS,EAAC,gBAAgB,YAC7B,KAAC,iBAAiB,+EAEE,GAChB,IACL,CACJ,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPostFilterPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx"],"names":[],"mappings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e,CAAC,OAAO,IAAI,CAC1B,KAAC,qBAAqB,IACpB,IAAI,EAAC,6BAA6B,EAClC,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,CAAC,eAAe,CAAC,OAAO,IAAI,CAC3B,8BACE,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA+C,EACvC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EACvC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,GACxD,EACF,KAAC,0BAA0B,IAAC,eAAe,EAAE,eAAe,GAAI,IAC/D,CACJ,IACa,GACH,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,4BAA4B,GAChC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;IAEvD,OAAO,CACL,8BACe,qBAAqB,CAAC,yBAAyB,EAC5D,SAAS,EAAC,OAAO,aAEhB,4BAA4B;gBAC3B,2BAA2B,IAAI,CAC/B,KAAC,kCAAkC,IACjC,eAAe,EAAE,4BAA4B,GAC7C,CACH,EACA,CAAC,CACA,4BAA4B,YAAY,2BAA2B,CACpE,IAAI,CACH,8BACE,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,4BAAkB,GAC1D,GACF,EACN,KAAC,YAAY,cACX,KAAC,iBAAiB,+EAEE,GACP,IACd,CACJ,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import type { QueryBuilderProjectionState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
17
18
  export declare const QueryBuilderProjectionPanel: ((props: {
18
19
  projectionState: QueryBuilderProjectionState;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProjectionPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderProjectionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8DH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AAoa1H,eAAO,MAAM,2BAA2B,WAC9B;IAAE,eAAe,EAAE,2BAA2B,CAAA;CAAE;;CAuJzD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderProjectionPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderProjectionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA+DH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AAoa1H,eAAO,MAAM,2BAA2B,WAC9B;IAAE,eAAe,EAAE,2BAA2B,CAAA;CAAE;;CAmJzD,CAAC"}
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
16
  */
17
17
  import { useEffect, useRef, useCallback, useState, forwardRef } from 'react';
18
18
  import { observer } from 'mobx-react-lite';
19
- import { clsx, BlankPanelPlaceholder, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, VerticalDragHandleIcon, ContextMenu, InputWithInlineValidation, SigmaIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, OptionsIcon, PlusIcon, } from '@finos/legend-art';
19
+ import { clsx, BlankPanelPlaceholder, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, VerticalDragHandleIcon, ContextMenu, InputWithInlineValidation, SigmaIcon, PanelDropZone, DragPreviewLayer, PanelEntryDropZonePlaceholder, useDragPreviewLayer, OptionsIcon, PlusIcon, PanelContent, } from '@finos/legend-art';
20
20
  import { buildPropertyExpressionFromExplorerTreeNodeData, QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
21
21
  import { useDrag, useDrop } from 'react-dnd';
22
22
  import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE, } from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
@@ -183,9 +183,7 @@ export const QueryBuilderProjectionPanel = observer((props) => {
183
183
  }
184
184
  case QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY:
185
185
  case QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY:
186
- projectionState.addColumn(new QueryBuilderSimpleProjectionColumnState(projectionState, buildPropertyExpressionFromExplorerTreeNodeData(projectionState.queryBuilderState.explorerState
187
- .nonNullableTreeData, item.node, projectionState.queryBuilderState.graphManagerState.graph, projectionState.queryBuilderState.explorerState
188
- .propertySearchState.allMappedPropertyNodes), projectionState.queryBuilderState.explorerState.humanizePropertyName));
186
+ projectionState.addColumn(new QueryBuilderSimpleProjectionColumnState(projectionState, buildPropertyExpressionFromExplorerTreeNodeData(item.node, projectionState.queryBuilderState.explorerState), projectionState.queryBuilderState.explorerState.humanizePropertyName));
189
187
  break;
190
188
  default:
191
189
  break;
@@ -209,7 +207,7 @@ export const QueryBuilderProjectionPanel = observer((props) => {
209
207
  useEffect(() => {
210
208
  flowResult(projectionState.convertDerivationProjectionObjects()).catch(applicationStore.alertUnhandledError);
211
209
  }, [applicationStore, projectionState]);
212
- return (_jsxs("div", { className: "panel__content", children: [_jsxs("div", { className: "query-builder__projection__toolbar", children: [_jsx("button", { className: "panel__header__action", onClick: openResultSetModifierEditor, tabIndex: -1, title: "Configure result set modifiers...", children: _jsx(OptionsIcon, { className: "query-builder__icon query-builder__icon__query-option" }) }), _jsx("button", { className: "panel__header__action", onClick: addNewBlankDerivation, tabIndex: -1, title: "Add a new derivation", children: _jsx(PlusIcon, {}) })] }), _jsx("div", { className: "query-builder__projection__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [!projectionColumns.length && (_jsx(BlankPanelPlaceholder, { text: "Add a projection column", tooltipText: "Drag and drop properties here" })), Boolean(projectionColumns.length) && (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PROJECTION, className: "query-builder__projection__columns", children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.columnState.columnName === ''
210
+ return (_jsxs(PanelContent, { children: [_jsxs("div", { className: "query-builder__projection__toolbar", children: [_jsx("button", { className: "panel__header__action", onClick: openResultSetModifierEditor, tabIndex: -1, title: "Configure result set modifiers...", children: _jsx(OptionsIcon, { className: "query-builder__icon query-builder__icon__query-option" }) }), _jsx("button", { className: "panel__header__action", onClick: addNewBlankDerivation, tabIndex: -1, title: "Add a new derivation", children: _jsx(PlusIcon, {}) })] }), _jsx("div", { className: "query-builder__projection__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, children: [!projectionColumns.length && (_jsx(BlankPanelPlaceholder, { text: "Add a projection column", tooltipText: "Drag and drop properties here" })), Boolean(projectionColumns.length) && (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PROJECTION, className: "query-builder__projection__columns", children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.columnState.columnName === ''
213
211
  ? '(unknown)'
214
212
  : item.columnState.columnName, types: [QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE] }), projectionColumns.map((projectionColumnState) => (_jsx(QueryBuilderProjectionColumnEditor, { projectionColumnState: projectionColumnState }, projectionColumnState.uuid)))] })), _jsx(QueryResultModifierModal, { projectionState: projectionState })] }) })] }));
215
213
  });