@finos/legend-query-builder 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (348) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +14 -4
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilderDiffPanel.d.ts +22 -0
  5. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -0
  6. package/lib/components/QueryBuilderDiffPanel.js +103 -0
  7. package/lib/components/QueryBuilderDiffPanel.js.map +1 -0
  8. package/lib/components/QueryBuilderParametersPanel.js +3 -3
  9. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  10. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderResultPanel.js +8 -9
  12. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  13. package/lib/components/QueryBuilderSideBar.js +1 -1
  14. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  15. package/lib/components/ServiceQuerySetupUtils.d.ts +23 -0
  16. package/lib/components/ServiceQuerySetupUtils.d.ts.map +1 -0
  17. package/lib/components/ServiceQuerySetupUtils.js +25 -0
  18. package/lib/components/ServiceQuerySetupUtils.js.map +1 -0
  19. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  20. package/lib/components/explorer/QueryBuilderExplorerPanel.js +4 -10
  21. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  22. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  23. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +8 -6
  24. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  25. package/lib/components/explorer/{QueryBuilderMilestoneEditor.d.ts → QueryBuilderMilestoningEditor.d.ts} +1 -1
  26. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -0
  27. package/lib/components/explorer/{QueryBuilderMilestoneEditor.js → QueryBuilderMilestoningEditor.js} +9 -9
  28. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -0
  29. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  30. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +69 -61
  31. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  32. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -1
  33. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +1 -3
  34. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -1
  35. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  36. package/lib/components/filter/QueryBuilderFilterPanel.js +3 -7
  37. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  38. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
  39. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +7 -2
  40. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
  41. package/lib/graphManager/QueryBuilderHashUtils.d.ts +84 -0
  42. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -0
  43. package/lib/graphManager/QueryBuilderHashUtils.js +91 -0
  44. package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -0
  45. package/lib/index.css +2 -2
  46. package/lib/index.css.map +1 -1
  47. package/lib/index.d.ts +3 -0
  48. package/lib/index.d.ts.map +1 -1
  49. package/lib/index.js +3 -0
  50. package/lib/index.js.map +1 -1
  51. package/lib/package.json +6 -4
  52. package/lib/stores/QueryBuilderChangeDetectionState.d.ts +26 -5
  53. package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -1
  54. package/lib/stores/QueryBuilderChangeDetectionState.js +82 -10
  55. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
  56. package/lib/stores/QueryBuilderConfig.d.ts +1 -0
  57. package/lib/stores/QueryBuilderConfig.d.ts.map +1 -1
  58. package/lib/stores/QueryBuilderConfig.js +1 -0
  59. package/lib/stores/QueryBuilderConfig.js.map +1 -1
  60. package/lib/stores/QueryBuilderMilestoningState.d.ts +3 -1
  61. package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -1
  62. package/lib/stores/QueryBuilderMilestoningState.js +10 -0
  63. package/lib/stores/QueryBuilderMilestoningState.js.map +1 -1
  64. package/lib/stores/QueryBuilderParametersState.d.ts +3 -1
  65. package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -1
  66. package/lib/stores/QueryBuilderParametersState.js +10 -1
  67. package/lib/stores/QueryBuilderParametersState.js.map +1 -1
  68. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +5 -3
  69. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  70. package/lib/stores/QueryBuilderPropertyEditorState.js +15 -5
  71. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  72. package/lib/stores/QueryBuilderResultState.d.ts +5 -3
  73. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  74. package/lib/stores/QueryBuilderResultState.js +26 -6
  75. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  76. package/lib/stores/QueryBuilderState.d.ts +3 -5
  77. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  78. package/lib/stores/QueryBuilderState.js +32 -22
  79. package/lib/stores/QueryBuilderState.js.map +1 -1
  80. package/lib/stores/QueryBuilderStateTestUtils.js +1 -1
  81. package/lib/stores/QueryBuilderStateTestUtils.js.map +1 -1
  82. package/lib/stores/QueryBuilderTextEditorState.js +1 -1
  83. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  84. package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts +4 -2
  85. package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts.map +1 -1
  86. package/lib/stores/QueryBuilderUnsupportedQueryState.js +10 -1
  87. package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -1
  88. package/lib/stores/ServiceInfo.d.ts +28 -0
  89. package/lib/stores/ServiceInfo.d.ts.map +1 -0
  90. package/lib/stores/ServiceInfo.js +34 -0
  91. package/lib/stores/ServiceInfo.js.map +1 -0
  92. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +6 -6
  93. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  94. package/lib/stores/explorer/QueryBuilderExplorerState.js +19 -14
  95. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  96. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +36 -17
  97. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  98. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +203 -161
  99. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  100. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +5 -3
  101. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  102. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +1 -0
  103. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  104. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +1 -1
  105. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
  106. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +3 -3
  107. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  108. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +3 -1
  109. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  110. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +9 -1
  111. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  112. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +7 -5
  113. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
  114. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +20 -5
  115. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
  116. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +7 -4
  117. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  118. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +20 -5
  119. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  120. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +6 -5
  121. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -1
  122. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +14 -9
  123. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -1
  124. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +6 -3
  125. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +1 -1
  126. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +28 -5
  127. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +1 -1
  128. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +4 -1
  129. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -1
  130. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +7 -1
  131. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +1 -1
  132. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +8 -5
  133. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
  134. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +24 -7
  135. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -1
  136. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +3 -1
  137. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
  138. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +5 -0
  139. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  140. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +3 -1
  141. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
  142. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +5 -0
  143. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  144. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +3 -1
  145. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -1
  146. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +7 -0
  147. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
  148. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +3 -1
  149. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
  150. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +7 -1
  151. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  152. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +3 -1
  153. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -1
  154. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +7 -1
  155. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  156. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +3 -1
  157. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -1
  158. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +5 -0
  159. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
  160. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +3 -1
  161. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -1
  162. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +5 -0
  163. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
  164. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +3 -1
  165. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -1
  166. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +7 -0
  167. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  168. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +3 -1
  169. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -1
  170. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +7 -0
  171. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  172. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +3 -1
  173. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -1
  174. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +5 -0
  175. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
  176. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +3 -1
  177. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -1
  178. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
  179. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +14 -8
  180. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  181. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +54 -4
  182. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  183. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +4 -1
  184. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  185. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +12 -1
  186. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  187. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +4 -1
  188. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  189. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +12 -1
  190. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  191. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +4 -1
  192. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  193. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +10 -1
  194. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  195. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +3 -1
  196. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
  197. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +7 -1
  198. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
  199. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +1 -0
  200. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  201. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +7 -0
  202. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
  203. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +4 -1
  204. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
  205. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +10 -1
  206. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  207. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +4 -1
  208. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
  209. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +12 -0
  210. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  211. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +3 -1
  212. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
  213. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +7 -1
  214. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
  215. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +3 -1
  216. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
  217. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +7 -0
  218. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
  219. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +5 -2
  220. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  221. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +12 -1
  222. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  223. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +3 -1
  224. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -1
  225. package/lib/stores/filter/QueryBuilderFilterOperator.js.map +1 -1
  226. package/lib/stores/filter/QueryBuilderFilterState.d.ts +14 -8
  227. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  228. package/lib/stores/filter/QueryBuilderFilterState.js +54 -9
  229. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  230. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +4 -1
  231. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  232. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +10 -1
  233. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  234. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +4 -1
  235. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  236. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +10 -1
  237. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  238. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +4 -1
  239. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  240. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +8 -1
  241. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  242. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +3 -1
  243. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  244. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +7 -1
  245. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  246. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +3 -1
  247. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  248. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +7 -1
  249. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  250. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +4 -1
  251. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
  252. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +8 -0
  253. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  254. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +4 -1
  255. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
  256. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +10 -0
  257. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  258. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +3 -1
  259. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  260. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +5 -1
  261. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  262. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +3 -1
  263. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  264. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +7 -1
  265. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  266. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +4 -1
  267. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  268. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +10 -1
  269. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  270. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  271. package/lib/stores/workflows/ServiceQueryBuilderState.js +15 -7
  272. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  273. package/package.json +12 -10
  274. package/src/components/QueryBuilder.tsx +41 -1
  275. package/src/components/QueryBuilderDiffPanel.tsx +222 -0
  276. package/src/components/QueryBuilderParametersPanel.tsx +3 -3
  277. package/src/components/QueryBuilderResultPanel.tsx +31 -18
  278. package/src/components/QueryBuilderSideBar.tsx +1 -1
  279. package/src/components/ServiceQuerySetupUtils.tsx +54 -0
  280. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -12
  281. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +24 -14
  282. package/src/components/explorer/{QueryBuilderMilestoneEditor.tsx → QueryBuilderMilestoningEditor.tsx} +12 -8
  283. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +156 -145
  284. package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +1 -5
  285. package/src/components/filter/QueryBuilderFilterPanel.tsx +3 -13
  286. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +22 -0
  287. package/src/graphManager/QueryBuilderHashUtils.ts +95 -0
  288. package/src/index.ts +3 -0
  289. package/src/stores/QueryBuilderChangeDetectionState.ts +112 -10
  290. package/src/stores/QueryBuilderConfig.ts +2 -0
  291. package/src/stores/QueryBuilderMilestoningState.ts +12 -1
  292. package/src/stores/QueryBuilderParametersState.ts +15 -2
  293. package/src/stores/QueryBuilderPropertyEditorState.ts +19 -7
  294. package/src/stores/QueryBuilderResultState.ts +30 -8
  295. package/src/stores/QueryBuilderState.ts +50 -37
  296. package/src/stores/QueryBuilderStateTestUtils.ts +1 -1
  297. package/src/stores/QueryBuilderTextEditorState.ts +1 -1
  298. package/src/stores/QueryBuilderUnsupportedQueryState.ts +13 -3
  299. package/src/stores/ServiceInfo.ts +52 -0
  300. package/src/stores/explorer/QueryBuilderExplorerState.ts +26 -30
  301. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +259 -193
  302. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +8 -3
  303. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +4 -4
  304. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +18 -2
  305. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +31 -6
  306. package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +34 -9
  307. package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +23 -16
  308. package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +38 -8
  309. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +15 -2
  310. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +37 -12
  311. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +10 -1
  312. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +10 -1
  313. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +12 -1
  314. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +17 -2
  315. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +17 -2
  316. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +10 -1
  317. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +10 -1
  318. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +12 -1
  319. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +12 -1
  320. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +10 -1
  321. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +4 -2
  322. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +78 -10
  323. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +19 -1
  324. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +22 -2
  325. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +17 -1
  326. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +13 -1
  327. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +8 -0
  328. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +20 -2
  329. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +18 -1
  330. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +13 -1
  331. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +12 -1
  332. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +26 -3
  333. package/src/stores/filter/QueryBuilderFilterOperator.ts +4 -2
  334. package/src/stores/filter/QueryBuilderFilterState.ts +80 -22
  335. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +20 -2
  336. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +20 -2
  337. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +18 -2
  338. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +16 -2
  339. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +16 -2
  340. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +14 -1
  341. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +16 -1
  342. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +14 -2
  343. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +16 -2
  344. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +20 -2
  345. package/src/stores/workflows/ServiceQueryBuilderState.ts +24 -9
  346. package/tsconfig.json +7 -2
  347. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
  348. package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
