@finos/legend-query-builder 4.14.35 → 4.14.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. package/lib/__lib__/QueryBuilderDocumentation.d.ts +2 -1
  2. package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderDocumentation.js +1 -0
  4. package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
  5. package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
  6. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
  7. package/lib/__lib__/QueryBuilderTesting.js +1 -0
  8. package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
  9. package/lib/components/QueryBuilder.d.ts.map +1 -1
  10. package/lib/components/QueryBuilder.js +55 -19
  11. package/lib/components/QueryBuilder.js.map +1 -1
  12. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  13. package/lib/components/QueryBuilderConstantExpressionPanel.js +30 -13
  14. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  15. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  16. package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -1
  17. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  18. package/lib/components/QueryBuilderSideBar.d.ts +0 -16
  19. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  20. package/lib/components/QueryBuilderSideBar.js +32 -104
  21. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  22. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  23. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +2 -1
  24. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  25. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  26. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +50 -5
  27. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  28. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  29. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -1
  30. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  31. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  32. package/lib/components/filter/QueryBuilderFilterPanel.js +2 -1
  33. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  34. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  35. package/lib/components/result/QueryBuilderResultPanel.js +18 -6
  36. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  37. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  38. package/lib/components/shared/BasicValueSpecificationEditor.js +62 -28
  39. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  40. package/lib/components/shared/CustomDatePicker.d.ts +1 -0
  41. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  42. package/lib/components/shared/CustomDatePicker.js +13 -9
  43. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  44. package/lib/components/shared/QueryBuilderVariableSelector.d.ts +1 -0
  45. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  46. package/lib/components/shared/QueryBuilderVariableSelector.js +2 -2
  47. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  48. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  49. package/lib/components/workflows/ClassQueryBuilder.js +19 -16
  50. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  51. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  52. package/lib/components/workflows/MappingQueryBuilder.js +18 -15
  53. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  54. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  55. package/lib/components/workflows/ServiceQueryBuilder.js +13 -10
  56. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  57. package/lib/index.css +2 -2
  58. package/lib/index.css.map +1 -1
  59. package/lib/index.d.ts +2 -1
  60. package/lib/index.d.ts.map +1 -1
  61. package/lib/index.js +1 -0
  62. package/lib/index.js.map +1 -1
  63. package/lib/package.json +1 -1
  64. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  65. package/lib/stores/QueryBuilderConstantsState.js +2 -1
  66. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  67. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +1 -1
  68. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  69. package/lib/stores/QueryBuilderPropertyEditorState.js +12 -34
  70. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  71. package/lib/stores/QueryBuilderState.d.ts +3 -0
  72. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  73. package/lib/stores/QueryBuilderState.js +15 -1
  74. package/lib/stores/QueryBuilderState.js.map +1 -1
  75. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
  76. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  77. package/lib/stores/QueryBuilderValueSpecificationHelper.js +23 -1
  78. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  79. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +29 -0
  80. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  81. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +2 -0
  82. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  83. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +2 -0
  84. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  85. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +2 -0
  86. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  87. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +6 -0
  88. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  89. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  90. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  91. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +15 -0
  92. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  93. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +3 -0
  94. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  95. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +42 -3
  96. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  97. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  98. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +6 -5
  99. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  100. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  101. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +6 -5
  102. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  103. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  104. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +8 -37
  105. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  106. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
  107. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +7 -10
  108. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
  109. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
  110. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +7 -10
  111. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
  112. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  113. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +6 -5
  114. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  115. package/lib/stores/filter/QueryBuilderFilterState.d.ts +3 -0
  116. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  117. package/lib/stores/filter/QueryBuilderFilterState.js +30 -2
  118. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  119. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  120. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +5 -4
  121. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  122. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  123. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +5 -4
  124. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  125. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  126. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +7 -35
  127. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  128. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  129. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +6 -8
  130. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  131. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  132. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +6 -8
  133. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  134. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  135. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +6 -8
  136. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  137. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  138. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +6 -8
  139. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  140. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  141. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +5 -4
  142. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  143. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts +5 -0
  144. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts.map +1 -1
  145. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js +7 -0
  146. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js.map +1 -1
  147. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -1
  148. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  149. package/lib/stores/shared/ValueSpecificationEditorHelper.js +20 -10
  150. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  151. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +0 -2
  152. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  153. package/lib/stores/watermark/QueryBuilderWatermarkState.js +0 -6
  154. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  155. package/lib/stores/workflows/MappingQueryBuilderState.d.ts +2 -2
  156. package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
  157. package/lib/stores/workflows/MappingQueryBuilderState.js +2 -1
  158. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
  159. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -2
  160. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  161. package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -1
  162. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  163. package/package.json +4 -4
  164. package/src/__lib__/QueryBuilderDocumentation.ts +1 -0
  165. package/src/__lib__/QueryBuilderTesting.ts +1 -0
  166. package/src/components/QueryBuilder.tsx +179 -54
  167. package/src/components/QueryBuilderConstantExpressionPanel.tsx +36 -14
  168. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +2 -0
  169. package/src/components/QueryBuilderSideBar.tsx +138 -339
  170. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +6 -1
  171. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +139 -1
  172. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +17 -0
  173. package/src/components/filter/QueryBuilderFilterPanel.tsx +6 -0
  174. package/src/components/result/QueryBuilderResultPanel.tsx +63 -6
  175. package/src/components/shared/BasicValueSpecificationEditor.tsx +96 -34
  176. package/src/components/shared/CustomDatePicker.tsx +18 -11
  177. package/src/components/shared/QueryBuilderVariableSelector.tsx +2 -2
  178. package/src/components/workflows/ClassQueryBuilder.tsx +79 -77
  179. package/src/components/workflows/MappingQueryBuilder.tsx +75 -76
  180. package/src/components/workflows/ServiceQueryBuilder.tsx +71 -70
  181. package/src/index.ts +2 -1
  182. package/src/stores/QueryBuilderConstantsState.ts +2 -0
  183. package/src/stores/QueryBuilderPropertyEditorState.ts +15 -53
  184. package/src/stores/QueryBuilderState.ts +23 -1
  185. package/src/stores/QueryBuilderValueSpecificationHelper.ts +32 -0
  186. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +39 -0
  187. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +4 -0
  188. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +8 -0
  189. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +32 -0
  190. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +59 -0
  191. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +5 -5
  192. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +5 -5
  193. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +10 -69
  194. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +7 -18
  195. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +7 -18
  196. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +5 -5
  197. package/src/stores/filter/QueryBuilderFilterState.ts +48 -2
  198. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +5 -5
  199. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +5 -5
  200. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +10 -71
  201. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +6 -14
  202. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +6 -14
  203. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +6 -14
  204. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +6 -14
  205. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +5 -5
  206. package/src/stores/query-workflow/QueryBuilderWorkFlowState.ts +10 -0
  207. package/src/stores/shared/ValueSpecificationEditorHelper.ts +32 -16
  208. package/src/stores/watermark/QueryBuilderWatermarkState.ts +0 -7
  209. package/src/stores/workflows/MappingQueryBuilderState.ts +7 -1
  210. package/src/stores/workflows/ServiceQueryBuilderState.ts +6 -1
  211. package/tsconfig.json +0 -1
  212. package/lib/components/watermark/QueryBuilderWatermark.d.ts +0 -22
  213. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +0 -1
  214. package/lib/components/watermark/QueryBuilderWatermark.js +0 -83
  215. package/lib/components/watermark/QueryBuilderWatermark.js.map +0 -1
  216. package/src/components/watermark/QueryBuilderWatermark.tsx +0 -218
