@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
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAOL,yBAAyB,EACzB,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,IAAI,EACJ,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,WAAW,EACX,cAAc,EACd,kBAAkB,EAElB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,GAE7B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AAEzG,MAAM,CAAN,IAAY,oCAKX;AALD,WAAY,oCAAoC;IAC9C,qDAAa,CAAA;IACb,yEAAiC,CAAA;IACjC,uEAA+B,CAAA;IAC/B,iFAAyC,CAAA;AAC3C,CAAC,EALW,oCAAoC,GAApC,oCAAoC,KAApC,oCAAoC,QAK/C;AAED,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAChD,QAAgB,EAChB,Y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C,cAAc,CAClC,aAAa,CAAC,MAAiC,CAChD,CAAC;oBACF,MAAM;iBACP;gBACD;oBACE,MAAM,IAAI,yBAAyB,CACjC,4CAA4C,YAAY,CAAC,IAAI,GAAG,CACjE,CAAC;aACL;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,aAAa,CACnD,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;SACjD;gBAAS;YACR,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;SACzD;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,yBAAyB,EACzB,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,IAAI,EACJ,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,WAAW,EACX,cAAc,EACd,kBAAkB,EAElB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,M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oBAClE,MAAM;iBACP;gBACD,KAAK,cAAc,CAAC,OAAO,CAAC;gBAC5B,KAAK,cAAc,CAAC,MAAM,CAAC;gBAC3B,KAAK,cAAc,CAAC,IAAI,CAAC;gBACzB,KAAK,cAAc,CAAC,UAAU,CAAC;gBAC/B,KAAK,cAAc,CAAC,QAAQ,CAAC,CAAC;oBAC5B,MAAM,aAAa,GACjB,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,cAAc,CACzE,+BAA+B,CAC7B,IAAI,CAAC,iBAAiB,EACtB,kBAAkB,CACnB,EACD,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAC9B,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAoB,CAAC;oBACxB,UAAU,CACR,aAAa,EACb,kBAAkB,EAClB,gCAAgC,CACjC,CAAC;oBACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAClC,aAAa,CAAC,MAAiC,CAChD,CAAC;oBACF,MAAM;iBACP;gBACD;oBACE,MAAM,IAAI,yBAAyB,CACjC,4CAA4C,YAAY,CAAC,IAAI,GAAG,CACjE,CAAC;aACL;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,aAAa,CACnD,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;SACjD;gBAAS;YACR,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;SACzD;IACH,CAAC;CACF"}
@@ -13,34 +13,53 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import { ActionState } from '@finos/legend-shared';
16
17
  import { QUERY_BUILDER_PROPERTY_SEARCH_TYPE } from '../QueryBuilderConfig.js';
17
18
  import { type QueryBuilderExplorerTreeNodeData } from './QueryBuilderExplorerState.js';
18
19
  import type { QueryBuilderState } from '../QueryBuilderState.js';