@@ -92,8 +92,6 @@ const QueryBuilderExplorerPreviewDataModal = observer((props) => {
92
92
  });
93
93
  const QueryBuilderExplorerContextMenu = observer(forwardRef(function QueryBuilderExplorerContextMenu(props, ref) {
94
94
  const { queryBuilderState, openNode, node } = props;
95
- const applicationStore = useApplicationStore();
96
- const viewType = () => applicationStore.notifyUnsupportedFeature('View Type');
97
95
  const addNodeToFetchStructure = () => queryBuilderState.fetchStructureState.fetchProperty(node);
98
96
  const addNodeChildrenToFetchStructure = () => {
99
97
  openNode();
@@ -109,7 +107,7 @@ const QueryBuilderExplorerContextMenu = observer(forwardRef(function QueryBuilde
109
107
  }
110
108
  };
111
109
  return (_jsxs(MenuContent, { ref: ref, children: [node instanceof QueryBuilderExplorerTreePropertyNodeData &&
112
- !(node.type instanceof Class) && (_jsx(MenuContentItem, { onClick: addNodeToFetchStructure, children: "Add Property to Fetch Structure" })), node.type instanceof Class && (_jsx(MenuContentItem, { onClick: addNodeChildrenToFetchStructure, children: "Add Properties to Fetch Structure" })), _jsx(MenuContentItem, { onClick: viewType, children: "View Type" })] }));
110
+ !(node.type instanceof Class) && (_jsx(MenuContentItem, { onClick: addNodeToFetchStructure, children: "Add Property to Fetch Structure" })), node.type instanceof Class && (_jsx(MenuContentItem, { onClick: addNodeChildrenToFetchStructure, children: "Add Properties to Fetch Structure" }))] }));
113
111
  }));
