@finos/legend-query-builder 4.14.51 → 4.14.53

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +1 -0
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilderConstantExpressionPanel.js +1 -1
  5. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  6. package/lib/components/QueryBuilderParametersPanel.js +1 -1
  7. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  8. package/lib/components/QueryBuilderPropertyExpressionEditor.js +1 -1
  9. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  10. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderSideBar.js +1 -1
  12. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  13. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts +0 -1
  14. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
  15. package/lib/components/ServiceQuerySetupUtils.d.ts.map +1 -1
  16. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +1 -1
  17. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  18. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +4 -2
  19. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  20. package/lib/components/execution-plan/AllocationExecutionNodeViewer.d.ts +0 -1
  21. package/lib/components/execution-plan/AllocationExecutionNodeViewer.d.ts.map +1 -1
  22. package/lib/components/execution-plan/ConstantExecutionNodeViewer.d.ts +0 -1
  23. package/lib/components/execution-plan/ConstantExecutionNodeViewer.d.ts.map +1 -1
  24. package/lib/components/execution-plan/DataTypeResultTypeViewer.d.ts +0 -1
  25. package/lib/components/execution-plan/DataTypeResultTypeViewer.d.ts.map +1 -1
  26. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts +0 -1
  27. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
  28. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +1 -1
  29. package/lib/components/execution-plan/ImplementationViewer.d.ts +0 -1
  30. package/lib/components/execution-plan/ImplementationViewer.d.ts.map +1 -1
  31. package/lib/components/execution-plan/PartialClassResultViewer.d.ts +0 -1
  32. package/lib/components/execution-plan/PartialClassResultViewer.d.ts.map +1 -1
  33. package/lib/components/execution-plan/PartialClassResultViewer.js +1 -1
  34. package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.d.ts +0 -1
  35. package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -1
  36. package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +1 -1
  37. package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts +0 -1
  38. package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -1
  39. package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +1 -1
  40. package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts +0 -1
  41. package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -1
  42. package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +1 -1
  43. package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.d.ts +0 -1
  44. package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.d.ts.map +1 -1
  45. package/lib/components/execution-plan/ResultTypeViewer.d.ts +0 -1
  46. package/lib/components/execution-plan/ResultTypeViewer.d.ts.map +1 -1
  47. package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts +0 -1
  48. package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -1
  49. package/lib/components/execution-plan/SQLExecutionNodeViewer.js +1 -1
  50. package/lib/components/execution-plan/SequenceExecutionNodeViewer.d.ts +0 -1
  51. package/lib/components/execution-plan/SequenceExecutionNodeViewer.d.ts.map +1 -1
  52. package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts +0 -1
  53. package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts.map +1 -1
  54. package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +2 -2
  55. package/lib/components/execution-plan/TDSResultTypeViewer.d.ts +0 -1
  56. package/lib/components/execution-plan/TDSResultTypeViewer.d.ts.map +1 -1
  57. package/lib/components/execution-plan/TDSResultTypeViewer.js +1 -1
  58. package/lib/components/execution-plan/TempTableStrategyViewer.d.ts +0 -1
  59. package/lib/components/execution-plan/TempTableStrategyViewer.d.ts.map +1 -1
  60. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +0 -1
  61. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  62. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts +2 -0
  63. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts.map +1 -1
  64. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +14 -7
  65. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -1
  66. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -1
  67. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  68. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  69. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
  70. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  71. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  72. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +36 -11
  73. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  74. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts +0 -1
  75. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts.map +1 -1
  76. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  77. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +5 -2
  78. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  79. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  80. package/lib/components/filter/QueryBuilderFilterPanel.js +9 -4
  81. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  82. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  83. package/lib/components/result/QueryBuilderResultPanel.js +1 -1
  84. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  85. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
  86. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +10 -8
  87. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  88. package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts +0 -1
  89. package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts.map +1 -1
  90. package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
  91. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +2 -2
  92. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
  93. package/lib/components/shared/BasicValueSpecificationEditor.d.ts +19 -4
  94. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  95. package/lib/components/shared/BasicValueSpecificationEditor.js +97 -36
  96. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  97. package/lib/components/shared/CustomDatePicker.d.ts +2 -1
  98. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  99. package/lib/components/shared/CustomDatePicker.js +8 -5
  100. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  101. package/lib/components/shared/LambdaParameterValuesEditor.js +1 -1
  102. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  103. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts +0 -1
  104. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -1
  105. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +0 -1
  106. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
  107. package/lib/components/shared/QueryBuilderRootClassInfoTooltip.d.ts +0 -1
  108. package/lib/components/shared/QueryBuilderRootClassInfoTooltip.d.ts.map +1 -1
  109. package/lib/components/shared/QueryBuilderVariableSelector.d.ts +3 -0
  110. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  111. package/lib/components/shared/QueryBuilderVariableSelector.js +3 -3
  112. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  113. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  114. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  115. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  116. package/lib/graph/QueryBuilderMetaModelConst.d.ts +1 -0
  117. package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
  118. package/lib/graph/QueryBuilderMetaModelConst.js +1 -0
  119. package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
  120. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
  121. package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  122. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -2
  123. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  124. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +68 -8
  125. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  126. package/lib/index.css +2 -2
  127. package/lib/index.css.map +1 -1
  128. package/lib/index.d.ts +1 -1
  129. package/lib/index.d.ts.map +1 -1
  130. package/lib/index.js +1 -1
  131. package/lib/index.js.map +1 -1
  132. package/lib/package.json +7 -7
  133. package/lib/stores/QueryBuilderState.d.ts +0 -1
  134. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  135. package/lib/stores/QueryBuilderState.js +1 -0
  136. package/lib/stores/QueryBuilderState.js.map +1 -1
  137. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  138. package/lib/stores/QueryBuilderStateBuilder.js +5 -1
  139. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  140. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  141. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +1 -2
  142. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  143. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -1
  144. package/lib/stores/execution-plan/ExecutionPlanState.d.ts.map +1 -1
  145. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +0 -1
  146. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  147. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -1
  148. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
  149. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
  150. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  151. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  152. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +6 -0
  153. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  154. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts +11 -0
  155. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  156. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +76 -20
  157. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  158. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  159. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +70 -34
  160. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  161. package/lib/stores/filter/QueryBuilderFilterState.d.ts +2 -0
  162. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  163. package/lib/stores/filter/QueryBuilderFilterState.js +7 -0
  164. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  165. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +2 -2
  166. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
  167. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +15 -4
  168. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  169. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +5 -2
  170. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  171. package/lib/stores/shared/ValueSpecificationEditorHelper.js +20 -9
  172. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  173. package/lib/stores/shared/ValueSpecificationModifierHelper.d.ts.map +1 -1
  174. package/lib/stores/workflows/ClassQueryBuilderState.d.ts.map +1 -1
  175. package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
  176. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  177. package/package.json +15 -15
  178. package/src/components/QueryBuilder.tsx +1 -0
  179. package/src/components/QueryBuilderConstantExpressionPanel.tsx +1 -1
  180. package/src/components/QueryBuilderParametersPanel.tsx +1 -1
  181. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +1 -1
  182. package/src/components/QueryBuilderSideBar.tsx +1 -1
  183. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +4 -1
  184. package/src/components/execution-plan/FunctionParametersValidationNodeViewer.tsx +1 -1
  185. package/src/components/execution-plan/PartialClassResultViewer.tsx +1 -1
  186. package/src/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.tsx +1 -1
  187. package/src/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.tsx +1 -1
  188. package/src/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.tsx +1 -1
  189. package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +1 -1
  190. package/src/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.tsx +2 -2
  191. package/src/components/execution-plan/TDSResultTypeViewer.tsx +1 -1
  192. package/src/components/explorer/QueryBuilderMilestoningParameterEditor.tsx +60 -22
  193. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1 -1
  194. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +156 -60
  195. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +12 -2
  196. package/src/components/filter/QueryBuilderFilterPanel.tsx +18 -4
  197. package/src/components/result/QueryBuilderResultPanel.tsx +1 -0
  198. package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +12 -13
  199. package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +1 -1
  200. package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +2 -2
  201. package/src/components/shared/BasicValueSpecificationEditor.tsx +257 -55
  202. package/src/components/shared/CustomDatePicker.tsx +36 -11
  203. package/src/components/shared/LambdaParameterValuesEditor.tsx +1 -1
  204. package/src/components/shared/QueryBuilderVariableSelector.tsx +13 -4
  205. package/src/graph/QueryBuilderMetaModelConst.ts +1 -0
  206. package/src/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +1 -1
  207. package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +189 -18
  208. package/src/index.ts +1 -0
  209. package/src/stores/QueryBuilderState.ts +1 -0
  210. package/src/stores/QueryBuilderStateBuilder.ts +6 -1
  211. package/src/stores/QueryBuilderValueSpecificationHelper.ts +2 -2
  212. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +1 -1
  213. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +7 -0
  214. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +167 -43
  215. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +145 -69
  216. package/src/stores/filter/QueryBuilderFilterState.ts +8 -0
  217. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +22 -9
  218. package/src/stores/shared/ValueSpecificationEditorHelper.ts +47 -7
  219. package/tsconfig.package.json +1 -1
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" resolution-mode="require"/>
17
16
  import type { TreeNodeData, TreeData } from '@finos/legend-art';
