@finos/legend-query-builder 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. package/lib/components/QueryBuilder.d.ts +1 -0
  2. package/lib/components/QueryBuilder.d.ts.map +1 -1
  3. package/lib/components/QueryBuilder.js +11 -2
  4. package/lib/components/QueryBuilder.js.map +1 -1
  5. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +23 -0
  6. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -0
  7. package/lib/components/QueryBuilderConstantExpressionPanel.js +104 -0
  8. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -0
  9. package/lib/components/QueryBuilderDiffPanel.d.ts +1 -0
  10. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderDiffPanel.js +1 -2
  12. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  13. package/lib/components/QueryBuilderParametersPanel.d.ts +1 -9
  14. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  15. package/lib/components/QueryBuilderParametersPanel.js +8 -26
  16. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  17. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +1 -0
  18. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  19. package/lib/components/QueryBuilderPropertyExpressionEditor.js +60 -12
  20. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  21. package/lib/components/QueryBuilderResultPanel.d.ts +1 -0
  22. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  23. package/lib/components/QueryBuilderSideBar.d.ts +3 -1
  24. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  25. package/lib/components/QueryBuilderSideBar.js +6 -14
  26. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  27. package/lib/components/QueryBuilderTextEditor.d.ts +1 -0
  28. package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
  29. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -0
  30. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
  31. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -0
  32. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
  33. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +1 -0
  34. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
  35. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +12 -18
  36. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  37. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -0
  38. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  39. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -0
  40. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
  41. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +1 -0
  42. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  43. package/lib/components/fetch-structure/{QueryBuilderOLAPGroupByPanel_.d.ts → QueryBuilderOLAPGroupByPanel.d.ts} +3 -2
  44. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel.d.ts.map +1 -0
  45. package/lib/components/fetch-structure/{QueryBuilderOLAPGroupByPanel_.js → QueryBuilderOLAPGroupByPanel.js} +2 -2
  46. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel.js.map +1 -0
  47. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +1 -0
  48. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  49. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +9 -11
  50. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  51. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +1 -0
  52. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts.map +1 -1
  53. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +1 -1
  54. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
  55. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -0
  56. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  57. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +1 -0
  58. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  59. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +4 -4
  60. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  61. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -0
  62. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  63. package/lib/components/filter/QueryBuilderFilterPanel.js +8 -9
  64. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  65. package/lib/components/shared/BasicValueSpecificationEditor.d.ts +12 -1
  66. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  67. package/lib/components/shared/BasicValueSpecificationEditor.js +11 -7
  68. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  69. package/lib/components/shared/LambdaEditor.d.ts +1 -0
  70. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  71. package/lib/components/shared/LambdaEditor.js +1 -15
  72. package/lib/components/shared/LambdaEditor.js.map +1 -1
  73. package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -0
  74. package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
  75. package/lib/components/shared/QueryBuilderVariableSelector.d.ts +36 -0
  76. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -0
  77. package/lib/components/shared/QueryBuilderVariableSelector.js +50 -0
  78. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -0
  79. package/lib/components/watermark/QueryBuilderWatermark.d.ts +1 -0
  80. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +1 -1
  81. package/lib/components/watermark/QueryBuilderWatermark.js +9 -11
  82. package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
  83. package/lib/graphManager/QueryBuilderHashUtils.d.ts +2 -0
  84. package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -1
  85. package/lib/graphManager/QueryBuilderHashUtils.js +2 -0
  86. package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -1
  87. package/lib/index.css +2 -2
  88. package/lib/index.css.map +1 -1
  89. package/lib/package.json +6 -6
  90. package/lib/stores/QueryBuilderConfig.d.ts +1 -0
  91. package/lib/stores/QueryBuilderConfig.d.ts.map +1 -1
  92. package/lib/stores/QueryBuilderConfig.js +1 -0
  93. package/lib/stores/QueryBuilderConfig.js.map +1 -1
  94. package/lib/stores/QueryBuilderConstantsState.d.ts +43 -0
  95. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -0
  96. package/lib/stores/QueryBuilderConstantsState.js +116 -0
  97. package/lib/stores/QueryBuilderConstantsState.js.map +1 -0
  98. package/lib/stores/QueryBuilderParametersState.d.ts +0 -4
  99. package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -1
  100. package/lib/stores/QueryBuilderParametersState.js +0 -1
  101. package/lib/stores/QueryBuilderParametersState.js.map +1 -1
  102. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +3 -10
  103. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  104. package/lib/stores/QueryBuilderPropertyEditorState.js +6 -140
  105. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  106. package/lib/stores/QueryBuilderState.d.ts +9 -3
  107. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  108. package/lib/stores/QueryBuilderState.js +19 -4
  109. package/lib/stores/QueryBuilderState.js.map +1 -1
  110. package/lib/stores/QueryBuilderStateBuilder.d.ts +4 -3
  111. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  112. package/lib/stores/QueryBuilderStateBuilder.js +50 -42
  113. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  114. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  115. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +23 -25
  116. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  117. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
  118. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +14 -78
  119. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  120. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  121. package/lib/stores/QueryBuilderValueSpecificationHelper.js +4 -20
  122. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  123. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +3 -3
  124. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
  125. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +4 -4
  126. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  127. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +1 -1
  128. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  129. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +2 -2
  130. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  131. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts +3 -3
  132. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -1
  133. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +6 -6
  134. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
  135. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByOperatorLoader_.d.ts → QueryBuilderOLAPGroupByOperatorLoader.d.ts} +1 -1
  136. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.d.ts.map +1 -0
  137. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByOperatorLoader_.js → QueryBuilderOLAPGroupByOperatorLoader.js} +1 -1
  138. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader.js.map +1 -0
  139. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByState_.d.ts → QueryBuilderOLAPGroupByState.d.ts} +1 -1
  140. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState.d.ts.map +1 -0
  141. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByState_.js → QueryBuilderOLAPGroupByState.js} +1 -1
  142. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState.js.map +1 -0
  143. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByStateBuilder_.d.ts → QueryBuilderOLAPGroupByStateBuilder.d.ts} +3 -3
  144. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder.d.ts.map +1 -0
  145. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByStateBuilder_.js → QueryBuilderOLAPGroupByStateBuilder.js} +4 -4
  146. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder.js.map +1 -0
  147. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder.d.ts} +2 -2
  148. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder.d.ts.map +1 -0
  149. package/lib/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByValueSpecificationBuilder_.js → QueryBuilderOLAPGroupByValueSpecificationBuilder.js} +2 -2
  150. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder.js.map +1 -0
  151. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +1 -1
  152. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
  153. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts +5 -5
  154. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  155. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +10 -10
  156. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  157. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +1 -1
  158. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  159. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +2 -2
  160. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
  161. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +6 -4
  162. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  163. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +27 -0
  164. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -0
  165. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +93 -0
  166. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -0
  167. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +26 -0
  168. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -0
  169. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +60 -0
  170. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -0
  171. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +70 -0
  172. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -0
  173. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +199 -0
  174. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -0
  175. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +49 -0
  176. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -0
  177. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js +24 -0
  178. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -0
  179. package/lib/stores/{QueryBuilderMilestoningState.d.ts → milestoning/QueryBuilderMilestoningState.d.ts} +6 -2
  180. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -0
  181. package/lib/stores/{QueryBuilderMilestoningState.js → milestoning/QueryBuilderMilestoningState.js} +20 -20
  182. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -0
  183. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +26 -0
  184. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -0
  185. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +55 -0
  186. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -0
  187. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +3 -1
  188. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  189. package/lib/stores/shared/ValueSpecificationEditorHelper.js +58 -2
  190. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  191. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.d.ts +2 -2
  192. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.d.ts.map +1 -1
  193. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js +2 -2
  194. package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js.map +1 -1
  195. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts +2 -2
  196. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.d.ts.map +1 -1
  197. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +7 -4
  198. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  199. package/lib/stores/workflows/ServiceQueryBuilderState.js +1 -1
  200. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  201. package/package.json +13 -13
  202. package/src/components/QueryBuilder.tsx +38 -0
  203. package/src/components/QueryBuilderConstantExpressionPanel.tsx +284 -0
  204. package/src/components/QueryBuilderDiffPanel.tsx +0 -2
  205. package/src/components/QueryBuilderParametersPanel.tsx +22 -103
  206. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +119 -36
  207. package/src/components/QueryBuilderSideBar.tsx +5 -22
  208. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +29 -39
  209. package/src/components/fetch-structure/{QueryBuilderOLAPGroupByPanel_.tsx → QueryBuilderOLAPGroupByPanel.tsx} +1 -1
  210. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +18 -19
  211. package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +1 -1
  212. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +9 -9
  213. package/src/components/filter/QueryBuilderFilterPanel.tsx +16 -17
  214. package/src/components/shared/BasicValueSpecificationEditor.tsx +47 -22
  215. package/src/components/shared/LambdaEditor.tsx +0 -15
  216. package/src/components/shared/QueryBuilderVariableSelector.tsx +186 -0
  217. package/src/components/watermark/QueryBuilderWatermark.tsx +19 -31
  218. package/src/graphManager/QueryBuilderHashUtils.ts +2 -0
  219. package/src/stores/QueryBuilderConfig.ts +1 -0
  220. package/src/stores/QueryBuilderConstantsState.ts +173 -0
  221. package/src/stores/QueryBuilderParametersState.ts +0 -6
  222. package/src/stores/QueryBuilderPropertyEditorState.ts +6 -235
  223. package/src/stores/QueryBuilderState.ts +25 -4
  224. package/src/stores/QueryBuilderStateBuilder.ts +111 -52
  225. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +34 -51
  226. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +16 -105
  227. package/src/stores/QueryBuilderValueSpecificationHelper.ts +10 -29
  228. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +5 -0
  229. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +2 -2
  230. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +7 -0
  231. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByOperatorLoader_.ts → QueryBuilderOLAPGroupByOperatorLoader.ts} +0 -0
  232. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByState_.ts → QueryBuilderOLAPGroupByState.ts} +0 -0
  233. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByStateBuilder_.ts → QueryBuilderOLAPGroupByStateBuilder.ts} +3 -1
  234. package/src/stores/fetch-structure/tds/olapGroupBy/{QueryBuilderOLAPGroupByValueSpecificationBuilder_.ts → QueryBuilderOLAPGroupByValueSpecificationBuilder.ts} +1 -1
  235. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +1 -1
  236. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +11 -0
  237. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +1 -1
  238. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +10 -5
  239. package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +165 -0
  240. package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +96 -0
  241. package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +311 -0
  242. package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +77 -0
  243. package/src/stores/{QueryBuilderMilestoningState.ts → milestoning/QueryBuilderMilestoningState.ts} +55 -39
  244. package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +88 -0
  245. package/src/stores/shared/ValueSpecificationEditorHelper.ts +84 -2
  246. package/src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts +3 -0
  247. package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +11 -5
  248. package/src/stores/workflows/ServiceQueryBuilderState.ts +1 -1
  249. package/tsconfig.json +14 -6
  250. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.d.ts.map +0 -1
  251. package/lib/components/fetch-structure/QueryBuilderOLAPGroupByPanel_.js.map +0 -1
  252. package/lib/stores/QueryBuilderMilestoningState.d.ts.map +0 -1
  253. package/lib/stores/QueryBuilderMilestoningState.js.map +0 -1
  254. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.d.ts.map +0 -1
  255. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByOperatorLoader_.js.map +0 -1
  256. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.d.ts.map +0 -1
  257. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByStateBuilder_.js.map +0 -1
  258. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.d.ts.map +0 -1
  259. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByState_.js.map +0 -1
  260. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.d.ts.map +0 -1
  261. package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOLAPGroupByValueSpecificationBuilder_.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  /**
3
3
  * Copyright (c) 2020-present, Goldman Sachs
4
4
  *
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { useApplicationStore } from '@finos/legend-application';
18
- import { Tooltip, DollarIcon, clsx, InfoCircleIcon, RefreshIcon, CheckSquareIcon, SquareIcon, CustomSelectorInput, SaveIcon, PencilIcon, } from '@finos/legend-art';
18
+ import { Tooltip, DollarIcon, clsx, InfoCircleIcon, RefreshIcon, CheckSquareIcon, SquareIcon, CustomSelectorInput, SaveIcon, PencilIcon, DragPreviewLayer, } from '@finos/legend-art';
19
19
  import { PrimitiveInstanceValue, CollectionInstanceValue, EnumValueInstanceValue, INTERNAL__PropagatedValue, SimpleFunctionExpression, VariableExpression, EnumValueExplicitReference, PrimitiveType, PRIMITIVE_TYPE, GenericTypeExplicitReference, GenericType, Enumeration, getEnumValue, getMultiplicityDescription, } from '@finos/legend-graph';
20
20
  import { guaranteeNonNullable, isNonNullable, returnUndefOnError, uniq, } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
@@ -24,7 +24,7 @@ import CSVParser from 'papaparse';
24
24
  import { useEffect, useRef, useState } from 'react';
25
25
  import { instanceValue_setValue, instanceValue_setValues, } from '../../stores/shared/ValueSpecificationModifierHelper.js';
26
26
  import { CustomDatePicker } from './CustomDatePicker.js';
27
- const ParameterInfoTooltip = (props) => {
27
+ export const VariableInfoTooltip = (props) => {
28
28
  const { variable, children, placement } = props;
29
29
  const type = variable.genericType?.value.rawType;
30
30
  return (_jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
@@ -38,10 +38,13 @@ const ParameterInfoTooltip = (props) => {
38
38
  timeout: 0,
39
39
  }, title: _jsxs("div", { className: "value-spec-paramater__tooltip__content", children: [_jsxs("div", { className: "value-spec-paramater__tooltip__item", children: [_jsx("div", { className: "value-spec-paramater__tooltip__item__label", children: "Type" }), _jsx("div", { className: "value-spec-paramater__tooltip__item__value", children: type?.name ?? '' })] }), _jsxs("div", { className: "value-spec-paramater__tooltip__item", children: [_jsx("div", { className: "value-spec-paramater__tooltip__item__label", children: "Var Name" }), _jsx("div", { className: "value-spec-paramater__tooltip__item__value", children: variable.name })] }), _jsxs("div", { className: "value-spec-paramater__tooltip__item", children: [_jsx("div", { className: "value-spec-paramater__tooltip__item__label", children: "Multiplicity" }), _jsx("div", { className: "value-spec-paramater__tooltip__item__value", children: getMultiplicityDescription(variable.multiplicity) })] })] }), children: children }));
40
40
  };
41
+ export const QUERY_BUILDER_VARIABLE_DND_TYPE = 'VARIABLE';
41
42
  const VariableExpressionParameterEditor = observer((props) => {
42
- const { valueSpecification, className, resetValue } = props;
43
+ const { valueSpecification, resetValue, isConstant, className } = props;
43
44
  const varName = valueSpecification.name;
44
- return (_jsxs("div", { className: clsx('value-spec-editor__parameter', className), children: [_jsx("div", { className: "value-spec-editor__parameter__icon", children: _jsx(DollarIcon, {}) }), _jsxs("div", { className: "value-spec-editor__parameter__label", children: [_jsx("div", { className: "value-spec-editor__parameter__text", children: varName }), _jsx(ParameterInfoTooltip, { variable: valueSpecification, children: _jsx("div", { className: "value-spec-editor__parameter__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { className: "value-spec-editor__parameter__reset-btn", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] })] }));
45
+ return (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.variable.name, types: [QUERY_BUILDER_VARIABLE_DND_TYPE] }), _jsxs("div", { className: clsx('value-spec-editor__variable', className, {
46
+ 'value-spec-editor__variable__constant': isConstant,
47
+ }), children: [_jsx("div", { className: "value-spec-editor__variable__icon", children: isConstant ? _jsx("div", { className: "icon", children: "C" }) : _jsx(DollarIcon, {}) }), _jsxs("div", { className: "value-spec-editor__variable__label", children: [_jsx("div", { className: "value-spec-editor__variable__text", children: varName }), _jsx(VariableInfoTooltip, { variable: valueSpecification, children: _jsx("div", { className: "value-spec-editor__variable__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("button", { className: "value-spec-editor__variable__reset-btn", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] })] })] }));
45
48
  });
46
49
  const StringPrimitiveInstanceValueEditor = observer((props) => {
47
50
  const { valueSpecification, className, resetValue, setValueSpecification, selectorConfig, } = props;
@@ -269,7 +272,7 @@ const DateInstanceValueEditor = observer((props) => {
269
272
  * See https://github.com/finos/legend-studio/pull/1021
270
273
  */