114
112
  export const renderPropertyTypeIcon = (type) => {
115
113
  if (type instanceof PrimitiveType) {
@@ -173,9 +171,6 @@ const QueryBuilderExplorerTreeNodeContainer = observer((props) => {
173
171
  }
174
172
  };
175
173
  // context menu
176
- const showContextMenu = node instanceof QueryBuilderExplorerTreeRootNodeData ||
177
- (node instanceof QueryBuilderExplorerTreePropertyNodeData &&
178
- !(node.type instanceof PrimitiveType));
179
174
  const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
180
175
  const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
181
176
  const previewData = () => {
@@ -189,7 +184,8 @@ const QueryBuilderExplorerTreeNodeContainer = observer((props) => {
189
184
  !explorerState.showUnmappedProperties) {
190
185
  return null;
191
186
  }
192
- return (_jsx(ContextMenu, { content: _jsx(QueryBuilderExplorerContextMenu, { queryBuilderState: queryBuilderState, openNode: openNode, node: node }), disabled: !showContextMenu || queryBuilderState.backdrop, menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("div", { className: clsx('tree-view__node__container query-builder-explorer-tree__node__container', {
187
+ return (_jsx(ContextMenu, { content: _jsx(QueryBuilderExplorerContextMenu, { queryBuilderState: queryBuilderState, openNode: openNode, node: node }), disabled: !(node instanceof QueryBuilderExplorerTreePropertyNodeData) ||
188
+ queryBuilderState.backdrop, menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("div", { className: clsx('tree-view__node__container query-builder-explorer-tree__node__container', {
193
189
  'query-builder-explorer-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
194
190
  'query-builder-explorer-tree__node__container--unmapped': !node.mappingData.mapped,
195
191
  'query-builder-explorer-tree__node__container--selected': node.isSelected,
@@ -313,9 +309,7 @@ export const QueryBuilderExplorerPanel = observer((props) => {
313
309
  if (explorerState.treeData) {
314
310
  if (!propertySearchPanelState.isSearchPanelOpen) {
315
311
  propertySearchPanelState.setIsSearchPanelOpen(true);
316
- if (!propertySearchPanelState.allMappedPropertyNodes.length) {
317
- propertySearchPanelState.fetchAllPropertyNodes();
318
- }
312
+ propertySearchPanelState.initialize();
319
313
  }
320
314
  else {
321
315
  propertySearchPanelState.setIsSearchPanelOpen(false);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAKL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,cAAc,EACd,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,oCAAoC,EACpC,oCAAoC,EACpC,wCAAwC,EACxC,uCAAuC,EACvC,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,8CAA8C,CAAC;AAE/F,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AACrF,OAAO,EAIL,KAAK,EACL,eAAe,EACf,aAAa,EACb,cAA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ACf,KAAK,EAAC,sBAAsB,EAC5B,SAAS,EAAC,mCAAmC,GAC7C,GACW,IACX,EACL,wBAAwB,CAAC,iBAAiB,IAAI,CAC7C,KAAC,+BAA+B,IAC9B,iBAAiB,EAAE,iBAAiB,EACpC,cAAc,EAAE,eAAe,CAAC,OAAO,GACvC,CACH,IACG,EACN,eAAK,SAAS,EAAC,qDAAqD,aAClE,KAAC,qBAAqB,IACpB,SAAS,EACP,aAAa,CAAC,iCAAiC,CAAC,YAAY,GAE9D,EACF,KAAC,gBAAgB,IACf,WAAW,EAAE,CAAC,IAAwC,EAAU,EAAE,CAChE,aAAa,CAAC,oBAAoB;4BAChC,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;4BACrC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAErB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,oCAAoC,CAAC,GAC1D,EACD,aAAa,CAAC,iCAAiC,CAAC,YAAY,CAAC,CAAC,CAAC,CAC9D,KAAC,iBAAiB,cACf,aAAa,CAAC,iCAAiC,CAAC,OAAO,GACtC,CACrB,CAAC,CAAC,CAAC,CACF,8BACG,CAAC,aAAa,CAAC,QAAQ,IAAI,CAC1B,KAAC,iBAAiB,kFAGE,CACrB,EACA,aAAa,CAAC,QAAQ,IAAI,CACzB,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACD,KAAC,oCAAoC,IACnC,iBAAiB,EAAE,iBAAiB,GACpC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OA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Aa,CAAC,QAAQ,IAAI,CACzB,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACD,KAAC,oCAAoC,IACnC,iBAAiB,EAAE,iBAAiB,GACpC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6CH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAwU3E,eAAO,MAAM,kCAAkC,WACrC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAqKjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+CH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgV3E,eAAO,MAAM,kCAAkC,WACrC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAqKjD,CAAC"}
@@ -19,11 +19,16 @@ import { observer } from 'mobx-react-lite';
19
19
  import { FolderIcon, FolderOpenIcon, InfoCircleIcon, SubjectIcon, Tooltip, ViewHeadlineIcon, ChevronDownIcon, ChevronRightIcon, PURE_FunctionIcon, CompressIcon, TreeView, BlankPanelContent, MenuContentItem, DropdownMenu, MenuContent, CheckIcon, MenuContentItemIcon, MenuContentItemLabel, MoreVerticalIcon, DragPreviewLayer, useDragPreviewLayer, } from '@finos/legend-art';
20
20
  import { generateFunctionsExplorerTreeNodeData, getFunctionsExplorerTreeNodeChildren, QUERY_BUILDER_FUNCTION_DND_TYPE, } from '../../stores/explorer/QueryFunctionsExplorerState.js';
21
21
  import { useDrag } from 'react-dnd';
22
- import { ConcreteFunctionDefinition, generateFunctionSignature, getElementRootPackage, Package, ROOT_PACKAGE_NAME, getMultiplicityDescription, } from '@finos/legend-graph';
22
+ import { ConcreteFunctionDefinition, generateFunctionSignature, getElementRootPackage, Package, ROOT_PACKAGE_NAME, getMultiplicityDescription, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
23
23
  const isDependencyTreeNode = (node) => getElementRootPackage(node.packageableElement).name ===
24
24
  ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT;
25
25
  const QueryBuilderFunctionInfoTooltip = (props) => {
26
26
  const { element, children, placement } = props;
27
+ const documentation = element.taggedValues
28
+ .filter((taggedValue) => taggedValue.tag.ownerReference.value.path ===
29
+ CORE_PURE_PATH.PROFILE_DOC &&
30
+ taggedValue.tag.value.value === PURE_DOC_TAG)
31
+ .map((taggedValue) => taggedValue.value);
27
32
  return (_jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
28
33
  tooltip: 'query-builder__tooltip',
29
34
  arrow: 'query-builder__tooltip__arrow',
@@ -31,11 +36,8 @@ const QueryBuilderFunctionInfoTooltip = (props) => {
31
36
  }, TransitionProps: {
32
37
  timeout: 0,
33
38
  }, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Function Name" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Parameters" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.parameters
34
- .map((t) => `${t.name}: ${t.type.value.name}${getMultiplicityDescription(t.multiplicity)}`)
35
- .join('; ') })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Documentation" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.taggedValues
36
- .filter((t) => t.tag.value._OWNER.name === 'doc')
37
- .map((t) => t.value)
38
- .join('; ') })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Return Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.returnType.value.name })] })] }), children: _jsx("span", { children: children }) }));
39
+ .map((param) => `${param.name}: ${param.type.value.name}${getMultiplicityDescription(param.multiplicity)}`)
40
+ .join('; ') })] }), Boolean(documentation.length) && (_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Documentation" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: documentation.join('\n\n') })] })), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Return Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.returnType.value.name })] })] }), children: _jsx("span", { children: children }) }));
39
41
  };
40
42
  const QueryBuilderFunctionsExplorerListEntry = observer((props) => {
41
43
  const { queryBuilderState, element, rootPackageName } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,UAAU,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AA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AsB,EAAE,sBAAsB,GAC9C,CACH,EACA,sBAAsB;gCACrB,mBAAmB,CAAC,kBAAkB;gCACtC,mBAAmB,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAC7D,KAAC,uCAAuC,IACtC,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,iBAAiB,CAAC,uBAAuB,EAC1D,sBAAsB,EAAE,sBAAsB,GAC9C,CACH,IACF,CACJ,EAEA,CAAC,UAAU,IAAI,CACd,8BACG,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAC7C,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EAAE,iBAAiB,CAAC,IAAI,IAHlC,iBAAiB,CAAC,IAAI,CAI3B,CACH,CACF,EACA,sBAAsB;gCACrB,mBAAmB,CAAC,kBAAkB;gCACtC,mBAAmB,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAC7D,8BACG,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CACrD,cAAK,SAAS,EAAC,8CAA8C,GAAG,CACjE,EACA,mBAAmB,CAAC,gCAAgC,CAAC,GAAG,CACvD,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EACb,iBAAiB,CAAC,uBAAuB,IAJtC,iBAAiB,CAAC,IAAI,CAM3B,CACH,CACF,IACA,CACJ,IACF,CACJ,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFunctionsExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"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CAAC,kBAAkB;gCACtC,mBAAmB,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAC7D,8BACG,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CACrD,cAAK,SAAS,EAAC,8CAA8C,GAAG,CACjE,EACA,mBAAmB,CAAC,gCAAgC,CAAC,GAAG,CACvD,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EACb,iBAAiB,CAAC,uBAAuB,IAJtC,iBAAiB,CAAC,IAAI,CAM3B,CACH,CACF,IACA,CACJ,IACF,CACJ,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -19,4 +19,4 @@ export declare const MilestoningParametersEditor: ((props: {
19
19
  }) => JSX.Element) & {
20
20
  displayName: string;
21
21
  };
22
- //# sourceMappingURL=QueryBuilderMilestoneEditor.d.ts.map
22
+ //# sourceMappingURL=QueryBuilderMilestoningEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderMilestoningEditor.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA+N3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA0DjD,CAAC"}
@@ -72,29 +72,29 @@ const MilestoningParameterEditor = observer((props) => {
72
72
  expectedType: queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.DATE),
73
73
  }, resetValue: resetMilestoningParameter }) }) }));