18
17
  import { ActionState, type GeneratorFn } from '@finos/legend-shared';
19
18
  import { type AbstractProperty, type Type, type MappingModelCoverageAnalysisResult, type MappedEntity, AbstractPropertyExpression, Class, Multiplicity, EntityMappedProperty } from '@finos/legend-graph';
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderExplorerState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAGL,WAAW,EAEX,KA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AS,CAAC;IACd,sBAAsB,EAAE,0BAA0B,EAAE,CAAM;IAC1D,gCAAgC,EAAE,0BAA0B,EAAE,CAAM;IACpE,sBAAsB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAsB;IAC1D,gCAAgC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAsB;gBAExD,iBAAiB,EAAE,iBAAiB;IAehD,WAAW,CACT,eAAe,oBAAyB,GACvC,QAAQ,CAAC,yCAAyC,CAAC,GAAG,SAAS;IAS5D,gCAAgC,IAAI,OAAO,CAAC,IAAI,CAAC;IAOjD,0CAA0C,IAAI,OAAO,CAAC,IAAI,CAAC;IAOjE,WAAW,CACT,GAAG,EAAE,QAAQ,CAAC,yCAAyC,CAAC,GAAG,SAAS,GACnE,IAAI;IAIP,qBAAqB,CACnB,GAAG,EAAE,QAAQ,CAAC,yCAAyC,CAAC,GAAG,SAAS,GACnE,IAAI;IAIP,WAAW,IAAI,IAAI;IASnB,IAAI,mBAAmB,IAAI,QAAQ,CAAC,yCAAyC,CAAC,CAK7E;IAED,gBAAgB,sBACK,iBAAiB,QAC9B,yCAAyC,QACzC,SAAS,yCAAyC,CAAC,0CAExD,IAAI,CAmBL;IAEF,kBAAkB,IAAI,IAAI;CAqC3B"}
1
+ {"version":3,"file":"QueryFunctionsExplorerState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryFunctionsExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EACvB,0BAA0B,EAC1B,OAAO,EAEP,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,QAAQ,EAEd,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,+BAA+B,2BAA2B,CAAC;AAExE,MAAM,WAAW,uCAAuC;IACtD,IAAI,EAAE,yCAA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G,SAAS,WACvB,IAAI,GAAG,SAAS,KACxB,MAGC,CAAC;AAEL,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAGC,CAAC;AAoDL;;GAEG;AACH,eAAO,MAAM,uBAAuB,SAC5B,kBAAkB,gBACX,OAAO,KACnB,8BAgBF,CAAC;AAEF,eAAO,MAAM,+BAA+B,iBAC5B,sBAAsB,KACnC,8BAWF,CAAC;AAEF,eAAO,MAAM,yBAAyB,aAC1B,8BAA8B,KACvC,OAA8C,CAAC;AA6ClD,eAAO,MAAM,qBAAqB,aACtB,8BAA8B,QAClC,kCAAkC,KACvC,IAGF,CAAC;AAEF,eAAO,MAAM,2BAA2B,aAC5B,8BAA8B,oBACtB,QAAQ,CAAC,gCAAgC,CAAC,QACtD,wCAAwC,qBAC3B,iBAAiB,KACnC,IAkHF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,kBAAkB,EAMvB,wBAAwB,EAUzB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EAGL,KAAK,+BAA+B,EACrC,MAAM,sCAAsC,CAAC;AAmD9C,eAAO,MAAM,4BAA4B,WAC/B,OAAO,WAAW,EAAE,OAAO,CAAC,SAC7B,SAAS,KACf,wBAwDF,CAAC;AAEF,eAAO,MAAM,oCAAoC,SACzC,kBAAkB,aACb,OAAO,uBACG,kBAAkB,cAC3B,wBAAwB,GAAG,SAAS,KAC/C,wBAqBF,CAAC;AAEF,eAAO,MAAM,gBAAgB,wBACN,+BAA+B,kBACpC,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IAwFF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,kBAAkB,EAMvB,wBAAwB,EAUzB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EAGL,KAAK,+BAA+B,EACrC,MAAM,sCAAsC,CAAC;AAmD9C,eAAO,MAAM,4BAA4B,WAC/B,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,SAC7B,SAAS,KACf,wBAwDF,CAAC;AAEF,eAAO,MAAM,oCAAoC,SACzC,kBAAkB,aACb,OAAO,uBACG,kBAAkB,cAC3B,wBAAwB,GAAG,SAAS,KAC/C,wBAqBF,CAAC;AAEF,eAAO,MAAM,gBAAgB,wBACN,+BAA+B,kBACpC,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IAwFF,CAAC"}
@@ -43,6 +43,7 @@ export declare class QueryBuilderTDSState extends QueryBuilderFetchStructureImpl
43
43
  isConvertDerivationProjectionObjects: boolean;
