@finos/legend-query-builder 3.2.11 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderPropertyExpressionEditor.js +5 -4
  3. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  4. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderTextEditor.js +1 -1
  6. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  7. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  8. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +5 -3
  9. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  10. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -2
  11. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  12. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  13. package/lib/components/shared/BasicValueSpecificationEditor.js +1 -0
  14. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  15. package/lib/components/shared/LambdaEditor.d.ts +18 -19
  16. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  17. package/lib/components/shared/LambdaEditor.js +30 -19
  18. package/lib/components/shared/LambdaEditor.js.map +1 -1
  19. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -1
  20. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +20 -4
  21. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  22. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  23. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +54 -27
  24. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  25. package/lib/index.css +2 -2
  26. package/lib/index.css.map +1 -1
  27. package/lib/package.json +2 -2
  28. package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
  29. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  30. package/lib/stores/QueryBuilderStateBuilder.js +6 -7
  31. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  32. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  33. package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -0
  34. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  35. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts +3 -3
  36. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.d.ts.map +1 -1
  37. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js +18 -4
  38. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -1
  39. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts +2 -2
  40. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.d.ts.map +1 -1
  41. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js +1 -2
  42. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -1
  43. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts +2 -2
  44. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.d.ts.map +1 -1
  45. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.js.map +1 -1
  46. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts +2 -2
  47. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.d.ts.map +1 -1
  48. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.js.map +1 -1
  49. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts +2 -2
  50. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.d.ts.map +1 -1
  51. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.js.map +1 -1
  52. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts +2 -2
  53. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.d.ts.map +1 -1
  54. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.js.map +1 -1
  55. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts +2 -2
  56. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.d.ts.map +1 -1
  57. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.js.map +1 -1
  58. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts +2 -2
  59. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.d.ts.map +1 -1
  60. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.js.map +1 -1
  61. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts +2 -2
  62. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.d.ts.map +1 -1
  63. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.js.map +1 -1
  64. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts +2 -2
  65. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.d.ts.map +1 -1
  66. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.js.map +1 -1
  67. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts +2 -2
  68. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.d.ts.map +1 -1
  69. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.js.map +1 -1
  70. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts +2 -2
  71. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.d.ts.map +1 -1
  72. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.js.map +1 -1
  73. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts +2 -2
  74. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.d.ts.map +1 -1
  75. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.js.map +1 -1
  76. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts +2 -2
  77. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.d.ts.map +1 -1
  78. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.js.map +1 -1
  79. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts +2 -2
  80. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.d.ts.map +1 -1
  81. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.js.map +1 -1
  82. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts +2 -2
  83. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.d.ts.map +1 -1
  84. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.js.map +1 -1
  85. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts +2 -2
  86. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.d.ts.map +1 -1
  87. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.js.map +1 -1
  88. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts +2 -2
  89. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.d.ts.map +1 -1
  90. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.js.map +1 -1
  91. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts +2 -2
  92. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.d.ts.map +1 -1
  93. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.js.map +1 -1
  94. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts +2 -2
  95. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.d.ts.map +1 -1
  96. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.js.map +1 -1
  97. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts +2 -2
  98. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.d.ts.map +1 -1
  99. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.js.map +1 -1
  100. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts +2 -2
  101. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.d.ts.map +1 -1
  102. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.js.map +1 -1
  103. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts +2 -2
  104. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.d.ts.map +1 -1
  105. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.js.map +1 -1
  106. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts +2 -2
  107. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.d.ts.map +1 -1
  108. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.js.map +1 -1
  109. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts +2 -2
  110. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.d.ts.map +1 -1
  111. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.js.map +1 -1
  112. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts +2 -2
  113. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.d.ts.map +1 -1
  114. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.js.map +1 -1
  115. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts +2 -2
  116. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.d.ts.map +1 -1
  117. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.js.map +1 -1
  118. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts +2 -2
  119. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.d.ts.map +1 -1
  120. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.js.map +1 -1
  121. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts +2 -2
  122. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.d.ts.map +1 -1
  123. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.js.map +1 -1
  124. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts +2 -2
  125. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.d.ts.map +1 -1
  126. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.js.map +1 -1
  127. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts +2 -2
  128. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.d.ts.map +1 -1
  129. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.js.map +1 -1
  130. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts +2 -2
  131. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.d.ts.map +1 -1
  132. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.js.map +1 -1
  133. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts +2 -2
  134. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.d.ts.map +1 -1
  135. package/lib/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.js.map +1 -1
  136. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  137. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +2 -2
  138. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  139. package/lib/stores/shared/LambdaEditorState.d.ts.map +1 -1
  140. package/lib/stores/shared/LambdaEditorState.js.map +1 -1
  141. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  142. package/lib/stores/shared/ValueSpecificationEditorHelper.js +1 -0
  143. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  144. package/lib/stores/workflows/ClassQueryBuilderState.d.ts +5 -5
  145. package/lib/stores/workflows/ClassQueryBuilderState.js +6 -6
  146. package/lib/stores/workflows/MappingQueryBuilderState.d.ts +4 -4
  147. package/lib/stores/workflows/MappingQueryBuilderState.js +4 -4
  148. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -2
  149. package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -2
  150. package/package.json +10 -10
  151. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +7 -8
  152. package/src/components/QueryBuilderTextEditor.tsx +1 -4
  153. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +5 -3
  154. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +2 -2
  155. package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -0
  156. package/src/components/shared/LambdaEditor.tsx +126 -79
  157. package/src/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +35 -23
  158. package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +205 -83
  159. package/src/stores/QueryBuilderStateBuilder.ts +15 -19
  160. package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -0
  161. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.ts +44 -12
  162. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.ts +5 -12
  163. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Annualized.ts +2 -1
  164. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cme.ts +2 -1
  165. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw.ts +2 -1
  166. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cw_Fm.ts +2 -1
  167. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus2.ts +2 -1
  168. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Cy_Minus3.ts +2 -1
  169. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Mtd.ts +2 -1
  170. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wa.ts +2 -1
  171. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P12Wtd.ts +2 -1
  172. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wa.ts +2 -1
  173. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P4Wtd.ts +2 -1
  174. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wa.ts +2 -1
  175. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_P52Wtd.ts +2 -1
  176. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pma.ts +2 -1
  177. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pmtd.ts +2 -1
  178. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pqtd.ts +2 -1
  179. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorDay.ts +2 -1
  180. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_PriorYear.ts +2 -1
  181. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw.ts +2 -1
  182. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pw_Fm.ts +2 -1
  183. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwa.ts +2 -1
  184. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pwtd.ts +2 -1
  185. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pymtd.ts +2 -1
  186. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pyqtd.ts +2 -1
  187. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pytd.ts +2 -1
  188. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywa.ts +2 -1
  189. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Pywtd.ts +2 -1
  190. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Qtd.ts +2 -1
  191. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_ReportEndDay.ts +2 -1
  192. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Wtd.ts +2 -1
  193. package/src/stores/fetch-structure/tds/aggregation/calendarFunctions/QueryBuilderAggregateCalendarFunction_Ytd.ts +2 -1
  194. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +2 -1
  195. package/src/stores/shared/LambdaEditorState.ts +1 -0
  196. package/src/stores/shared/ValueSpecificationEditorHelper.ts +1 -0
  197. package/src/stores/workflows/ClassQueryBuilderState.ts +6 -6
  198. package/src/stores/workflows/MappingQueryBuilderState.ts +4 -4
  199. package/src/stores/workflows/ServiceQueryBuilderState.ts +2 -2