@@ -16,6 +16,7 @@
16
16
  export declare enum QUERY_BUILDER_DOCUMENTATION_KEY {
17
17
  QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY = "question.how-to-add-parameters-to-query",
18
18
  QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY = "question.how-to-add-constants-to-query",
19
- QUESTION_HOW_TO_USE_LOCAL_GRID_MODE = "question.how-to-use-local-grid-mode"
19
+ QUESTION_HOW_TO_USE_LOCAL_GRID_MODE = "question.how-to-use-local-grid-mode",
20
+ TUTORIAL_QUERY_BUILDER = "tutorial.query.builder"
20
21
  }
21
22
  //# sourceMappingURL=QueryBuilderDocumentation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderDocumentation.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,+BAA+B;IAEzC,uCAAuC,4CAA4C;IACnF,sCAAsC,2CAA2C;IACjF,mCAAmC,wCAAwC;CAC5E"}
1
+ {"version":3,"file":"QueryBuilderDocumentation.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,+BAA+B;IAEzC,uCAAuC,4CAA4C;IACnF,sCAAsC,2CAA2C;IACjF,mCAAmC,wCAAwC;IAC3E,sBAAsB,2BAA2B;CAClD"}
@@ -19,5 +19,6 @@ export var QUERY_BUILDER_DOCUMENTATION_KEY;
19
19
  QUERY_BUILDER_DOCUMENTATION_KEY["QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY"] = "question.how-to-add-parameters-to-query";
20
20
  QUERY_BUILDER_DOCUMENTATION_KEY["QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY"] = "question.how-to-add-constants-to-query";
21
21
  QUERY_BUILDER_DOCUMENTATION_KEY["QUESTION_HOW_TO_USE_LOCAL_GRID_MODE"] = "question.how-to-use-local-grid-mode";
22
+ QUERY_BUILDER_DOCUMENTATION_KEY["TUTORIAL_QUERY_BUILDER"] = "tutorial.query.builder";
22
23
  })(QUERY_BUILDER_DOCUMENTATION_KEY || (QUERY_BUILDER_DOCUMENTATION_KEY = {}));
23
24
  //# sourceMappingURL=QueryBuilderDocumentation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderDocumentation.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,+BAKX;AALD,WAAY,+BAA+B;IACzC,YAAY;IACZ,sHAAmF,CAAA;IACnF,oHAAiF,CAAA;IACjF,8GAA2E,CAAA;AAC7E,CAAC,EALW,+BAA+B,KAA/B,+BAA+B,QAK1C"}
