@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
@@ -72,7 +72,7 @@ import {
72
72
  QueryBuilderDerivationProjectionColumnState,
73
73
  QueryBuilderSimpleProjectionColumnState,
74
74
  type QueryBuilderProjectionColumnState,
75
- } from './QueryBuilderProjectionColumnState.js';
75
+ } from './projection/QueryBuilderProjectionColumnState.js';
76
76
  import type { QueryBuilderFetchStructureState } from '../QueryBuilderFetchStructureState.js';
77
77
  import {
78
78
  buildPropertyExpressionFromExplorerTreeNodeData,
@@ -85,18 +85,18 @@ import {
85
85
  ActionAlertType,
86
86
  } from '@finos/legend-application';
87
87
  import type { LambdaFunctionBuilderOption } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
88
- import { appendProjection } from './QueryBuilderProjectionValueSpecificationBuilder.js';
88
+ import { appendProjection } from './projection/QueryBuilderProjectionValueSpecificationBuilder.js';
89
89
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graphManager/QueryBuilderSupportedFunctions.js';
90
90
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
91
91
 
92
- export class QueryBuilderProjectionState
92
+ export class QueryBuilderTDSState
93
93
  extends QueryBuilderFetchStructureImplementationState
94
94
  implements Hashable
95
95
  {
96
96
  readonly aggregationState: QueryBuilderAggregationState;
97
97
  readonly postFilterState: QueryBuilderPostFilterState;
98
98
  readonly resultSetModifierState: QueryResultSetModifierState;
99
- columns: QueryBuilderProjectionColumnState[] = [];
99
+ projectionColumns: QueryBuilderProjectionColumnState[] = [];
100
100
  isConvertDerivationProjectionObjects = false;
101
101
  showPostFilterPanel = false;
102
102
 
@@ -112,7 +112,7 @@ export class QueryBuilderProjectionState
112
112
  super(queryBuilderState, fetchStructureState);
113
113
 
114
114
  makeObservable(this, {
115
- columns: observable,
115
+ projectionColumns: observable,
116
116
  isConvertDerivationProjectionObjects: observable,
117
117
  showPostFilterPanel: observable,
118
118
  derivations: computed,
@@ -136,11 +136,11 @@ export class QueryBuilderProjectionState
136
136
  }
137
137
 
138
138
  get type(): string {
139
- return FETCH_STRUCTURE_IMPLEMENTATION.PROJECTION;
139
+ return FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE;
140
140
  }
141
141
 
142
142
  get derivations(): QueryBuilderDerivationProjectionColumnState[] {
143
- return this.columns.filter(
143
+ return this.projectionColumns.filter(
144
144
  filterByType(QueryBuilderDerivationProjectionColumnState),
145
145
  );
146
146
  }
@@ -153,7 +153,7 @@ export class QueryBuilderProjectionState
153
153
 
154
154
  get usedExplorerTreePropertyNodeIDs(): string[] {
155
155
  let nodeIDs: string[] = [];
156
- this.columns.forEach((column) => {
156
+ this.projectionColumns.forEach((column) => {
157
157
  if (column instanceof QueryBuilderSimpleProjectionColumnState) {
158
158
  let chunks: (string | Class)[] = [];
159
159
  let currentExpression: ValueSpecification =
@@ -226,15 +226,15 @@ export class QueryBuilderProjectionState
226
226
  }
227
227
 
228
228
  get validationIssues(): string[] | undefined {
229
- const hasDuplicatedProjectionColumns = this.columns.some(
229
+ const hasDuplicatedProjectionColumns = this.projectionColumns.some(
230
230
  (column) =>
231
- this.columns.filter((c) => c.columnName === column.columnName).length >
232
- 1,
231
+ this.projectionColumns.filter((c) => c.columnName === column.columnName)
232
+ .length > 1,
233
233
  );
234
234
  if (hasDuplicatedProjectionColumns) {
235
235
  return ['Query has duplicated projection columns'];
236
236
  }
237
- const hasNoProjectionColumns = this.columns.length === 0;
237
+ const hasNoProjectionColumns = this.projectionColumns.length === 0;
238
238
  if (hasNoProjectionColumns) {
239
239
  return ['Query has no projection columns'];
240
240
  }
@@ -357,11 +357,11 @@ export class QueryBuilderProjectionState
357
357
  corresspondingSortColumnState.setColumnState(newVal);
358
358
  }
359
359
 
360
- changeEntry(this.columns, oldVal, newVal);
360
+ changeEntry(this.projectionColumns, oldVal, newVal);
361
361
  }
362
362
 
363
363
  removeColumn(val: QueryBuilderProjectionColumnState): void {
364
- deleteEntry(this.columns, val);
364
+ deleteEntry(this.projectionColumns, val);
365
365
 
366
366
  // remove aggregation that goes with the projection
367
367
  const existingAggregateColumnState = this.aggregationState.columns.find(
@@ -386,11 +386,11 @@ export class QueryBuilderProjectionState
386
386
  skipSorting?: boolean | undefined;
387
387
  },
388
388
  ): void {
389
- addUniqueEntry(this.columns, val);
389
+ addUniqueEntry(this.projectionColumns, val);
390
390
 
391
391
  if (!options?.skipSorting) {
392
392
  // sort columns: aggregate columns go last
393
- this.columns = this.columns
393
+ this.projectionColumns = this.projectionColumns
394
394
  .slice()
395
395
  .sort(
396
396
  (colA, colB) =>
@@ -411,18 +411,20 @@ export class QueryBuilderProjectionState
411
411
  moveColumn(sourceIndex: number, targetIndex: number): void {
412
412
  if (
413
413
  sourceIndex < 0 ||
414
- sourceIndex >= this.columns.length ||
414
+ sourceIndex >= this.projectionColumns.length ||
415
415
  targetIndex < 0 ||
416
- targetIndex >= this.columns.length
416
+ targetIndex >= this.projectionColumns.length
417
417
  ) {
418
418
  return;
419
419
  }
420
420
 
421
- const sourceColumn = guaranteeNonNullable(this.columns[sourceIndex]);
421
+ const sourceColumn = guaranteeNonNullable(
422
+ this.projectionColumns[sourceIndex],
423
+ );
422
424
 
423
425
  // find last non aggregate column index for computation
424
426
  const lastNonAggregateColumn = findLast(
425
- this.columns,
427
+ this.projectionColumns,
426
428
  (projectionCol) =>
427
429
  !this.aggregationState.columns.find(
428
430
  (column) => column.projectionColumnState === projectionCol,
@@ -430,7 +432,7 @@ export class QueryBuilderProjectionState
430
432
  );
431
433
 
432
434
  const lastNonAggregateColumnIndex = lastNonAggregateColumn
433
- ? this.columns.lastIndexOf(lastNonAggregateColumn)
435
+ ? this.projectionColumns.lastIndexOf(lastNonAggregateColumn)
434
436
  : 0;
435
437
  if (
436
438
  this.aggregationState.columns.find(
@@ -441,7 +443,10 @@ export class QueryBuilderProjectionState
441
443
  // it cannot be moved to before the first aggregate column
442
444
  targetIndex = Math.max(
443
445
  targetIndex,
444
- Math.min(lastNonAggregateColumnIndex + 1, this.columns.length - 1),
446
+ Math.min(
447
+ lastNonAggregateColumnIndex + 1,
448
+ this.projectionColumns.length - 1,
449
+ ),
445
450
  );
446
451
  } else {
447
452
  // if the column being moved is not an aggregate column,
@@ -450,8 +455,8 @@ export class QueryBuilderProjectionState
450
455
  }
451
456
 
452
457
  // move
453
- this.columns.splice(sourceIndex, 1);
454
- this.columns.splice(targetIndex, 0, sourceColumn);
458
+ this.projectionColumns.splice(sourceIndex, 1);
459
+ this.projectionColumns.splice(targetIndex, 0, sourceColumn);
455
460
  }
456
461
 
457
462
  addNewBlankDerivation(): void {
@@ -477,7 +482,7 @@ export class QueryBuilderProjectionState
477
482
  elementCoordinates[0] === QUERY_BUILDER_SOURCE_ID_LABEL.QUERY_BUILDER &&
478
483
  elementCoordinates[1] === QUERY_BUILDER_SOURCE_ID_LABEL.PROJECTION
479
484
  ) {
480
- const derivationProjectionState = this.columns.find(
485
+ const derivationProjectionState = this.projectionColumns.find(
481
486
  (projectionColumnState) =>
482
487
  projectionColumnState.uuid === elementCoordinates[2],
483
488
  );
@@ -532,7 +537,7 @@ export class QueryBuilderProjectionState
532
537
 
533
538
  checkBeforeChangingImplementation(onChange: () => void): void {
534
539
  if (
535
- this.columns.length > 0
540
+ this.projectionColumns.length > 0
536
541
  // NOTE: here we could potentially check for the presence of post-filter as well
537
542
  // but we make the assumption that if there is no projection column, there should
538
543
  // not be any post-filter at all
@@ -567,7 +572,7 @@ export class QueryBuilderProjectionState
567
572
  get hashCode(): string {
568
573
  return hashArray([
569
574
  QUERY_BUILDER_HASH_STRUCTURE.PROJECTION_STATE,
570
- hashArray(this.columns),
575
+ hashArray(this.projectionColumns),
571
576
  this.aggregationState,
572
577
  this.postFilterState,
573
578
  this.resultSetModifierState,
@@ -15,8 +15,8 @@
15
15
  */
16
16
 
17
17
  import { action, computed, makeObservable, observable } from 'mobx';
18
- import type { QueryBuilderProjectionState } from './QueryBuilderProjectionState.js';
19
- import type { QueryBuilderProjectionColumnState } from './QueryBuilderProjectionColumnState.js';
18
+ import type { QueryBuilderTDSState } from './QueryBuilderTDSState.js';
19
+ import type { QueryBuilderProjectionColumnState } from './projection/QueryBuilderProjectionColumnState.js';
20
20
  import {
21
21
  addUniqueEntry,
22
22
  deleteEntry,
@@ -64,13 +64,13 @@ export class SortColumnState implements Hashable {
64
64
  }
65
65
 
66
66
  export class QueryResultSetModifierState implements Hashable {
67
- readonly projectionState: QueryBuilderProjectionState;
67
+ readonly tdsState: QueryBuilderTDSState;
68
68
  showModal = false;
69
69
  limit?: number | undefined;
70
70
  distinct = false;
71
71
  sortColumns: SortColumnState[] = [];
72
72
 
73
- constructor(projectionState: QueryBuilderProjectionState) {
73
+ constructor(tdsState: QueryBuilderTDSState) {
74
74
  makeObservable(this, {
75
75
  showModal: observable,
76
76
  limit: observable,
@@ -85,7 +85,7 @@ export class QueryResultSetModifierState implements Hashable {
85
85
  hashCode: computed,
86
86
  });
87
87
 
88
- this.projectionState = projectionState;
88
+ this.tdsState = tdsState;
89
89
  }
90
90
 
91
91
  setShowModal(val: boolean): void {
@@ -110,7 +110,7 @@ export class QueryResultSetModifierState implements Hashable {
110
110
 
111
111
  updateSortColumns(): void {
112
112
  this.sortColumns = this.sortColumns.filter((e) =>
113
- this.projectionState.columns.includes(e.columnState),
113
+ this.tdsState.projectionColumns.includes(e.columnState),
114
114
  );
115
115
  }
116
116
 
@@ -30,7 +30,7 @@ import type {
30
30
  import {
31
31
  type QueryBuilderProjectionColumnState,
32
32
  QueryBuilderSimpleProjectionColumnState,
33
- } from '../QueryBuilderProjectionColumnState.js';
33
+ } from '../projection/QueryBuilderProjectionColumnState.js';
34
34
  import type { QueryBuilderAggregateColumnState } from './QueryBuilderAggregationState.js';
35
35
  import { computed, makeObservable } from 'mobx';
36
36
 
@@ -67,7 +67,7 @@ export abstract class QueryBuilderAggregateOperator implements Hashable {
67
67
  .propertyExpression
68
68
  : undefined,
69
69
  aggregateColumnState.lambdaParameterName,
70
- aggregateColumnState.aggregationState.projectionState.queryBuilderState
70
+ aggregateColumnState.aggregationState.tdsState.queryBuilderState
71
71
  .graphManagerState.graph,
72
72
  );
73
73
  }
@@ -24,9 +24,9 @@ import {
24
24
  } from '@finos/legend-shared';
25
25
  import type { Type } from '@finos/legend-graph';
26
26
  import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
27
- import type { QueryBuilderProjectionState } from '../QueryBuilderProjectionState.js';
27
+ import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
28
28
  import type { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
29
- import type { QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionColumnState.js';
29
+ import type { QueryBuilderProjectionColumnState } from '../projection/QueryBuilderProjectionColumnState.js';
30
30
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
31
31
 
32
32
  export class QueryBuilderAggregateColumnState implements Hashable {
@@ -85,12 +85,12 @@ export class QueryBuilderAggregateColumnState implements Hashable {
85
85
  }
86
86
 
87
87
  export class QueryBuilderAggregationState implements Hashable {
88
- readonly projectionState: QueryBuilderProjectionState;
88
+ readonly tdsState: QueryBuilderTDSState;
89
89
  readonly operators: QueryBuilderAggregateOperator[] = [];
90
90
  columns: QueryBuilderAggregateColumnState[] = [];
91
91
 
92
92
  constructor(
93
- projectionState: QueryBuilderProjectionState,
93
+ tdsState: QueryBuilderTDSState,
94
94
  operators: QueryBuilderAggregateOperator[],
95
95
  ) {
96
96
  makeObservable(this, {
@@ -101,7 +101,7 @@ export class QueryBuilderAggregationState implements Hashable {
101
101
  hashCode: computed,
102
102
  });
103
103
 
104
- this.projectionState = projectionState;
104
+ this.tdsState = tdsState;
105
105
  this.operators = operators;
106
106
  }
107
107
 
@@ -142,17 +142,17 @@ export class QueryBuilderAggregationState implements Hashable {
142
142
  // as aggregate column should always be the last one
143
143
  // NOTE: unless we do `olap` aggregation
144
144
  // See https://github.com/finos/legend-studio/issues/253
145
- this.projectionState.moveColumn(
146
- this.projectionState.columns.indexOf(projectionColumnState),
147
- this.projectionState.columns.length - 1,
145
+ this.tdsState.moveColumn(
146
+ this.tdsState.projectionColumns.indexOf(projectionColumnState),
147
+ this.tdsState.projectionColumns.length - 1,
148
148
  );
149
149
  }
150
150
  } else {
151
151
  if (aggregateColumnState) {
152
152
  // automatically move the column to the last position before the aggregate columns
153
153
  // NOTE: `moveColumn` will take care of this placement calculation
154
- this.projectionState.moveColumn(
155
- this.projectionState.columns.indexOf(projectionColumnState),
154
+ this.tdsState.moveColumn(
155
+ this.tdsState.projectionColumns.indexOf(projectionColumnState),
156
156
  0,
157
157
  );
158
158
 
@@ -35,7 +35,7 @@ import type { QueryBuilderState } from '../../../QueryBuilderState.js';
35
35
  import { QueryBuilderValueSpecificationProcessor } from '../../../QueryBuilderStateBuilder.js';
36
36
  import { extractNullableStringFromInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
37
37
  import { FETCH_STRUCTURE_IMPLEMENTATION } from '../../QueryBuilderFetchStructureImplementationState.js';
38
- import { QueryBuilderProjectionState } from '../QueryBuilderProjectionState.js';
38
+ import { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
39
39
 
40
40
  export const processTDSAggregateExpression = (
41
41
  expression: SimpleFunctionExpression,
@@ -71,15 +71,14 @@ export const processTDSAggregateExpression = (
71
71
  // build state
72
72
  if (
73
73
  queryBuilderState.fetchStructureState.implementation instanceof
74
- QueryBuilderProjectionState
74
+ QueryBuilderTDSState
75
75
  ) {
76
- const projectionState =
77
- queryBuilderState.fetchStructureState.implementation;
78
- const aggregationState = projectionState.aggregationState;
76
+ const tdsState = queryBuilderState.fetchStructureState.implementation;
77
+ const aggregationState = tdsState.aggregationState;
79
78
  // NOTE: since we process agg() expressions one by one, we know that the current agg()
80
79
  // always correspond to the last column projection state, based on our processing procedure
81
80
  const projectionColumnState = guaranteeNonNullable(
82
- projectionState.columns[projectionState.columns.length - 1],
81
+ tdsState.projectionColumns[tdsState.projectionColumns.length - 1],
83
82
  );
84
83
  const aggregateLambda = expression.parametersValues[1];
85
84
  assertType(
@@ -139,9 +138,9 @@ export const processTDSGroupByExpression = (
139
138
  expression: SimpleFunctionExpression,
140
139
  queryBuilderState: QueryBuilderState,
141
140
  ): void => {
142
- // update fetch-structure
141
+ // update fetch-structureTABULAR_DATA_STRUCTURE
143
142
  queryBuilderState.fetchStructureState.changeImplementation(
144
- FETCH_STRUCTURE_IMPLEMENTATION.PROJECTION,
143
+ FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE,
145
144
  );
146
145
 
147
146
  // check parameters
@@ -217,11 +216,10 @@ export const processTDSGroupByExpression = (
217
216
  // build state
218
217
  if (
219
218
  queryBuilderState.fetchStructureState.implementation instanceof
220
- QueryBuilderProjectionState
219
+ QueryBuilderTDSState
221
220
  ) {
222
- const projectionState =
223
- queryBuilderState.fetchStructureState.implementation;
224
- projectionState.columns.forEach((column, idx) =>
221
+ const tdsState = queryBuilderState.fetchStructureState.implementation;
222
+ tdsState.projectionColumns.forEach((column, idx) =>
225
223
  column.setColumnName(aliases[idx] as string),
226
224
  );
227
225
  }
@@ -25,7 +25,7 @@ import {
25
25
  } from '@finos/legend-graph';
26
26
  import { guaranteeType, assertTrue } from '@finos/legend-shared';
27
27
  import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
28
- import type { QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
28
+ import type { QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
29
29
  import type { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
30
30
 
31
31
  export const buildAggregateExpression = (
@@ -55,7 +55,7 @@ export const buildAggregateColumnState = (
55
55
  ): QueryBuilderAggregateColumnState | undefined => {
56
56
  if (matchFunctionName(expression.functionName, operatorFunctionFullPath)) {
57
57
  const aggregateColumnState = new QueryBuilderAggregateColumnState(
58
- projectionColumnState.projectionState.aggregationState,
58
+ projectionColumnState.tdsState.aggregationState,
59
59
  projectionColumnState,
60
60
  operator,
61
61
  );
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
28
28
  import {
29
29
  type QueryBuilderProjectionColumnState,
30
30
  QueryBuilderSimpleProjectionColumnState,
31
- } from '../../QueryBuilderProjectionColumnState.js';
31
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
32
32
  import {
33
33
  buildAggregateColumnState,
34
34
  buildAggregateExpression,
@@ -96,7 +96,7 @@ export class QueryBuilderAggregateOperator_Average
96
96
  aggregateColumnState: QueryBuilderAggregateColumnState,
97
97
  ): Type {
98
98
  const graph =
99
- aggregateColumnState.aggregationState.projectionState.queryBuilderState
99
+ aggregateColumnState.aggregationState.tdsState.queryBuilderState
100
100
  .graphManagerState.graph;
101
101
  return graph.getType(PRIMITIVE_TYPE.FLOAT);
102
102
  }
@@ -29,7 +29,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
29
29
  import {
30
30
  type QueryBuilderProjectionColumnState,
31
31
  QueryBuilderSimpleProjectionColumnState,
32
- } from '../../QueryBuilderProjectionColumnState.js';
32
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
33
33
  import {
34
34
  buildAggregateColumnState,
35
35
  buildAggregateExpression,
@@ -104,7 +104,7 @@ export class QueryBuilderAggregateOperator_Count
104
104
  aggregateColumnState: QueryBuilderAggregateColumnState,
105
105
  ): Type {
106
106
  const graph =
107
- aggregateColumnState.aggregationState.projectionState.queryBuilderState
107
+ aggregateColumnState.aggregationState.tdsState.queryBuilderState
108
108
  .graphManagerState.graph;
109
109
  return graph.getType(PRIMITIVE_TYPE.INTEGER);
110
110
  }
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
28
28
  import {
29
29
  type QueryBuilderProjectionColumnState,
30
30
  QueryBuilderSimpleProjectionColumnState,
31
- } from '../../QueryBuilderProjectionColumnState.js';
31
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
32
32
  import {
33
33
  buildAggregateColumnState,
34
34
  buildAggregateExpression,
@@ -38,7 +38,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
38
38
  import {
39
39
  type QueryBuilderProjectionColumnState,
40
40
  QueryBuilderSimpleProjectionColumnState,
41
- } from '../../QueryBuilderProjectionColumnState.js';
41
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
42
42
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
43
43
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
44
44
 
@@ -113,7 +113,7 @@ export class QueryBuilderAggregateOperator_DistinctCount
113
113
  )
114
114
  ) {
115
115
  const aggregateColumnState = new QueryBuilderAggregateColumnState(
116
- projectionColumnState.projectionState.aggregationState,
116
+ projectionColumnState.tdsState.aggregationState,
117
117
  projectionColumnState,
118
118
  this,
119
119
  );
@@ -175,7 +175,7 @@ export class QueryBuilderAggregateOperator_DistinctCount
175
175
  aggregateColumnState: QueryBuilderAggregateColumnState,
176
176
  ): Type {
177
177
  const graph =
178
- aggregateColumnState.aggregationState.projectionState.queryBuilderState
178
+ aggregateColumnState.aggregationState.tdsState.queryBuilderState
179
179
  .graphManagerState.graph;
180
180
  return graph.getType(PRIMITIVE_TYPE.INTEGER);
181
181
  }
@@ -40,7 +40,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
40
40
  import {
41
41
  type QueryBuilderProjectionColumnState,
42
42
  QueryBuilderSimpleProjectionColumnState,
43
- } from '../../QueryBuilderProjectionColumnState.js';
43
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
44
44
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
45
45
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
46
46
 
@@ -107,7 +107,7 @@ export class QueryBuilderAggregateOperator_JoinString
107
107
  )
108
108
  ) {
109
109
  const aggregateColumnState = new QueryBuilderAggregateColumnState(
110
- projectionColumnState.projectionState.aggregationState,
110
+ projectionColumnState.tdsState.aggregationState,
111
111
  projectionColumnState,
112
112
  this,
113
113
  );
@@ -157,7 +157,7 @@ export class QueryBuilderAggregateOperator_JoinString
157
157
  aggregateColumnState: QueryBuilderAggregateColumnState,
158
158
  ): Type {
159
159
  const graph =
160
- aggregateColumnState.aggregationState.projectionState.queryBuilderState
160
+ aggregateColumnState.aggregationState.tdsState.queryBuilderState
161
161
  .graphManagerState.graph;
162
162
  return graph.getType(PRIMITIVE_TYPE.STRING);
163
163
  }
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
28
28
  import {
29
29
  type QueryBuilderProjectionColumnState,
30
30
  QueryBuilderSimpleProjectionColumnState,
31
- } from '../../QueryBuilderProjectionColumnState.js';
31
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
32
32
  import {
33
33
  buildAggregateColumnState,
34
34
  buildAggregateExpression,
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
28
28
  import {
29
29
  type QueryBuilderProjectionColumnState,
30
30
  QueryBuilderSimpleProjectionColumnState,
31
- } from '../../QueryBuilderProjectionColumnState.js';
31
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
32
32
  import {
33
33
  buildAggregateColumnState,
34
34
  buildAggregateExpression,
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
28
28
  import {
29
29
  type QueryBuilderProjectionColumnState,
30
30
  QueryBuilderSimpleProjectionColumnState,
31
- } from '../../QueryBuilderProjectionColumnState.js';
31
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
32
32
  import {
33
33
  buildAggregateColumnState,
34
34
  buildAggregateExpression,
@@ -96,8 +96,8 @@ export class QueryBuilderAggregateOperator_StdDev_Population
96
96
  aggregateColumnState: QueryBuilderAggregateColumnState,
97
97
  ): Type {
98
98
  const graph =
99
- aggregateColumnState.projectionColumnState.projectionState
100
- .queryBuilderState.graphManagerState.graph;
99
+ aggregateColumnState.projectionColumnState.tdsState.queryBuilderState
100
+ .graphManagerState.graph;
101
101
  return graph.getType(PRIMITIVE_TYPE.NUMBER);
102
102
  }
103
103
 
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
28
28
  import {
29
29
  type QueryBuilderProjectionColumnState,
30
30
  QueryBuilderSimpleProjectionColumnState,
31
- } from '../../QueryBuilderProjectionColumnState.js';
31
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
32
32
  import {
33
33
  buildAggregateColumnState,
34
34
  buildAggregateExpression,
@@ -96,8 +96,8 @@ export class QueryBuilderAggregateOperator_StdDev_Sample
96
96
  aggregateColumnState: QueryBuilderAggregateColumnState,
97
97
  ): Type {
98
98
  const graph =
99
- aggregateColumnState.projectionColumnState.projectionState
100
- .queryBuilderState.graphManagerState.graph;
99
+ aggregateColumnState.projectionColumnState.tdsState.queryBuilderState
100
+ .graphManagerState.graph;
101
101
  return graph.getType(PRIMITIVE_TYPE.NUMBER);
102
102
  }
103
103
 
@@ -27,7 +27,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
27
27
  import {
28
28
  type QueryBuilderProjectionColumnState,
29
29
  QueryBuilderSimpleProjectionColumnState,
30
- } from '../../QueryBuilderProjectionColumnState.js';
30
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
31
31
  import {
32
32
  buildAggregateColumnState,
33
33
  buildAggregateExpression,