@@ -24,15 +24,15 @@ import { flowResult } from 'mobx';
24
24
  import { ParserError } from '@finos/legend-graph';
25
25
  import { DEFAULT_TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
26
26
  import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
27
- const LambdaErrorFeedback = (props) => {
27
+ const LambdaEditor_ErrorFeedback = (props) => {
28
28
  const { error, discardChanges } = props;
29
29
  if (!error) {
30
30
  return null;
31
31
  }
32
32
  return (_jsxs("div", { className: "lambda-editor__error-feedback", children: [_jsx("div", { className: "lambda-editor__error-feedback__error__message", children: error.message }), error instanceof ParserError && (_jsx("div", { className: "lambda-editor__error-feedback__parsing-error__content", children: _jsx("button", { className: "lambda-editor__error-feedback__parsing-error__discard-changes-btn", onClick: discardChanges, tabIndex: -1, children: "Discard Changes" }) }))] }));
33
33
  };
34
- const LambdaEditorInline = observer((props) => {
35
- const { className, disabled, lambdaEditorState, transformStringToLambda, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, forceBackdrop, disableExpansion, forceExpansion, disablePopUp, useBaseTextEditorSettings, hideErrorBar, openInPopUp, onEditorFocus, } = props;
34
+ const LambdaEditor_Inner = observer((props) => {
35
+ const { className, disabled, lambdaEditorState, transformStringToLambda, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, forceBackdrop, disableExpansion, forceExpansion, disablePopUp, inline, hideErrorBar, autoFocus, openInPopUp, onEditorFocus, } = props;
36
36
  const applicationStore = useApplicationStore();
37
37
  const onDidChangeModelContentEventDisposer = useRef(undefined);
38
38
  const onDidFocusEditorWidgetDisposer = useRef(undefined);
@@ -57,9 +57,8 @@ const LambdaEditorInline = observer((props) => {
57
57
  useEffect(() => {
58
58
  if (!editor && textInputRef.current) {
59
59
  const element = textInputRef.current;
60
- const lambdaEditorOptions = useBaseTextEditorSettings
61
- ? {}
62
- : {
60
+ const lambdaEditorOptions = inline
61
+ ? {
63
62
  renderLineHighlight: 'none',
64
63
  lineHeight: 24,
65
64
  overviewRulerBorder: false,
@@ -73,6 +72,9 @@ const LambdaEditorInline = observer((props) => {
73
72
  lineDecorationsWidth: 5,
74
73
  snippetSuggestions: 'none',
75
74
  scrollbar: { vertical: 'hidden' },
75
+ }
76
+ : {
77
+ padding: { top: 20, bottom: 20 },
76
78
  };
77
79
  const _editor = monacoEditorAPI.create(element, {
78
80
  ...getBaseCodeEditorOptions(),
@@ -85,7 +87,7 @@ const LambdaEditorInline = observer((props) => {
85
87
  });
86
88
  setEditor(_editor);
87
89
  }
88
- }, [editor, applicationStore, useBaseTextEditorSettings]);
90
+ }, [editor, applicationStore, inline]);
89
91
  // set styling for expanded mode
90
92
  useEffect(() => {
91
93
  if (editor) {
@@ -200,6 +202,12 @@ const LambdaEditorInline = observer((props) => {
200
202
  }
201
203
  }
202
204
  }
205
+ // auto-focus
206
+ useEffect(() => {
207
+ if (editor && autoFocus) {
208
+ editor.focus();
209
+ }
210
+ }, [autoFocus, editor]);
203
211
  // dispose editor
204
212
  useEffect(() => () => {
205
213
  if (editor) {
@@ -214,9 +222,9 @@ const LambdaEditorInline = observer((props) => {
214
222
  'lambda-editor__editor__expected-return-type--highlighted': matchedExpectedType?.(),
215
223
  }), onClick: selectTypeLabel, tabIndex: -1, title: "Toggle highlight expected type", children: expectedType?.name ?? 'unknown' })), !onExpectedTypeLabelSelect && (_jsx("div", { className: clsx('lambda-editor__editor__expected-return-type', {
216
224
  'lambda-editor__editor__expected-return-type--highlighted': matchedExpectedType?.(),
217
- }), children: expectedType?.name ?? 'unknown' }))] })), !disableExpansion && !forceExpansion && (_jsx("button", { className: "lambda-editor__editor__expand-btn", onClick: toggleExpandedMode, disabled: Boolean(parserError), tabIndex: -1, title: "Toggle Expand", children: isExpanded ? _jsx(LongArrowAltUpIcon, {}) : _jsx(LongArrowAltDownIcon, {}) })), !disablePopUp && (_jsx("button", { className: "lambda-editor__action", onClick: openInPopUp, disabled: Boolean(parserError), tabIndex: -1, title: "Open...", children: _jsx(FilledWindowMaximizeIcon, {}) }))] }), !hideErrorBar && (_jsx(LambdaErrorFeedback, { error: parserError ?? compilationError, discardChanges: discardChanges }))] }));
225
+ }), children: expectedType?.name ?? 'unknown' }))] })), !disableExpansion && !forceExpansion && (_jsx("button", { className: "lambda-editor__editor__expand-btn", onClick: toggleExpandedMode, disabled: Boolean(parserError), tabIndex: -1, title: "Toggle Expand", children: isExpanded ? _jsx(LongArrowAltUpIcon, {}) : _jsx(LongArrowAltDownIcon, {}) })), !disablePopUp && (_jsx("button", { className: "lambda-editor__action", onClick: openInPopUp, disabled: Boolean(parserError), tabIndex: -1, title: "Open in a popup...", children: _jsx(FilledWindowMaximizeIcon, {}) }))] }), !hideErrorBar && (_jsx(LambdaEditor_ErrorFeedback, { error: parserError ?? compilationError, discardChanges: discardChanges }))] }));
218
226
  });