1
+ {"version":3,"file":"QueryBuilderDocumentation.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,+BAMX;AAND,WAAY,+BAA+B;IACzC,YAAY;IACZ,sHAAmF,CAAA;IACnF,oHAAiF,CAAA;IACjF,8GAA2E,CAAA;IAC3E,oFAAiD,CAAA;AACnD,CAAC,EANW,+BAA+B,KAA/B,+BAA+B,QAM1C"}
@@ -16,6 +16,7 @@
16
16
  export declare enum QUERY_BUILDER_TEST_ID {
17
17
  LAMBDA_EDITOR__EDITOR_INPUT = "lambda-editor__editor__input",
18
18
  QUERY_BUILDER = "query__builder",
19
+ QUERY_BUILDER_ACTIONS = "query__builder__actions",
19
20
  QUERY_BUILDER_SETUP = "query__builder__setup",
20
21
  QUERY_BUILDER_FETCH_STRUCTURE = "query__builder__fetch__structure",
21
22
  QUERY_BUILDER_TDS_PROJECTION = "query__builder__tds__projection",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,mBAAmB,0BAA0B;IAC7C,6BAA6B,qCAAqC;IAClE,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,oCAAoC,6CAA6C;IACjF,uCAAuC,gDAAgD;IACvF,wCAAwC,iDAAiD;IACzF,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAC1G,8CAA8C,qDAAqD;IAEnG,+BAA+B,uCAAuC;IACtE,2CAA2C,oDAAoD;IAC/F,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;IACpD,0BAA0B,iCAAiC;IAE3D,2BAA2B,gCAAgC;IAC3D,+BAA+B,oCAAoC;IACnE,wCAAwC,+CAA+C;IACvF,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IAEpE,mCAAmC,4CAA4C;IAC/E,mDAAmD,0DAA0D;CAC9G"}
1
+ {"version":3,"file":"QueryBuilderTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,qBAAqB;IAC/B,2BAA2B,iCAAiC;IAE5D,aAAa,mBAAmB;IAChC,qBAAqB,4BAA4B;IACjD,mBAAmB,0BAA0B;IAC7C,6BAA6B,qCAAqC;IAClE,4BAA4B,oCAAoC;IAChE,iBAAiB,wBAAwB;IACzC,mCAAmC,wCAAwC;IAC3E,yBAAyB,iCAAiC;IAE1D,0BAA0B,kCAAkC;IAC5D,yBAAyB,iCAAiC;IAC1D,oCAAoC,6CAA6C;IACjF,uCAAuC,gDAAgD;IACvF,wCAAwC,iDAAiD;IACzF,sCAAsC,+CAA+C;IACrF,gDAAgD,0DAA0D;IAC1G,8CAA8C,qDAAqD;IAEnG,+BAA+B,uCAAuC;IACtE,2CAA2C,oDAAoD;IAC/F,4BAA4B,2BAA2B;IACvD,sBAAsB,6BAA6B;IACnD,mCAAmC,4CAA4C;IAC/E,wBAAwB,8BAA8B;IACtD,uBAAuB,6BAA6B;IACpD,0BAA0B,iCAAiC;IAE3D,2BAA2B,gCAAgC;IAC3D,+BAA+B,oCAAoC;IACnE,wCAAwC,+CAA+C;IACvF,0BAA0B,kCAAkC;IAC5D,8BAA8B,sCAAsC;IAEpE,mCAAmC,4CAA4C;IAC/E,mDAAmD,0DAA0D;CAC9G"}
@@ -17,6 +17,7 @@ export var QUERY_BUILDER_TEST_ID;
17
17
  (function (QUERY_BUILDER_TEST_ID) {
18
18
  QUERY_BUILDER_TEST_ID["LAMBDA_EDITOR__EDITOR_INPUT"] = "lambda-editor__editor__input";
19
19
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER"] = "query__builder";
20
+ QUERY_BUILDER_TEST_ID["QUERY_BUILDER_ACTIONS"] = "query__builder__actions";
20
21
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_SETUP"] = "query__builder__setup";
21
22
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_FETCH_STRUCTURE"] = "query__builder__fetch__structure";
22
23
  QUERY_BUILDER_TEST_ID["QUERY_BUILDER_TDS_PROJECTION"] = "query__builder__tds__projection";
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAqCX;AArCD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,sEAA6C,CAAA;IAC7C,2FAAkE,CAAA;IAClE,yFAAgE,CAAA;IAChE,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,0GAAiF,CAAA;IACjF,gHAAuF,CAAA;IACvF,kHAAyF,CAAA;IACzF,8GAAqF,CAAA;IACrF,mIAA0G,CAAA;IAC1G,4HAAmG,CAAA;IACnG,cAAc;IACd,+FAAsE,CAAA;IACtE,wHAA+F,CAAA;IAC/F,gFAAuD,CAAA;IACvD,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,+EAAsD,CAAA;IACtD,6EAAoD,CAAA;IACpD,oFAA2D,CAAA;IAC3D,eAAe;IACf,oFAA2D,CAAA;IAC3D,4FAAmE,CAAA;IACnE,gHAAuF,CAAA;IACvF,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;IACpE,wBAAwB;IACxB,wGAA+E,CAAA;IAC/E,sIAA6G,CAAA;AAC/G,CAAC,EArCW,qBAAqB,KAArB,qBAAqB,QAqChC"}
1
+ {"version":3,"file":"QueryBuilderTesting.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,qBAsCX;AAtCD,WAAY,qBAAqB;IAC/B,qFAA4D,CAAA;IAE5D,yDAAgC,CAAA;IAChC,0EAAiD,CAAA;IACjD,sEAA6C,CAAA;IAC7C,2FAAkE,CAAA;IAClE,yFAAgE,CAAA;IAChE,kEAAyC,CAAA;IACzC,oGAA2E,CAAA;IAC3E,mFAA0D,CAAA;IAC1D,eAAe;IACf,qFAA4D,CAAA;IAC5D,mFAA0D,CAAA;IAC1D,0GAAiF,CAAA;IACjF,gHAAuF,CAAA;IACvF,kHAAyF,CAAA;IACzF,8GAAqF,CAAA;IACrF,mIAA0G,CAAA;IAC1G,4HAAmG,CAAA;IACnG,cAAc;IACd,+FAAsE,CAAA;IACtE,wHAA+F,CAAA;IAC/F,gFAAuD,CAAA;IACvD,4EAAmD,CAAA;IACnD,wGAA+E,CAAA;IAC/E,+EAAsD,CAAA;IACtD,6EAAoD,CAAA;IACpD,oFAA2D,CAAA;IAC3D,eAAe;IACf,oFAA2D,CAAA;IAC3D,4FAAmE,CAAA;IACnE,gHAAuF,CAAA;IACvF,qFAA4D,CAAA;IAC5D,6FAAoE,CAAA;IACpE,wBAAwB;IACxB,wGAA+E,CAAA;IAC/E,sIAA6G,CAAA;AAC/G,CAAC,EAtCW,qBAAqB,KAArB,qBAAqB,QAsChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,gCAAgC,CAAC;AAkLxC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA6sBjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwCH,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,gCAAgC,CAAC;AAkMxC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAyzBjD,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
- import { HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarClockIcon, ChatIcon, PanelLoadingIndicator, SerializeIcon, DataAccessIcon, AssistantIcon, clsx, } from '@finos/legend-art';
18
+ import { HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarClockIcon, ChatIcon, PanelLoadingIndicator, SerializeIcon, DataAccessIcon, AssistantIcon, clsx, DocumentationIcon, CodeIcon, } from '@finos/legend-art';
19
19
  import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
20
20
  import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
21
21
  import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
@@ -35,16 +35,16 @@ import { QueryBuilderDiffViewPanelDiaglog } from './QueryBuilderDiffPanel.js';
35
35
  import { guaranteeType } from '@finos/legend-shared';
36
36
  import { QueryBuilderGraphFetchTreeState } from '../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
37
37
  import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSPanel.js';
38
- import { QueryBuilderWatermarkEditor } from './watermark/QueryBuilderWatermark.js';
39
38
  import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpressionPanel.js';
40
39
  import { QUERY_BUILDER_SETTING_KEY } from '../__lib__/QueryBuilderSetting.js';
41
40
  import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
42
41
  import { DataAccessOverview } from './data-access/DataAccessOverview.js';
43
42
  import { QueryChat } from './QueryChat.js';
44
- import { useEffect, useRef } from 'react';
43
+ import { Fragment, useEffect, useRef } from 'react';
45
44
  import { RedoButton, UndoButton } from '@finos/legend-lego/application';
46
45
  import { FETCH_STRUCTURE_IMPLEMENTATION } from '../stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js';
47
46
  import { onChangeFetchStructureImplementation } from '../stores/fetch-structure/QueryBuilderFetchStructureState.js';
47
+ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
48
48
  const QueryBuilderPostGraphFetchPanel = observer((props) => {
49
49
  const { graphFetchState } = props;
50
50
  if (!graphFetchState.TEMPORARY__showPostFetchStructurePanel) {
@@ -60,19 +60,26 @@ const QueryBuilderStatusBar = observer((props) => {
60
60
  const compile = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.compileQuery()));
61
61
  const toggleAssistant = () => applicationStore.assistantService.toggleAssistant();
62
62
  const openQueryChat = () => queryBuilderState.setIsQueryChatOpened(true);
63
- return (_jsxs("div", { className: "query-builder__status-bar", children: [_jsx("div", { className: "query-builder__status-bar__left" }), _jsxs("div", { className: "query-builder__status-bar__right", children: [queryBuilderState.changeDetectionState.initState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__view-diff-btn'), disabled: !queryBuilderState.changeDetectionState.hasChanged, onClick: showDiff, tabIndex: -1, title: queryBuilderState.changeDetectionState.hasChanged
64
- ? 'Show changes'
65
- : 'Query has not been changed', children: _jsx(DiffIcon, {}) }), queryBuilderState.changeDetectionState.diffViewState && (_jsx(QueryBuilderDiffViewPanelDiaglog, { diffViewState: queryBuilderState.changeDetectionState.diffViewState }))] })), queryBuilderState.isQueryChatOpened && (_jsx(QueryChat, { queryBuilderState: queryBuilderState })), !queryBuilderState.config?.TEMPORARY__disableQueryBuilderChat && (_jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
63
+ return (_jsxs("div", { className: "query-builder__status-bar", children: [_jsx("div", { className: "query-builder__status-bar__left" }), _jsxs("div", { className: "query-builder__status-bar__right", children: [queryBuilderState.changeDetectionState.initState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__view-diff-btn'), disabled: !queryBuilderState.changeDetectionState.hasChanged ||
64
+ !queryBuilderState.canBuildQuery, onClick: showDiff, tabIndex: -1, title: !queryBuilderState.canBuildQuery
65
+ ? 'Please fix query errors to show changes'
66
+ : queryBuilderState.changeDetectionState.hasChanged
67
+ ? 'Show changes'
68
+ : 'Query has not been changed', children: _jsx(DiffIcon, {}) }), queryBuilderState.changeDetectionState.diffViewState && (_jsx(QueryBuilderDiffViewPanelDiaglog, { diffViewState: queryBuilderState.changeDetectionState.diffViewState }))] })), queryBuilderState.isQueryChatOpened && (_jsx(QueryChat, { queryBuilderState: queryBuilderState })), !queryBuilderState.config?.TEMPORARY__disableQueryBuilderChat && (_jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
66
69
  'query-builder__status-bar__action__toggler--toggled': queryBuilderState.isQueryChatOpened === true,
67
70
  }), onClick: openQueryChat, tabIndex: -1, title: "Open Query Chat", children: _jsx(ChatIcon, {}) })), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__compile-btn', {
68
71
  'query-builder__status-bar__compile-btn--wiggling': queryBuilderState.queryCompileState.isInProgress,
69
72
  }), disabled: queryBuilderState.queryCompileState.isInProgress, onClick: compile, tabIndex: -1, title: "Compile (F9)", children: _jsx(HammerIcon, {}) }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
70
73
  'query-builder__status-bar__action__toggler--toggled': queryBuilderState.textEditorState.mode ===
71
74
  QueryBuilderTextEditorMode.JSON,
72
- }), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.JSON), tabIndex: -1, title: "View Query Protocol", children: `{ }` }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
75
+ }), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.JSON), tabIndex: -1, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
76
+ ? 'Please fix query errors to show query protocol'
77
+ : 'Show Query Protocol', children: `{ }` }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
73
78
  'query-builder__status-bar__action__toggler--toggled': queryBuilderState.textEditorState.mode ===