74
74
  });
75
- const BiTemporalMilestoneEditor = observer((props) => {
75
+ const BiTemporalMilestoningEditor = observer((props) => {
76
76
  const { queryBuilderState } = props;
77
77
  return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Processing Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, stereotype: MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL })] }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Business Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, stereotype: MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL })] })] }));
78
78
  });
79
- const BusinessTemporalMilestoneEditor = observer((props) => {
79
+ const BusinessTemporalMilestoningEditor = observer((props) => {
80
80
  const { queryBuilderState } = props;
81
81
  return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Business Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, stereotype: MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL }, "BusinessDate")] }));
82
82
  });
83
- const ProcessingTemporalMilestoneEditor = observer((props) => {
83
+ const ProcessingTemporalMilestoningEditor = observer((props) => {
84
84
  const { queryBuilderState } = props;
85
85
  return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Processing Date" }), _jsx(MilestoningParameterEditor, { queryBuilderState: queryBuilderState, stereotype: MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL }, "BusinessDate")] }));
86
86
  });
87
- const TemporalMilestoneEditor = (props) => {
87
+ const TemporalMilestoningEditor = (props) => {
88
88
  const { queryBuilderState } = props;
89
89
  if (queryBuilderState.milestoningState.processingDate &&
90
90
  queryBuilderState.milestoningState.businessDate) {
91
- return _jsx(BiTemporalMilestoneEditor, { queryBuilderState: queryBuilderState });
91
+ return (_jsx(BiTemporalMilestoningEditor, { queryBuilderState: queryBuilderState }));
92
92
  }
93
93
  else if (queryBuilderState.milestoningState.businessDate) {
94
- return (_jsx(BusinessTemporalMilestoneEditor, { queryBuilderState: queryBuilderState }));
94
+ return (_jsx(BusinessTemporalMilestoningEditor, { queryBuilderState: queryBuilderState }));
95
95
  }
96
96
  else if (queryBuilderState.milestoningState.processingDate) {
97
- return (_jsx(ProcessingTemporalMilestoneEditor, { queryBuilderState: queryBuilderState }));
97
+ return (_jsx(ProcessingTemporalMilestoningEditor, { queryBuilderState: queryBuilderState }));
98
98
  }
99
99
  else {
100
100
  return null;
@@ -108,7 +108,7 @@ export const MilestoningParametersEditor = observer((props) => {
108
108
  root: 'editor-modal__root-container',
109
109
  container: 'editor-modal__container',
110
110
  paper: 'editor-modal__content',
111
- }, children: _jsxs("div", { className: "modal modal--dark editor-modal query-builder__parameters__modal", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: "Milestoning Parameters" }) }), _jsxs("div", { className: "modal__body query-builder__parameters__modal__body", children: [_jsx(TemporalMilestoneEditor, { queryBuilderState: queryBuilderState }), _jsx("div", { className: "panel__content__form__section__header__label", children: "List of compatible milestoning parameters" }), _jsx("div", { className: "panel__content__form__section__list__items", children: queryBuilderState.parametersState.parameterStates
111
+ }, children: _jsxs("div", { className: "modal modal--dark editor-modal query-builder__parameters__modal", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: "Milestoning Parameters" }) }), _jsxs("div", { className: "modal__body query-builder__parameters__modal__body", children: [_jsx(TemporalMilestoningEditor, { queryBuilderState: queryBuilderState }), _jsx("div", { className: "panel__content__form__section__header__label", children: "List of compatible milestoning parameters" }), _jsx("div", { className: "panel__content__form__section__list__items", children: queryBuilderState.parametersState.parameterStates
112
112
  .filter((parameter) => parameter.parameter.genericType?.value.rawType.name ===
113
113
  PRIMITIVE_TYPE.STRICTDATE ||
114
114
  parameter.parameter.genericType?.value.rawType.name ===
@@ -119,4 +119,4 @@ export const MilestoningParametersEditor = observer((props) => {
119
119
  PRIMITIVE_TYPE.DATETIME)
120
120
  .map((parameter) => (_jsx(VariableExpressionViewer, { queryBuilderState: queryBuilderState, variableExpressionState: parameter, isReadOnly: true, hideActions: true }, parameter.uuid))) })] }), _jsx("div", { className: "modal__footer", children: _jsx("button", { className: "btn modal__footer__close-btn", onClick: close, children: "Close" }) })] }) }));
121
121
  });
