@finos/legend-query-builder 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (399) 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 +23 -51
  4. package/lib/components/QueryBuilder.js.map +1 -1
  5. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  6. package/lib/components/QueryBuilderDiffPanel.js +4 -5
  7. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  8. package/lib/components/QueryBuilderNavigationBlocker.d.ts +22 -0
  9. package/lib/components/QueryBuilderNavigationBlocker.d.ts.map +1 -0
  10. package/lib/components/QueryBuilderNavigationBlocker.js +48 -0
  11. package/lib/components/QueryBuilderNavigationBlocker.js.map +1 -0
  12. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  13. package/lib/components/QueryBuilderResultPanel.js +19 -19
  14. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  15. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  16. package/lib/components/QueryBuilderSideBar.js +1 -1
  17. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  18. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  19. package/lib/components/QueryBuilderTextEditor.js +3 -3
  20. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  21. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts +23 -0
  22. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -0
  23. package/lib/components/QueryBuilder_LegendApplicationPlugin.js +31 -0
  24. package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -0
  25. package/lib/components/QueryBuilder_TestID.d.ts +1 -1
  26. package/lib/components/QueryBuilder_TestID.d.ts.map +1 -1
  27. package/lib/components/QueryBuilder_TestID.js +1 -1
  28. package/lib/components/QueryBuilder_TestID.js.map +1 -1
  29. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  30. package/lib/components/explorer/QueryBuilderExplorerPanel.js +4 -4
  31. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  32. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  33. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +2 -2
  34. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  35. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  36. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +4 -4
  37. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
  38. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +2 -2
  39. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  40. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +23 -28
  41. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  42. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +2 -2
  43. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  44. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +12 -12
  45. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  46. package/lib/components/fetch-structure/{QueryBuilderProjectionPanel.d.ts → QueryBuilderTDSPanel.d.ts} +4 -4
  47. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -0
  48. package/lib/components/fetch-structure/{QueryBuilderProjectionPanel.js → QueryBuilderTDSPanel.js} +37 -38
  49. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -0
  50. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  51. package/lib/components/filter/QueryBuilderFilterPanel.js +3 -3
  52. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  53. package/lib/components/shared/LambdaEditor.d.ts +1 -11
  54. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  55. package/lib/components/shared/LambdaEditor.js +23 -63
  56. package/lib/components/shared/LambdaEditor.js.map +1 -1
  57. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  58. package/lib/components/workflows/ServiceQueryBuilder.js +14 -17
  59. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  60. package/lib/index.css +2 -2
  61. package/lib/index.css.map +1 -1
  62. package/lib/index.d.ts +6 -4
  63. package/lib/index.d.ts.map +1 -1
  64. package/lib/index.js +6 -4
  65. package/lib/index.js.map +1 -1
  66. package/lib/package.json +6 -7
  67. package/lib/stores/QueryBuilderChangeDetectionState.js +1 -1
  68. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
  69. package/lib/stores/QueryBuilderCommand.d.ts +21 -0
  70. package/lib/stores/QueryBuilderCommand.d.ts.map +1 -0
  71. package/lib/stores/QueryBuilderCommand.js +26 -0
  72. package/lib/stores/QueryBuilderCommand.js.map +1 -0
  73. package/lib/stores/QueryBuilderPreviewDataHelper.js +25 -25
  74. package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -1
  75. package/lib/stores/QueryBuilderState.d.ts +4 -4
  76. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  77. package/lib/stores/QueryBuilderState.js +13 -7
  78. package/lib/stores/QueryBuilderState.js.map +1 -1
  79. package/lib/stores/QueryBuilderStateBuilder.js +3 -3
  80. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  81. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +2 -2
  82. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
  83. package/lib/stores/QueryBuilderTypeaheadHelper.js +14 -14
  84. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  85. package/lib/stores/QueryBuilderValueSpecificationHelper.js +3 -4
  86. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  87. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +1 -1
  88. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  89. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +1 -1
  90. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  91. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +4 -4
  92. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  93. package/lib/stores/fetch-structure/{projection/QueryBuilderProjectionState.d.ts → tds/QueryBuilderTDSState.d.ts} +4 -4
  94. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -0
  95. package/lib/stores/fetch-structure/{projection/QueryBuilderProjectionState.js → tds/QueryBuilderTDSState.js} +27 -27
  96. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -0
  97. package/lib/stores/fetch-structure/{projection → tds}/QueryResultSetModifierState.d.ts +4 -4
  98. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts.map +1 -0
  99. package/lib/stores/fetch-structure/{projection → tds}/QueryResultSetModifierState.js +4 -4
  100. package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -0
  101. package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperator.d.ts +1 -1
  102. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -0
  103. package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperator.js +2 -2
  104. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.js.map +1 -0
  105. package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -0
  106. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +1 -0
  107. package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -0
  108. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.js.map +1 -0
  109. package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationState.d.ts +4 -4
  110. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -0
  111. package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationState.js +5 -5
  112. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -0
  113. package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationStateBuilder.d.ts +0 -0
  114. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -0
  115. package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationStateBuilder.js +10 -10
  116. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -0
  117. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts +1 -1
  118. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -0
  119. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js +1 -1
  120. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -0
  121. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +1 -1
  122. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
  123. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Average.js +2 -2
  124. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -0
  125. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +1 -1
  126. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
  127. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Count.js +2 -2
  128. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -0
  129. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +1 -1
  130. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
  131. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +1 -1
  132. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
  133. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +1 -1
  134. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
  135. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +3 -3
  136. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
  137. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +1 -1
  138. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
  139. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +3 -3
  140. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
  141. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +1 -1
  142. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
  143. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Max.js +1 -1
  144. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -0
  145. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +1 -1
  146. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
  147. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Min.js +1 -1
  148. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -0
  149. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +1 -1
  150. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
  151. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +3 -3
  152. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
  153. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +1 -1
  154. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
  155. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +3 -3
  156. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
  157. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +1 -1
  158. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
  159. package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +1 -1
  160. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
  161. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -0
  162. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -0
  163. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperator.js +0 -0
  164. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js.map +1 -0
  165. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -0
  166. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +1 -0
  167. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -0
  168. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +1 -0
  169. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterState.d.ts +4 -4
  170. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -0
  171. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterState.js +10 -12
  172. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -0
  173. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +0 -0
  174. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -0
  175. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterStateBuilder.js +13 -14
  176. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -0
  177. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -0
  178. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -0
  179. package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +3 -3
  180. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -0
  181. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +1 -1
  182. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
  183. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +2 -2
  184. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
  185. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts +0 -0
  186. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -0
  187. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +1 -1
  188. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -0
  189. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -0
  190. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
  191. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -4
  192. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
  193. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -0
  194. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
  195. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -4
  196. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
  197. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -0
  198. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
  199. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +7 -7
  200. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
  201. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -0
  202. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
  203. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +4 -4
  204. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
  205. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -0
  206. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
  207. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -0
  208. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
  209. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -0
  210. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
  211. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_In.js +5 -5
  212. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -0
  213. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -0
  214. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
  215. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +1 -1
  216. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
  217. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -0
  218. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
  219. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +4 -4
  220. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
  221. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -0
  222. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
  223. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -0
  224. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
  225. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -0
  226. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
  227. package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -4
  228. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -0
  229. package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionColumnState.d.ts +9 -9
  230. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -0
  231. package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionColumnState.js +20 -20
  232. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -0
  233. package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionStateBuilder.d.ts +1 -1
  234. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -0
  235. package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionStateBuilder.js +19 -19
  236. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -0
  237. package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionValueSpecificationBuilder.d.ts +2 -2
  238. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -0
  239. package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionValueSpecificationBuilder.js +28 -28
  240. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -0
  241. package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
  242. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  243. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  244. package/lib/stores/shared/ValueSpecificationEditorHelper.js +3 -4
  245. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  246. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +3 -1
  247. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  248. package/lib/stores/workflows/ServiceQueryBuilderState.js +5 -1
  249. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  250. package/package.json +13 -14
  251. package/src/components/QueryBuilder.tsx +96 -168
  252. package/src/components/QueryBuilderDiffPanel.tsx +3 -4
  253. package/src/components/QueryBuilderNavigationBlocker.tsx +62 -0
  254. package/src/components/QueryBuilderResultPanel.tsx +39 -48
  255. package/src/components/QueryBuilderSideBar.tsx +1 -0
  256. package/src/components/QueryBuilderTextEditor.tsx +3 -4
  257. package/src/components/QueryBuilder_LegendApplicationPlugin.ts +44 -0
  258. package/src/components/QueryBuilder_TestID.ts +1 -1
  259. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +4 -6
  260. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +2 -4
  261. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +4 -8
  262. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +35 -46
  263. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +17 -20
  264. package/src/components/fetch-structure/{QueryBuilderProjectionPanel.tsx → QueryBuilderTDSPanel.tsx} +47 -57
  265. package/src/components/filter/QueryBuilderFilterPanel.tsx +4 -7
  266. package/src/components/shared/LambdaEditor.tsx +22 -85
  267. package/src/components/workflows/ServiceQueryBuilder.tsx +34 -65
  268. package/src/index.ts +9 -4
  269. package/src/stores/QueryBuilderChangeDetectionState.ts +1 -1
  270. package/src/stores/QueryBuilderCommand.ts +28 -0
  271. package/src/stores/QueryBuilderPreviewDataHelper.ts +28 -28
  272. package/src/stores/QueryBuilderState.ts +31 -10
  273. package/src/stores/QueryBuilderStateBuilder.ts +3 -3
  274. package/src/stores/QueryBuilderTypeaheadHelper.ts +18 -18
  275. package/src/stores/QueryBuilderValueSpecificationHelper.ts +3 -3
  276. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +1 -1
  277. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +4 -4
  278. package/src/stores/fetch-structure/{projection/QueryBuilderProjectionState.ts → tds/QueryBuilderTDSState.ts} +32 -27
  279. package/src/stores/fetch-structure/{projection → tds}/QueryResultSetModifierState.ts +6 -6
  280. package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperator.ts +2 -2
  281. package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -0
  282. package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationState.ts +10 -10
  283. package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationStateBuilder.ts +10 -12
  284. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts +2 -2
  285. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +2 -2
  286. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +2 -2
  287. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +1 -1
  288. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +3 -3
  289. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +3 -3
  290. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +1 -1
  291. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +1 -1
  292. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +3 -3
  293. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +3 -3
  294. package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +1 -1
  295. package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperator.ts +0 -0
  296. package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -0
  297. package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterState.ts +15 -17
  298. package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterStateBuilder.ts +13 -15
  299. package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +3 -3
  300. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +2 -2
  301. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +1 -1
  302. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -4
  303. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -4
  304. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +7 -7
  305. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +4 -4
  306. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -0
  307. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +5 -5
  308. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +1 -1
  309. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +4 -4
  310. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -0
  311. package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -4
  312. package/src/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionColumnState.ts +23 -27
  313. package/src/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionStateBuilder.ts +23 -24
  314. package/src/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionValueSpecificationBuilder.ts +40 -45
  315. package/src/stores/filter/QueryBuilderFilterState.ts +1 -1
  316. package/src/stores/shared/ValueSpecificationEditorHelper.ts +3 -4
  317. package/src/stores/workflows/ServiceQueryBuilderState.ts +6 -0
  318. package/tsconfig.json +41 -39
  319. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
  320. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
  321. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +0 -43
  322. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
  323. package/lib/components/shared/QueryBuilderLambdaEditor.js +0 -48
  324. package/lib/components/shared/QueryBuilderLambdaEditor.js.map +0 -1
  325. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
  326. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
  327. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
  328. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
  329. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +0 -1
  330. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +0 -1
  331. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
  332. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
  333. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
  334. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
  335. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
  336. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
  337. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
  338. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
  339. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
  340. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
  341. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +0 -1
  342. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +0 -1
  343. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +0 -1
  344. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +0 -1
  345. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
  346. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
  347. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
  348. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
  349. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
  350. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
  351. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
  352. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
  353. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
  354. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
  355. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
  356. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
  357. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
  358. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
  359. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
  360. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
  361. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
  362. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
  363. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
  364. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
  365. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
  366. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
  367. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
  368. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
  369. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
  370. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
  371. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +0 -1
  372. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +0 -1
  373. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
  374. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
  375. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
  376. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
  377. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +0 -1
  378. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +0 -1
  379. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
  380. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
  381. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
  382. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
  383. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
  384. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
  385. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
  386. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
  387. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  388. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
  389. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
  390. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
  391. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
  392. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
  393. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
  394. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
  395. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
  396. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
  397. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
  398. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
  399. package/src/components/shared/QueryBuilderLambdaEditor.tsx +0 -120