74
79
  QueryBuilderTextEditorMode.TEXT,
75
- }), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.TEXT), tabIndex: -1, title: "View Query in Pure", children: _jsx(HackerIcon, {}) }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
80
+ }), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.TEXT), tabIndex: -1, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
81
+ ? 'Please fix query errors to edit in Pure'
82
+ : 'Edit Query in Pure', children: _jsx(HackerIcon, {}) }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
76
83
  'query-builder__status-bar__action__toggler--toggled': !applicationStore.assistantService.isHidden,
77
84
  }), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children: _jsx(AssistantIcon, {}) })] })] }));
78
85
  });
@@ -104,9 +111,6 @@ export const QueryBuilder = observer((props) => {
104
111
  queryBuilderState.applicationStore.settingService.persistValue(QUERY_BUILDER_SETTING_KEY.SHOW_POST_FILTER_PANEL, tdsState.showPostFilterPanel);
105
112
  }
106
113
  };
107
- const openWatermark = () => {
108
- queryBuilderState.watermarkState.setIsEditingWatermark(true);
109
- };
110
114
  const toggleEnableCalendar = () => {
111
115
  if (queryBuilderState.isCalendarEnabled) {
112
116
  queryBuilderState.applicationStore.alertService.setActionAlertInfo({
@@ -179,6 +183,9 @@ export const QueryBuilder = observer((props) => {
179
183
  const editQueryInPure = () => {
180
184
  openLambdaEditor(QueryBuilderTextEditorMode.TEXT);
181
185
  };
186
+ const showQueryInPure = () => {
187
+ openLambdaEditor(QueryBuilderTextEditorMode.TEXT);
188
+ };
182
189
  const showQueryProtocol = () => {
183
190
  openLambdaEditor(QueryBuilderTextEditorMode.JSON);
184
191
  };
@@ -213,22 +220,42 @@ export const QueryBuilder = observer((props) => {
213
220
  const redo = () => {
214
221
  queryBuilderState.changeHistoryState.redo();
215
222
  };
223
+ const queryDocEntry = applicationStore.documentationService.getDocEntry(QUERY_BUILDER_DOCUMENTATION_KEY.TUTORIAL_QUERY_BUILDER);
224
+ const openQueryTutorial = () => {
225
+ if (queryDocEntry?.url) {
226
+ applicationStore.navigationService.navigator.visitAddress(queryDocEntry.url);
227
+ }
228
+ };
216
229
  const toggleAssistant = () => applicationStore.assistantService.toggleAssistant();
230
+ const extraHelpMenuContentItems = applicationStore.pluginManager
231
+ .getApplicationPlugins()
232
+ .flatMap((plugin) => plugin.getExtraQueryBuilderHelpMenuActionConfigurations?.() ?? [])
233
+ .map((item) => (_jsxs(MenuContentItem, { title: item.title ?? '', onClick: () => item.onClick(queryBuilderState), children: [item.icon && _jsx(MenuContentItemIcon, { children: item.icon }), _jsx(MenuContentItemLabel, { children: item.label })] }, item.key)));
217
234
  const compileQuery = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.compileQuery()));
218
235
  const showDiff = () => queryBuilderState.changeDetectionState.showDiffViewPanel();
219
236
  const openQueryChat = () => queryBuilderState.setIsQueryChatOpened(true);
220
237
  useEffect(() => {
221
238
  // this condition is for passing all exisitng tests because when we initialize a queryBuilderState for a test,
222
239
  // we use an empty RawLambda with an empty class and this useEffect is called earlier than initializeWithQuery()
223
- if (queryBuilderState.isQuerySupported && queryBuilderState.class) {
240
+ if (queryBuilderState.isQuerySupported &&
241
+ queryBuilderState.class &&
242
+ queryBuilderState.canBuildQuery) {
224
243
  queryBuilderState.changeHistoryState.cacheNewQuery(queryBuilderState.buildQuery());
225
244
  }
226
245
  }, [queryBuilderState, queryBuilderState.hashCode]);
227
246
  return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", ref: queryBuilderRef, children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: clsx('query-builder__body', {
228
247
  'query-builder__body__status-bar': queryBuilderState.workflowState.showStatusBar,
229
- }), children: [_jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.resultState.exportState.isInProgress }), _jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__header", children: [_jsxs("div", { className: "query-builder__header__statuses", children: [queryBuilderState.watermarkState.value && (_jsx("button", { className: "query-builder__header__status query-builder__header__status--action", onClick: openWatermark, tabIndex: -1, title: "Used watermark", name: "Used watermark", children: _jsx(WaterDropIcon, {}) })), queryBuilderState.isCalendarEnabled && (_jsx("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsx(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsxs("div", { className: "query-builder__header__actions", children: [_jsxs("div", { className: "query-builder__header__actions__undo-redo", children: [_jsx(UndoButton, { parent: queryBuilderRef, canUndo: queryBuilderState.changeHistoryState.canUndo &&
248
+ }), children: [_jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.resultState.exportState.isInProgress }), _jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_ACTIONS, className: "query-builder__header", children: [_jsxs("div", { className: "query-builder__header__statuses", children: [queryBuilderState.isCalendarEnabled && (_jsx("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsx(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }) })), applicationStore.pluginManager
249
+ .getApplicationPlugins()
250
+ .flatMap((plugin) => plugin.getExtraQueryBuilderHeaderTitleConfigurations?.() ?? [])
251
+ .map((actionConfig) => (_jsx(Fragment, { children: actionConfig.renderer(queryBuilderState) }, actionConfig.key)))] }), _jsxs("div", { className: "query-builder__header__actions", children: [_jsxs("div", { className: "query-builder__header__actions__undo-redo", children: [_jsx(UndoButton, { parent: queryBuilderRef, canUndo: queryBuilderState.changeHistoryState.canUndo &&
230
252
  queryBuilderState.isQuerySupported, undo: undo }), _jsx(RedoButton, { parent: queryBuilderRef, canRedo: queryBuilderState.changeHistoryState.canRedo &&
231
- queryBuilderState.isQuerySupported, redo: redo })] }), _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
253
+ queryBuilderState.isQuerySupported, redo: redo })] }), applicationStore.pluginManager
254
+ .getApplicationPlugins()
255
+ .flatMap((plugin) => plugin.getExtraQueryBuilderHeaderActionConfigurations?.() ??
256
+ [])
257
+ .sort((A, B) => B.category - A.category)
258
+ .map((actionConfig) => (_jsx(Fragment, { children: actionConfig.renderer(queryBuilderState) }, actionConfig.key))), _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
232
259
  queryBuilderState.parametersState.parameterStates
233
260
  .length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Parameter(s)" })] })), _jsxs(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
234
261
  queryBuilderState.constantState.constants.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.constantState
@@ -247,23 +274,32 @@ export const QueryBuilder = observer((props) => {
247
274
  Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.fetchStructureState
248
275
  .implementation instanceof QueryBuilderTDSState &&
249
276
  queryBuilderState.fetchStructureState.implementation
250
- .showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: _jsx(WaterDropIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Watermark" })] }), _jsxs(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
277
+ .showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
251
278
  !(queryBuilderState.fetchStructureState
252
279
  .implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : (_jsx(CalendarClockIcon, {})) }), _jsx(MenuContentItemLabel, { children: "Enable Calendar" })] }), _jsxs(MenuContentItem, { onClick: toggleTypedRelation, disabled: !queryBuilderState.isQuerySupported ||
253
280
  !(queryBuilderState.fetchStructureState
254
- .implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isFetchStructureTyped ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Enable Typed TDS (BETA)" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: queryBuilderState.isQuerySupported &&
281
+ .implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isFetchStructureTyped ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Enable Typed TDS (BETA)" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: (queryBuilderState.isQuerySupported &&
255
282
  queryBuilderState.fetchStructureState
256
283
  .implementation instanceof QueryBuilderTDSState &&
257
284
  queryBuilderState.fetchStructureState.implementation
258
- .projectionColumns.length === 0, children: [_jsx(MenuContentItemIcon, { children: _jsx(DataAccessIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick: editQueryInPure, children: [_jsx(MenuContentItemIcon, { children: _jsx(HackerIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Edit Query in Pure" })] }), _jsxs(MenuContentItem, { onClick: showQueryProtocol, children: [_jsx(MenuContentItemIcon, { children: _jsx(SerializeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Query Protocol" })] }), _jsxs(MenuContentItem, { onClick: compileQuery, children: [_jsx(MenuContentItemIcon, { children: _jsx(HammerIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Compile Query (F9)" })] }), queryBuilderState.changeDetectionState.initState
285
+ .projectionColumns.length === 0) ||
286
+ !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
287
+ ? 'Please fix query errors to check entitlements'
288
+ : '', children: [_jsx(MenuContentItemIcon, { children: _jsx(DataAccessIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick: editQueryInPure, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
289
+ ? 'Please fix query errors to edit in Pure'
290
+ : undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(HackerIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Edit Query in Pure" })] }), _jsxs(MenuContentItem, { onClick: showQueryInPure, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
291
+ ? 'Please fix query errors to edit in Pure'
292
+ : undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(CodeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Query in Pure" })] }), _jsxs(MenuContentItem, { onClick: showQueryProtocol, disabled: !queryBuilderState.canBuildQuery, title: !queryBuilderState.canBuildQuery
293
+ ? 'Please fix query errors to show query protocol'
294
+ : undefined, children: [_jsx(MenuContentItemIcon, { children: _jsx(SerializeIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Query Protocol" })] }), _jsxs(MenuContentItem, { onClick: compileQuery, children: [_jsx(MenuContentItemIcon, { children: _jsx(HammerIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Compile Query (F9)" })] }), queryBuilderState.changeDetectionState.initState
259
295
  .hasCompleted && (_jsxs(MenuContentItem, { disabled: !queryBuilderState.changeDetectionState.hasChanged, onClick: showDiff, title: queryBuilderState.changeDetectionState.hasChanged
260
296
  ? 'Show changes'
261
297
  : 'Query has not been changed', children: [_jsx(MenuContentItemIcon, { children: _jsx(DiffIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Query Diff" })] })), !queryBuilderState.config
262
- ?.TEMPORARY__disableQueryBuilderChat && (_jsxs(MenuContentItem, { onClick: openQueryChat, children: [_jsx(MenuContentItemIcon, { children: _jsx(ChatIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Query Chat" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: _jsx(AssistantIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Assistant" })] })] }), menuProps: {
298
+ ?.TEMPORARY__disableQueryBuilderChat && (_jsxs(MenuContentItem, { onClick: openQueryChat, children: [_jsx(MenuContentItemIcon, { children: _jsx(ChatIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Query Chat" })] }))] }), menuProps: {
263
299
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
264
300
  transformOrigin: { vertical: 'top', horizontal: 'right' },
265
301
  elevation: 7,
266
- }, children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", children: "Advanced" }), _jsx(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" })] })] })] }), _jsx("div", { className: "query-builder__main", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 120, children: isQuerySupported ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, minSize: 300, children: _jsx(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 40, direction: 1, children: _jsx(QueryBuilderExplorerPanel, { queryBuilderState: queryBuilderState }) }), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanel, { minSize: 40, direction: queryBuilderState.showParametersPanel
302
+ }, children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", children: "Advanced" }), _jsx(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" })] }), _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", content: _jsxs(MenuContent, { children: [extraHelpMenuContentItems, queryDocEntry && (_jsxs(MenuContentItem, { onClick: openQueryTutorial, children: [_jsx(MenuContentItemIcon, { children: _jsx(DocumentationIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Open Documentation" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: !applicationStore.assistantService.isHidden ? (_jsx(CheckIcon, {})) : (_jsx(AssistantIcon, {})) }), _jsx(MenuContentItemLabel, { children: "Show Virtual Assistant" })] })] }), children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", title: "See more options", children: "Help..." }), _jsx(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" })] })] })] }), _jsx("div", { className: "query-builder__main", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 120, children: isQuerySupported ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, minSize: 300, children: _jsx(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 40, direction: 1, children: _jsx(QueryBuilderExplorerPanel, { queryBuilderState: queryBuilderState }) }), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanel, { minSize: 40, direction: queryBuilderState.showParametersPanel
267
303
  ? [1, -1]
268
304
  : -1, children: _jsx(QueryBuilderFunctionsExplorerPanel, { queryBuilderState: queryBuilderState }) })), queryBuilderState.showParametersPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showParametersPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderParametersPanel, { queryBuilderState: queryBuilderState }) })), queryBuilderState.constantState