122
- //# sourceMappingURL=QueryBuilderMilestoneEditor.js.map
122
+ //# sourceMappingURL=QueryBuilderMilestoningEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderMilestoningEditor.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAEL,gCAAgC,GACjC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAEL,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,cAAc,EACd,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,oCAAoC,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAE1E,MAAM,0BAA0B,GAAG,QAAQ,CACzC,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAChD,MAAM,UAAU,GAAG,WAAW,CAC5B,CAAC,IAAqC,EAAQ,EAAE;QAC9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ACnE,cAAK,SAAS,EAAC,8CAA8C,0DAEvD,EACN,cAAK,SAAS,EAAC,4CAA4C,YACxD,iBAAiB,CAAC,eAAe,CAAC,eAAe;iCAC/C,MAAM,CACL,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;gCACjD,cAAc,CAAC,UAAU;gCAC3B,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;oCACjD,cAAc,CAAC,UAAU;gCAC3B,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;oCACjD,cAAc,CAAC,IAAI;gCACrB,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;oCACjD,cAAc,CAAC,QAAQ,CAC5B;iCACA,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAClB,KAAC,wBAAwB,IAEvB,iBAAiB,EAAE,iBAAiB,EACpC,uBAAuB,EAAE,SAAS,EAClC,UAAU,EAAE,IAAI,EAChB,WAAW,EAAE,IAAI,IAJZ,SAAS,CAAC,IAAI,CAKnB,CACH,CAAC,GACA,IACF,EACN,cAAK,SAAS,EAAC,eAAe,YAC5B,iBAAQ,SAAS,EAAC,8BAA8B,EAAC,OAAO,EAAE,KAAK,sBAEtD,GACL,IACF,GACC,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertySearchPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAsCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAgO3E,eAAO,MAAM,+BAA+B,WAClC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,WAAW,GAAG,IAAI,CAAC;CACpC;;CAgVF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPropertySearchPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAuM3E,eAAO,MAAM,+BAA+B,WAClC;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,cAAc,EAAE,WAAW,GAAG,IAAI,CAAC;CACpC;;CAmXF,CAAC"}
@@ -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