44
44
  showPostFilterPanel: boolean;
45
45
  showWindowFuncPanel: boolean;
46
+ useColFunc: boolean;
46
47
  postFilterOperators: QueryBuilderPostFilterOperator[];
47
48
  aggregationOperators: QueryBuilderAggregateOperator[];
48
49
  aggregationCalendarFunctions: QueryBuilderAggregateCalendarFunction[];
@@ -68,6 +69,7 @@ export declare class QueryBuilderTDSState extends QueryBuilderFetchStructureImpl
68
69
  appendFetchStructure(lambdaFunction: LambdaFunction, options?: LambdaFunctionBuilderOption): void;
69
70
  setShowPostFilterPanel(val: boolean): void;
70
71
  setShowWindowFuncPanel(val: boolean): void;
72
+ setUseColFunc(val: boolean): void;
71
73
  convertDerivationProjectionObjects(): GeneratorFn<void>;
72
74
  transformSimpleProjectionToDerivation(simpleProjectionColumnState: QueryBuilderSimpleProjectionColumnState): void;
73
75
  replaceColumn(oldVal: QueryBuilderProjectionColumnState, newVal: QueryBuilderProjectionColumnState): void;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,WAAW,EAUhB,KAAK,QAAQ,EAId,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAEnB,KAAK,kBAAkB,EAOvB,KAAK,EAMN,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAEL,4BAA4B,EAC7B,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAEL,6CAA6C,EAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAEtG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAEpG,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,EACvC,KAAK,iCAAiC,EACvC,MAAM,mDAAmD,CAAC;AAC3D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,C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AAI;IAc1D,SAAS,CACP,GAAG,EAAE,iCAAiC,EACtC,OAAO,CAAC,EAAE;QACR;;;;;WAKG;QACH,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KACnC,GACA,IAAI;IAuBP,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI;IAmD1D,qBAAqB,IAAI,IAAI;IAa7B,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IA2BnE,qBAAqB,IAAI,IAAI;IAQ7B,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAanE,eAAe,CAAC,KAAK,EAAE,wCAAwC,EAAE,GAAG,IAAI;IAexE,0BAA0B,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAsBtD,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IAkC7D,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAgBrD,IAAI,sBAAsB,IAAI,OAAO,CAKpC;IAED,IAAI,mCAAmC,IAAI,OAAO,CAQjD;IAED,IAAI,QAAQ,IAAI,MAAM,CAQrB;IAEA,uBAAuB,IAAI,WAAW,CAAC,IAAI,CAAC;CAgC9C"}