269
305
  .showConstantPanel && _jsx(ResizablePanelSplitter, {}), queryBuilderState.constantState
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,gCAAgC,GAEjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CA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C,CACF,KAAC,iBAAiB,uDAEE,CACrB,GACG,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,WAAW,GAChB,GACU,IACR,GACD,CACV,IACG,EACL,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAC/C,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,IAAI,EACJ,iBAAiB,EACjB,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EACL,gCAAgC,GAE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,KAAC,WAAW,IAAC,KAAK,EAAC,oBAAoB,GAAG,EAC1C,KAAC,SAAS,IAAC,SAAS,EAAC,qCAAqC,YACxD,cAAK,SAAS,EAAC,gDAAgD,YAC5D,iBAAiB,CAAC,sBAAsB;6CACtC,eAAe,CAAC,CAAC,CAAC,CACnB,KAAC,kBAAkB,IACjB,eAAe,EACb,iBAAiB,CAAC,sBAAsB;iDACrC,eAAe,GAEpB,CACH,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,uDAEE,CACrB,GACG,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,WAAW,GAChB,GACU,IACR,GACD,CACV,IACG,EACL,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAC/C,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAmWxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA2IjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAuXxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA4IjD,CAAC"}
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
16
16
  */
17
17
  import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
18
18
  import { BlankPanelPlaceholder, clsx, CustomSelectorInput, Dialog, InfoCircleIcon, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelFormSection, PanelFormValidatedTextField, PlusIcon, } from '@finos/legend-art';