20
+ import { Fuse } from '@finos/legend-art';
21
+ import { TextSearchAdvancedConfigState } from '@finos/legend-application';
19
22
  export declare class QueryBuilderPropertySearchState {
20
23
  queryBuilderState: QueryBuilderState;
21
- allMappedPropertyNodes: QueryBuilderExplorerTreeNodeData[];
22
- searchedMappedPropertyNodes: QueryBuilderExplorerTreeNodeData[];
24
+ /**
25
+ * When we initialize property search engine, we practically extend
26
+ * the existing explorer by a few depth. As such, we create new explorer
27
+ * nodes which are not part of the main explorer tree. Together with the
28
+ * nodes already explored in the tree, these nodes are stored here to help
29
+ * searching. Think of this as the knowledge base of property search
30
+ *
31
+ * NOTE: a big reason why we want to store these as explorer tree nodes
32
+ * is that we could interact with the searched nodes, i.e. drag them to
33
+ * various panels to create filter, fetch-structure, etc.
34
+ */
35
+ indexedExplorerTreeNodes: QueryBuilderExplorerTreeNodeData[];
36
+ searchEngine: Fuse<QueryBuilderExplorerTreeNodeData>;
37
+ searchConfigurationState: TextSearchAdvancedConfigState;
38
+ searchState: ActionState;
39
+ searchText: string;
40
+ searchResults: QueryBuilderExplorerTreeNodeData[];
41
+ isOverSearchLimit: boolean;
23
42
  isSearchPanelOpen: boolean;
24
43
  isSearchPanelHidden: boolean;
25
- searchText: string;
26
- filterByMultiple: boolean;
44
+ showSearchConfigurationMenu: boolean;
27
45
  typeFilters: QUERY_BUILDER_PROPERTY_SEARCH_TYPE[];
28
46
  constructor(queryBuilderState: QueryBuilderState);
29
- toggleTypeFilter(val: QUERY_BUILDER_PROPERTY_SEARCH_TYPE): void;
30
- setFilterByMultiple(val: boolean): void;
31
- getMultiplePropertyNodes(): QueryBuilderExplorerTreeNodeData[];
32
- classPropertyNodes(): QueryBuilderExplorerTreeNodeData[];
33
- stringPropertyNodes(): QueryBuilderExplorerTreeNodeData[];
34
- numberPropertyNodes(): QueryBuilderExplorerTreeNodeData[];
35
- datePropertyNodes(): QueryBuilderExplorerTreeNodeData[];
36
- booleanPropertyNodes(): QueryBuilderExplorerTreeNodeData[];
37
- get filteredPropertyNodes(): QueryBuilderExplorerTreeNodeData[];
38
- fetchAllPropertyNodes(): void;
39
- fetchMappedPropertyNodes(propName: string): void;
40
47
  setIsSearchPanelOpen(val: boolean): void;
41
48
  setIsSearchPanelHidden(val: boolean): void;
49
+ setShowSearchConfigurationMenu(val: boolean): void;
42
50
  setSearchText(val: string): void;
43
- setSearchedMappedPropertyNodes(val: QueryBuilderExplorerTreeNodeData[]): void;
44
- refreshPropertyState(): void;
51
+ resetSearch(): void;
52
+ toggleFilterForType(val: QUERY_BUILDER_PROPERTY_SEARCH_TYPE): void;
53
+ search(): void;
54
+ /**
55
+ * From the current explorer tree, navigate breadth-first to find more mapped
56
+ * property nodes, then index these property nodes for searching.
57
+ *
58
+ * NOTE: fortunately, since we restrict the depth and number of nodes in this navigation
59
+ * this process is often not the performance bottleneck, else, we would need to make this
60
+ * asynchronous and block the UI while waiting.
61
+ */
62
+ initialize(): void;
63
+ get filteredSearchResults(): QueryBuilderExplorerTreeNodeData[];
45
64
  }
46
65
  //# sourceMappingURL=QueryBuilderPropertySearchState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertySearchState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderPropertySearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,EAGL,kCAAkC,EACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,KAAK,gCAAgC,EAGtC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,qBAAa,+BAA+B;IAC1C,iBAAiB,EAAE,iBAAiB,CAAC;IAGrC,sBAAsB,EAAE,gCAAgC,EAAE,CAAM;IA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,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAE1E,qBAAa,+BAA+B;IAC1C,iBAAiB,EAAE,iBAAiB,CAAC;IAErC;;;;;;;;;;OAUG;IACH,wBAAwB,EAAE,gCAAgC,EAAE,CAAM;IAGlE,YAAY,EAAE,IAAI,CAAC,gCAAgC,CAAC,CAAC;IACrD,wBAAwB,EAAE,6BAA6B,CAAC;IACxD,WAAW,cAAwB;IACnC,UAAU,SAAM;IAChB,aAAa,EAAE,gCAAgC,EAAE,CAAM;IACvD,iBAAiB,UAAS;IAC1B,iBAAiB,UAAS;IAC1B,mBAAmB,UAAS;IAC5B,2BAA2B,UAAS;IAGpC,WAAW,uCAMT;gBAEU,iBAAiB,EAAE,iBAAiB;IA4BhD,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIxC,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI1C,8BAA8B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIlD,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIhC,WAAW,IAAI,IAAI;IAMnB,mBAAmB,CAAC,GAAG,EAAE,kCAAkC,GAAG,IAAI;IAQlE,MAAM,IAAI,IAAI;IA0Cd;;;;;;;OAOG;IACH,UAAU,IAAI,IAAI;IAuIlB,IAAI,qBAAqB,IAAI,gCAAgC,EAAE,CA8D9D;CACF"}