@@ -48,6 +48,7 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
48
48
  isConvertDerivationProjectionObjects = false;
49
49
  showPostFilterPanel;
50
50
  showWindowFuncPanel = false;
51
+ useColFunc = false;
51
52
  postFilterOperators = getQueryBuilderCorePostFilterOperators();
52
53
  aggregationOperators = getQueryBuilderCoreAggregrationOperators();
53
54
  aggregationCalendarFunctions = getQueryBuilderCoreAggregrationCalendarFunctions();
@@ -60,6 +61,7 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
60
61
  isConvertDerivationProjectionObjects: observable,
61
62
  showPostFilterPanel: observable,
62
63
  showWindowFuncPanel: observable,
64
+ useColFunc: observable,
63
65
  TEMPORARY__showPostFetchStructurePanel: computed,
64
66
  derivations: computed,
65
67
  hasParserError: computed,
@@ -73,6 +75,7 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
73
75
  initializeWithQuery: action,
74
76
  setShowPostFilterPanel: action,
75
77
  setShowWindowFuncPanel: action,
78
+ setUseColFunc: action,
76
79
  checkBeforeChangingImplementation: action,
77
80
  convertDerivationProjectionObjects: flow,
78
81
  fetchDerivedReturnTypes: flow,
@@ -261,6 +264,9 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
261
264
  setShowWindowFuncPanel(val) {
262
265
  this.showWindowFuncPanel = val;
263
266
  }
267
+ setUseColFunc(val) {
268
+ this.useColFunc = val;
269
+ }
264
270
  *convertDerivationProjectionObjects() {
265
271
  const lambdas = new Map();
266
272
  const derivationProjectionColumnStateMap = new Map();
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,EACT,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAML,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,E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,UAAU,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC7D,IAAI,GAAG,EAAE,CAAC;oBACR,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;gBAClC,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CACrD,QAAQ,CAAC,MAAM,CAAC,sCAAsC,CAAC,EACvD,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,EACT,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAML,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AACxG,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C,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC7D,IAAI,GAAG,EAAE,CAAC;oBACR,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;gBAClC,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CACrD,QAAQ,CAAC,MAAM,CAAC,sCAAsC,CAAC,EACvD,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
@@ -15,9 +15,20 @@
15
15
  */
16
16
  import { type INTERNAL__UnknownValueSpecification, type LambdaFunction, AbstractPropertyExpression, SimpleFunctionExpression } from '@finos/legend-graph';
17
17
  import { type QueryBuilderState } from '../../../QueryBuilderState.js';
18
+ /**
19
+ * process project()
20
+ * variants could be:
21
+ * Person.all()->project([x|x.firmID], ['Id'])
22
+ * Person.all()->project(x|x.firmID, ['Id'])
23
+ * Person.all()->project([x|x.firmID], 'Id')
24
+ * Person.all()->project(x|x.firmID, 'Id')
25
+ * Person.all()->project(col({p:my::Person[1]|$p.firmID}, 'Id'))
26
+ * Person.all()->project([ col({p:my::Person[1]|$p.firmID}, 'Id') ])
27
+ */
18
28
  export declare const processTDSProjectExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
19
29
  export declare const processTDSProjectionColumnPropertyExpression: (expression: AbstractPropertyExpression, columnName: string | undefined, queryBuilderState: QueryBuilderState) => void;
20
30
  export declare const processTDSProjectionDerivationExpression: (value: INTERNAL__UnknownValueSpecification, columnName: string | undefined, parentExpression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState) => void;
31
+ export declare const processTDSColExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState) => void;
21
32
  export declare const processTDSTakeExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
22
33
  export declare const processTDSDistinctExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