19
- import { PrimitiveType, VariableExpression, Multiplicity, isValidIdentifier, } from '@finos/legend-graph';
19
+ import { PrimitiveType, VariableExpression, Multiplicity, isValidIdentifier, InstanceValue, } from '@finos/legend-graph';
20
20
  import { deepClone } from '@finos/legend-shared';
21
21
  import { observer } from 'mobx-react-lite';
22
22
  import { QueryBuilderSimpleConstantExpressionState, QueryBuilderCalculatedConstantExpressionState, cloneQueryBuilderConstantLambdaEditorState, } from '../stores/QueryBuilderConstantsState.js';
@@ -29,6 +29,7 @@ import { variableExpression_setName } from '../stores/shared/ValueSpecificationM
29
29
  import { LambdaEditor } from './shared/LambdaEditor.js';
30
30
  import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
31
31
  import { flowResult } from 'mobx';
32
+ import { isValidInstanceValue } from '../stores/QueryBuilderValueSpecificationHelper.js';
32
33
  const getConstantNameValidationMessage = (constantInput, allVariableNames, currentConstantName) => !constantInput
33
34
  ? `Constant name can't be empty`
34
35
  : isValidIdentifier(constantInput) === false
@@ -53,33 +54,47 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
53
54
  const [selectedName, setSelectedName] = useState(stateName);
