@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
@@ -56,14 +56,14 @@ import {
56
56
  type QueryBuilderProjectionColumnState,
57
57
  type QueryBuilderProjectionColumnDragSource,
58
58
  QueryBuilderDerivationProjectionColumnState,
59
- } from '../QueryBuilderProjectionColumnState.js';
59
+ } from '../projection/QueryBuilderProjectionColumnState.js';
60
60
  import {
61
61
  buildProjectionColumnTypeaheadQuery,
62
62
  buildTypeaheadOptions,
63
63
  performTypeahead,
64
64
  } from '../../../QueryBuilderTypeaheadHelper.js';
65
65
  import { QUERY_BUILDER_GROUP_OPERATION } from '../../../QueryBuilderGroupOperationHelper.js';
66
- import type { QueryBuilderProjectionState } from '../QueryBuilderProjectionState.js';
66
+ import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
67
67
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
68
68
 
69
69
  export enum QUERY_BUILDER_POST_FILTER_DND_TYPE {
@@ -365,21 +365,20 @@ export class PostFilterConditionState implements Hashable {
365
365
  this.typeaheadSearchResults = undefined;
366
366
  if (performTypeahead(this.value)) {
367
367
  const result =
368
- (yield this.postFilterState.projectionState.queryBuilderState.graphManagerState.graphManager.executeMapping(
368
+ (yield this.postFilterState.tdsState.queryBuilderState.graphManagerState.graphManager.executeMapping(
369
369
  buildProjectionColumnTypeaheadQuery(
370
- this.postFilterState.projectionState.queryBuilderState,
370
+ this.postFilterState.tdsState.queryBuilderState,
371
371
  this.columnState,
372
372
  this.value,
373
373
  ),
374
374
  guaranteeNonNullable(
375
- this.postFilterState.projectionState.queryBuilderState.mapping,
375
+ this.postFilterState.tdsState.queryBuilderState.mapping,
376
376
  ),
377
377
  guaranteeNonNullable(
378
- this.postFilterState.projectionState.queryBuilderState
379
- .runtimeValue,
378
+ this.postFilterState.tdsState.queryBuilderState.runtimeValue,
380
379
  ),
381
- this.postFilterState.projectionState.queryBuilderState
382
- .graphManagerState.graph,
380
+ this.postFilterState.tdsState.queryBuilderState.graphManagerState
381
+ .graph,
383
382
  )) as ExecutionResult;
384
383
  this.typeaheadSearchResults = buildTypeaheadOptions(result);
385
384
  }
@@ -403,8 +402,7 @@ export class PostFilterConditionState implements Hashable {
403
402
  this.value = val
404
403
  ? observe_ValueSpecification(
405
404
  val,
406
- this.postFilterState.projectionState.queryBuilderState
407
- .observableContext,
405
+ this.postFilterState.tdsState.queryBuilderState.observableContext,
408
406
  )
409
407
  : undefined;
410
408
  }
@@ -424,7 +422,7 @@ export class PostFilterConditionState implements Hashable {
424
422
  ): GeneratorFn<void> {
425
423
  try {
426
424
  const aggregateColumnState =
427
- this.postFilterState.projectionState.aggregationState.columns.find(
425
+ this.postFilterState.tdsState.aggregationState.columns.find(
428
426
  (column) => column.projectionColumnState === columnState,
429
427
  );
430
428
  const colState = aggregateColumnState ?? columnState;
@@ -446,7 +444,7 @@ export class PostFilterConditionState implements Hashable {
446
444
  }
447
445
  } catch (error) {
448
446
  assertErrorThrown(error);
449
- this.postFilterState.projectionState.queryBuilderState.applicationStore.notifyError(
447
+ this.postFilterState.tdsState.queryBuilderState.applicationStore.notifyError(
450
448
  `Can't drag column '${columnState.columnName}' due to: ${error.message}`,
451
449
  );
452
450
  }
@@ -465,7 +463,7 @@ export class PostFilterConditionState implements Hashable {
465
463
  export class QueryBuilderPostFilterState
466
464
  implements TreeData<QueryBuilderPostFilterTreeNodeData>, Hashable
467
465
  {
468
- projectionState: QueryBuilderProjectionState;
466
+ tdsState: QueryBuilderTDSState;
469
467
  lambdaParameterName = DEFAULT_POST_FILTER_LAMBDA_VARIABLE_NAME;
470
468
  selectedNode?: QueryBuilderPostFilterTreeNodeData | undefined;
471
469
  isRearrangingConditions = false;
@@ -475,11 +473,11 @@ export class QueryBuilderPostFilterState
475
473
  _suppressClickawayEventListener = false;
476
474
 
477
475
  constructor(
478
- projectionState: QueryBuilderProjectionState,
476
+ tdsState: QueryBuilderTDSState,
479
477
  operators: QueryBuilderPostFilterOperator[],
480
478
  ) {
481
479
  makeObservable(this, {
482
- projectionState: false,
480
+ tdsState: false,
483
481
  selectedNode: observable,
484
482
  isRearrangingConditions: observable,
485
483
  rootIds: observable,
@@ -501,7 +499,7 @@ export class QueryBuilderPostFilterState
501
499
  hashCode: computed,
502
500
  });
503
501
 
504
- this.projectionState = projectionState;
502
+ this.tdsState = tdsState;
505
503
  this.operators = operators;
506
504
  }
507
505
 
@@ -46,9 +46,9 @@ import {
46
46
  import {
47
47
  type QueryBuilderProjectionColumnState,
48
48
  QueryBuilderDerivationProjectionColumnState,
49
- } from '../QueryBuilderProjectionColumnState.js';
49
+ } from '../projection/QueryBuilderProjectionColumnState.js';
50
50
  import { toGroupOperation } from '../../../QueryBuilderGroupOperationHelper.js';
51
- import { QueryBuilderProjectionState } from '../QueryBuilderProjectionState.js';
51
+ import { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
52
52
  import type { QueryBuilderState } from '../../../QueryBuilderState.js';
53
53
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/QueryBuilderSupportedFunctions.js';
54
54
 
@@ -56,7 +56,7 @@ const findProjectionColumnState = (
56
56
  propertyExpression: AbstractPropertyExpression,
57
57
  postFilterState: QueryBuilderPostFilterState,
58
58
  ): QueryBuilderProjectionColumnState | QueryBuilderAggregateColumnState => {
59
- const projectionState = postFilterState.projectionState;
59
+ const tdsState = postFilterState.tdsState;
60
60
  const properyExpressionName = propertyExpression.func.value.name;
61
61
  assertTrue(
62
62
  Object.values(TDS_COLUMN_GETTER).includes(
@@ -77,8 +77,8 @@ const findProjectionColumnState = (
77
77
  'Can`t process TDS column expression: Column should be a string primitive instance value',
78
78
  );
79
79
  const columnStates = [
80
- ...projectionState.aggregationState.columns,
81
- ...projectionState.columns,
80
+ ...tdsState.aggregationState.columns,
81
+ ...tdsState.projectionColumns,
82
82
  ];
83
83
  const columnState = guaranteeNonNullable(
84
84
  columnStates.find((c) => c.columnName === columnName),
@@ -90,8 +90,7 @@ const findProjectionColumnState = (
90
90
  if (columnState instanceof QueryBuilderDerivationProjectionColumnState) {
91
91
  const type = getTypeFromDerivedProperty(
92
92
  tdsColumnGetter,
93
- postFilterState.projectionState.queryBuilderState.graphManagerState
94
- .graph,
93
+ postFilterState.tdsState.queryBuilderState.graphManagerState.graph,
95
94
  );
96
95
  if (type) {
97
96
  columnState.setReturnType(type);
@@ -243,12 +242,11 @@ export const processTDSPostFilterExpression = (
243
242
  ): void => {
244
243
  if (
245
244
  queryBuilderState.fetchStructureState.implementation instanceof
246
- QueryBuilderProjectionState
245
+ QueryBuilderTDSState
247
246
  ) {
248
- const projectionState =
249
- queryBuilderState.fetchStructureState.implementation;
250
- const postFilterState = projectionState.postFilterState;
251
- const fetchStructureState = projectionState.fetchStructureState;
247
+ const tdsState = queryBuilderState.fetchStructureState.implementation;
248
+ const postFilterState = tdsState.postFilterState;
249
+ const fetchStructureState = tdsState.fetchStructureState;
252
250
  const postFilterLambda = expression.parametersValues[1];
253
251
  assertType(
254
252
  postFilterLambda,
@@ -258,11 +256,11 @@ export const processTDSPostFilterExpression = (
258
256
 
259
257
  assertType(
260
258
  fetchStructureState.implementation,
261
- QueryBuilderProjectionState,
259
+ QueryBuilderTDSState,
262
260
  `Can't process post-filter lambda: post-filter lambda must use projection fetch structure`,
263
261
  );
264
262
  assertTrue(
265
- Boolean(projectionState.columns.length),
263
+ Boolean(tdsState.projectionColumns.length),
266
264
  `Can't process post-filter lambda: post-filter lambda must have at least one projection column `,
267
265
  );
268
266
  const lambdaFunc = guaranteeNonNullable(
@@ -291,7 +289,7 @@ export const processTDSPostFilterExpression = (
291
289
  );
292
290
  processPostFilterTree(rootExpression, postFilterState, undefined);
293
291
 
294
- projectionState.setShowPostFilterPanel(true);
292
+ tdsState.setShowPostFilterPanel(true);
295
293
  postFilterState.simplifyTree();
296
294
  }
297
295
  };
@@ -42,7 +42,7 @@ const buildPostFilterExpression = (
42
42
  );
43
43
  } else if (node instanceof QueryBuilderPostFilterTreeGroupNodeData) {
44
44
  const multiplicityOne =
45
- postFilterState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
45
+ postFilterState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
46
46
  TYPICAL_MULTIPLICITY_TYPE.ONE,
47
47
  );
48
48
  const func = new SimpleFunctionExpression(
@@ -101,13 +101,13 @@ export const appendPostFilter = (
101
101
  return lambdaFunction;
102
102
  }
103
103
  const multiplicityOne =
104
- postFilterState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
104
+ postFilterState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
105
105
  TYPICAL_MULTIPLICITY_TYPE.ONE,
106
106
  );
107
107
  const filterLambda = buildGenericLambdaFunctionInstanceValue(
108
108
  postFilterState.lambdaParameterName,
109
109
  postFilterConditionExpressions,
110
- postFilterState.projectionState.queryBuilderState.graphManagerState.graph,
110
+ postFilterState.tdsState.queryBuilderState.graphManagerState.graph,
111
111
  );
112
112
  // main filter expression
113
113
  const filterExpression = new SimpleFunctionExpression(
@@ -23,7 +23,7 @@ import { QueryBuilderAggregateColumnState } from '../../aggregation/QueryBuilder
23
23
  import {
24
24
  type QueryBuilderProjectionColumnState,
25
25
  QueryBuilderSimpleProjectionColumnState,
26
- } from '../../QueryBuilderProjectionColumnState.js';
26
+ } from '../../projection/QueryBuilderProjectionColumnState.js';
27
27
 
28
28
  export const getColumnMultiplicity = (
29
29
  columnState:
@@ -31,7 +31,7 @@ export const getColumnMultiplicity = (
31
31
  | QueryBuilderAggregateColumnState,
32
32
  ): Multiplicity => {
33
33
  if (columnState instanceof QueryBuilderAggregateColumnState) {
34
- return columnState.aggregationState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
34
+ return columnState.aggregationState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
35
35
  TYPICAL_MULTIPLICITY_TYPE.ONE,
36
36
  );
37
37
  } else if (columnState instanceof QueryBuilderSimpleProjectionColumnState) {
@@ -50,7 +50,7 @@ export const buildPostFilterConditionExpression = (
50
50
  ): FunctionExpression => {
51
51
  // primitives
52
52
  const graph =
53
- filterConditionState.postFilterState.projectionState.queryBuilderState
53
+ filterConditionState.postFilterState.tdsState.queryBuilderState
54
54
  .graphManagerState.graph;
55
55
  const multiplicityOne = graph.getTypicalMultiplicity(
56
56
  TYPICAL_MULTIPLICITY_TYPE.ONE,
@@ -77,8 +77,8 @@ export class QueryBuilderPostFilterOperator_Contain
77
77
  switch (propertyType.path) {
78
78
  case PRIMITIVE_TYPE.STRING: {
79
79
  return buildPrimitiveInstanceValue(
80
- postFilterConditionState.postFilterState.projectionState
81
- .queryBuilderState.graphManagerState.graph,
80
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
81
+ .graphManagerState.graph,
82
82
  propertyType.path,
83
83
  generateDefaultValueForPrimitiveType(propertyType.path),
84
84
  );
@@ -134,8 +134,8 @@ export class QueryBuilderPostFilterOperator_NotContain extends QueryBuilderPostF
134
134
  return expression
135
135
  ? buildNotExpression(
136
136
  expression,
137
- postFilterConditionState.postFilterState.projectionState
138
- .queryBuilderState.graphManagerState.graph,
137
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
138
+ .graphManagerState.graph,
139
139
  )
140
140
  : undefined;
141
141
  }
@@ -73,8 +73,8 @@ export class QueryBuilderPostFilterOperator_EndWith
73
73
  switch (propertyType?.path) {
74
74
  case PRIMITIVE_TYPE.STRING: {
75
75
  return buildPrimitiveInstanceValue(
76
- postFilterConditionState.postFilterState.projectionState
77
- .queryBuilderState.graphManagerState.graph,
76
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
77
+ .graphManagerState.graph,
78
78
  propertyType.path,
79
79
  generateDefaultValueForPrimitiveType(propertyType.path),
80
80
  );
@@ -131,8 +131,8 @@ export class QueryBuilderPostFilterOperator_NotEndWith extends QueryBuilderPostF
131
131
  return expression
132
132
  ? buildNotExpression(
133
133
  expression,
134
- postFilterConditionState.postFilterState.projectionState
135
- .queryBuilderState.graphManagerState.graph,
134
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
135
+ .graphManagerState.graph,
136
136
  )
137
137
  : undefined;
138
138
  }
@@ -114,16 +114,16 @@ export class QueryBuilderPostFilterOperator_Equal
114
114
  case PRIMITIVE_TYPE.FLOAT:
115
115
  case PRIMITIVE_TYPE.INTEGER: {
116
116
  return buildPrimitiveInstanceValue(
117
- postFilterConditionState.postFilterState.projectionState
118
- .queryBuilderState.graphManagerState.graph,
117
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
118
+ .graphManagerState.graph,
119
119
  propertyType.path,
120
120
  generateDefaultValueForPrimitiveType(propertyType.path),
121
121
  );
122
122
  }
123
123
  case PRIMITIVE_TYPE.DATE: {
124
124
  return buildPrimitiveInstanceValue(
125
- postFilterConditionState.postFilterState.projectionState
126
- .queryBuilderState.graphManagerState.graph,
125
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
126
+ .graphManagerState.graph,
127
127
  PRIMITIVE_TYPE.STRICTDATE,
128
128
  generateDefaultValueForPrimitiveType(propertyType.path),
129
129
  );
@@ -132,7 +132,7 @@ export class QueryBuilderPostFilterOperator_Equal
132
132
  if (propertyType instanceof Enumeration) {
133
133
  if (propertyType.values.length > 0) {
134
134
  const multiplicityOne =
135
- postFilterConditionState.postFilterState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
135
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
136
136
  TYPICAL_MULTIPLICITY_TYPE.ONE,
137
137
  );
138
138
  const enumValueInstanceValue = new EnumValueInstanceValue(
@@ -211,8 +211,8 @@ export class QueryBuilderPostFilterOperator_NotEqual extends QueryBuilderPostFil
211
211
  return expression
212
212
  ? buildNotExpression(
213
213
  expression,
214
- postFilterConditionState.postFilterState.projectionState
215
- .queryBuilderState.graphManagerState.graph,
214
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
215
+ .graphManagerState.graph,
216
216
  )
217
217
  : undefined;
218
218
  }
@@ -91,16 +91,16 @@ export class QueryBuilderPostFilterOperator_GreaterThan
91
91
  case PRIMITIVE_TYPE.STRICTDATE:
92
92
  case PRIMITIVE_TYPE.DATETIME: {
93
93
  return buildPrimitiveInstanceValue(
94
- postFilterConditionState.postFilterState.projectionState
95
- .queryBuilderState.graphManagerState.graph,
94
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
95
+ .graphManagerState.graph,
96
96
  propertyType.path,
97
97
  generateDefaultValueForPrimitiveType(propertyType.path),
98
98
  );
99
99
  }
100
100
  case PRIMITIVE_TYPE.DATE: {
101
101
  return buildPrimitiveInstanceValue(
102
- postFilterConditionState.postFilterState.projectionState
103
- .queryBuilderState.graphManagerState.graph,
102
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
103
+ .graphManagerState.graph,
104
104
  PRIMITIVE_TYPE.STRICTDATE,
105
105
  generateDefaultValueForPrimitiveType(propertyType.path),
106
106
  );
@@ -83,8 +83,8 @@ export class QueryBuilderPostFilterOperator_In
83
83
  return true;
84
84
  }
85
85
  const collectionType = getCollectionValueSpecificationType(
86
- postFilterConditionState.postFilterState.projectionState
87
- .queryBuilderState.graphManagerState.graph,
86
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
87
+ .graphManagerState.graph,
88
88
  valueSpec.values,
89
89
  );
90
90
  if (!collectionType) {
@@ -124,7 +124,7 @@ export class QueryBuilderPostFilterOperator_In
124
124
  postFilterConditionState: PostFilterConditionState,
125
125
  ): ValueSpecification {
126
126
  const multiplicityOne =
127
- postFilterConditionState.postFilterState.projectionState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
127
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
128
128
  TYPICAL_MULTIPLICITY_TYPE.ONE,
129
129
  );
130
130
  const propertyType = guaranteeNonNullable(
@@ -177,8 +177,8 @@ export class QueryBuilderPostFilterOperator_NotIn extends QueryBuilderPostFilter
177
177
  return expression
178
178
  ? buildNotExpression(
179
179
  expression,
180
- postFilterConditionState.postFilterState.projectionState
181
- .queryBuilderState.graphManagerState.graph,
180
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
181
+ .graphManagerState.graph,
182
182
  )
183
183
  : undefined;
184
184
  }
@@ -28,7 +28,7 @@ import {
28
28
  type QueryBuilderPostFilterState,
29
29
  TDS_COLUMN_GETTER,
30
30
  } from '../QueryBuilderPostFilterState.js';
31
- import { QueryBuilderSimpleProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
31
+ import { QueryBuilderSimpleProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
32
32
  import { buildPostFilterConditionExpression } from './QueryBuilderPostFilterOperatorValueSpecificationBuilder.js';
33
33
  import { isPropertyExpressionChainOptional } from '../../../../QueryBuilderValueSpecificationHelper.js';
34
34
  import { type Hashable, hashArray } from '@finos/legend-shared';
@@ -91,16 +91,16 @@ export class QueryBuilderPostFilterOperator_LessThan
91
91
  case PRIMITIVE_TYPE.STRICTDATE:
92
92
  case PRIMITIVE_TYPE.DATETIME: {
93
93
  return buildPrimitiveInstanceValue(
94
- postFilterConditionState.postFilterState.projectionState
95
- .queryBuilderState.graphManagerState.graph,
94
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
95
+ .graphManagerState.graph,
96
96
  propertyType.path,
97
97
  generateDefaultValueForPrimitiveType(propertyType.path),
98
98
  );
99
99
  }
100
100
  case PRIMITIVE_TYPE.DATE: {
101
101
  return buildPrimitiveInstanceValue(
102
- postFilterConditionState.postFilterState.projectionState
103
- .queryBuilderState.graphManagerState.graph,
102
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
103
+ .graphManagerState.graph,
104
104
  PRIMITIVE_TYPE.STRICTDATE,
105
105
  generateDefaultValueForPrimitiveType(propertyType.path),
106
106
  );
@@ -74,8 +74,8 @@ export class QueryBuilderPostFilterOperator_StartWith
74
74
  switch (propertyType?.path) {
75
75
  case PRIMITIVE_TYPE.STRING: {
76
76
  return buildPrimitiveInstanceValue(
77
- postFilterConditionState.postFilterState.projectionState
78
- .queryBuilderState.graphManagerState.graph,
77
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
78
+ .graphManagerState.graph,
79
79
  propertyType.path,
80
80
  generateDefaultValueForPrimitiveType(propertyType.path),
81
81
  );
@@ -134,8 +134,8 @@ export class QueryBuilderPostFilterOperator_NotStartWith
134
134
  return expression
135
135
  ? buildNotExpression(
136
136
  expression,
137
- postFilterConditionState.postFilterState.projectionState
138
- .queryBuilderState.graphManagerState.graph,
137
+ postFilterConditionState.postFilterState.tdsState.queryBuilderState
138
+ .graphManagerState.graph,
139
139
  )
140
140
  : undefined;
141
141
  }
@@ -29,12 +29,12 @@ import {
29
29
  import {
30
30
  type QueryBuilderExplorerTreePropertyNodeData,
31
31
  buildPropertyExpressionFromExplorerTreeNodeData,
32
- } from '../../explorer/QueryBuilderExplorerState.js';
32
+ } from '../../../explorer/QueryBuilderExplorerState.js';
33
33
  import {
34
34
  getPropertyChainName,
35
35
  QueryBuilderPropertyExpressionState,
36
- } from '../../QueryBuilderPropertyEditorState.js';
37
- import type { QueryBuilderState } from '../../QueryBuilderState.js';
36
+ } from '../../../QueryBuilderPropertyEditorState.js';
37
+ import type { QueryBuilderState } from '../../../QueryBuilderState.js';
38
38
  import {
39
39
  type AbstractPropertyExpression,
40
40
  type Type,
@@ -53,10 +53,10 @@ import {
53
53
  import {
54
54
  DEFAULT_LAMBDA_VARIABLE_NAME,
55
55
  QUERY_BUILDER_SOURCE_ID_LABEL,
56
- } from '../../QueryBuilderConfig.js';
57
- import type { QueryBuilderProjectionState } from './QueryBuilderProjectionState.js';
58
- import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
59
- import { LambdaEditorState } from '../../shared/LambdaEditorState.js';
56
+ } from '../../../QueryBuilderConfig.js';
57
+ import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
58
+ import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
59
+ import { LambdaEditorState } from '../../../shared/LambdaEditorState.js';
60
60
 
61
61
  export const QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE = 'PROJECTION_COLUMN';
62
62
 
@@ -66,22 +66,19 @@ export interface QueryBuilderProjectionColumnDragSource {
66
66
 
67
67
  export abstract class QueryBuilderProjectionColumnState implements Hashable {
68
68
  readonly uuid = uuid();
69
- projectionState: QueryBuilderProjectionState;
69
+ tdsState: QueryBuilderTDSState;
70
70
  columnName: string;
71
71
 
72
- constructor(
73
- projectionState: QueryBuilderProjectionState,
74
- columnName: string,
75
- ) {
72
+ constructor(tdsState: QueryBuilderTDSState, columnName: string) {
76
73
  makeObservable(this, {
77
74
  uuid: false,
78
- projectionState: false,
75
+ tdsState: false,
79
76
  columnName: observable,
80
77
  setColumnName: action,
81
78
  hashCode: computed,
82
79
  });
83
80
 
84
- this.projectionState = projectionState;
81
+ this.tdsState = tdsState;
85
82
  this.columnName = columnName;
86
83
  }
87
84
 
@@ -102,11 +99,11 @@ export class QueryBuilderSimpleProjectionColumnState
102
99
  propertyExpressionState: QueryBuilderPropertyExpressionState;
103
100
 
104
101
  constructor(
105
- projectionState: QueryBuilderProjectionState,
102
+ tdsState: QueryBuilderTDSState,
106
103
  propertyExpression: AbstractPropertyExpression,
107
104
  humanizePropertyName: boolean,
108
105
  ) {
109
- super(projectionState, '');
106
+ super(tdsState, '');
110
107
 
111
108
  makeObservable(this, {
112
109
  lambdaParameterName: observable,
@@ -116,7 +113,7 @@ export class QueryBuilderSimpleProjectionColumnState
116
113
  });
117
114
 
118
115
  this.propertyExpressionState = new QueryBuilderPropertyExpressionState(
119
- projectionState.queryBuilderState,
116
+ tdsState.queryBuilderState,
120
117
  propertyExpression,
121
118
  );
122
119
  this.columnName = getPropertyChainName(
@@ -134,10 +131,10 @@ export class QueryBuilderSimpleProjectionColumnState
134
131
  humanizePropertyName: boolean,
135
132
  ): void {
136
133
  this.propertyExpressionState = new QueryBuilderPropertyExpressionState(
137
- this.projectionState.queryBuilderState,
134
+ this.tdsState.queryBuilderState,
138
135
  buildPropertyExpressionFromExplorerTreeNodeData(
139
136
  node,
140
- this.projectionState.queryBuilderState.explorerState,
137
+ this.tdsState.queryBuilderState.explorerState,
141
138
  ),
142
139
  );
143
140
  this.columnName = getPropertyChainName(
@@ -264,8 +261,8 @@ export class QueryBuilderDerivationProjectionColumnState
264
261
  lambda: RawLambda;
265
262
  returnType: Type | undefined;
266
263
 
267
- constructor(projectionState: QueryBuilderProjectionState, lambda: RawLambda) {
268
- super(projectionState, '(derivation)');
264
+ constructor(tdsState: QueryBuilderTDSState, lambda: RawLambda) {
265
+ super(tdsState, '(derivation)');
269
266
 
270
267
  makeObservable(this, {
271
268
  lambda: observable,
@@ -276,7 +273,7 @@ export class QueryBuilderDerivationProjectionColumnState
276
273
 
277
274
  this.derivationLambdaEditorState =
278
275
  new QueryBuilderDerivationProjectionLambdaState(
279
- projectionState.queryBuilderState,
276
+ tdsState.queryBuilderState,
280
277
  this,
281
278
  );
282
279
  this.lambda = lambda;
@@ -298,8 +295,7 @@ export class QueryBuilderDerivationProjectionColumnState
298
295
  *fetchDerivationLambdaReturnType(): GeneratorFn<void> {
299
296
  assertTrue(Array.isArray(this.lambda.parameters));
300
297
  const projectionParameter = this.lambda.parameters as object[];
301
- const graph =
302
- this.projectionState.queryBuilderState.graphManagerState.graph;
298
+ const graph = this.tdsState.queryBuilderState.graphManagerState.graph;
303
299
  const multiplicityOne = graph.getTypicalMultiplicity(
304
300
  TYPICAL_MULTIPLICITY_TYPE.ONE,
305
301
  );
@@ -311,11 +307,11 @@ export class QueryBuilderDerivationProjectionColumnState
311
307
  variable.name,
312
308
  multiplicityOne,
313
309
  PackageableElementExplicitReference.create(
314
- guaranteeNonNullable(this.projectionState.queryBuilderState.class),
310
+ guaranteeNonNullable(this.tdsState.queryBuilderState.class),
315
311
  ),
316
312
  );
317
313
  const _rawVariableExpression =
318
- this.projectionState.queryBuilderState.graphManagerState.graphManager.serializeRawValueSpecification(
314
+ this.tdsState.queryBuilderState.graphManagerState.graphManager.serializeRawValueSpecification(
319
315
  rawVariableExpression,
320
316
  );
321
317
  const isolatedLambda = new RawLambda(
@@ -323,7 +319,7 @@ export class QueryBuilderDerivationProjectionColumnState
323
319
  this.lambda.body,
324
320
  );
325
321
  const type =
326
- (yield this.projectionState.queryBuilderState.graphManagerState.graphManager.getLambdaReturnType(
322
+ (yield this.tdsState.queryBuilderState.graphManagerState.graphManager.getLambdaReturnType(
327
323
  isolatedLambda,
328
324
  graph,
329
325
  )) as string;