219
- const LambdaEditorPopUp = observer((props) => {
227
+ const LambdaEditor_PopUp = observer((props) => {
220
228
  const { className, disabled, lambdaEditorState, transformStringToLambda, onClose, } = props;
221
229
  const applicationStore = useApplicationStore();
222
230
  const onDidChangeModelContentEventDisposer = useRef(undefined);
@@ -346,12 +354,8 @@ const LambdaEditorPopUp = observer((props) => {
346
354
  .TEMPORARY__isLightColorThemeEnabled,
347
355
  }), children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: "Edit Lambda" }), lambdaEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse lambda" }))] }), _jsx(ModalBody, { children: _jsx("div", { className: clsx('lambda-editor__popup__content', className), children: _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.LAMBDA_EDITOR__EDITOR_INPUT, className: "lambda-editor__editor__input", children: _jsx("div", { className: "code-editor__body", ref: textInputRef }) }) }) }), _jsxs(ModalFooter, { children: [_jsx("button", { className: "btn btn--dark btn--caution", onClick: discardChanges, children: "Discard changes" }), _jsx("button", { className: "btn btn--dark", onClick: onClose, disabled: Boolean(lambdaEditorState.parserError), children: "Close" })] })] }) }));
348
356
  });
349
- /**
350
- * This is not strictly meant for lambda. The idea is to create an editor that allows
351
- * editing _something_ but allows user to edit via text.
352
- */
353
- export const LambdaEditor = observer((props) => {
354
- const { className, lambdaEditorState, disabled, forceBackdrop, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, disableExpansion, forceExpansion, disablePopUp, useBaseTextEditorSettings, hideErrorBar, onEditorFocus, } = props;
357
+ export const InlineLambdaEditor = observer((props) => {
358
+ const { className, lambdaEditorState, disabled, forceBackdrop, expectedType, onExpectedTypeLabelSelect, matchedExpectedType, disableExpansion, forceExpansion, disablePopUp, hideErrorBar, autoFocus, onEditorFocus, } = props;
355
359
  const [showPopUp, setShowPopUp] = useState(false);
356
360
  const openInPopUp = () => setShowPopUp(true);
357
361
  const closePopUp = () => setShowPopUp(false);
@@ -359,9 +363,9 @@ export const LambdaEditor = observer((props) => {
359
363
  ? undefined
360
364
  : debounce(() => lambdaEditorState.convertLambdaGrammarStringToObject(), 1000), [lambdaEditorState, disabled]);
361
365
  if (!disablePopUp && showPopUp) {
362
- return (_jsxs(_Fragment, { children: [_jsx("div", { className: "lambda-editor" }), _jsx(LambdaEditorPopUp, { className: className, disabled: disabled, lambdaEditorState: lambdaEditorState, transformStringToLambda: debouncedTransformStringToLambda, onClose: closePopUp })] }));
366
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "lambda-editor" }), _jsx(LambdaEditor_PopUp, { className: className, disabled: disabled, lambdaEditorState: lambdaEditorState, transformStringToLambda: debouncedTransformStringToLambda, onClose: closePopUp })] }));
363
367
  }