271
274
  export const BasicValueSpecificationEditor = (props) => {
272
- const { className, valueSpecification, graph, obseverContext, typeCheckOption, setValueSpecification, resetValue, selectorConfig, } = props;
275
+ const { className, valueSpecification, graph, obseverContext, typeCheckOption, setValueSpecification, resetValue, selectorConfig, isConstant, } = props;
273
276
  if (valueSpecification instanceof PrimitiveInstanceValue) {
274
277
  const _type = valueSpecification.genericType.value.rawType;
275
278
  switch (_type.path) {
@@ -280,6 +283,7 @@ export const BasicValueSpecificationEditor = (props) => {
280
283
  case PRIMITIVE_TYPE.NUMBER:
281
284
  case PRIMITIVE_TYPE.FLOAT:
282
285
  case PRIMITIVE_TYPE.DECIMAL:
286
+ case PRIMITIVE_TYPE.BINARY:
283
287
  case PRIMITIVE_TYPE.INTEGER:
284
288
  return (_jsx(NumberPrimitiveInstanceValueEditor, { valueSpecification: valueSpecification, isInteger: _type.path === PRIMITIVE_TYPE.INTEGER, setValueSpecification: setValueSpecification, className: className, resetValue: resetValue }));
285
289
  case PRIMITIVE_TYPE.DATE:
@@ -303,7 +307,7 @@ export const BasicValueSpecificationEditor = (props) => {
303
307
  }
304
308
  // property expression
305
309
  else if (valueSpecification instanceof VariableExpression) {
306
- return (_jsx(VariableExpressionParameterEditor, { valueSpecification: valueSpecification, className: className, resetValue: resetValue }));
310
+ return (_jsx(VariableExpressionParameterEditor, { valueSpecification: valueSpecification, className: className, resetValue: resetValue, isConstant: Boolean(isConstant) }));
307
311
  }
308
312
  else if (valueSpecification instanceof INTERNAL__PropagatedValue) {
309
313
  return (_jsx(BasicValueSpecificationEditor, { valueSpecification: valueSpecification.getValue(), graph: graph, obseverContext: obseverContext, typeCheckOption: typeCheckOption, setValueSpecification: setValueSpecification, resetValue: resetValue }));
@@ -1 +1 @@
1
- {"version":3,"file":"BasicValueSpecificationEditor.js","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,OAAO,EACP,UAAU,EACV,IAAI,EACJ,cAAc,EACd,WAAW,EACX,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,YAAY,EACZ,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,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AE,SAAS,EACpB,qBAAqB,EAAE,qBAAqB,EAC5C,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;KACH;IACD,OAAO,KAAC,mCAAmC,KAAG,CAAC;AACjD,CAAC,CAAC"}
1
+ {"version":3,"file":"BasicValueSpecificationEditor.js","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAGL,OAAO,EACP,UAAU,EACV,IAAI,EACJ,cAAc,EACd,WAAW,EACX,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,YAAY,EACZ,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAczD,MAAM,CAAC,MAAM,mBAAmB,GAI3B,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,QAAQ,EAA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AAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,SAAS,EACpB,qBAAqB,EAAE,qBAAqB,EAC5C,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;KACH;IACD,OAAO,KAAC,mCAAmC,KAAG,CAAC;AACjD,CAAC,CAAC"}
@@ -13,6 +13,7 @@
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"/>
16
17
  import type { LambdaEditorState } from '../../stores/shared/LambdaEditorState.js';
17
18
  import { type Type } from '@finos/legend-graph';
18
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAQlF,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAslB/E;;;GAGG;AACH,eAAO,MAAM,YAAY;gBAET,MAAM,GAAG,SAAS;cACpB,OAAO;uBACE,iBAAiB;IACpC;;;;OAIG;mBACY,IAAI,GAAG,SAAS;0BACT,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS;gCACrB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;IACpD;;;;;;;;;;;;;OAaG;mBACY,OAAO;IACtB;;;OAGG;4BACqB,OAAO,KAAK,IAAI;IACxC;;OAEG;uBACgB,OAAO,GAAG,SAAS;IACtC;;;;;OAKG;qBACc,OAAO,GAAG,SAAS;IACpC;;OAEG;mBACY,OAAO,GAAG,SAAS;IAClC;;OAEG;gCACyB,OAAO,GAAG,SAAS;IAC/C;;OAEG;mBACY,OAAO,GAAG,SAAS;oBAClB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;;;CAgG3C,CAAC"}
1
+ {"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAQlF,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAukB/E;;;GAGG;AACH,eAAO,MAAM,YAAY;gBAET,MAAM,GAAG,SAAS;cACpB,OAAO;uBACE,iBAAiB;IACpC;;;;OAIG;mBACY,IAAI,GAAG,SAAS;0BACT,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS;gCACrB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;IACpD;;;;;;;;;;;;;OAaG;mBACY,OAAO;IACtB;;;OAGG;4BACqB,OAAO,KAAK,IAAI;IACxC;;OAEG;uBACgB,OAAO,GAAG,SAAS;IACtC;;;;;OAKG;qBACc,OAAO,GAAG,SAAS;IACpC;;OAEG;mBACY,OAAO,GAAG,SAAS;IAClC;;OAEG;gCACyB,OAAO,GAAG,SAAS;IAC/C;;OAEG;mBACY,OAAO,GAAG,SAAS;oBAClB,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;;;CAgG3C,CAAC"}
@@ -21,7 +21,7 @@ import { clsx, disposeEditor, getBaseTextEditorOptions, getEditorValue, normaliz
21
21
  import { debounce, noop, } from '@finos/legend-shared';
22
22
  import { flowResult } from 'mobx';
23
23
  import { ParserError } from '@finos/legend-graph';
24
- import { createPassThroughOnKeyHandler, EDITOR_LANGUAGE, EDITOR_THEME, TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
24
+ import { EDITOR_LANGUAGE, EDITOR_THEME, TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
25
25
  import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
26
26
  const LambdaErrorFeedback = (props) => {
27
27
  const { error, discardChanges } = props;
@@ -87,13 +87,6 @@ const LambdaEditorInline = observer((props) => {
87
87
  : EDITOR_THEME.LEGEND,
88
88
  ...lambdaEditorOptions,
89
89
  });
90
- // NOTE: if we ever set any hotkey explicitly, we would like to use the disposer partern instead
91
- // else, we could risk triggering these hotkeys command multiple times
92
- // e.g.
93
- // const onKeyDownEventDisposer = useRef<IDisposable | undefined>(undefined);
94
- // onKeyDownEventDisposer.current?.dispose();
95
- // onKeyDownEventDisposer.current = editor.onKeyDown(() => ...)
96
- _editor.onKeyDown(() => createPassThroughOnKeyHandler());
97
90
  setEditor(_editor);
98
91
  }
99
92
  }, [editor, applicationStore, useBaseTextEditorSettings]);
@@ -254,13 +247,6 @@ const LambdaEditorPopUp = observer((props) => {
254
247
  language: EDITOR_LANGUAGE.PURE,
255
248
  theme: EDITOR_THEME.LEGEND,
256
249
  });
257
- // NOTE: if we ever set any hotkey explicitly, we would like to use the disposer partern instead
258
- // else, we could risk triggering these hotkeys command multiple times
259
- // e.g.
260
- // const onKeyDownEventDisposer = useRef<IDisposable | undefined>(undefined);
261
- // onKeyDownEventDisposer.current?.dispose();
262
- // onKeyDownEventDisposer.current = editor.onKeyDown(() => ...)
263
- _editor.onKeyDown(() => createPassThroughOnKeyHandler());
264
250
  setEditor(_editor);
265
251
  }
266
252
  };
@@ -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,aAAa,EACb,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,iBAAiB,EACjB,YAAY,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ACH,CAAC;AACJ,CAAC,CACF,CAAC"}
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,aAAa,EACb,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,mBAAmB,CAAC;AAE3B,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,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,MAAM,mBAAmB,GAGpB,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAExC,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IACD,OAAO,CACL,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,+CAA+C,YAC3D,KAAK,CAAC,OAAO,GACV,EACL,KAAK,YAAY,WAAW,IAAI,CAC/B,cAAK,SAAS,EAAC,uDA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EAEpB,YAAY,EAAE,YAAY,EAC1B,yBAAyB,EAAE,yBAAyB,EACpD,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,IApBvB,iBAAiB,CAAC,IAAI,CAqB3B,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,6 +13,7 @@
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"/>
16
17
  import { type PureModel, type ObserverContext } from '@finos/legend-graph';
17
18
  import type { LambdaParametersState } from '../../stores/shared/LambdaParameterState.js';
18
19
  export declare const LambdaParameterValuesEditor: ((props: {
@@ -1 +1 @@
1
- {"version":3,"file":"LambdaParameterValuesEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAIzF,eAAO,MAAM,2BAA2B,WAC9B;IACN,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;;CAoFF,CAAC"}
1
+ {"version":3,"file":"LambdaParameterValuesEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaParameterValuesEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAIzF,eAAO,MAAM,2BAA2B,WAC9B;IACN,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C;;CAoFF,CAAC"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /// <reference types="react" resolution-mode="require"/>
17
+ import type { ValueSpecification, VariableExpression } from '@finos/legend-graph';
18
+ import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
19
+ export declare const VariableViewer: ((props: {
20
+ variable: VariableExpression;
21
+ isReadOnly: boolean;
22
+ constantValue?: ValueSpecification | undefined;
23
+ actions?: {
24
+ editVariable: () => void;
25
+ deleteVariable: () => void;
26
+ };
27
+ }) => JSX.Element) & {
28
+ displayName: string;
29
+ };
30
+ export declare const VariableSelector: ((props: {
31
+ queryBuilderState: QueryBuilderState;
32
+ filterBy?: (variableExpression: VariableExpression) => boolean;
33
+ }) => JSX.Element) & {
34
+ displayName: string;
35
+ };
36
+ //# sourceMappingURL=QueryBuilderVariableSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderVariableSelector.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAWH,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAQ3E,eAAO,MAAM,cAAc,WACjB;IACN,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE;QACR,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,cAAc,EAAE,MAAM,IAAI,CAAC;KAC5B,CAAC;CACH;;CA2FF,CAAC;AAEF,eAAO,MAAM,gBAAgB;uBAEN,iBAAiB;oCACJ,kBAAkB,KAAK,OAAO;;;CAyCjE,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { DollarIcon, DragPreviewLayer, InfoCircleIcon, PanelFormListItems, PencilIcon, TimesIcon, useDragPreviewLayer, } from '@finos/legend-art';
18
+ import { observer } from 'mobx-react-lite';
19
+ import { useDrag } from 'react-dnd';
20
+ import { getValueSpecificationStringValue } from '../../stores/shared/ValueSpecificationEditorHelper.js';
21
+ import { QUERY_BUILDER_VARIABLE_DND_TYPE, VariableInfoTooltip, } from './BasicValueSpecificationEditor.js';
22
+ export const VariableViewer = observer((props) => {
23
+ const { variable, constantValue, actions, isReadOnly } = props;
24
+ const valueString = constantValue
25
+ ? getValueSpecificationStringValue(constantValue)
26
+ : undefined;
27
+ const name = variable.name;
28
+ const variableType = variable.genericType?.value.rawType;
29
+ const typeName = variableType?.name;
30
+ const editVariable = () => {
31
+ actions?.editVariable();
32
+ };
33
+ const deleteVariable = () => {
34
+ actions?.deleteVariable();
35
+ };
36
+ const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
37
+ type: QUERY_BUILDER_VARIABLE_DND_TYPE,
38
+ item: { variable: variable },
39
+ }), [variable]);
40
+ useDragPreviewLayer(dragPreviewConnector);
41
+ return (_jsxs("div", { className: "query-builder__variables__variable", ref: dragConnector, children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.variable.name === '' ? '(unknown)' : item.variable.name, types: [QUERY_BUILDER_VARIABLE_DND_TYPE] }), _jsxs("div", { onClick: editVariable, className: "query-builder__variables__variable__content", children: [_jsx("div", { className: "query-builder__variables__variable__icon", children: _jsx("div", { className: "query-builder__variables__variable-icon", children: constantValue ? (_jsx("div", { className: "icon query-builder__variables__variable-icon", children: "C" })) : (_jsx(DollarIcon, {})) }) }), _jsxs("div", { className: "query-builder__variables__variable__label", children: [name, valueString ? (_jsx("div", { className: "query-builder__constants__value", children: valueString })) : (_jsx("div", { className: "query-builder__variables__variable__type", children: _jsx("div", { className: "query-builder__variables__variable__type__label", children: typeName }) }))] })] }), actions && (_jsxs("div", { className: "query-builder__variables__variable__actions", children: [_jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, disabled: isReadOnly, onClick: editVariable, title: "Edit", children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "query-builder__variables__variable__action", tabIndex: -1, onClick: deleteVariable, disabled: isReadOnly, title: "Remove", children: _jsx(TimesIcon, {}) }), _jsx(VariableInfoTooltip, { variable: variable, children: _jsx("div", { className: "value-spec-editor__variable__info", children: _jsx(InfoCircleIcon, {}) }) })] }))] }));
42
+ });
43
+ export const VariableSelector = observer((props) => {
44
+ const { queryBuilderState, filterBy } = props;
45
+ const isReadOnly = !queryBuilderState.isQuerySupported;
46
+ const filteredParameterStates = queryBuilderState.parametersState.parameterStates.filter((p) => filterBy ? filterBy(p.parameter) : true);
47
+ const filteredConstantState = queryBuilderState.constantState.constants.filter((c) => filterBy ? filterBy(c.variable) : true);
48
+ return (_jsxs(_Fragment, { children: [_jsxs(PanelFormListItems, { title: "Available parameters", children: [filteredParameterStates.length === 0 && (_jsx(_Fragment, { children: " No available parameters " })), filteredParameterStates.map((pState) => (_jsx(VariableViewer, { variable: pState.parameter, isReadOnly: isReadOnly }, pState.uuid)))] }), Boolean(filteredConstantState.length) && (_jsx(PanelFormListItems, { title: "Available constants", children: filteredConstantState.map((constantState) => (_jsx(VariableViewer, { variable: constantState.variable, constantValue: constantState.value, isReadOnly: isReadOnly }, constantState.uuid))) }))] }));
49
+ });
50
+ //# sourceMappingURL=QueryBuilderVariableSelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderVariableSelector.js","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderVariableSelector.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,uDAAuD,CAAC;AACzG,OAAO,EAEL,+BAA+B,EAC/B,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CACpC,CAAC,KAQA,EAAE,EAAE;IACH,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAC/D,MAAM,WAAW,GAAG,aAAa;QAC/B,CAAC,CAAC,gCAAgC,CAAC,aAAa,CAAC;QACjD,CAAC,CAAC,SAAS,CAAC;IACd,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;IAC3B,MAAM,YAAY,GAAG,QAAQ,CAAC,WAAW,EAAE,KAA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IACJ,OAAO,CACL,8BACE,MAAC,kBAAkB,IAAC,KAAK,EAAC,sBAAsB,aAC7C,uBAAuB,CAAC,MAAM,KAAK,CAAC,IAAI,CACvC,0DAA8B,CAC/B,EACA,uBAAuB,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACvC,KAAC,cAAc,IAEb,QAAQ,EAAE,MAAM,CAAC,SAAS,EAC1B,UAAU,EAAE,UAAU,IAFjB,MAAM,CAAC,IAAI,CAGhB,CACH,CAAC,IACiB,EACpB,OAAO,CAAC,qBAAqB,CAAC,MAAM,CAAC,IAAI,CACxC,KAAC,kBAAkB,IAAC,KAAK,EAAC,qBAAqB,YAC5C,qBAAqB,CAAC,GAAG,CAAC,CAAC,aAAa,EAAE,EAAE,CAAC,CAC5C,KAAC,cAAc,IAEb,QAAQ,EAAE,aAAa,CAAC,QAAQ,EAChC,aAAa,EAAE,aAAa,CAAC,KAAK,EAClC,UAAU,EAAE,UAAU,IAHjB,aAAa,CAAC,IAAI,CAIvB,CACH,CAAC,GACiB,CACtB,IACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,6 +13,7 @@
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"/>
16
17
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
17
18
  export declare const QueryBuilderWatermarkEditor: ((props: {
18
19
  queryBuilderState: QueryBuilderState;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAkF3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAoEjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAyF3E,eAAO,MAAM,2BAA2B,WAC9B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsDjD,CAAC"}
@@ -14,28 +14,27 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { Dialog, PanelDropZone, PanelFormBooleanField, PanelForm, PanelDivider, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormListItems, PanelFormSection, } from '@finos/legend-art';
17
+ import { Dialog, PanelDropZone, PanelFormBooleanField, PanelForm, PanelDivider, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormSection, } from '@finos/legend-art';
18
18
  import { areMultiplicitiesEqual, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { useCallback } from 'react';
21
21
  import { useDrop } from 'react-dnd';
22
- import { QUERY_BUILDER_PARAMETER_DND_TYPE, } from '../../stores/QueryBuilderParametersState.js';
23
- import { VariableExpressionViewer } from '../QueryBuilderParametersPanel.js';
24
- import { BasicValueSpecificationEditor } from '../shared/BasicValueSpecificationEditor.js';
22
+ import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
23
+ import { VariableSelector } from '../shared/QueryBuilderVariableSelector.js';
25
24
  const isParamaterCompatibleWithWaterMark = (parameter) => PrimitiveType.STRING === parameter.genericType?.value.rawType &&
26
25
  areMultiplicitiesEqual(parameter.multiplicity, Multiplicity.ONE);
27
26
  const WatermarkValueEditor = observer((props) => {
28
27
  const { watermarkValue, watermarkState } = props;
29
28
  const graph = watermarkState.queryBuilderState.graphManagerState.graph;
30
29
  const handleDrop = useCallback((item) => {
31
- watermarkState.setValue(item.variable.parameter);
30
+ watermarkState.setValue(item.variable);
32
31
  }, [watermarkState]);
33
32
  const [{ isParameterValueDragOver }, dropTargetConnector] = useDrop(() => ({
34
- accept: [QUERY_BUILDER_PARAMETER_DND_TYPE],
33
+ accept: [QUERY_BUILDER_VARIABLE_DND_TYPE],
35
34
  drop: (item, monitor) => {
36
35
  if (!monitor.didDrop() &&
37
36
  // Only allows parameters with muliplicity 1 and type string
38
- isParamaterCompatibleWithWaterMark(item.variable.parameter)) {
37
+ isParamaterCompatibleWithWaterMark(item.variable)) {
39
38
  handleDrop(item);
40
39
  } // prevent drop event propagation to accomondate for nested DnD
41
40
  },
@@ -45,13 +44,13 @@ const WatermarkValueEditor = observer((props) => {
45
44
  }),
46
45
  }),
47
46
  }), [handleDrop]);
48
- return (_jsx(PanelFormSection, { children: _jsx("div", { className: "query-builder__parameter-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification: watermarkValue, setValueSpecification: (val) => {
47
+ return (_jsx(PanelFormSection, { children: _jsx("div", { className: "query-builder__variable-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification: watermarkValue, setValueSpecification: (val) => {
49
48
  watermarkState.setValue(val);
50
49
  }, graph: graph, obseverContext: watermarkState.queryBuilderState.observableContext, typeCheckOption: {
51
50
  expectedType: PrimitiveType.STRING,
52
51
  }, resetValue: () => {
53
52
  watermarkState.resetValue();
54
- } }) }) }) }));
53
+ }, isConstant: watermarkState.queryBuilderState.constantState.isValueSpecConstant(watermarkValue) }) }) }) }));
55
54
  });