23
34
  export declare const processTDSSortExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState, parentLambda: LambdaFunction) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProjectionStateBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,mCAAmC,EAExC,KAAK,cAAc,EACnB,0BAA0B,EAK1B,wBAAwB,EAKzB,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAevE,eAAO,MAAM,2BAA2B,eAC1B,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA2EF,CAAC;AAEF,eAAO,MAAM,4CAA4C,eAC3C,0BAA0B,cAC1B,MAAM,GAAG,SAAS,qBACX,iBAAiB,KACnC,IAmEF,CAAC;AAEF,eAAO,MAAM,wCAAwC,UAC5C,mCAAmC,cAC9B,MAAM,GAAG,SAAS,oBACZ,wBAAwB,qBACvB,iBAAiB,KACnC,IA2BF,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA4CF,CAAC;AAEF,eAAO,MAAM,4BAA4B,eAC3B,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IAwCF,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA8CF,CAAC;AAEF,eAAO,MAAM,yBAAyB,QAC/B,wBAAwB,qBACV,iBAAiB,gBACtB,cAAc,KAC3B,IAwDF,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAChC,wBAAwB,oBAClB,wBAAwB,GAAG,SAAS,qBACnC,iBAAiB,KACnC,IA+CF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderProjectionStateBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,mCAAmC,EAExC,KAAK,cAAc,EACnB,0BAA0B,EAK1B,wBAAwB,EAMzB,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AA2FvE;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,eAC1B,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA0EF,CAAC;AAEF,eAAO,MAAM,4CAA4C,eAC3C,0BAA0B,cAC1B,MAAM,GAAG,SAAS,qBACX,iBAAiB,KACnC,IAmEF,CAAC;AAEF,eAAO,MAAM,wCAAwC,UAC5C,mCAAmC,cAC9B,MAAM,GAAG,SAAS,oBACZ,wBAAwB,qBACvB,iBAAiB,KACnC,IA2BF,CAAC;AAEF,eAAO,MAAM,uBAAuB,eACtB,wBAAwB,qBACjB,iBAAiB,KACnC,IAiCF,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA4CF,CAAC;AAEF,eAAO,MAAM,4BAA4B,eAC3B,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IAwCF,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA8CF,CAAC;AAEF,eAAO,MAAM,yBAAyB,QAC/B,wBAAwB,qBACV,iBAAiB,gBACtB,cAAc,KAC3B,IAwDF,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAChC,wBAAwB,oBAClB,wBAAwB,GAAG,SAAS,qBACnC,iBAAiB,KACnC,IA+CF,CAAC"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { AbstractPropertyExpression, CollectionInstanceValue, DerivedProperty, matchFunctionName, RawLambda, SimpleFunctionExpression, V1_deserializeRawValueSpecification, V1_RawLambda, VariableExpression, PrimitiveInstanceValue, } from '@finos/legend-graph';
16
+ import { AbstractPropertyExpression, CollectionInstanceValue, DerivedProperty, matchFunctionName, RawLambda, SimpleFunctionExpression, V1_deserializeRawValueSpecification, V1_RawLambda, VariableExpression, PrimitiveInstanceValue, LambdaFunctionInstanceValue, } from '@finos/legend-graph';
17
17
  import { assertNonNullable, assertTrue, assertType, guaranteeIsNumber, guaranteeNonNullable, guaranteeType, isNonNullable, returnUndefOnError, } from '@finos/legend-shared';
18
18
  import { COLUMN_SORT_TYPE, QUERY_BUILDER_SUPPORTED_FUNCTIONS, QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS, } from '../../../../graph/QueryBuilderMetaModelConst.js';
19
19
  import {} from '../../../QueryBuilderState.js';
@@ -23,11 +23,7 @@ import { FETCH_STRUCTURE_IMPLEMENTATION } from '../../QueryBuilderFetchStructure
23
23
  import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './QueryBuilderProjectionColumnState.js';