54
55
  const [isNameValid, setIsNameValid] = useState(true);
55
56
  const [hasEditedName, setHasEditedName] = useState(false);
56
- const [nameInputRef, setNameInputRef] = useState(null);
57
57
  const handleNameInputRef = useCallback((ref) => {
58
58
  ref?.focus();
59
- setNameInputRef(ref);
60
59
  }, []);
61
60
  // Value
62
61
  const stateValue = constantState.value;
63
62
  const [selectedValue, setSelectedValue] = useState(deepClone(stateValue));
63
+ const [shouldFocusOnValue, setShouldFocusOnValue] = useState(!isCreating);
64
+ const handleValueInputRef = useCallback((ref) => {
65
+ if (shouldFocusOnValue) {
66
+ ref?.focus();
67
+ setShouldFocusOnValue(false);
68
+ }
69
+ }, [shouldFocusOnValue]);
64
70
  // Type
65
71
  const stateType = constantState.value.genericType?.value.rawType ?? PrimitiveType.STRING;
66
72
  const [selectedType, setSelectedType] = useState(buildElementOption(stateType));
67
73
  const changeType = (val) => {
68
74
  if (val.value !== selectedType.value) {
69
75
  setSelectedType(val);
70
- const newValSpec = buildDefaultInstanceValue(queryBuilderState.graphManagerState.graph, val.value, queryBuilderState.observerContext);
76
+ const newValSpec = buildDefaultInstanceValue(queryBuilderState.graphManagerState.graph, val.value, queryBuilderState.observerContext, queryBuilderState.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
71
77
  setSelectedValue(newValSpec);
72
78
  }
79
+ setShouldFocusOnValue(true);
73
80
  };
81
+ // Disabling binary, strict time, latest date, and byte as we
82
+ // don't support these constant types
83
+ const supportedPrimitiveTypes = [
84
+ PrimitiveType.STRING,
85
+ PrimitiveType.BOOLEAN,
86
+ PrimitiveType.NUMBER,
87
+ PrimitiveType.INTEGER,
88
+ PrimitiveType.FLOAT,
89
+ PrimitiveType.DECIMAL,
90
+ PrimitiveType.DATE,
91
+ PrimitiveType.STRICTDATE,
92
+ PrimitiveType.DATETIME,
93
+ ];
74
94
  const typeOptions = queryBuilderState.graphManagerState.graph.primitiveTypes
95
+ .filter((type) => supportedPrimitiveTypes.includes(type))
75
96
  .map(buildElementOption)
76
97
  .concat(queryBuilderState.graphManagerState.graph.enumerations.map(buildElementOption));
77
- const handleValueInputRef = (ref) => {
78
- if ((!isCreating || hasEditedName) &&
79
- document.activeElement !== nameInputRef) {
80
- ref?.focus();
81
- }
82
- };
83
98
  // Modal lifecycle actions
84
99
  const handleCancel = () => {
85
100
  variableState.setSelectedConstant(undefined);
@@ -94,7 +109,7 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
94
109
  handleCancel();
95
110
  };
96
111
  const resetConstantValue = () => {
97
- const valSpec = buildDefaultInstanceValue(queryBuilderState.graphManagerState.graph, selectedType.value, queryBuilderState.observerContext);
112
+ const valSpec = buildDefaultInstanceValue(queryBuilderState.graphManagerState.graph, selectedType.value, queryBuilderState.observerContext, queryBuilderState.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
98
113
  setSelectedValue(valSpec);
99
114
  };
100
115
  return (_jsx(Dialog, { open: Boolean(constantState), onClose: handleCancel, classes: {
@@ -115,7 +130,9 @@ const QueryBuilderSimpleConstantExpressionEditor = observer((props) => {
115
130
  }, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, typeCheckOption: {
116
131
  expectedType: selectedType.value,
117
132
  match: selectedType.value === PrimitiveType.DATETIME,
118
- }, resetValue: resetConstantValue, ref: handleValueInputRef }) })] })] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isCreating ? 'Create' : 'Apply', disabled: !isNameValid, onClick: handleApply }), _jsx(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" })] })] }) }));
133
+ }, resetValue: resetConstantValue, ref: handleValueInputRef }) })] })] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { text: isCreating ? 'Create' : 'Apply', disabled: !isNameValid ||
134
+ (selectedValue instanceof InstanceValue &&
135
+ !isValidInstanceValue(selectedValue)), onClick: handleApply }), _jsx(ModalFooterButton, { text: "Cancel", onClick: handleCancel, type: "secondary" })] })] }) }));
119
136
  });