364
- return (_jsx(LambdaEditorInline
368
+ return (_jsx(LambdaEditor_Inner
365
369
  /**
366
370
  * See the usage of `transformStringToLambda` as well as the instatiation of the editor in `LambdaEditorInner`.
367
371
  * One of the big problem is that the editor uses lambda editor state (there are some non-trivial logic there, that
@@ -386,8 +390,15 @@ export const LambdaEditor = observer((props) => {
386
390
  * So technically, we don't need to do the force-remount using `key`, but to be cleaner, we prevent other poential bugs, we do it anyway
387
391
  * to reset everything.
388
392
  */
389
- , { className: className, disabled: disabled, lambdaEditorState: lambdaEditorState, transformStringToLambda: debouncedTransformStringToLambda, expectedType: expectedType, matchedExpectedType: matchedExpectedType, onExpectedTypeLabelSelect: onExpectedTypeLabelSelect, forceBackdrop: forceBackdrop, disableExpansion: disableExpansion, forceExpansion: disableExpansion !== undefined
393
+ , { className: className, inline: true, disabled: disabled, lambdaEditorState: lambdaEditorState, transformStringToLambda: debouncedTransformStringToLambda, expectedType: expectedType, matchedExpectedType: matchedExpectedType, onExpectedTypeLabelSelect: onExpectedTypeLabelSelect, forceBackdrop: forceBackdrop, disableExpansion: disableExpansion, disablePopUp: disablePopUp, autoFocus: autoFocus, openInPopUp: openInPopUp, onEditorFocus: onEditorFocus, hideErrorBar: hideErrorBar, forceExpansion: disableExpansion !== undefined
390
394
  ? !disableExpansion && forceExpansion
391
- : forceExpansion, disablePopUp: disablePopUp, useBaseTextEditorSettings: useBaseTextEditorSettings, hideErrorBar: hideErrorBar, openInPopUp: openInPopUp, onEditorFocus: onEditorFocus }, lambdaEditorState.uuid));
395
+ : forceExpansion }, lambdaEditorState.uuid));
396
+ });
397
+ export const LambdaEditor = observer((props) => {
398
+ const { className, lambdaEditorState, disabled, forceBackdrop, autoFocus, onEditorFocus, } = props;
399
+ const debouncedTransformStringToLambda = useMemo(() => disabled
400
+ ? undefined
401
+ : debounce(() => lambdaEditorState.convertLambdaGrammarStringToObject(), 1000), [lambdaEditorState, disabled]);
402
+ return (_jsx(LambdaEditor_Inner, { className: className, disabled: disabled, lambdaEditorState: lambdaEditorState, transformStringToLambda: debouncedTransformStringToLambda, forceBackdrop: forceBackdrop, autoFocus: autoFocus, onEditorFocus: onEditorFocus, disableExpansion: true, forceExpansion: true, disablePopUp: true, hideErrorBar: true }, lambdaEditorState.uuid));
392
403
  });
393
404
  //# sourceMappingURL=LambdaEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,QAAQ,EACR,IAAI,GAGL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,WAAW,EAA+B,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,gBAAgB,EAChB,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../../../../src/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAYL,KAAK,SAAS,EACd,mBAAmB,EAEnB,KAAK,wBAAwB,EAI9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAQxE,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAEtG,qBAAa,yCAA0C,SAAQ,sCAAsC;IAC3F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAK/B,6BAA6B,CACjC,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,IAAI,CAAC;IA0EV,iCAAiC,CACrC,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,yCAAyC,EAAE,CAAC;IA2GjD,sBAAsB,CAC1B,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,8BAA8B,EAAE,CAAC;CA0C7C"}