24
24
  import { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
25
25
  import { SortColumnState } from '../QueryResultSetModifierState.js';
26
- export const processTDSProjectExpression = (expression, queryBuilderState, parentLambda) => {
27
- // update fetch-structure
28
- queryBuilderState.fetchStructureState.changeImplementation(FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE);
29
- // check parameters
30
- assertTrue(expression.parametersValues.length === 3, `Can't process project() expression: project() expects 2 arguments`);
26
+ const validateTDSProjectPrecedingExpression = (expression, queryBuilderState, parentLambda) => {
31
27
  // check preceding expression
32
28
  const precedingExpression = guaranteeType(expression.parametersValues[0], SimpleFunctionExpression, `Can't process project() expression: only support project() immediately following an expression`);
33
29
  assertTrue(matchFunctionName(precedingExpression.functionName, [
@@ -38,22 +34,69 @@ export const processTDSProjectExpression = (expression, queryBuilderState, paren
38
34
  QUERY_BUILDER_SUPPORTED_FUNCTIONS.WATERMARK,
39
35
  ]), `Can't process project() expression: only support project() immediately following either getAll(), filter(), or forWatermark()`);
40
36
  QueryBuilderValueSpecificationProcessor.process(precedingExpression, parentLambda, queryBuilderState);
37
+ };
38
+ // process project() that uses col()
39
+ const processTDSProjectColExpression = (expression, queryBuilderState, parentLambda) => {
40
+ // update fetch-structure
41
+ queryBuilderState.fetchStructureState.changeImplementation(FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE);
42
+ // check parameters
43
+ assertTrue(expression.parametersValues.length === 2, `Can't process project() expression: project() expects 2 arguments`);
44
+ validateTDSProjectPrecedingExpression(expression, queryBuilderState, parentLambda);
41
45
  // check columns
42
46
  const columnLambdas = expression.parametersValues[1];
43
- assertType(columnLambdas, CollectionInstanceValue, `Can't process project() expression: project() expects argument #1 to be a collection`);
44
- columnLambdas.values.map((value) => QueryBuilderValueSpecificationProcessor.processChild(value, expression, parentLambda, queryBuilderState));
45
- // check column aliases
46
- const columnAliases = expression.parametersValues[2];
47
- assertType(columnAliases, CollectionInstanceValue, `Can't process project() expression: project() expects argument #2 to be a collection`);
48
- assertTrue(columnLambdas.values.length === columnAliases.values.length, `Can't process project() expression: number of aliases does not match the number of columns`);
49
- const aliases = columnAliases.values
50
- .map(extractNullableStringFromInstanceValue)
51
- .filter(isNonNullable);
52
- // build state
53
- if (queryBuilderState.fetchStructureState.implementation instanceof
54
- QueryBuilderTDSState) {
55
- const tdsState = queryBuilderState.fetchStructureState.implementation;
56
- tdsState.projectionColumns.forEach((column, idx) => column.setColumnName(aliases[idx]));
47
+ if (columnLambdas instanceof CollectionInstanceValue) {
48
+ columnLambdas.values.map((value) => QueryBuilderValueSpecificationProcessor.processChild(value, expression, parentLambda, queryBuilderState));
49
+ }
50
+ else {
51
+ assertType(columnLambdas, SimpleFunctionExpression, `Can't process project() expression: project() expects argument #1 to be a function expression`);
52
+ QueryBuilderValueSpecificationProcessor.processChild(columnLambdas, expression, parentLambda, queryBuilderState);
53
+ }
54
+ };
55
+ /**
56
+ * process project()
57
+ * variants could be:
58
+ * Person.all()->project([x|x.firmID], ['Id'])
59
+ * Person.all()->project(x|x.firmID, ['Id'])
60
+ * Person.all()->project([x|x.firmID], 'Id')
61
+ * Person.all()->project(x|x.firmID, 'Id')
62
+ * Person.all()->project(col({p:my::Person[1]|$p.firmID}, 'Id'))
63
+ * Person.all()->project([ col({p:my::Person[1]|$p.firmID}, 'Id') ])
64
+ */
65
+ export const processTDSProjectExpression = (expression, queryBuilderState, parentLambda) => {
66
+ if (expression.parametersValues.length === 2) {
67
+ processTDSProjectColExpression(expression, queryBuilderState, parentLambda);
68
+ }
69
+ else {
70
+ // update fetch-structure
71
+ queryBuilderState.fetchStructureState.changeImplementation(FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE);
72
+ // check parameters
73
+ assertTrue(expression.parametersValues.length === 3, `Can't process project() expression: project() expects 3 arguments`);
74
+ // check preceding expression
75
+ validateTDSProjectPrecedingExpression(expression, queryBuilderState, parentLambda);
76
+ // check columns
77
+ const columnLambdas = expression.parametersValues[1];
78
+ assertType(columnLambdas, CollectionInstanceValue, `Can't process project() expression: project() expects argument #1 to be a collection`);
79
+ columnLambdas.values.map((value) => QueryBuilderValueSpecificationProcessor.processChild(value, expression, parentLambda, queryBuilderState));
80
+ // check column aliases
81
+ const columnAliases = expression.parametersValues[2];
82
+ let aliases = [];
83
+ if (columnAliases instanceof CollectionInstanceValue) {
84
+ assertType(columnAliases, CollectionInstanceValue, `Can't process project() expression: project() expects argument #2 to be a collection or a string`);
85
+ aliases = columnAliases.values
86
+ .map(extractNullableStringFromInstanceValue)
87
+ .filter(isNonNullable);
88
+ }
89
+ else {
90
+ assertType(columnAliases, PrimitiveInstanceValue, `Can't process project() expression: project() expects argument #2 to be a collection or string`);
91
+ aliases = [columnAliases.values[0]];
92
+ }
93
+ assertTrue(columnLambdas.values.length === aliases.length, `Can't process project() expression: number of aliases does not match the number of columns`);
94
+ // build state
95
+ if (queryBuilderState.fetchStructureState.implementation instanceof
96
+ QueryBuilderTDSState) {
97
+ const tdsState = queryBuilderState.fetchStructureState.implementation;
98
+ tdsState.projectionColumns.forEach((column, idx) => column.setColumnName(aliases[idx]));
99
+ }
57
100
  }
58
101
  };
59
102
  export const processTDSProjectionColumnPropertyExpression = (expression, columnName, queryBuilderState) => {
@@ -109,6 +152,19 @@ export const processTDSProjectionDerivationExpression = (value, columnName, pare
109
152
  }
110
153
  }
111
154
  };
155
+ export const processTDSColExpression = (expression, queryBuilderState) => {
156
+ // check parameters
157
+ assertTrue(expression.parametersValues.length === 2, `Can't process col() func expression: col() expects 2 argument`);
158
+ // check preceding expression
159
+ const lambdaFunc = guaranteeType(expression.parametersValues[0], LambdaFunctionInstanceValue, `Can't process col() func expressionn: only support col() immediately following an lambda function`);
160
+ const colNameInstance = guaranteeType(expression.parametersValues[1], PrimitiveInstanceValue, `Can't process col() func expression: the #2 argument of col() should be a string`);
161
+ processTDSProjectionColumnPropertyExpression(guaranteeType(lambdaFunc.values[0]?.expressionSequence[0], AbstractPropertyExpression, `Can't process col() func expression: lambda function of col() should contain AbstractPropertyExpression`), colNameInstance.values[0], queryBuilderState);
162
+ if (queryBuilderState.fetchStructureState.implementation instanceof
163
+ QueryBuilderTDSState) {
164
+ const tdsState = queryBuilderState.fetchStructureState.implementation;
165
+ tdsState.setUseColFunc(true);
166
+ }
167
+ };
112
168
  export const processTDSTakeExpression = (expression, queryBuilderState, parentLambda) => {
113
169
  // check parameters
114
170
  assertTrue(expression.parametersValues.length === 2, `Can't process take() expression: take() expects 1 argument`);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProjectionStateBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA0B,EAC1B,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,wBAAwB,EACxB,mCAAmC,EACnC,YAAY,EACZ,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAChB,iCAAiC,EACjC,yCAAyC,GAC1C,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAC/F,OAAO,EACL,sCAAsC,EACtC,sCAAsC,EACtC,+BAA+B,GAChC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,wDAAwD,CAAC;AACxG,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,UAAoC,EACpC,iBAAoC,EACpC,YAA4B,EACtB,EAAE;IACR,yBAAyB;IACzB,iBAAiB,CAAC,mBAAmB,CAAC,oBAAoB,CACxD,8BAA8B,CAAC,sBAAsB,CACtD,CAAC;IAEF,mBAAmB;IACnB,UAAU,CACR,UAAU,CAAC,gBAAgB,CAAC,MAAM,KA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AC,YAAY,EAC7B,iCAAiC,CAAC,QAAQ,CAC3C,CACJ,EACD,iBAAiB,YAAY,+BAA+B,YAAY,oCAAoC,CAC7G,CAAC;IAEF,mBAAmB;IACnB,UAAU,CACR,UAAU,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EACxC,iBAAiB,YAAY,kBAAkB,YAAY,wBAAwB,CACpF,CAAC;IAEF,cAAc;IACd,IACE,iBAAiB,CAAC,mBAAmB,CAAC,cAAc;QACpD,oBAAoB,EACpB,CAAC;QACD,MAAM,eAAe,GACnB,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;QACvD,MAAM,cAAc,GAAG,sCAAsC,CAC3D,oBAAoB,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACrD,CAAC;QACF,MAAM,iCAAiC,GAAG,eAAe,CAAC,UAAU,CAAC,IAAI,CACvE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,cAAc,CACvC,CAAC;QACF,IAAI,iCAAiC,EAAE,CAAC;YACtC,MAAM,eAAe,GAAG,IAAI,eAAe,CACzC,iCAAiC,CAClC,CAAC;YACF,eAAe,CAAC,QAAQ,GAAG,iBAAiB,CAC1C,YAAY,EACZ,iCAAiC,CAAC,OAAO,CAC1C;gBACC,CAAC,CAAC,gBAAgB,CAAC,GAAG;gBACtB,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC;YAC1B,eAAe,CAAC,sBAAsB,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;QACxE,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderProjectionStateBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA0B,EAC1B,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,SAAS,EAC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AC3D,oBAAoB,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CACrD,CAAC;QACF,MAAM,iCAAiC,GAAG,eAAe,CAAC,UAAU,CAAC,IAAI,CACvE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,cAAc,CACvC,CAAC;QACF,IAAI,iCAAiC,EAAE,CAAC;YACtC,MAAM,eAAe,GAAG,IAAI,eAAe,CACzC,iCAAiC,CAClC,CAAC;YACF,eAAe,CAAC,QAAQ,GAAG,iBAAiB,CAC1C,YAAY,EACZ,iCAAiC,CAAC,OAAO,CAC1C;gBACC,CAAC,CAAC,gBAAgB,CAAC,GAAG;gBACtB,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC;YAC1B,eAAe,CAAC,sBAAsB,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;QACxE,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAcpB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAOvE,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,yDAAyD,CAAC;AA+HjE,eAAO,MAAM,gBAAgB,aACjB,oBAAoB,kBACd,cAAc,YACpB,2BAA2B,KACpC,IAwPF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAcpB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAOvE,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,yDAAyD,CAAC;AAuLjE,eAAO,MAAM,gBAAgB,aACjB,oBAAoB,kBACd,cAAc,YACpB,2BAA2B,KACpC,IA2QF,CAAC"}
@@ -87,6 +87,29 @@ const appendResultSetModifier = (resultModifierState, lambdaFunction, options) =
87
87
  }
88
88
  return lambdaFunction;
89
89
  };
90
+ const buildProjectColFunc = (tdsState, projectionColumnState, options) => {
91
+ const colFunc = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_COL));
92
+ let columnLambda;
93
+ if (projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState) {
94
+ columnLambda = buildGenericLambdaFunctionInstanceValue(projectionColumnState.lambdaParameterName, [
95
+ buildPropertyExpressionChain(projectionColumnState.propertyExpressionState.propertyExpression, projectionColumnState.propertyExpressionState.queryBuilderState, projectionColumnState.lambdaParameterName, options),
96
+ ], tdsState.queryBuilderState.graphManagerState.graph);
97
+ }
98
+ else if (projectionColumnState instanceof QueryBuilderDerivationProjectionColumnState) {
99
+ columnLambda = new INTERNAL__UnknownValueSpecification(V1_serializeRawValueSpecification(V1_transformRawLambda(projectionColumnState.lambda, new V1_GraphTransformerContextBuilder(
100
+ // TODO?: do we need to include the plugins here?
101
+ [])
102
+ .withKeepSourceInformationFlag(Boolean(options?.keepSourceInformation))
103
+ .build())));
104
+ }
105
+ else {
106
+ throw new UnsupportedOperationError(`Can't build project() column expression: unsupported projection column state`, projectionColumnState);
107
+ }
108
+ const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
109
+ colAlias.values.push(projectionColumnState.columnName);
110
+ colFunc.parametersValues = [columnLambda, colAlias];
111
+ return colFunc;
112
+ };
90
113
  export const appendProjection = (tdsState, lambdaFunction, options) => {
91
114
  const queryBuilderState = tdsState.queryBuilderState;
92
115
  const precedingExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0], `Can't build projection expression: preceding expression is not defined`);