@@ -62,22 +62,22 @@ import type { CellMouseOverEvent } from '@ag-grid-community/core';
62
62
  import {
63
63
  QueryBuilderDerivationProjectionColumnState,
64
64
  QueryBuilderProjectionColumnState,
65
- } from '../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
65
+ } from '../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
66
66
  import {
67
67
  type QueryBuilderPostFilterTreeNodeData,
68
68
  PostFilterConditionState,
69
69
  QueryBuilderPostFilterTreeConditionNodeData,
70
- } from '../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
70
+ } from '../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
71
71
  import {
72
72
  QueryBuilderPostFilterOperator_Equal,
73
73
  QueryBuilderPostFilterOperator_NotEqual,
74
- } from '../stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js';
74
+ } from '../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js';
75
75
  import {
76
76
  QueryBuilderPostFilterOperator_In,
77
77
  QueryBuilderPostFilterOperator_NotIn,
78
- } from '../stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js';
79
- import type { QueryBuilderPostFilterOperator } from '../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js';
80
- import { QueryBuilderProjectionState } from '../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
78
+ } from '../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js';
79
+ import type { QueryBuilderPostFilterOperator } from '../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js';
80
+ import { QueryBuilderTDSState } from '../stores/fetch-structure/tds/QueryBuilderTDSState.js';
81
81
  import {
82
82
  instanceValue_setValue,
83
83
  instanceValue_setValues,
@@ -89,22 +89,22 @@ const QueryBuilderGridResultContextMenu = observer(
89
89
  HTMLDivElement,
90
90
  {
91
91
  event: CellMouseOverEvent | null;
92
- projectionState: QueryBuilderProjectionState;
92
+ tdsState: QueryBuilderTDSState;
93
93
  }
94
94
  >(function QueryBuilderResultContextMenu(props, ref) {
95
- const { event, projectionState } = props;
95
+ const { event, tdsState } = props;
96
96
  const applicationStore = useApplicationStore();
97
97
  const postFilterEqualOperator = new QueryBuilderPostFilterOperator_Equal();
98
98
  const postFilterInOperator = new QueryBuilderPostFilterOperator_In();
99
99
  const postFilterNotEqualOperator =
100
100
  new QueryBuilderPostFilterOperator_NotEqual();
101
101
  const postFilterNotInOperator = new QueryBuilderPostFilterOperator_NotIn();
102
- const postFilterState = projectionState.postFilterState;
102
+ const postFilterState = tdsState.postFilterState;
103
103
  const projectionColumnState = guaranteeNonNullable(
104
- projectionState.columns
104
+ tdsState.projectionColumns
105
105
  .filter((c) => c.columnName === event?.column.getColId())
106
106
  .concat(
107
- projectionState.aggregationState.columns
107
+ tdsState.aggregationState.columns
108
108
  .filter((c) => c.columnName === event?.column.getColId())
109
109
  .map((ag) => ag.projectionColumnState),
110
110
  )[0],
@@ -256,7 +256,7 @@ const QueryBuilderGridResultContextMenu = observer(
256
256
  };
257
257
 
258
258
  const filterByOrOut = (isFilterBy: boolean): void => {
259
- projectionState.setShowPostFilterPanel(true);
259
+ tdsState.setShowPostFilterPanel(true);
260
260
  const existingPostFilterNode = getExistingPostFilterNode(
261
261
  isFilterBy
262
262
  ? [postFilterEqualOperator, postFilterInOperator]
@@ -320,18 +320,16 @@ const QueryBuilderGridResult = observer(
320
320
  <ContextMenu
321
321
  content={
322
322
  // NOTE: we only support this functionality for grid result with a projection fetch-structure
323
- fetchStructureImplementation instanceof
324
- QueryBuilderProjectionState ? (
323
+ fetchStructureImplementation instanceof QueryBuilderTDSState ? (
325
324
  <QueryBuilderGridResultContextMenu
326
325
  event={cellDoubleClickedEvent}
327
- projectionState={fetchStructureImplementation}
326
+ tdsState={fetchStructureImplementation}
328
327
  />
329
328
  ) : null
330
329
  }
331
330
  disabled={
332
- !(
333
- fetchStructureImplementation instanceof QueryBuilderProjectionState
334
- ) || !queryBuilderState.isQuerySupported
331
+ !(fetchStructureImplementation instanceof QueryBuilderTDSState) ||
332
+ !queryBuilderState.isQuerySupported
335
333
  }
336
334
  menuProps={{ elevation: 7 }}
337
335
  key={executionResult._UUID}
@@ -537,28 +535,28 @@ export const QueryBuilderResultPanel = observer(
537
535
  </div>
538
536
  </button>
539
537
  ) : (
540
- <button
541
- className="query-builder__result__execute-btn"
542
- onClick={runQuery}
543
- tabIndex={-1}
544
- title={
545
- queryValidationIssues
546
- ? `Query is not valid:\n${queryValidationIssues
547
- .map((issue) => `\u2022 ${issue}`)
548
- .join('\n')}`
549
- : undefined
550
- }
551
- disabled={!isQueryValid}
552
- >
553
- <div className="query-builder__result__execute-btn__label">
538
+ <div className="query-builder__result__execute-btn">
539
+ <button
540
+ className="query-builder__result__execute-btn__label"
541
+ onClick={runQuery}
542
+ tabIndex={-1}
543
+ title={
544
+ queryValidationIssues
545
+ ? `Query is not valid:\n${queryValidationIssues
546
+ .map((issue) => `\u2022 ${issue}`)
547
+ .join('\n')}`
548
+ : undefined
549
+ }
550
+ disabled={!isQueryValid}
551
+ >
554
552
  <PlayIcon className="query-builder__result__execute-btn__label__icon" />
555
553
  <div className="query-builder__result__execute-btn__label__title">
556
554
  Run Query
557
555
  </div>
558
- </div>
556
+ </button>
559
557
  <DropdownMenu
560
558
  className="query-builder__result__execute-btn__dropdown-btn"
561
- disabled={resultState.isGeneratingPlan}
559
+ disabled={resultState.isGeneratingPlan || !isQueryValid}
562
560
  content={
563
561
  <MenuContent>
564
562
  <MenuContentItem
@@ -582,10 +580,12 @@ export const QueryBuilderResultPanel = observer(
582
580
  >
583
581
  <CaretDownIcon />
584
582
  </DropdownMenu>
585
- </button>
583
+ </div>
586
584
  )}
587
585
  <DropdownMenu
588
586
  className="query-builder__result__export__dropdown"
587
+ title="Export"
588
+ disabled={!isQueryValid}
589
589
  content={
590
590
  <MenuContent>
591
591
  {Object.values(EXECUTION_SERIALIZATION_FORMAT).map(
@@ -607,21 +607,12 @@ export const QueryBuilderResultPanel = observer(
607
607
  elevation: 7,
608
608
  }}
609
609
  >
610
- <button
611
- className="query-builder__result__export__dropdown__label"
612
- tabIndex={-1}
613
- title="Export"
614
- disabled={!isQueryValid}
615
- >
610
+ <div className="query-builder__result__export__dropdown__label">
616
611
  Export
617
- </button>
618
- <button
619
- className="query-builder__result__export__dropdown__trigger"
620
- tabIndex={-1}
621
- disabled={!isQueryValid}
622
- >
612
+ </div>
613
+ <div className="query-builder__result__export__dropdown__trigger">
623
614
  <CaretDownIcon />
624
- </button>
615
+ </div>
625
616
  </DropdownMenu>
626
617
  </div>
627
618
  </div>
@@ -187,6 +187,7 @@ export const QueryBuilderClassSelector = observer(
187
187
  ? 'Choose a class...'
188
188
  : noMatchMessage ?? 'No class found'
189
189
  }
190
+ disabled={classOptions.length <= 1}
190
191
  noMatchMessage={noMatchMessage}
191
192
  options={classOptions}
192
193
  onChange={changeClass}
@@ -20,12 +20,12 @@ import { clsx, Dialog } from '@finos/legend-art';
20
20
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
21
21
  import { QueryBuilderTextEditorMode } from '../stores/QueryBuilderTextEditorState.js';
22
22
  import { flowResult } from 'mobx';
23
- import { QueryBuilderLambdaEditor } from './shared/QueryBuilderLambdaEditor.js';
24
23
  import {
25
24
  EDITOR_LANGUAGE,
26
25
  TextInputEditor,
27
26
  useApplicationStore,
28
27
  } from '@finos/legend-application';
28
+ import { LambdaEditor } from './shared/LambdaEditor.js';
29
29
 
30
30
  export const QueryBuilderTextEditor = observer(
31
31
  (props: { queryBuilderState: QueryBuilderState }) => {
@@ -38,7 +38,7 @@ export const QueryBuilderTextEditor = observer(
38
38
  const discardChanges = (): void => {
39
39
  queryBuilderState.textEditorState.setMode(undefined);
40
40
  // force close the backdrop just in case changes are discarded when there are grammar issues
41
- queryBuilderState.setShowBackdrop(false);
41
+ applicationStore.setShowBackdrop(false);
42
42
  };
43
43
  const mode = queryTextEditorState.mode;
44
44
  useEffect(() => {
@@ -82,10 +82,9 @@ export const QueryBuilderTextEditor = observer(
82
82
  })}
83
83
  >
84
84
  {mode === QueryBuilderTextEditorMode.TEXT && (
85
- <QueryBuilderLambdaEditor
85
+ <LambdaEditor
86
86
  className="query-builder-text-mode__lambda-editor"
87
87
  disabled={queryTextEditorState.isConvertingLambdaToString}
88
- queryBuilderState={queryBuilderState}
89
88
  lambdaEditorState={queryTextEditorState}
90
89
  forceBackdrop={false}
91
90
  forceExpansion={true}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import {
18
+ collectKeyedCommandConfigEntriesFromConfig,
19
+ LegendApplicationPlugin,
20
+ type KeyedCommandConfigEntry,
21
+ type LegendApplicationPluginManager,
22
+ } from '@finos/legend-application';
23
+ import packageJson from '../../package.json';
24
+ import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
25
+
26
+ export class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
27
+ static NAME = packageJson.extensions.applicationPlugin;
28
+
29
+ constructor() {
30
+ super(QueryBuilder_LegendApplicationPlugin.NAME, packageJson.version);
31
+ }
32
+
33
+ install(
34
+ pluginManager: LegendApplicationPluginManager<LegendApplicationPlugin>,
35
+ ): void {
36
+ pluginManager.registerApplicationPlugin(this);
37
+ }
38
+
39
+ override getExtraKeyedCommandConfigEntries(): KeyedCommandConfigEntry[] {
40
+ return collectKeyedCommandConfigEntriesFromConfig(
41
+ QUERY_BUILDER_COMMAND_CONFIG,
42
+ );
43
+ }
44
+ }
@@ -19,7 +19,7 @@ export enum QUERY_BUILDER_TEST_ID {
19
19
 
20
20
  QUERY_BUILDER = 'query__builder',
21
21
  QUERY_BUILDER_SETUP = 'query__builder__setup',
22
- QUERY_BUILDER_PROJECTION = 'query__builder__projection',
22
+ QUERY_BUILDER_TDS = 'query__builder__tds',
23
23
  QUERY_BUILDER_GRAPH_FETCH = 'query__builder__graph__fetch',
24
24
  QUERY_BUILDER_FILTER = 'query__builder__filter',
25
25
  QUERY_BUILDER_POST_FILTER = 'query__builder__post-filter',
@@ -436,7 +436,7 @@ const QueryBuilderExplorerTreeNodeContainer = observer(
436
436
  }
437
437
  disabled={
438
438
  !(node instanceof QueryBuilderExplorerTreePropertyNodeData) ||
439
- queryBuilderState.showBackdrop
439
+ applicationStore.showBackdrop
440
440
  }
441
441
  menuProps={{ elevation: 7 }}
442
442
  onOpen={onContextMenuOpen}
@@ -801,7 +801,7 @@ export const QueryBuilderExplorerPanel = observer(
801
801
  <div
802
802
  data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_EXPLORER}
803
803
  className={clsx('panel query-builder__explorer', {
804
- backdrop__element: queryBuilderState.showBackdrop,
804
+ backdrop__element: applicationStore.showBackdrop,
805
805
  })}
806
806
  >
807
807
  <div className="panel__header">
@@ -831,6 +831,7 @@ export const QueryBuilderExplorerPanel = observer(
831
831
  </button>
832
832
  <DropdownMenu
833
833
  className="panel__header__action"
834
+ title="Show Options Menu..."
834
835
  content={
835
836
  <MenuContent>
836
837
  <MenuContentItem onClick={toggleShowUnmappedProperties}>
@@ -871,10 +872,7 @@ export const QueryBuilderExplorerPanel = observer(
871
872
  elevation: 7,
872
873
  }}
873
874
  >
874
- <MoreVerticalIcon
875
- title="Show Options Menu..."
876
- className="query-builder__icon__more-options"
877
- />
875
+ <MoreVerticalIcon className="query-builder__icon__more-options" />
878
876
  </DropdownMenu>
879
877
  </div>
880
878
  {propertySearchPanelState.isSearchPanelOpen && (
@@ -454,6 +454,7 @@ export const QueryBuilderFunctionsExplorerPanel = observer(
454
454
  </div>
455
455
  <DropdownMenu
456
456
  className="panel__header__action"
457
+ title="Show Options Menu..."
457
458
  content={
458
459
  <MenuContent>
459
460
  <MenuContentItem onClick={toggleShowDependencyFuncions}>
@@ -472,10 +473,7 @@ export const QueryBuilderFunctionsExplorerPanel = observer(
472
473
  elevation: 7,
473
474
  }}
474
475
  >
475
- <MoreVerticalIcon
476
- title="Show Options Menu..."
477
- className="query-builder__icon__more-options"
478
- />
476
+ <MoreVerticalIcon className="query-builder__icon__more-options" />
479
477
  </DropdownMenu>
480
478
  </div>
481
479
  </div>
@@ -23,9 +23,9 @@ import {
23
23
  } from '@finos/legend-art';
24
24
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
25
25
  import { prettyCONSTName } from '@finos/legend-shared';
26
- import { QueryBuilderProjectionPanel } from './QueryBuilderProjectionPanel.js';
26
+ import { QueryBuilderTDSPanel } from './QueryBuilderTDSPanel.js';
27
27
  import { QueryBuilderGraphFetchTreePanel } from './QueryBuilderGraphFetchTreePanel.js';
28
- import { QueryBuilderProjectionState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
28
+ import { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
29
29
  import { QueryBuilderGraphFetchTreeState } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
30
30
  import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIssueCountBadge.js';
31
31
  import { FETCH_STRUCTURE_IMPLEMENTATION } from '../../stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js';
@@ -36,12 +36,8 @@ const QueryBuilderFetchStructureEditor = observer(
36
36
  const fetchStructureState = queryBuilderState.fetchStructureState;
37
37
  const fetchStructureImplementation = fetchStructureState.implementation;
38
38
 
39
- if (fetchStructureImplementation instanceof QueryBuilderProjectionState) {
40
- return (
41
- <QueryBuilderProjectionPanel
42
- projectionState={fetchStructureImplementation}
43
- />
44
- );
39
+ if (fetchStructureImplementation instanceof QueryBuilderTDSState) {
40
+ return <QueryBuilderTDSPanel tdsState={fetchStructureImplementation} />;
45
41
  } else if (
46
42
  fetchStructureImplementation instanceof QueryBuilderGraphFetchTreeState
47
43
  ) {
@@ -70,9 +70,9 @@ import { flowResult } from 'mobx';
70
70
  import { observer } from 'mobx-react-lite';
71
71
  import { forwardRef, useCallback, useMemo, useRef, useState } from 'react';
72
72
  import { useDrop, useDrag } from 'react-dnd';
73
- import { getColumnMultiplicity } from '../../stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js';
74
- import { QueryBuilderAggregateColumnState } from '../../stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js';
75
- import type { QueryBuilderPostFilterOperator } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js';
73
+ import { getColumnMultiplicity } from '../../stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js';
74
+ import { QueryBuilderAggregateColumnState } from '../../stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js';
75
+ import type { QueryBuilderPostFilterOperator } from '../../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js';
76
76
  import {
77
77
  type QueryBuilderPostFilterTreeNodeData,
78
78
  type QueryBuilderPostFilterDropTarget,
@@ -82,13 +82,13 @@ import {
82
82
  QueryBuilderPostFilterTreeGroupNodeData,
83
83
  QUERY_BUILDER_POST_FILTER_DND_TYPE,
84
84
  QueryBuilderPostFilterTreeBlankConditionNodeData,
85
- } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
85
+ } from '../../stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js';
86
86
  import {
87
87
  type QueryBuilderProjectionColumnState,
88
88
  type QueryBuilderProjectionColumnDragSource,
89
89
  QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
90
90
  QueryBuilderDerivationProjectionColumnState,
91
- } from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
91
+ } from '../../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
92
92
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
93
93
  import {
94
94
  type QueryBuilderParameterDragSource,
@@ -97,19 +97,19 @@ import {
97
97
  import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
98
98
  import { isTypeCompatibleForAssignment } from '../../stores/QueryBuilderValueSpecificationHelper.js';
99
99
  import { QUERY_BUILDER_GROUP_OPERATION } from '../../stores/QueryBuilderGroupOperationHelper.js';
100
- import { QueryBuilderProjectionState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
100
+ import { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
101
101
  import { BasicValueSpecificationEditor } from '../shared/BasicValueSpecificationEditor.js';
102
102
 
103
103
  const QueryBuilderPostFilterConditionContextMenu = observer(
104
104
  forwardRef<
105
105
  HTMLDivElement,
106
106
  {
107
- projectionState: QueryBuilderProjectionState;
107
+ tdsState: QueryBuilderTDSState;
108
108
  node: QueryBuilderPostFilterTreeNodeData;
109
109
  }
110
110
  >(function QueryBuilderPostFilterConditionContextMenu(props, ref) {
111
- const { projectionState, node } = props;
112
- const postFilterState = projectionState.postFilterState;
111
+ const { tdsState, node } = props;
112
+ const postFilterState = tdsState.postFilterState;
113
113
  const removeNode = (): void =>
114
114
  postFilterState.removeNodeAndPruneBranch(node);
115
115
  const createCondition = (): void => {
@@ -365,7 +365,7 @@ const QueryBuilderPostFilterConditionEditor = observer(
365
365
  }) => {
366
366
  const { node, isDragOver } = props;
367
367
  const graph =
368
- node.condition.postFilterState.projectionState.queryBuilderState
368
+ node.condition.postFilterState.tdsState.queryBuilderState
369
369
  .graphManagerState.graph;
370
370
  const applicationStore = useApplicationStore();
371
371
  const changeOperator = (val: QueryBuilderPostFilterOperator) => (): void =>
@@ -460,6 +460,7 @@ const QueryBuilderPostFilterConditionEditor = observer(
460
460
  </div>
461
461
  <DropdownMenu
462
462
  className="query-builder-post-filter-tree__condition-node__operator"
463
+ title="Choose Operator..."
463
464
  content={
464
465
  <MenuContent>
465
466
  {node.condition.operators.map((op) => (
@@ -482,13 +483,9 @@ const QueryBuilderPostFilterConditionEditor = observer(
482
483
  <div className="query-builder-post-filter-tree__condition-node__operator__label">
483
484
  {node.condition.operator.getLabel()}
484
485
  </div>
485
- <button
486
- className="query-builder-post-filter-tree__condition-node__operator__dropdown__trigger"
487
- tabIndex={-1}
488
- title="Choose Operator..."
489
- >
486
+ <div className="query-builder-post-filter-tree__condition-node__operator__dropdown__trigger">
490
487
  <CaretDownIcon />
491
- </button>
488
+ </div>
492
489
  </DropdownMenu>
493
490
  {node.condition.value && (
494
491
  <div
@@ -505,8 +502,8 @@ const QueryBuilderPostFilterConditionEditor = observer(
505
502
  setValueSpecification={changeValueSpecification}
506
503
  graph={graph}
507
504
  obseverContext={
508
- node.condition.postFilterState.projectionState
509
- .queryBuilderState.observableContext
505
+ node.condition.postFilterState.tdsState.queryBuilderState
506
+ .observableContext
510
507
  }
511
508
  typeCheckOption={{
512
509
  expectedType: guaranteeNonNullable(
@@ -553,17 +550,17 @@ const QueryBuilderPostFilterTreeNodeContainer = observer(
553
550
  props: TreeNodeContainerProps<
554
551
  QueryBuilderPostFilterTreeNodeData,
555
552
  {
556
- projectionState: QueryBuilderProjectionState;
553
+ tdsState: QueryBuilderTDSState;
557
554
  }
558
555
  >,
559
556
  ) => {
560
557
  const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
561
- const { projectionState: projectionState } = innerProps;
558
+ const { tdsState } = innerProps;
562
559
  const ref = useRef<HTMLDivElement>(null);
563
560
  const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] =
564
561
  useState(false);
565
562
  const applicationStore = useApplicationStore();
566
- const postFilterState = projectionState.postFilterState;
563
+ const postFilterState = tdsState.postFilterState;
567
564
  const isExpandable =
568
565
  node instanceof QueryBuilderPostFilterTreeGroupNodeData;
569
566
  const selectNode = (): void => onNodeSelect?.(node);
@@ -674,7 +671,7 @@ const QueryBuilderPostFilterTreeNodeContainer = observer(
674
671
  <ContextMenu
675
672
  content={
676
673
  <QueryBuilderPostFilterConditionContextMenu
677
- projectionState={projectionState}
674
+ tdsState={tdsState}
678
675
  node={node}
679
676
  />
680
677
  }
@@ -763,7 +760,7 @@ const QueryBuilderPostFilterTreeNodeView = observer(
763
760
  props: TreeNodeViewProps<
764
761
  QueryBuilderPostFilterTreeNodeData,
765
762
  {
766
- projectionState: QueryBuilderProjectionState;
763
+ tdsState: QueryBuilderTDSState;
767
764
  }
768
765
  >,
769
766
  ) => {
@@ -801,9 +798,9 @@ const QueryBuilderPostFilterTreeNodeView = observer(
801
798
  );
802
799
 
803
800
  const QueryBuilderPostFilterTree = observer(
804
- (props: { projectionState: QueryBuilderProjectionState }) => {
805
- const { projectionState } = props;
806
- const postFilterState = projectionState.postFilterState;
801
+ (props: { tdsState: QueryBuilderTDSState }) => {
802
+ const { tdsState } = props;
803
+ const postFilterState = tdsState.postFilterState;
807
804
  const rootNodes = postFilterState.rootIds.map((rootId) =>
808
805
  postFilterState.getNode(rootId),
809
806
  );
@@ -829,7 +826,7 @@ const QueryBuilderPostFilterTree = observer(
829
826
  getChildNodes={getChildNodes}
830
827
  onNodeSelect={onNodeSelect}
831
828
  innerProps={{
832
- projectionState: projectionState,
829
+ tdsState: tdsState,
833
830
  }}
834
831
  />
835
832
  ))}
@@ -840,10 +837,10 @@ const QueryBuilderPostFilterTree = observer(
840
837
  );
841
838
 
842
839
  const QueryBuilderPostFilterPanelContent = observer(
843
- (props: { projectionState: QueryBuilderProjectionState }) => {
844
- const { projectionState } = props;
840
+ (props: { tdsState: QueryBuilderTDSState }) => {
841
+ const { tdsState } = props;
845
842
  const applicationStore = useApplicationStore();
846
- const postFilterState = projectionState.postFilterState;
843
+ const postFilterState = tdsState.postFilterState;
847
844
  const rootNode = postFilterState.getRootNode();
848
845
  // actions
849
846
  const collapseTree = (): void => {
@@ -902,10 +899,9 @@ const QueryBuilderPostFilterPanelContent = observer(
902
899
  try {
903
900
  const columnState = (item as QueryBuilderProjectionColumnDragSource)
904
901
  .columnState;
905
- const aggregateColumnState =
906
- projectionState.aggregationState.columns.find(
907
- (column) => column.projectionColumnState === columnState,
908
- );
902
+ const aggregateColumnState = tdsState.aggregationState.columns.find(
903
+ (column) => column.projectionColumnState === columnState,
904
+ );
909
905
  if (
910
906
  !aggregateColumnState &&
911
907
  columnState instanceof QueryBuilderDerivationProjectionColumnState
@@ -938,11 +934,7 @@ const QueryBuilderPostFilterPanelContent = observer(
938
934
  undefined,
939
935
  );
940
936
  },
941
- [
942
- applicationStore,
943
- postFilterState,
944
- projectionState.aggregationState.columns,
945
- ],
937
+ [applicationStore, postFilterState, tdsState.aggregationState.columns],
946
938
  );
947
939
  const [{ isDragOver }, dropTargetConnector] = useDrop<
948
940
  QueryBuilderProjectionColumnDragSource,
@@ -1057,7 +1049,7 @@ const QueryBuilderPostFilterPanelContent = observer(
1057
1049
  ): string => item.node.dragPreviewLabel}
1058
1050
  types={Object.values(QUERY_BUILDER_POST_FILTER_DND_TYPE)}
1059
1051
  />
1060
- <QueryBuilderPostFilterTree projectionState={projectionState} />
1052
+ <QueryBuilderPostFilterTree tdsState={tdsState} />
1061
1053
  </>
1062
1054
  )}
1063
1055
  </PanelDropZone>
@@ -1078,15 +1070,12 @@ export const QueryBuilderPostFilterPanel = observer(
1078
1070
  data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_POST_FILTER}
1079
1071
  className="panel"
1080
1072
  >
1081
- {fetchStructureImplementation instanceof
1082
- QueryBuilderProjectionState && (
1073
+ {fetchStructureImplementation instanceof QueryBuilderTDSState && (
1083
1074
  <QueryBuilderPostFilterPanelContent
1084
- projectionState={fetchStructureImplementation}
1075
+ tdsState={fetchStructureImplementation}
1085
1076
  />
1086
1077
  )}
1087
- {!(
1088
- fetchStructureImplementation instanceof QueryBuilderProjectionState
1089
- ) && (
1078
+ {!(fetchStructureImplementation instanceof QueryBuilderTDSState) && (
1090
1079
  <>
1091
1080
  <div className="panel__header">
1092
1081
  <div className="panel__header__title">