1
+ {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAYL,KAAK,SAAS,EACd,mBAAmB,EAEnB,KAAK,wBAAwB,EAK9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AASxE,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAEtG,qBAAa,yCAA0C,SAAQ,sCAAsC;IAC3F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAK/B,6BAA6B,CACjC,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,IAAI,CAAC;IA+EV,iCAAiC,CACrC,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,yCAAyC,EAAE,CAAC;IAgHjD,sBAAsB,CAC1B,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GACvD,OAAO,CAAC,8BAA8B,EAAE,CAAC;CA0C7C"}
@@ -13,8 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { EngineRuntime, GraphBuilderError, MappingInclude, V1_GraphBuilderContextBuilder, V1_Mapping, V1_MAPPING_ELEMENT_PROTOCOL_TYPE, V1_PACKAGEABLE_RUNTIME_ELEMENT_PROTOCOL_TYPE, V1_PureMultiExecution, V1_Service, V1_PackageableRuntime, V1_PureGraphManager, PureClientVersion, CORE_PURE_PATH, getAllIncludedMappings, } from '@finos/legend-graph';
17
- import { assertErrorThrown, filterByType, guaranteeNonEmptyString, guaranteeType, } from '@finos/legend-shared';
16
+ import { EngineRuntime, GraphBuilderError, MappingIncludeMapping, V1_GraphBuilderContextBuilder, V1_Mapping, V1_MAPPING_ELEMENT_PROTOCOL_TYPE, V1_PACKAGEABLE_RUNTIME_ELEMENT_PROTOCOL_TYPE, V1_PureMultiExecution, V1_Service, V1_PackageableRuntime, V1_PureGraphManager, PureClientVersion, CORE_PURE_PATH, getAllIncludedMappings, V1_MappingIncludeMapping, } from '@finos/legend-graph';
17
+ import { assertErrorThrown, filterByType, guaranteeNonEmptyString, guaranteeType, isNonNullable, } from '@finos/legend-shared';
18
18
  import { MappingRuntimeCompatibilityAnalysisResult } from '../../../action/analytics/MappingRuntimeCompatibilityAnalysis.js';
19
19
  import { ServiceExecutionAnalysisResult } from '../../../action/analytics/ServiceExecutionAnalysis.js';
20
20
  import { QueryBuilder_PureGraphManagerExtension } from '../QueryBuilder_PureGraphManagerExtension.js';
@@ -46,7 +46,15 @@ export class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuilder_Pure
46
46
  v1Mappings.forEach((element) => {
47
47
  const mapping = mappings.find((e) => e.path === element.path);
48
48
  if (mapping) {
49
- mapping.includes = element.includedMappings.map((mappingInclude) => new MappingInclude(mapping, context.resolveMapping(guaranteeNonEmptyString(mappingInclude.includedMapping, `Mapping include path is missing or empty`))));
49
+ mapping.includes = element.includedMappings
50
+ .map((mappingInclude) => {
51
+ // TODO : handle for mapping include dataspace
52
+ if (mappingInclude instanceof V1_MappingIncludeMapping) {
53
+ return new MappingIncludeMapping(mapping, context.resolveMapping(guaranteeNonEmptyString(mappingInclude.includedMapping, `Mapping include path is missing or empty`)));
54
+ }
55
+ return undefined;
56
+ })
57
+ .filter(isNonNullable);
50
58
  }
51
59
  });
52
60
  // handle runtimes
@@ -112,7 +120,15 @@ export class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuilder_Pure
112
120
  .forEach((element) => {
113
121
  const mapping = graph.getNullableMapping(element.path);
114
122
  if (mapping) {
115
- mapping.includes = element.includedMappings.map((include) => new MappingInclude(mapping, context.resolveMapping(guaranteeNonEmptyString(include.includedMapping, `Mapping include path is missing or empty`))));
123
+ mapping.includes = element.includedMappings
124
+ .map((mappingInclude) => {
125
+ // TODO : handle for mapping include dataspace
126
+ if (mappingInclude instanceof V1_MappingIncludeMapping) {
127
+ return new MappingIncludeMapping(mapping, context.resolveMapping(guaranteeNonEmptyString(mappingInclude.includedMapping, `Mapping include path is missing or empty`)));
128
+ }
129
+ return undefined;
130
+ })
131
+ .filter(isNonNullable);
116
132
  }
117
133
  });
118
134
  graphBuilderInput
@@ -1 +1 @@
1
- {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,6BAA6B,EAC7B,UAAU,EACV,gCAAgC,EAChC,4CAA4C,EAC5C,qBAAqB,EACrB,UAAU,EACV,qBAAqB,EAGrB,mBAAmB,EACnB,iBAAiB,EAGjB,cAAc,EACd,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,aAAa,GAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yCAAyC,EAAE,MAAM,kEAAkE,CAAC;AAC7H,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAEtG,MAAM,OAAO,yCAA0C,SAAQ,sCAAsC;IAGnG,YAAY,YAAsC;QAChD,KAAK,CAAC,YAAY,CAAC,CAAC;QACpB,IAAI,CAAC,YAAY,GAAG,aAAa,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAC;IACvE,CAAC;IAED,2BAA2B;QACzB,OAAO,i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EAAE,MAAM,CAAC,OAAO,CAAC,IAAI;oBACzB,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,OAAO;oBAC/B,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,SAAS;iBACpC,CAAC;aACH;YACD,OAAO,MAAM,CAAC;QAChB,CAAC,CACF,CAAC;QACF,iBAAiB;aACd,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC;aACxE,IAAI,EAAE;aACN,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,OAAO,GAAG,KAAK,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,OAAO,EAAE;gBACX,MAAM,qBAAqB,GAAG,IAAI,8BAA8B,EAAE,CAAC;gBACnE,qBAAqB,CAAC,OAAO,GAAG,OAAO,CAAC;gBACxC,IAAI,QAAQ,CAAC,SAAS,YAAY,qBAAqB,EAAE;oBACvD,qBAAqB,CAAC,aAAa;wBACjC,QAAQ,CAAC,SAAS,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;iBACpE;gBACD,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;aACpC;QACH,CAAC,CAAC,CAAC;QACL,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
1
+ {"version":3,"file":"V1_QueryBuilder_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,qBAAqB,EACrB,6BAA6B,EAC7B,UAAU,EACV,gCAAgC,EAChC,4CAA4C,EAC5C,qBAAqB,EACrB,UA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AAC;aACxE,IAAI,EAAE;aACN,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,OAAO,GAAG,KAAK,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACxD,IAAI,OAAO,EAAE;gBACX,MAAM,qBAAqB,GAAG,IAAI,8BAA8B,EAAE,CAAC;gBACnE,qBAAqB,CAAC,OAAO,GAAG,OAAO,CAAC;gBACxC,IAAI,QAAQ,CAAC,SAAS,YAAY,qBAAqB,EAAE;oBACvD,qBAAqB,CAAC,aAAa;wBACjC,QAAQ,CAAC,SAAS,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;iBACpE;gBACD,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;aACpC;QACH,CAAC,CAAC,CAAC;QACL,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAE1B,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EAuBV,MAAM,qBAAqB,CAAC;AA8L7B,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAmBF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAkDF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAqDF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBA4FF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAuIF,CAAC;AAEF,eAAO,MAAM,mCAAmC,iBAChC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAAwB,GAAG,SA8D7B,CAAC;AAEF,eAAO,MAAM,qCAAqC,iBAClC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAAwB,GAAG,SA4H7B,CAAC;AAEF,eAAO,MAAM,8CAA8C,qBACvC,wBAAwB,KACzC,IAAI,GAAG,SAGwB,CAAC"}
1
+ {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAE1B,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EA4BV,MAAM,qBAAqB,CAAC;AAmT7B,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAmBF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAkDF,CAAC;AAEF,eAAO,MAAM,gCAAgC,iBAC7B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAqDF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBA4FF,CAAC;AAEF,eAAO,MAAM,iCAAiC,iBAC9B,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAuIF,CAAC;AAEF,eAAO,MAAM,mCAAmC,iBAChC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAAwB,GAAG,SA8D7B,CAAC;AAEF,eAAO,MAAM,qCAAqC,iBAClC,MAAM,cACR,qBAAqB,EAAE,iBACpB,MAAM,EAAE,kBACP,sBAAsB,qBACnB,oBAAoB,KACtC,wBAAwB,GAAG,SA4H7B,CAAC;AAEF,eAAO,MAAM,8CAA8C,qBACvC,wBAAwB,KACzC,IAAI,GAAG,SAGwB,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { assertNonNullable, assertTrue, assertType, filterByType, guaranteeNonNullable, guaranteeType, returnUndefOnError, } from '@finos/legend-shared';
17
- import { V1_buildBaseSimpleFunctionExpression, V1_buildGenericFunctionExpression, extractElementNameFromPath, V1_AppliedProperty, CollectionInstanceValue, INTERNAL__UnknownValueSpecification, V1_Variable, V1_serializeValueSpecification, GenericType, GenericTypeExplicitReference, matchFunctionName, InstanceValue, V1_AppliedFunction, V1_Collection, V1_Lambda, V1_ValueSpecificationBuilder, AbstractPropertyExpression, VariableExpression, Multiplicity, PrimitiveType, V1_CStrictDate, V1_CString, } from '@finos/legend-graph';
17
+ import { V1_buildBaseSimpleFunctionExpression, V1_buildGenericFunctionExpression, extractElementNameFromPath, V1_AppliedProperty, CollectionInstanceValue, INTERNAL__UnknownValueSpecification, V1_Variable, V1_serializeValueSpecification, GenericType, GenericTypeExplicitReference, matchFunctionName, InstanceValue, V1_AppliedFunction, V1_Collection, V1_Lambda, V1_ValueSpecificationBuilder, AbstractPropertyExpression, VariableExpression, Multiplicity, PrimitiveType, V1_CStrictDate, V1_CString, CORE_PURE_PATH, FunctionType, LambdaFunction, LambdaFunctionInstanceValue, PackageableElementExplicitReference, } from '@finos/legend-graph';
18
18
  import { QUERY_BUILDER_PURE_PATH, QUERY_BUILDER_SUPPORTED_FUNCTIONS, QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS, } from '../../../../graph/QueryBuilderMetaModelConst.js';
19
19
  import { QUERY_BUILDER_CALENDAR_TYPE } from '../../../QueryBuilderConst.js';
20
20
  const buildProjectionColumnLambda = (valueSpecification, openVariables, compileContext, processingContext) => {
@@ -26,44 +26,71 @@ const buildProjectionColumnLambda = (valueSpecification, openVariables, compileC
26
26
  assertTrue(valueSpecification.body.length === 1, `Can't build projection column: only support lambda body with 1 expression`);
27
27
  let currentPropertyExpression = valueSpecification
28
28
  .body[0];
29
- // calendar
30
- if (currentPropertyExpression instanceof V1_AppliedFunction &&
31
- matchFunctionName(currentPropertyExpression.function, Object.values(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS))) {
32
- assertTrue(currentPropertyExpression.parameters.length === 4, `Can't build projection column: only support calendar function with four parameters`);
33
- assertType(currentPropertyExpression.parameters[0], V1_AppliedProperty, `Can't build projection column: only support first parameter of calendar function as property expression`);
34
- const calendarType = guaranteeType(currentPropertyExpression.parameters[1], V1_CString, `Can't build projection column: only support second parameter of calendar function as String`);
35
- assertTrue(Object.values(QUERY_BUILDER_CALENDAR_TYPE).find((val) => val === calendarType.value) !== undefined, `Can't build projection column: ${calendarType.value} is not a supported calendar type`);
36
- guaranteeType(currentPropertyExpression.parameters[2], V1_CStrictDate, `Can't build projection column: only support third parameter of calendar function as StrictDate`);
37
- assertType(currentPropertyExpression.parameters[3], V1_AppliedProperty, `Can't build projection column: only support fourth parameter of calendar function as property expression`);
38
- }
39
- else {
40
- assertType(currentPropertyExpression, V1_AppliedProperty, `Can't build projection column: only support lambda body as property expression`);
41
- while (currentPropertyExpression instanceof V1_AppliedProperty) {
42
- assertTrue(currentPropertyExpression.parameters.length >= 1, `Can't build projection column: only support lambda body as property expression`);
29
+ assertType(currentPropertyExpression, V1_AppliedProperty, `Can't build projection column: only support lambda body as property expression`);
30
+ while (currentPropertyExpression instanceof V1_AppliedProperty) {
31
+ assertTrue(currentPropertyExpression.parameters.length >= 1, `Can't build projection column: only support lambda body as property expression`);
32
+ currentPropertyExpression = currentPropertyExpression
33
+ .parameters[0];
34
+ // Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
35
+ // $x.employees->subType(@Person)->subType(@Staff)
36
+ while (currentPropertyExpression instanceof V1_AppliedFunction &&
37
+ matchFunctionName(currentPropertyExpression.function, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
43
38
  currentPropertyExpression = currentPropertyExpression
44
39
  .parameters[0];
45
- // Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
46
- // $x.employees->subType(@Person)->subType(@Staff)
47
- while (currentPropertyExpression instanceof V1_AppliedFunction &&
48
- matchFunctionName(currentPropertyExpression.function, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
49
- currentPropertyExpression = currentPropertyExpression
50
- .parameters[0];
51
- }
52
40
  }
53
- // check lambda variable and parameter match
54
- assertType(currentPropertyExpression, V1_Variable, `Can't build projection column: only support lambda body as property expression`);
55
- assertTrue(columnLambdaParameter.name === currentPropertyExpression.name, `Can't build column lambda: expects variable used in lambda body '${currentPropertyExpression.name}' to match lambda parameter '${columnLambdaParameter.name}'`);
56
41
  }
42
+ // check lambda variable and parameter match
43
+ assertType(currentPropertyExpression, V1_Variable, `Can't build projection column: only support lambda body as property expression`);
44
+ assertTrue(columnLambdaParameter.name === currentPropertyExpression.name, `Can't build column lambda: expects variable used in lambda body '${currentPropertyExpression.name}' to match lambda parameter '${columnLambdaParameter.name}'`);
57
45
  return valueSpecification.accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
58
46
  };
47
+ const buildCalendarFunctionExpression = (valueSpecification, openVariables, compileContext, processingContext) => {
48
+ assertType(valueSpecification, V1_Lambda, `Can't build calendar aggregation column: only support lambda`);
49
+ // lambda parameter
50
+ assertTrue(valueSpecification.parameters.length === 1, `Can't build calendar aggregation column: only support lambda with 1 parameter`);
51
+ // lambda body
52
+ assertTrue(valueSpecification.body.length === 1, `Can't build calendar aggregation column: only support lambda body with 1 expression`);
53
+ const columnLambdaParameter = guaranteeType(valueSpecification.parameters[0], V1_Variable, `Can't build calendar aggregation column: only support lambda with 1 parameter`);
54
+ const currentPropertyExpression = guaranteeType(valueSpecification.body[0], V1_AppliedFunction, `Can't build calendar aggregation column: only support applied function`);
55
+ assertTrue(matchFunctionName(currentPropertyExpression.function, Object.values(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS)), `Can't build calendar aggregation columnn: unsupported calenddar function`);
56
+ assertTrue(currentPropertyExpression.parameters.length === 4, `Can't build calendar aggregation column: only support calendar function with four parameters`);
57
+ assertType(currentPropertyExpression.parameters[0], V1_AppliedProperty, `Can't build calendar aggregation column: only support first parameter of calendar function as property expression`);
58
+ const calendarType = guaranteeType(currentPropertyExpression.parameters[1], V1_CString, `Can't build calendar aggregation column: only support second parameter of calendar function as String`);
59
+ assertTrue(Object.values(QUERY_BUILDER_CALENDAR_TYPE).find((val) => val === calendarType.value) !== undefined, `Can't build calendar aggregation column: ${calendarType.value} is not a supported calendar type`);
60
+ guaranteeType(currentPropertyExpression.parameters[2], V1_CStrictDate, `Can't build calendar aggregation column: only support third parameter of calendar function as StrictDate`);
61
+ const dateColumn = currentPropertyExpression.parameters[0].accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
62
+ const calendarTypeValueSpec = guaranteeNonNullable(currentPropertyExpression.parameters[1]).accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
63
+ const endDate = guaranteeNonNullable(currentPropertyExpression.parameters[2]).accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
64
+ const columnLambda = guaranteeNonNullable(currentPropertyExpression.parameters[3]);
65
+ const targetColumn = returnUndefOnError(() => columnLambda.accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables))) ??
66
+ new INTERNAL__UnknownValueSpecification(V1_serializeValueSpecification(columnLambda, compileContext.extensions.plugins));
67
+ const calendarFunctionExpression = V1_buildBaseSimpleFunctionExpression([dateColumn, calendarTypeValueSpec, endDate, targetColumn], currentPropertyExpression.function, compileContext);
68
+ const functionInstanceValue = new LambdaFunctionInstanceValue();
69
+ const functionType = new FunctionType(PackageableElementExplicitReference.create(compileContext.graph.getType(CORE_PURE_PATH.ANY)), Multiplicity.ONE);
70
+ functionType.parameters.push(new VariableExpression(columnLambdaParameter.name, Multiplicity.ONE));
71
+ const lambdaFunction = new LambdaFunction(functionType);
72
+ lambdaFunction.expressionSequence = [calendarFunctionExpression];
73
+ functionInstanceValue.values.push(lambdaFunction);
74
+ return functionInstanceValue;
75
+ };
59
76
  const buildAggregationExpression = (valueSpecification, openVariables, compileContext, processingContext) => {
60
77
  assertType(valueSpecification, V1_AppliedFunction, `Can't build aggregation: only support function`);
61
78
  assertTrue(matchFunctionName(valueSpecification.function, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG), `Can't build aggregation: only support agg()`);
62
79
  assertTrue(valueSpecification.parameters.length === 2, `Can't build agg() expression: agg() expects 2 arguments`);
63
80
  // column lambda
64
81
  const columnLambda = guaranteeType(valueSpecification.parameters[0], V1_Lambda, `Can't build agg() expression: agg() expects argument #1 as a lambda`);
65
- const processedColumnLambda = returnUndefOnError(() => buildProjectionColumnLambda(columnLambda, openVariables, compileContext, processingContext)) ??
66
- new INTERNAL__UnknownValueSpecification(V1_serializeValueSpecification(columnLambda, compileContext.extensions.plugins));
82
+ let processedColumnLambda;
83
+ if (columnLambda.body[0] instanceof V1_AppliedFunction &&
84
+ matchFunctionName(columnLambda.body[0].function, Object.values(QUERY_BUILDER_SUPPORTED_CALENDAR_AGGREGATION_FUNCTIONS))) {
85
+ processedColumnLambda =
86
+ returnUndefOnError(() => buildCalendarFunctionExpression(columnLambda, openVariables, compileContext, processingContext)) ??
87
+ new INTERNAL__UnknownValueSpecification(V1_serializeValueSpecification(columnLambda, compileContext.extensions.plugins));
88
+ }
89
+ else {
90
+ processedColumnLambda =
91
+ returnUndefOnError(() => buildProjectionColumnLambda(columnLambda, openVariables, compileContext, processingContext)) ??
92
+ new INTERNAL__UnknownValueSpecification(V1_serializeValueSpecification(columnLambda, compileContext.extensions.plugins));
93
+ }
67
94
  // aggregate lambda
68
95
  const aggregateLambda = guaranteeType(valueSpecification.parameters[1], V1_Lambda);
69
96
  const processedAggregateLambda = aggregateLambda.accept_ValueSpecificationVisitor(new V1_ValueSpecificationBuilder(compileContext, processingContext, openVariables));
@@ -1 +1 @@
1
- {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAOL,oCAAoC,EACpC,iCAAiC,EACjC,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,mCAAmC,EACnC,WAAW,EACX,8B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,MAAM,CAC1D,IAAI,WAAW,CACb,cAAc,CAAC,WAAW,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,KAAK,CAClE,CACF,CAAC;IAEF,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAC5D,gBAA0C,EACxB,EAAE,CACpB,gBAAgB,CAAC,gBAAgB,CAAC,MAAM,CACtC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,YAAY,aAAa,CAC1C,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC"}
1
+ {"version":3,"file":"V1_QueryValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAOL,oCAAoC,EACpC,iCAAiC,EACjC,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,mCAAmC,EACnC,WAAW,EACX,8BAA8B,EAC9B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,cAAc,EACd,UAAU,EACV,cAAc,EACd,YAAY,EACZ,cAAc,EACd,2BAA2B,EAC3B,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,uBAAuB,EACvB,iCAAiC,EACjC,sDAAsD,GACvD,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,MAAM,2BAA2B,GAAG,CAClC,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