120
137
  const QuerryBuilderCalculatedConstantExpressionEditor = observer((props) => {
121
138
  // Read current state
@@ -163,7 +180,7 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
163
180
  const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(QUERY_BUILDER_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY);
164
181
  const addConstant = () => {
165
182
  if (!isReadOnly) {
166
- const defaultVal = buildDefaultInstanceValue(graph, PrimitiveType.STRING, queryBuilderState.observerContext);
183
+ const defaultVal = buildDefaultInstanceValue(graph, PrimitiveType.STRING, queryBuilderState.observerContext, queryBuilderState.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
167
184
  const variableEx = new VariableExpression('', Multiplicity.ONE);
168
185
  variableEx.genericType = defaultVal.genericType;
169
186
  const constState = new QueryBuilderSimpleConstantExpressionState(queryBuilderState, variableEx, defaultVal);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,2BAA2B,EAC3B,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAEL,yCAAyC,EACzC,6CAA6C,EAC7C,0CAA0C,GAC3C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,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D,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC5D,KAAC,cAAc,IAEb,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,UAAU,CAAC,QAAQ,EAC7B,KAAK,EAAE;oCACL,GAAG,EACD,UAAU;wCACV,yCAAyC;wCACvC,CAAC,CAAC,UAAU,CAAC,KAAK;wCAClB,CAAC,CAAC,SAAS;iCAChB,EACD,OAAO,EAAE;oCACP,YAAY,EAAE,GAAG,EAAE,CACjB,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC;oCAC/C,cAAc,EAAE,GAAG,EAAE,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,uBAAuB,EAAE,mBAAmB,CAAC,UAAU,CAAC,EACxD,UAAU,EAAE,UAAU,IAjBjB,UAAU,CAAC,IAAI,CAkBpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,IACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,IAAI,EACJ,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,S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C;4BACjD,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC5D,KAAC,cAAc,IAEb,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,UAAU,CAAC,QAAQ,EAC7B,KAAK,EAAE;oCACL,GAAG,EACD,UAAU;wCACV,yCAAyC;wCACvC,CAAC,CAAC,UAAU,CAAC,KAAK;wCAClB,CAAC,CAAC,SAAS;iCAChB,EACD,OAAO,EAAE;oCACP,YAAY,EAAE,GAAG,EAAE,CACjB,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC;oCAC/C,cAAc,EAAE,GAAG,EAAE,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,uBAAuB,EAAE,mBAAmB,CAAC,UAAU,CAAC,EACxD,UAAU,EAAE,UAAU,IAjBjB,UAAU,CAAC,IAAI,CAkBpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB;gBAC7B,mBAAmB,CAAC,aAAa,CAAC,gBAAgB,CAAC,IACjD,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertyExpressionEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuBH,OAAO,EAIL,KAAK,mCAAmC,EACzC,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EAGL,KAAK,wCAAwC,EAC9C,MAAM,iDAAiD,CAAC;AAoQzD,eAAO,MAAM,oCAAoC,WACvC;IAAE,uBAAuB,EAAE,mCAAmC,CAAA;CAAE;;CAuEzE,CAAC;AAEF,eAAO,MAAM,gCAAgC,WACnC;IACN,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3D,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;CAC3B;;CAqEF,CAAC;AAEF,eAAO,MAAM,mCAAmC,WACtC;IACN,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uBAAuB,EAAE,mCAAmC,CAAC;IAC7D,0BAA0B,EAAE,CAC1B,IAAI,EAAE,wCAAwC,KAC3C,IAAI,CAAC;IACV,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;;CAwGF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPropertyExpressionEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuBH,OAAO,EAIL,KAAK,mCAAmC,EACzC,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EAGL,KAAK,wCAAwC,EAC9C,MAAM,iDAAiD,CAAC;AAsQzD,eAAO,MAAM,oCAAoC,WACvC;IAAE,uBAAuB,EAAE,mCAAmC,CAAA;CAAE;;CAuEzE,CAAC;AAEF,eAAO,MAAM,gCAAgC,WACnC;IACN,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3D,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;CAC3B;;CAqEF,CAAC;AAEF,eAAO,MAAM,mCAAmC,WACtC;IACN,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uBAAuB,EAAE,mCAAmC,CAAC;IAC7D,0BAA0B,EAAE,CAC1B,IAAI,EAAE,wCAAwC,KAC3C,IAAI,CAAC;IACV,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;;CAwGF,CAAC"}
@@ -94,7 +94,8 @@ const DerivedPropertyParameterValueEditor = observer((props) => {
94
94
  const resetParameterValue = () => {
95
95
  functionExpression_setParameterValue(derivedPropertyExpressionState.propertyExpression, generateMilestonedPropertyParameterValue(derivedPropertyExpressionState, idx) ??
96
96
  generateValueSpecificationForParameter(variable, derivedPropertyExpressionState.queryBuilderState.graphManagerState
97
- .graph, derivedPropertyExpressionState.queryBuilderState.observerContext), idx + 1, derivedPropertyExpressionState.queryBuilderState.observerContext);
97
+ .graph, derivedPropertyExpressionState.queryBuilderState
98
+ .INTERNAL__enableInitializingDefaultSimpleExpressionValue, derivedPropertyExpressionState.queryBuilderState.observerContext), idx + 1, derivedPropertyExpressionState.queryBuilderState.observerContext);
98
99
  const derivedPropertyExpressionStates = derivedPropertyExpressionState.propertyExpressionState
99
100
  .derivedPropertyExpressionStates;
100
101
  const currentDerivedPropertyStateindex = derivedPropertyExpressionStates.indexOf(derivedPropertyExpressionState);