@@ -13,49 +13,87 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { Class, getAllOwnClassProperties, getAllClassProperties, getAllClassDerivedProperties, PrimitiveType, PRIMITIVE_TYPE, } from '@finos/legend-graph';
17
- import { addUniqueEntry, deleteEntry, guaranteeNonNullable, } from '@finos/legend-shared';
18
- import { makeAutoObservable, observable, computed, action } from 'mobx';
19
- import { QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH, QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT, QUERY_BUILDER_PROPERTY_SEARCH_TYPE, } from '../QueryBuilderConfig.js';
16
+ import { Class, getAllOwnClassProperties, getAllClassProperties, getAllClassDerivedProperties, PrimitiveType, PRIMITIVE_TYPE, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
17
+ import { ActionState, addUniqueEntry, deleteEntry, guaranteeNonNullable, } from '@finos/legend-shared';
18
+ import { observable, computed, action, makeObservable, runInAction, } from 'mobx';
19
+ import { QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH, QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT, QUERY_BUILDER_PROPERTY_SEARCH_TYPE, QUERY_BUILDER_PROPERTY_SEARCH_MAX_NODES, } from '../QueryBuilderConfig.js';
20
20
  import { getQueryBuilderPropertyNodeData, getQueryBuilderSubTypeNodeData, QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, } from './QueryBuilderExplorerState.js';
21
+ import { Fuse } from '@finos/legend-art';
22
+ import { TextSearchAdvancedConfigState } from '@finos/legend-application';
21
23
  export class QueryBuilderPropertySearchState {
22
24
  queryBuilderState;
23
- // TODO: Check if we could clean this up as this seems quite complicated and its purpose is not clear to me
24
- // See https://github.com/finos/legend-studio/pull/1212
25
- allMappedPropertyNodes = [];
26
- searchedMappedPropertyNodes = [];
25
+ /**
26
+ * When we initialize property search engine, we practically extend
27
+ * the existing explorer by a few depth. As such, we create new explorer
28
+ * nodes which are not part of the main explorer tree. Together with the
29
+ * nodes already explored in the tree, these nodes are stored here to help
30
+ * searching. Think of this as the knowledge base of property search
31
+ *
32
+ * NOTE: a big reason why we want to store these as explorer tree nodes
33
+ * is that we could interact with the searched nodes, i.e. drag them to
34
+ * various panels to create filter, fetch-structure, etc.
35
+ */
36
+ indexedExplorerTreeNodes = [];
37
+ // search
38
+ searchEngine;
39
+ searchConfigurationState;
40
+ searchState = ActionState.create();
41
+ searchText = '';
42
+ searchResults = [];
43
+ isOverSearchLimit = false;
27
44
  isSearchPanelOpen = false;
28
45
  isSearchPanelHidden = false;
29
- searchText = '';
30
- filterByMultiple;
31
- typeFilters;
46
+ showSearchConfigurationMenu = false;
47
+ // filter
48
+ typeFilters = [
49
+ QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS,
50
+ QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING,
51
+ QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
52
+ QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER,
53
+ QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE,
54
+ ];
32
55
  constructor(queryBuilderState) {
33
- makeAutoObservable(this, {
34
- queryBuilderState: false,
35
- searchedMappedPropertyNodes: observable,
56
+ makeObservable(this, {
57
+ indexedExplorerTreeNodes: observable,
58
+ searchText: observable,
59
+ searchResults: observable,
60
+ isOverSearchLimit: observable,
36
61
  isSearchPanelOpen: observable,
37
62
  isSearchPanelHidden: observable,
38
- searchText: observable,
39
- filteredPropertyNodes: computed,
63
+ showSearchConfigurationMenu: observable,
64
+ typeFilters: observable,
65
+ filteredSearchResults: computed,
66
+ search: action,
67
+ resetSearch: action,
40
68
  setSearchText: action,
41
- setSearchedMappedPropertyNodes: action,
69
+ setShowSearchConfigurationMenu: action,
42
70
  setIsSearchPanelOpen: action,
43
71
  setIsSearchPanelHidden: action,
44
- refreshPropertyState: action,
45
- setFilterByMultiple: action,
46
- toggleTypeFilter: action,
72
+ toggleFilterForType: action,
73
+ initialize: action,
47
74
  });
48
75
  this.queryBuilderState = queryBuilderState;
49
- this.filterByMultiple = true;
50
- this.typeFilters = [
51
- QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS,
52
- QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING,
53
- QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
54
- QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER,
55
- QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE,
56
- ];
76
+ this.searchConfigurationState = new TextSearchAdvancedConfigState(() => this.search());
77
+ this.searchEngine = new Fuse(this.indexedExplorerTreeNodes);
78
+ }
79
+ setIsSearchPanelOpen(val) {
80
+ this.isSearchPanelOpen = val;
81
+ }
82
+ setIsSearchPanelHidden(val) {
83
+ this.isSearchPanelHidden = val;
84
+ }
85
+ setShowSearchConfigurationMenu(val) {
86
+ this.showSearchConfigurationMenu = val;
57
87
  }
58
- toggleTypeFilter(val) {
88
+ setSearchText(val) {
89
+ this.searchText = val;
90
+ }
91
+ resetSearch() {
92
+ this.searchText = '';
93
+ this.searchResults = [];
94
+ this.searchState.complete();
95
+ }
96
+ toggleFilterForType(val) {
59
97
  if (this.typeFilters.includes(val)) {
60
98
  deleteEntry(this.typeFilters, val);
61
99
  }
@@ -63,121 +101,70 @@ export class QueryBuilderPropertySearchState {
63
101
  addUniqueEntry(this.typeFilters, val);
64
102
  }
65
103
  }
66
- setFilterByMultiple(val) {
67
- this.filterByMultiple = val;
68
- }
69
- getMultiplePropertyNodes() {
70
- return this.searchedMappedPropertyNodes.filter((node) => {
71
- if (node instanceof QueryBuilderExplorerTreePropertyNodeData) {
72
- if (node.property.multiplicity.upperBound === undefined ||
73
- node.property.multiplicity.upperBound > 1) {
74
- return true;
75
- }
76
- const parentNode = this.allMappedPropertyNodes.find((pn) => pn.id === node.parentId);
77
- if (parentNode instanceof QueryBuilderExplorerTreePropertyNodeData &&
78
- (parentNode.property.multiplicity.upperBound === undefined ||
79
- parentNode.property.multiplicity.upperBound > 1)) {
80
- return true;
81
- }
82
- }
83
- return false;
84
- });
85
- }
86
- classPropertyNodes() {
87
- return this.searchedMappedPropertyNodes.filter((node) => {
88
- if (node.type instanceof Class) {
89
- return true;
90
- }
91
- return false;
92
- });
93
- }
94
- stringPropertyNodes() {
95
- return this.searchedMappedPropertyNodes.filter((node) => {
96
- if (node.type instanceof PrimitiveType &&
97
- node.type.name === PRIMITIVE_TYPE.STRING) {
98
- return true;
99
- }
100
- return false;
101
- });
102
- }
103
- numberPropertyNodes() {
104
- return this.searchedMappedPropertyNodes.filter((node) => {
105
- if (node.type instanceof PrimitiveType &&
106
- (node.type.name === PRIMITIVE_TYPE.DECIMAL ||
107
- node.type.name === PRIMITIVE_TYPE.NUMBER ||
108
- node.type.name === PRIMITIVE_TYPE.INTEGER ||
109
- node.type.name === PRIMITIVE_TYPE.FLOAT)) {
110
- return true;
111
- }
112
- return false;
113
- });
114
- }
115
- datePropertyNodes() {
116
- return this.searchedMappedPropertyNodes.filter((node) => {
117
- if (node.type instanceof PrimitiveType &&
118
- (node.type.name === PRIMITIVE_TYPE.DATE ||
119
- node.type.name === PRIMITIVE_TYPE.DATETIME ||
120
- node.type.name === PRIMITIVE_TYPE.STRICTDATE ||
121
- node.type.name === PRIMITIVE_TYPE.STRICTTIME ||
122
- node.type.name === PRIMITIVE_TYPE.LATESTDATE)) {
123
- return true;
124
- }
125
- return false;
126
- });
127
- }
128
- booleanPropertyNodes() {
129
- return this.searchedMappedPropertyNodes.filter((node) => {
130
- if (node.type instanceof PrimitiveType &&
131
- node.type.name === PRIMITIVE_TYPE.BOOLEAN) {
132
- return true;
133
- }
134
- return false;
135
- });
136
- }
137
- get filteredPropertyNodes() {
138
- return this.searchedMappedPropertyNodes.filter((p) => {
139
- if (!this.filterByMultiple &&
140
- this.getMultiplePropertyNodes().includes(p)) {
141
- return false;
142
- }
143
- if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS) &&
144
- this.classPropertyNodes().includes(p)) {
145
- return false;
146
- }
147
- if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING) &&
148
- this.stringPropertyNodes().includes(p)) {
149
- return false;
150
- }
151
- if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER) &&
152
- this.numberPropertyNodes().includes(p)) {
153
- return false;
154
- }
155
- if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN) &&
156
- this.booleanPropertyNodes().includes(p)) {
157
- return false;
158
- }
159
- if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE) &&
160
- this.datePropertyNodes().includes(p)) {
161
- return false;
162
- }
163
- return true;
164
- });
104
+ search() {
105
+ if (!this.searchText) {
106
+ this.searchResults = [];
107
+ return;
108
+ }
109
+ this.searchState.inProgress();
110
+ // NOTE: performanced of fuzzy search is impacted by the number of indexed entries and the length
111
+ // of the search pattern, so to a certain extent this could become laggy. If this becomes too inconvenient
112
+ // for the users, we might need to use another fuzzy-search implementation, or have appropriate search
113
+ // policy, e.g. limit length of search text, etc.
114
+ //
115
+ // See https://github.com/farzher/fuzzysort
116
+ const searchResults = Array.from(this.searchEngine
117
+ .search(this.searchConfigurationState.generateSearchText(this.searchText.toLowerCase()), {
118
+ // NOTE: search for limit + 1 item so we can know if there are more search results
119
+ limit: QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT + 1,
120
+ })
121
+ .values()).map((result) => result.item);
122
+ // check if the search results exceed the limit
123
+ if (searchResults.length > QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT) {
124
+ this.isOverSearchLimit = true;
125
+ this.searchResults = searchResults.slice(0, QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT);
126
+ }
127
+ else {
128
+ this.isOverSearchLimit = false;
129
+ this.searchResults = searchResults;
130
+ }
131
+ this.searchState.complete();
165
132
  }