@@ -160,40 +183,53 @@ export const appendProjection = (tdsState, lambdaFunction, options) => {
160
183
  if (!tdsState.queryBuilderState.isFetchStructureTyped) {
161
184
  // projection
162
185
  const projectFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT));
163
- const colLambdas = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(tdsState.projectionColumns.length, tdsState.projectionColumns.length));
164
- const colAliases = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(tdsState.projectionColumns.length, tdsState.projectionColumns.length));
165
- tdsState.projectionColumns.forEach((projectionColumnState) => {
166
- // column alias
167
- const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
168
- colAlias.values.push(projectionColumnState.columnName);
169
- colAliases.values.push(colAlias);
170
- // column projection
171
- let columnLambda;
172
- if (projectionColumnState instanceof
173
- QueryBuilderSimpleProjectionColumnState) {
174
- columnLambda = buildGenericLambdaFunctionInstanceValue(projectionColumnState.lambdaParameterName, [
175
- buildPropertyExpressionChain(projectionColumnState.propertyExpressionState
176
- .propertyExpression, projectionColumnState.propertyExpressionState.queryBuilderState, projectionColumnState.lambdaParameterName, options),
177
- ], queryBuilderState.graphManagerState.graph);
178
- }
179
- else if (projectionColumnState instanceof
180
- QueryBuilderDerivationProjectionColumnState) {
181
- columnLambda = new INTERNAL__UnknownValueSpecification(V1_serializeRawValueSpecification(V1_transformRawLambda(projectionColumnState.lambda, new V1_GraphTransformerContextBuilder(
182
- // TODO?: do we need to include the plugins here?
183
- [])
184
- .withKeepSourceInformationFlag(Boolean(options?.keepSourceInformation))
185
- .build())));
186
- }
187
- else {
188
- throw new UnsupportedOperationError(`Can't build project() column expression: unsupported projection column state`, projectionColumnState);
189
- }
190
- colLambdas.values.push(columnLambda);
191
- });
192
- projectFunction.parametersValues = [
193
- precedingExpression,
194
- colLambdas,
195
- colAliases,
196
- ];
186
+ if (tdsState.useColFunc) {
187
+ const colFuncCollection = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(tdsState.projectionColumns.length, tdsState.projectionColumns.length));
188
+ tdsState.projectionColumns.forEach((projectionColumnState) => {
189
+ colFuncCollection.values.push(buildProjectColFunc(tdsState, projectionColumnState, options));
190
+ });
191
+ projectFunction.parametersValues = [
192
+ precedingExpression,
193
+ colFuncCollection,
194
+ ];
195
+ }
196
+ else {
197
+ const colLambdas = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(tdsState.projectionColumns.length, tdsState.projectionColumns.length));
198
+ const colAliases = new CollectionInstanceValue(queryBuilderState.graphManagerState.graph.getMultiplicity(tdsState.projectionColumns.length, tdsState.projectionColumns.length));
199
+ tdsState.projectionColumns.forEach((projectionColumnState) => {
200
+ // column alias
201
+ const colAlias = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
202
+ colAlias.values.push(projectionColumnState.columnName);
203
+ colAliases.values.push(colAlias);
204
+ // column projection
205
+ let columnLambda;
206
+ if (projectionColumnState instanceof
207
+ QueryBuilderSimpleProjectionColumnState) {
208
+ columnLambda = buildGenericLambdaFunctionInstanceValue(projectionColumnState.lambdaParameterName, [
209
+ buildPropertyExpressionChain(projectionColumnState.propertyExpressionState
210
+ .propertyExpression, projectionColumnState.propertyExpressionState
211
+ .queryBuilderState, projectionColumnState.lambdaParameterName, options),
212
+ ], queryBuilderState.graphManagerState.graph);
213
+ }
214
+ else if (projectionColumnState instanceof
215
+ QueryBuilderDerivationProjectionColumnState) {
216
+ columnLambda = new INTERNAL__UnknownValueSpecification(V1_serializeRawValueSpecification(V1_transformRawLambda(projectionColumnState.lambda, new V1_GraphTransformerContextBuilder(
217
+ // TODO?: do we need to include the plugins here?
218
+ [])
219
+ .withKeepSourceInformationFlag(Boolean(options?.keepSourceInformation))
220
+ .build())));
221
+ }
222
+ else {
223
+ throw new UnsupportedOperationError(`Can't build project() column expression: unsupported projection column state`, projectionColumnState);
224
+ }
225
+ colLambdas.values.push(columnLambda);
226
+ });
227
+ projectFunction.parametersValues = [
228
+ precedingExpression,
229
+ colLambdas,
230
+ colAliases,
231
+ ];
232
+ }
197
233
  lambdaFunction.expressionSequence[0] = projectFunction;
198
234
  }
199
235
  else {