56
55
  export const QueryBuilderWatermarkEditor = observer((props) => {
57
56
  const { queryBuilderState } = props;
@@ -59,11 +58,10 @@ export const QueryBuilderWatermarkEditor = observer((props) => {
59
58
  const handleClose = () => {
60
59
  watermarkState.setIsEditingWatermark(false);
61
60
  };
62
- const compatibleParameters = queryBuilderState.parametersState.parameterStates.filter((p) => isParamaterCompatibleWithWaterMark(p.parameter));
63
61
  return (_jsx(Dialog, { open: Boolean(watermarkState.isEditingWatermark), onClose: handleClose, classes: {
64
62
  root: 'editor-modal__root-container',
65
63
  container: 'editor-modal__container',
66
64
  paper: 'editor-modal__content',
67
- }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Watermark" }), _jsx(ModalBody, { children: _jsxs(PanelForm, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: watermarkState.value !== undefined, prompt: "Enable watermark", update: () => watermarkState.enableWatermark() }), watermarkState.value && (_jsxs(_Fragment, { children: [_jsx(WatermarkValueEditor, { watermarkState: watermarkState, watermarkValue: watermarkState.value }), _jsx(PanelDivider, {}), _jsxs(PanelFormListItems, { title: "List of available parameters", children: [compatibleParameters.length === 0 && (_jsx(_Fragment, { children: " No available parameters " })), compatibleParameters.map((parameter) => (_jsx(VariableExpressionViewer, { queryBuilderState: queryBuilderState, variableExpressionState: parameter, isReadOnly: true, hideActions: true }, parameter.uuid)))] })] }))] }) }), _jsx(ModalFooter, { children: _jsx("button", { className: "btn modal__footer__close-btn", onClick: handleClose, children: "Done" }) })] }) }));
65
+ }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Watermark" }), _jsx(ModalBody, { children: _jsxs(PanelForm, { children: [_jsx(PanelFormBooleanField, { isReadOnly: false, value: watermarkState.value !== undefined, prompt: "Enable watermark", update: () => watermarkState.enableWatermark() }), watermarkState.value && (_jsxs(_Fragment, { children: [_jsx(WatermarkValueEditor, { watermarkState: watermarkState, watermarkValue: watermarkState.value }), _jsx(PanelDivider, {}), _jsx(VariableSelector, { filterBy: isParamaterCompatibleWithWaterMark, queryBuilderState: queryBuilderState })] }))] }) }), _jsx(ModalFooter, { children: _jsx("button", { className: "btn modal__footer__close-btn", onClick: handleClose, children: "Done" }) })] }) }));
68
66
  });
69
67
  //# sourceMappingURL=QueryBuilderWatermark.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWatermark.js","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,aAAa,GAGd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAEL,gCAAgC,GACjC,MAAM,6CAA6C,CAAC;AAGrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAE3F,MAAM,kCAAkC,GAAG,CACzC,SAA6B,EACpB,EAAE,CACX,aAAa,CAAC,MAAM,KAAK,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO;IAC7D,sBAAsB,CAAC,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;AAEnE,MAAM,oBAAoB,GAAG,QAAQ,CACnC,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAEjD,MAAM,KAAK,GAAG,cAAc,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC;IAEvE,MAAM,UAAU,GAAG,WAAW,CAC5B,CAAC,I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C,8BAA8B,aACrD,oBAAoB,CAAC,MAAM,KAAK,CAAC,IAAI,CACpC,0DAA8B,CAC/B,EACA,oBAAoB,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CACvC,KAAC,wBAAwB,IAEvB,iBAAiB,EAAE,iBAAiB,EACpC,uBAAuB,EAAE,SAAS,EAClC,UAAU,EAAE,IAAI,EAChB,WAAW,EAAE,IAAI,IAJZ,SAAS,CAAC,IAAI,CAKnB,CACH,CAAC,IACiB,IACpB,CACJ,IACS,GACF,EACZ,KAAC,WAAW,cACV,iBACE,SAAS,EAAC,8BAA8B,EACxC,OAAO,EAAE,WAAW,qBAGb,GACG,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderWatermark.js","sourceRoot":"","sources":["../../../src/components/watermark/QueryBuilderWatermark.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,aAAa,GAGd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,EACL,6BAA6B,EAC7B,+BAA+B,GAEhC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAE7E,MAAM,kCAAkC,GAAG,CACzC,SAA6B,EACpB,EAAE,CACX,aAAa,CAAC,MAAM,KAAK,SAAS,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO;IAC7D,sBAAsB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CAAC,eAAe,EAAE,GACpD,EACD,cAAc,CAAC,KAAK,IAAI,CACvB,8BACE,KAAC,oBAAoB,IACnB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,CAAC,KAAK,GACpC,EACF,KAAC,YAAY,KAAG,EAChB,KAAC,gBAAgB,IACf,QAAQ,EAAE,kCAAkC,EAC5C,iBAAiB,EAAE,iBAAiB,GACpC,IACD,CACJ,IACS,GACF,EACZ,KAAC,WAAW,cACV,iBACE,SAAS,EAAC,8BAA8B,EACxC,OAAO,EAAE,WAAW,qBAGb,GACG,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -15,6 +15,8 @@
15
15
  */
16
16
  export declare enum QUERY_BUILDER_HASH_STRUCTURE {
17
17
  PARAMETERS_STATE = "PARAMETERS_STATE",
18
+ CONSTANT_STATE = "CONSTANT_STATE",
19
+ CONSTANT_EXPRESSION_STATE = "CONSTANT_EXPRESSION_STATE",
18
20
  AGGREGATE_OPERATOR_AVERAGE = "AGGREGATE_OPERATOR_AVERAGE",
19
21
  AGGREGATE_OPERATOR_COUNT = "AGGREGATE_OPERATOR_COUNT",
20
22
  AGGREGATE_OPERATOR_DISTINCT = "AGGREGATE_OPERATOR_DISTINCT",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderHashUtils.d.ts","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,4BAA4B;IAEtC,gBAAgB,qBAAqB;IAGrC,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,2BAA2B,gCAAgC;IAC3D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,iBAAiB,s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A4B,iCAAiC;IAC7D,kCAAkC,uCAAuC;IACzE,kBAAkB,uBAAuB;IACzC,sBAAsB,uBAAuB;IAC7C,wBAAwB,6BAA6B;IACrD,4BAA4B,iCAAiC;IAC7D,yBAAyB,8BAA8B;IACvD,+BAA+B,oCAAoC;IACnE,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,YAAY,iBAAiB;IAG7B,iBAAiB,sBAAsB;IACvC,0BAA0B,+BAA+B;IAGzD,iBAAiB,sBAAsB;IACvC,uBAAuB,4BAA4B;IACnD,mBAAmB,wBAAwB;CAC5C"}
1
+ {"version":3,"file":"QueryBuilderHashUtils.d.ts","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,4BAA4B;IAEtC,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,yBAAyB,8BAA8B;IAGvD,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,2BAA2B,gCAAgC;IAC3D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,iBAAiB,sBAAsB;IACvC,8BAA8B,mCAAmC;IACjE,yBAAyB,8BAA8B;IACvD,kCAAkC,uCAAuC;IACzE,yBAAyB,8BAA8B;IACvD,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IAGrC,gCAAgC,qCAAqC;IACrE,qCAAqC,yCAAyC;IAC9E,0CAA0C,+CAA+C;IACzF,2BAA2B,gCAAgC;IAC3D,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;IACrE,6BAA6B,kCAAkC;IAC/D,iCAAiC,sCAAsC;IACvE,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAm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6 +17,8 @@ export var QUERY_BUILDER_HASH_STRUCTURE;
17
17
  (function (QUERY_BUILDER_HASH_STRUCTURE) {
18
18
  // parameters state
19
19
  QUERY_BUILDER_HASH_STRUCTURE["PARAMETERS_STATE"] = "PARAMETERS_STATE";
20
+ QUERY_BUILDER_HASH_STRUCTURE["CONSTANT_STATE"] = "CONSTANT_STATE";
21
+ QUERY_BUILDER_HASH_STRUCTURE["CONSTANT_EXPRESSION_STATE"] = "CONSTANT_EXPRESSION_STATE";
20
22
  // projection state
21
23
  QUERY_BUILDER_HASH_STRUCTURE["AGGREGATE_OPERATOR_AVERAGE"] = "AGGREGATE_OPERATOR_AVERAGE";
22
24
  QUERY_BUILDER_HASH_STRUCTURE["AGGREGATE_OPERATOR_COUNT"] = "AGGREGATE_OPERATOR_COUNT";
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderHashUtils.js","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4BAiGX;AAjGD,WAAY,4BAA4B;IACtC,mBAAmB;IACnB,qEAAqC,CAAA;IAErC,mBAAmB;IACnB,yFAAyD,CAAA;IACzD,qFAAqD,CAAA;IACrD,2FAA2D,CAAA;IAC3D,uGAAuE,CAAA;IACvE,iGAAiE,CAAA;IACjE,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,+GAA+E,CAAA;IAC/E,uGAAuE,CAAA;IACvE,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,uEAAuC,CAAA;IACvC,iGAAiE,CAAA;IACjE,uFAAuD,CAAA;IACvD,yGAAyE,CAAA;IACzE,uFAAuD,CAAA;IACvD,uEAAuC,CAAA;IACvC,qEAAqC,CAAA;IAErC,cAAc;IACd,qGAAqE,CAAA;IACrE,8GAA8E,CAAA;IAC9E,yHAAyF,CAAA;IACzF,2FAA2D,CAAA;IAC3D,6FAA6D,CAAA;IAC7D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AA;IACnD,2EAA2C,CAAA;AAC7C,CAAC,EAjGW,4BAA4B,GAA5B,4BAA4B,KAA5B,4BAA4B,QAiGvC"}
1
+ {"version":3,"file":"QueryBuilderHashUtils.js","sourceRoot":"","sources":["../../src/graphManager/QueryBuilderHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4BAmGX;AAnGD,WAAY,4BAA4B;IACtC,mBAAmB;IACnB,qEAAqC,CAAA;IACrC,iEAAiC,CAAA;IACjC,uFAAuD,CAAA;IAEvD,mBAAmB;IACnB,yFAAyD,CAAA;IACzD,qFAAqD,CAAA;IACrD,2FAA2D,CAAA;IAC3D,uGAAuE,CAAA;IACvE,iGAAiE,CAAA;IACjE,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,+GAA+E,CAAA;IAC/E,uGAAuE,CAAA;IACvE,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,uEAAuC,CAAA;IACvC,iGAAiE,CAAA;IACjE,uFAAuD,CAAA;IACvD,yGAAyE,CAAA;IACzE,uFAAuD,CAAA;IACvD,uEAAuC,CAAA;IACvC,qEAAqC,CAAA;IAErC,cAAc;IACd,qGAAqE,CAAA;IACrE,8GAA8E,CAAA;IAC9E,yHAAyF,CAAA;IACzF,2FAA2D,CAAA;IAC3D,6FAA6D,CAAA;IAC7D,qGAAqE,CAAA;IACrE,+FAA+D,CAAA;IAC/D,uGAAuE,CAAA;IACvE,yFAAyD,CAAA;IACzD,iGAAiE,CAAA;IACjE,uGAAuE,CAAA;IACvE,mHAAmF,CAAA;IACnF,mFAAmD,CAAA;IACnD,uFAAuD,CAAA;IACvD,+FAA+D,CAAA;IAC/D,uGAAuE,CAAA;IACvE,iGAAiE,CAAA;IACjE,6GAA6E,CAAA;IAC7E,mGAAmE,CAAA;IACnE,2GAA2E,CAAA;IAC3E,uEAAuC,CAAA;IAEvC,kBAAkB;IAClB,mEAAmC,CAAA;IAEnC,kBAAk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