166
- fetchAllPropertyNodes() {
167
- const treeData = this.queryBuilderState.explorerState.nonNullableTreeData;
133
+ /**
134
+ * From the current explorer tree, navigate breadth-first to find more mapped
135
+ * property nodes, then index these property nodes for searching.
136
+ *
137
+ * NOTE: fortunately, since we restrict the depth and number of nodes in this navigation
138
+ * this process is often not the performance bottleneck, else, we would need to make this
139
+ * asynchronous and block the UI while waiting.
140
+ */
141
+ initialize() {
142
+ this.indexedExplorerTreeNodes = [];
168
143
  let currentLevelPropertyNodes = [];
169
144
  let nextLevelPropertyNodes = [];
170
- Array.from(treeData.nodes.values())
145
+ Array.from(this.queryBuilderState.explorerState.nonNullableTreeData.nodes.values())
171
146
  .slice(1)
172
147
  .forEach((node) => {
173
148
  if (node.mappingData.mapped && !node.isPartOfDerivedPropertyBranch) {
174
149
  currentLevelPropertyNodes.push(node);
175
- this.allMappedPropertyNodes.push(node);
150
+ this.indexedExplorerTreeNodes.push(node);
151
+ }
152
+ });
153
+ // ensure we don't navigate more nodes than the limit so we could
154
+ // keep the initialization/indexing time within acceptable range
155
+ const NODE_LIMIT = this.indexedExplorerTreeNodes.length +
156
+ QUERY_BUILDER_PROPERTY_SEARCH_MAX_NODES;
157
+ const addNode = (node) => runInAction(() => {
158
+ if (this.indexedExplorerTreeNodes.length > NODE_LIMIT) {
159
+ return;
176
160
  }
161
+ this.indexedExplorerTreeNodes.push(node);
177
162
  });
163
+ // limit the depth of navigation to keep the initialization/indexing
164
+ // time within acceptable range
178
165
  let currentDepth = 1;
179
- const maxDepth = QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH;
180
- while (currentLevelPropertyNodes.length && currentDepth <= maxDepth) {
166
+ while (currentLevelPropertyNodes.length &&
167
+ currentDepth <= QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH) {
181
168
  const node = currentLevelPropertyNodes.shift();
182
169
  if (node) {
183
170
  if (node.childrenIds.length) {
@@ -192,51 +179,106 @@ export class QueryBuilderPropertySearchState {
192
179
  if (propertyTreeNodeData?.mappingData.mapped &&
193
180
  !propertyTreeNodeData.isPartOfDerivedPropertyBranch) {
194
181
  nextLevelPropertyNodes.push(propertyTreeNodeData);
195
- this.allMappedPropertyNodes.push(propertyTreeNodeData);
182
+ addNode(propertyTreeNodeData);
196
183
  }
197
184
  });
198
185
  node.type._subclasses.forEach((subclass) => {
199
186
  const subTypeTreeNodeData = getQueryBuilderSubTypeNodeData(subclass, node, guaranteeNonNullable(this.queryBuilderState.explorerState
200
187
  .mappingModelCoverageAnalysisResult));
201
188
  nextLevelPropertyNodes.push(subTypeTreeNodeData);
202
- this.allMappedPropertyNodes.push(subTypeTreeNodeData);
189
+ addNode(subTypeTreeNodeData);
203
190
  });
204
191
  }
205
192
  }
206
193
  }
207
- if (!currentLevelPropertyNodes.length) {
194
+ // when we done processing one depth, we will do check on the depth and the total
195
+ // number of indexed nodes to figureo ut if we should proceed further
196
+ if (!currentLevelPropertyNodes.length &&
197
+ this.indexedExplorerTreeNodes.length < NODE_LIMIT) {
208
198
  currentLevelPropertyNodes = nextLevelPropertyNodes;
209
199
  nextLevelPropertyNodes = [];
210
200
  currentDepth++;
211
201
  }
212
202
  }
203
+ // indexing
204
+ this.searchEngine = new Fuse(this.indexedExplorerTreeNodes, {
205
+ includeScore: true,
206
+ shouldSort: true,
207
+ // Ignore location when computing the search score
208
+ // See https://fusejs.io/concepts/scoring-theory.html
209
+ ignoreLocation: true,
210
+ // This specifies the point the search gives up
211
+ // `0.0` means exact match where `1.0` would match anything
212
+ // We set a relatively low threshold to filter out irrelevant results
213
+ threshold: 0.2,
214
+ keys: [
215
+ {
216
+ name: 'label',
217
+ weight: 4,
218
+ },
219
+ {
220
+ name: 'taggedValues',
221
+ weight: 2,
222
+ // aggregate the property documentation, do not account for class documentation
223
+ getFn: (node) => node instanceof QueryBuilderExplorerTreePropertyNodeData
224
+ ? node.property.taggedValues
225
+ .filter((taggedValue) => taggedValue.tag.ownerReference.value.path ===
226
+ CORE_PURE_PATH.PROFILE_DOC &&
227
+ taggedValue.tag.value.value === PURE_DOC_TAG)
228
+ .map((taggedValue) => taggedValue.value)
229
+ .join('\n')
230
+ : '',
231
+ },
232
+ ],
233
+ // extended search allows for exact word match through single quote
234
+ // See https://fusejs.io/examples.html#extended-search
235
+ useExtendedSearch: true,
236
+ });
213
237
  }
214
- fetchMappedPropertyNodes(propName) {
215
- const propertyName = propName.toLowerCase();
216
- for (const node of this.allMappedPropertyNodes) {
217
- if (node.label.toLowerCase().includes(propertyName)) {
218
- this.searchedMappedPropertyNodes.push(node);
219
- if (this.searchedMappedPropertyNodes.length >
220
- QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT) {
221
- break;
238
+ get filteredSearchResults() {
239
+ return this.searchResults.filter((node) => {
240
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS)) {
241
+ if (node.type instanceof Class) {
242
+ return true;
222
243
  }
223
244
  }
224
- }
225
- }
226
- setIsSearchPanelOpen(val) {
227
- this.isSearchPanelOpen = val;
228
- }
229
- setIsSearchPanelHidden(val) {
230
- this.isSearchPanelHidden = val;
231
- }
232
- setSearchText(val) {
233
- this.searchText = val;
234
- }
235
- setSearchedMappedPropertyNodes(val) {
236
- this.searchedMappedPropertyNodes = val;
237
- }
238
- refreshPropertyState() {
239
- this.setSearchedMappedPropertyNodes([]);
245
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING)) {
246
+ if (node.type instanceof PrimitiveType &&
247
+ node.type.name === PRIMITIVE_TYPE.STRING) {
248
+ return true;
249
+ }
250
+ }
251
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER)) {
252
+ if (node.type instanceof PrimitiveType &&
253
+ [
254
+ PRIMITIVE_TYPE.NUMBER,
255
+ PRIMITIVE_TYPE.DECIMAL,
256
+ PRIMITIVE_TYPE.INTEGER,
257
+ PRIMITIVE_TYPE.FLOAT,
258
+ ].includes(node.type.name)) {
259
+ return true;
260
+ }
261
+ }
262
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN)) {
263
+ if (node.type instanceof PrimitiveType &&
264
+ node.type.name === PRIMITIVE_TYPE.BOOLEAN) {
265
+ return true;
266
+ }
267
+ }
268
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE)) {
269
+ if (node.type instanceof PrimitiveType &&
270
+ [
271
+ PRIMITIVE_TYPE.DATE,
272
+ PRIMITIVE_TYPE.DATETIME,
273
+ PRIMITIVE_TYPE.STRICTDATE,
274
+ PRIMITIVE_TYPE.STRICTTIME,
275
+ PRIMITIVE_TYPE.LATESTDATE,
276
+ ].includes(node.type.name)) {
277
+ return true;
278
+ }
279
+ }
280
+ return false;
281
+ });
240
282
  }
241
283
  }
242
284
  //# sourceMappingURL=QueryBuilderPropertySearchState.js.map