@finos/legend-query-builder 4.14.35 → 4.14.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
  2. package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderTesting.js +1 -0
  4. package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
  5. package/lib/components/QueryBuilder.d.ts.map +1 -1
  6. package/lib/components/QueryBuilder.js +37 -17
  7. package/lib/components/QueryBuilder.js.map +1 -1
  8. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  9. package/lib/components/QueryBuilderConstantExpressionPanel.js +30 -13
  10. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  11. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  12. package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -1
  13. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  14. package/lib/components/QueryBuilderSideBar.d.ts +0 -16
  15. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  16. package/lib/components/QueryBuilderSideBar.js +32 -104
  17. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  18. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  19. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +2 -1
  20. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  21. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  22. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +50 -5
  23. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  24. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  25. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -1
  26. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  27. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
  28. package/lib/components/filter/QueryBuilderFilterPanel.js +2 -1
  29. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  30. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  31. package/lib/components/shared/BasicValueSpecificationEditor.js +62 -28
  32. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  33. package/lib/components/shared/CustomDatePicker.d.ts +1 -0
  34. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  35. package/lib/components/shared/CustomDatePicker.js +13 -9
  36. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  37. package/lib/components/shared/QueryBuilderVariableSelector.d.ts +1 -0
  38. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  39. package/lib/components/shared/QueryBuilderVariableSelector.js +2 -2
  40. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  41. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  42. package/lib/components/workflows/ClassQueryBuilder.js +19 -16
  43. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  44. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  45. package/lib/components/workflows/MappingQueryBuilder.js +18 -15
  46. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  47. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  48. package/lib/components/workflows/ServiceQueryBuilder.js +13 -10
  49. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  50. package/lib/index.css +2 -2
  51. package/lib/index.css.map +1 -1
  52. package/lib/index.d.ts +2 -1
  53. package/lib/index.d.ts.map +1 -1
  54. package/lib/index.js +1 -0
  55. package/lib/index.js.map +1 -1
  56. package/lib/package.json +1 -1
  57. package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
  58. package/lib/stores/QueryBuilderConstantsState.js +2 -1
  59. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  60. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +1 -1
  61. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  62. package/lib/stores/QueryBuilderPropertyEditorState.js +12 -34
  63. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  64. package/lib/stores/QueryBuilderState.d.ts +3 -0
  65. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  66. package/lib/stores/QueryBuilderState.js +15 -1
  67. package/lib/stores/QueryBuilderState.js.map +1 -1
  68. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
  69. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  70. package/lib/stores/QueryBuilderValueSpecificationHelper.js +23 -1
  71. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  72. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +13 -0
  73. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  74. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +2 -0
  75. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  76. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +2 -0
  77. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  78. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +2 -0
  79. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  80. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +6 -0
  81. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  82. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
  83. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  84. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +15 -0
  85. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  86. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +3 -0
  87. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  88. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +42 -3
  89. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  90. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
  91. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +6 -5
  92. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  93. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
  94. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +6 -5
  95. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  96. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
  97. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +8 -37
  98. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  99. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
  100. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +7 -10
  101. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
  102. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
  103. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +7 -10
  104. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
  105. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
  106. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +6 -5
  107. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  108. package/lib/stores/filter/QueryBuilderFilterState.d.ts +3 -0
  109. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  110. package/lib/stores/filter/QueryBuilderFilterState.js +30 -2
  111. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  112. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
  113. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +5 -4
  114. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  115. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
  116. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +5 -4
  117. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  118. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
  119. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +7 -35
  120. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  121. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
  122. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +6 -8
  123. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  124. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
  125. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +6 -8
  126. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  127. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
  128. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +6 -8
  129. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  130. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
  131. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +6 -8
  132. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  133. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
  134. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +5 -4
  135. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  136. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts +5 -0
  137. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts.map +1 -1
  138. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js +7 -0
  139. package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js.map +1 -1
  140. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -1
  141. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  142. package/lib/stores/shared/ValueSpecificationEditorHelper.js +20 -10
  143. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  144. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +0 -2
  145. package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
  146. package/lib/stores/watermark/QueryBuilderWatermarkState.js +0 -6
  147. package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
  148. package/lib/stores/workflows/MappingQueryBuilderState.d.ts +2 -2
  149. package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
  150. package/lib/stores/workflows/MappingQueryBuilderState.js +2 -1
  151. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
  152. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -2
  153. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  154. package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -1
  155. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  156. package/package.json +4 -4
  157. package/src/__lib__/QueryBuilderTesting.ts +1 -0
  158. package/src/components/QueryBuilder.tsx +89 -46
  159. package/src/components/QueryBuilderConstantExpressionPanel.tsx +36 -14
  160. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +2 -0
  161. package/src/components/QueryBuilderSideBar.tsx +138 -339
  162. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +6 -1
  163. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +139 -1
  164. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +17 -0
  165. package/src/components/filter/QueryBuilderFilterPanel.tsx +6 -0
  166. package/src/components/shared/BasicValueSpecificationEditor.tsx +96 -34
  167. package/src/components/shared/CustomDatePicker.tsx +18 -11
  168. package/src/components/shared/QueryBuilderVariableSelector.tsx +2 -2
  169. package/src/components/workflows/ClassQueryBuilder.tsx +79 -77
  170. package/src/components/workflows/MappingQueryBuilder.tsx +75 -76
  171. package/src/components/workflows/ServiceQueryBuilder.tsx +71 -70
  172. package/src/index.ts +2 -1
  173. package/src/stores/QueryBuilderConstantsState.ts +2 -0
  174. package/src/stores/QueryBuilderPropertyEditorState.ts +15 -53
  175. package/src/stores/QueryBuilderState.ts +23 -1
  176. package/src/stores/QueryBuilderValueSpecificationHelper.ts +32 -0
  177. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +18 -0
  178. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +4 -0
  179. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +8 -0
  180. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +32 -0
  181. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +59 -0
  182. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +5 -5
  183. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +5 -5
  184. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +10 -69
  185. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +7 -18
  186. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +7 -18
  187. package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +5 -5
  188. package/src/stores/filter/QueryBuilderFilterState.ts +48 -2
  189. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +5 -5
  190. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +5 -5
  191. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +10 -71
  192. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +6 -14
  193. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +6 -14
  194. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +6 -14
  195. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +6 -14
  196. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +5 -5
  197. package/src/stores/query-workflow/QueryBuilderWorkFlowState.ts +10 -0
  198. package/src/stores/shared/ValueSpecificationEditorHelper.ts +32 -16
  199. package/src/stores/watermark/QueryBuilderWatermarkState.ts +0 -7
  200. package/src/stores/workflows/MappingQueryBuilderState.ts +7 -1
  201. package/src/stores/workflows/ServiceQueryBuilderState.ts +6 -1
  202. package/tsconfig.json +0 -1
  203. package/lib/components/watermark/QueryBuilderWatermark.d.ts +0 -22
  204. package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +0 -1
  205. package/lib/components/watermark/QueryBuilderWatermark.js +0 -83
  206. package/lib/components/watermark/QueryBuilderWatermark.js.map +0 -1
  207. package/src/components/watermark/QueryBuilderWatermark.tsx +0 -218
@@ -37,6 +37,7 @@ import { getPropertyChainName, getPropertyPath, } from '../../stores/QueryBuilde
37
37
  import { generateDefaultValueForPrimitiveType } from '../../stores/QueryBuilderValueSpecificationHelper.js';
38
38
  import { QUERY_BUILDER_CALENDAR_TYPE } from '../../graph-manager/QueryBuilderConst.js';
39
39
  import { QueryBuilderDerivationInfoTooltip, QueryBuilderPropertyInfoTooltip, } from '../shared/QueryBuilderPropertyInfoTooltip.js';
40
+ import { getNameOfValueSpecification } from '../shared/QueryBuilderVariableSelector.js';
40
41
  const QueryBuilderProjectionColumnContextMenu = observer(forwardRef(function QueryBuilderProjectionColumnContextMenu(props, ref) {
41
42
  const { projectionColumnState } = props;
42
43
  const removeColumn = () => projectionColumnState.tdsState.removeColumn(projectionColumnState);
@@ -437,7 +438,7 @@ export const QueryBuilderTDSPanel = observer((props) => {
437
438
  }, [applicationStore, tdsState]);
438
439
  const addProjectionRef = useRef(null);
439
440
  dropTargetConnector(addProjectionRef);
440
- return (_jsxs(PanelContent, { children: [_jsxs("div", { className: "query-builder__projection__toolbar", children: [_jsxs("div", { className: "query-builder__projection__result-modifier-prompt", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT, children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__header", children: _jsxs("button", { className: "query-builder__projection__result-modifier-prompt__header__label", onClick: openResultSetModifierEditor, title: "Configure result set modifiers...", children: [_jsx(CogIcon, { className: "query-builder__projection__result-modifier-prompt__header__label__icon" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: "Query Options" })] }) }), tdsState.resultSetModifierState.limit && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Max Rows" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: tdsState.resultSetModifierState.limit })] })), tdsState.resultSetModifierState.distinct && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Eliminate Duplicate Rows" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: "Yes" })] })), tdsState.resultSetModifierState.sortColumns.length > 0 && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Sort" }), tdsState.resultSetModifierState.sortColumns.map((columnState) => (_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: `${columnState.columnState.columnName} ${columnState.sortType}` }, columnState.columnState.uuid)))] })), tdsState.resultSetModifierState.slice && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Slice" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: `${tdsState.resultSetModifierState.slice[0]},${tdsState.resultSetModifierState.slice[1]}` })] }))] }), _jsxs("div", { className: "query-builder__projection__toolbar__actions", children: [_jsx("button", { className: "panel__header__action", disabled: isEmpty, onClick: clearAllProjectionColumns, tabIndex: -1, title: isEmpty
441
+ return (_jsxs(PanelContent, { children: [_jsxs("div", { className: "query-builder__projection__toolbar", children: [_jsxs("div", { className: "query-builder__projection__result-modifier-prompt", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_RESULT_MODIFIER_PROMPT, children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__header", children: _jsxs("button", { className: "query-builder__projection__result-modifier-prompt__header__label", onClick: openResultSetModifierEditor, title: "Configure result set modifiers...", children: [_jsx(CogIcon, { className: "query-builder__projection__result-modifier-prompt__header__label__icon" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__header__label__title", children: "Query Options" })] }) }), tdsState.resultSetModifierState.limit && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Max Rows" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: tdsState.resultSetModifierState.limit })] })), tdsState.resultSetModifierState.distinct && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Eliminate Duplicate Rows" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: "Yes" })] })), tdsState.resultSetModifierState.sortColumns.length > 0 && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Sort" }), tdsState.resultSetModifierState.sortColumns.map((columnState) => (_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: `${columnState.columnState.columnName} ${columnState.sortType}` }, columnState.columnState.uuid)))] })), tdsState.resultSetModifierState.slice && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Slice" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: `${tdsState.resultSetModifierState.slice[0]},${tdsState.resultSetModifierState.slice[1]}` })] })), tdsState.queryBuilderState.watermarkState.value && (_jsxs("div", { className: "query-builder__projection__result-modifier-prompt__group", children: [_jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__label", children: "Watermark" }), _jsx("div", { className: "query-builder__projection__result-modifier-prompt__group__content", onClick: openResultSetModifierEditor, children: getNameOfValueSpecification(tdsState.queryBuilderState.watermarkState.value, tdsState.queryBuilderState) })] }))] }), _jsxs("div", { className: "query-builder__projection__toolbar__actions", children: [_jsx("button", { className: "panel__header__action", disabled: isEmpty, onClick: clearAllProjectionColumns, tabIndex: -1, title: isEmpty
441
442
  ? 'No projection columns to clear'
442
443
  : 'Clear all projection columns', children: _jsx(TrashIcon, { className: "query-builder__icon query-builder__icon__query-option--small" }) }), _jsx("button", { className: "panel__header__action", onClick: addNewBlankDerivation, tabIndex: -1, title: "Add a new derivation", children: _jsx(PlusIcon, {}) })] })] }), _jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS_PROJECTION, className: "query-builder__projection__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver && isEmpty, isDroppable: isDroppable && isEmpty, dropTargetConnector: dropTargetConnector, children: [!projectionColumns.length && (_jsx(BlankPanelPlaceholder, { text: "Add a projection column", tooltipText: "Drag and drop properties here" })), Boolean(projectionColumns.length) && (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_TDS, className: "query-builder__projection__columns", children: _jsxs("div", { ref: rearrangeColumnDropConnector, children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.columnState.columnName === ''
443
444
  ? '(unknown)'
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,YAAY,EACZ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QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,YAAY,EACZ,OAAO,EACP,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAEL,OAAO,EACP,OAAO,EACP,YAAY,GACb,MAAM,WAAW,CAAC;AACnB,OAAO,EAGL,2CAA2C,EAC3C,uCAAuC,EACvC,wCAAwC,GACzC,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EACL,gCAAgC,EAChC,mCAAmC,GACpC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,0BAA0B,EAC1B,WAAW,EAC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AI,CAAC,WAAW,CAAC,UAAU,KAAK,EAAE;4CAChC,CAAC,CAAC,WAAW;4CACb,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,UAAU,EAEjC,KAAK,EAAE,CAAC,wCAAwC,CAAC,GACjD,EACD,iBAAiB,CAAC,GAAG,CAAC,CAAC,qBAAqB,EAAE,SAAS,EAAE,EAAE,CAAC,CAC3D,KAAC,kCAAkC,IAEjC,qBAAqB,EAAE,qBAAqB,EAC5C,iBAAiB,EAAE,iBAAiB,EACpC,kCAAkC,EAChC,kCAAkC,EAEpC,4BAA4B,EAC1B,4BAA4B,EAE9B,qCAAqC,EACnC,qCAAqC,EAEvC,+BAA+B,EAC7B,+BAA+B,EAEjC,SAAS,EAAE,SAAS,IAff,qBAAqB,CAAC,IAAI,CAgB/B,CACH,CAAC,IACE,GACF,CACP,EACA,WAAW,IAAI,CAAC,OAAO,IAAI,CAC1B,cACE,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAC,sDAAsD,YAEhE,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAC,yBAAyB,YAE/B,mBAAK,GACyB,GAC5B,CACP,EACD,KAAC,wBAAwB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IAClC,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgCH,OAAO,EAGL,KAAK,8BAA8B,EACnC,6BAA6B,EAE7B,uCAAuC,EAGvC,oCAAoC,EAEpC,KAAK,uBAAuB,EAC7B,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAIL,oCAAoC,EACrC,MAAM,oDAAoD,CAAC;AAK5D,OAAO,KAAK,EAAE,iB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,iBAAiB,CAAA;CAAE;;CA2RjD,CAAC"}
@@ -33,6 +33,7 @@ import { QueryBuilderTelemetryHelper } from '../../__lib__/QueryBuilderTelemetry
33
33
  import { getPropertyChainName } from '../../stores/QueryBuilderPropertyEditorState.js';
34
34
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
35
35
  import { buildPropertyExpressionChain } from '../../stores/QueryBuilderValueSpecificationBuilderHelper.js';
36
+ import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIssueCountBadge.js';
36
37
  const isCollectionProperty = (propertyExpression) => {
37
38
  let currentExpression = propertyExpression;
38
39
  while (currentExpression instanceof AbstractPropertyExpression) {
@@ -688,7 +689,7 @@ export const QueryBuilderFilterPanel = observer((props) => {
688
689
  }), [handleDrop]);
689
690
  const addFilterRef = useRef(null);
690
691
  dropTargetConnector(addFilterRef);
691
- return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_PANEL, className: "panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "filter" }) }), _jsx("div", { className: "panel__header__actions", children: _jsx(DropdownMenu, { className: "panel__header__action", title: "Show Filter Options Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: createCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(PlusIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Condition" })] }), _jsxs(MenuContentItem, { disabled: !(filterState.selectedNode instanceof
692
+ return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_PANEL, className: "panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "filter" }), filterState.allValidationIssues.length !== 0 && (_jsx(QueryBuilderPanelIssueCountBadge, { issues: filterState.allValidationIssues }))] }), _jsx("div", { className: "panel__header__actions", children: _jsx(DropdownMenu, { className: "panel__header__action", title: "Show Filter Options Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: createCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(PlusIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Condition" })] }), _jsxs(MenuContentItem, { disabled: !(filterState.selectedNode instanceof
692
693
  QueryBuilderFilterTreeConditionNodeData), onClick: newGroupWithCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(PlusCircleIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Group From Condition" })] }), _jsxs(MenuContentItem, { disabled: !allowGroupCreation, title: !allowGroupCreation
693
694
  ? 'Please select a filter node first to create logical group'
694
695
  : '', onClick: createGroupCondition, children: [_jsx(MenuContentItemIcon, { children: _jsx(NewFolderIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Create Logical Group" })] }), _jsxs(MenuContentItem, { onClick: pruneTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(TrashIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Cleanup Tree" })] }), _jsxs(MenuContentItem, { onClick: simplifyTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(CircleIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Simplify Tree" })] }), _jsxs(MenuContentItem, { onClick: collapseTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(CompressIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Collapse Tree" })] }), _jsxs(MenuContentItem, { onClick: expandTree, children: [_jsx(MenuContentItemIcon, { children: _jsx(ExpandIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Expand Tree" })] })] }), children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) }) })] }), _jsx(PanelContent, { children: _jsxs(PanelDropZone, { isDragOver: isDragOver && filterState.isEmpty, isDroppable: isDroppable && filterState.isEmpty, dropTargetConnector: dropTargetConnector, children: [filterState.isEmpty && (_jsx(BlankPanelPlaceholder, { text: "Add a filter condition", tooltipText: "Drag and drop properties here" })), !filterState.isEmpty && (_jsxs(_Fragment, { children: [_jsx(DragPreviewLayer, { labelGetter: (item) => item.node.dragPreviewLabel, types: Object.values(QUERY_BUILDER_FILTER_DND_TYPE) }), _jsx(QueryBuilderFilterTree, { queryBuilderState: queryBuilderState })] })), isDroppable && !filterState.isEmpty && (_jsx("div", { ref: addFilterRef, className: "query-builder-filter-tree__free-drop-zone__container", children: _jsx(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, isDroppable: isDroppable, className: "query-builder-filter-tree__free-drop-zone", label: "Add filter to main group", children: _jsx(_Fragment, {}) }) }))] }) })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,EACb,QAAQ,EACR,cAAc,EACd,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,6BAA6B,EAC7B,oBAAoB,EACpB,uCAAuC,EACvC,4CAA4C,EAC5C,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,GAExC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MA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,GACyB,GAC5B,CACP,IACa,GACH,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderFilterPanel.js","sourceRoot":"","sources":["../../../src/components/filter/QueryBuilderFilterPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,YAAY,EACZ,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,aAAa,EACb,QAAQ,EACR,cAAc,EACd,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7B,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAIL,6BAA6B,EAC7B,oBAAoB,EACpB,uCAAuC,EACvC,4CAA4C,EAC5C,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,GAExC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EAGL,+CAA+C,EAC/C,oCAAoC,GACrC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,mCAAmC,EACnC,oCAAoC,GACrC,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,+BAA+B,EAC/B,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC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AAmB,cAClB,KAAC,YAAY,KAAG,GACI,EACtB,KAAC,oBAAoB,gCAAqC,IAC1C,EAClB,MAAC,eAAe,IAAC,OAAO,EAAE,UAAU,aAClC,KAAC,mBAAmB,cAClB,KAAC,UAAU,KAAG,GACM,EACtB,KAAC,oBAAoB,8BAAmC,IACxC,IACN,YAGhB,KAAC,gBAAgB,IAAC,SAAS,EAAC,mCAAmC,GAAG,GACrD,GACX,IACF,EACN,KAAC,YAAY,cACX,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,IAAI,WAAW,CAAC,OAAO,EAC7C,WAAW,EAAE,WAAW,IAAI,WAAW,CAAC,OAAO,EAC/C,mBAAmB,EAAE,mBAAmB,aAEvC,WAAW,CAAC,OAAO,IAAI,CACtB,KAAC,qBAAqB,IACpB,IAAI,EAAC,wBAAwB,EAC7B,WAAW,EAAC,+BAA+B,GAC3C,CACH,EACA,CAAC,WAAW,CAAC,OAAO,IAAI,CACvB,8BACE,KAAC,gBAAgB,IACf,WAAW,EAAE,CACX,IAA2C,EACnC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EACvC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,GACnD,EACF,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC/D,CACJ,EACA,WAAW,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,CACtC,cACE,GAAG,EAAE,YAAY,EACjB,SAAS,EAAC,sDAAsD,YAEhE,KAAC,6BAA6B,IAC5B,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,2CAA2C,EACrD,KAAK,EAAC,0BAA0B,YAEhC,mBAAK,GACyB,GAC5B,CACP,IACa,GACH,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BasicValueSpecificationEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx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KAClC,GACD,SAAS;oDAoLf,CAAC"}
@@ -15,16 +15,16 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
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, DragPreviewLayer, FilledWindowMaximizeIcon, BasePopover, PanelFormSection, CalculateIcon, } from '@finos/legend-art';
18
+ import { Tooltip, DollarIcon, clsx, InfoCircleIcon, RefreshIcon, CheckSquareIcon, SquareIcon, CustomSelectorInput, SaveIcon, PencilIcon, DragPreviewLayer, FilledWindowMaximizeIcon, BasePopover, PanelFormSection, CalculateIcon, InputWithInlineValidation, } from '@finos/legend-art';
19
19
  import { PrimitiveInstanceValue, CollectionInstanceValue, EnumValueInstanceValue, INTERNAL__PropagatedValue, SimpleFunctionExpression, VariableExpression, EnumValueExplicitReference, PrimitiveType, PRIMITIVE_TYPE, GenericTypeExplicitReference, GenericType, Enumeration, getEnumValue, getMultiplicityDescription, matchFunctionName, isSubType, } from '@finos/legend-graph';
20
- import { guaranteeNonNullable, isNonNullable, returnUndefOnError, uniq, parseCSVString, guaranteeIsNumber, csvStringify, } from '@finos/legend-shared';
20
+ import { guaranteeNonNullable, isNonNullable, returnUndefOnError, uniq, parseCSVString, guaranteeIsNumber, csvStringify, guaranteeType, } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
22
22
  import { observer } from 'mobx-react-lite';
23
23
  import { forwardRef, useEffect, useImperativeHandle, useRef, useState, } from 'react';
24
24
  import { instanceValue_setValue, instanceValue_setValues, } from '../../stores/shared/ValueSpecificationModifierHelper.js';
25
25
  import { CustomDatePicker } from './CustomDatePicker.js';
26
26
  import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
27
- import { simplifyValueExpression } from '../../stores/QueryBuilderValueSpecificationHelper.js';
27
+ import { isValidInstanceValue, simplifyValueExpression, } from '../../stores/QueryBuilderValueSpecificationHelper.js';
28
28
  import { evaluate } from 'mathjs';
29
29
  import { isUsedDateFunctionSupportedInFormMode } from '../../stores/QueryBuilderStateBuilder.js';
30
30
  export const VariableInfoTooltip = (props) => {
@@ -90,10 +90,12 @@ const StringPrimitiveInstanceValueEditor = observer(forwardRef(function StringPr
90
90
  }))
91
91
  : undefined;
92
92
  const noOptionsMessage = selectorConfig?.values === undefined ? () => null : undefined;
93
- return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [useSelector ? (_jsx(CustomSelectorInput, { className: "value-spec-editor__enum-selector", options: queryOptions, onChange: changeValue, value: selectedValue, inputValue: value, onInputChange: handleInputChange, darkMode: !applicationStore.layoutService
93
+ return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [useSelector ? (_jsx(CustomSelectorInput, { className: "value-spec-editor__enum-selector", options: queryOptions, onChange: changeValue, value: selectedValue.label === '' ? '' : selectedValue, inputValue: value ?? '', onInputChange: handleInputChange, darkMode: !applicationStore.layoutService
94
94
  .TEMPORARY__isLightColorThemeEnabled, isLoading: isLoading, allowCreateWhileLoading: true, noOptionsMessage: noOptionsMessage, components: {
95
95
  DropdownIndicator: null,
96
- } })) : (_jsx("input", { className: "panel__content__form__section__input value-spec-editor__input", spellCheck: false, value: value, placeholder: value === '' ? '(empty)' : undefined, onChange: changeInputValue, ref: ref })), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
96
+ }, hasError: !isValidInstanceValue(valueSpecification), placeholder: value === '' ? '(empty)' : undefined })) : (_jsx(InputWithInlineValidation, { className: "panel__content__form__section__input value-spec-editor__input", spellCheck: false, value: value ?? '', placeholder: value === '' ? '(empty)' : undefined, onChange: changeInputValue, ref: ref, error: !isValidInstanceValue(valueSpecification)
97
+ ? 'Invalid String value'
98
+ : undefined })), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
97
99
  }));
98
100
  const BooleanPrimitiveInstanceValueEditor = observer((props) => {
99
101
  const { valueSpecification, className, resetValue, setValueSpecification, obseverContext, } = props;
@@ -108,19 +110,29 @@ const BooleanPrimitiveInstanceValueEditor = observer((props) => {
108
110
  });
109
111
  const NumberPrimitiveInstanceValueEditor = observer(forwardRef(function NumberPrimitiveInstanceValueEditor(props, ref) {
110
112
  const { valueSpecification, isInteger, className, resetValue, setValueSpecification, obseverContext, } = props;
111
- const [value, setValue] = useState(valueSpecification.values[0].toString());
113
+ const [value, setValue] = useState(valueSpecification.values[0] === null
114
+ ? ''
115
+ : valueSpecification.values[0].toString());
112
116
  const inputRef = useRef(null);
113
117
  useImperativeHandle(ref, () => inputRef.current, []);
114
- const numericValue = isInteger
115
- ? Number.parseInt(Number(value).toString(), 10)
116
- : Number(value);
118
+ const numericValue = value
119
+ ? isInteger
120
+ ? Number.parseInt(Number(value).toString(), 10)
121
+ : Number(value)
122
+ : null;
117
123
  const updateValueSpecIfValid = (val) => {
118
- const parsedValue = isInteger
119
- ? Number.parseInt(Number(val).toString(), 10)
120
- : Number(val);
121
- if (!isNaN(parsedValue) && parsedValue !== valueSpecification.values[0]) {
122
- instanceValue_setValue(valueSpecification, parsedValue, 0, obseverContext);
123
- setValueSpecification(valueSpecification);
124
+ if (val) {
125
+ const parsedValue = isInteger
126
+ ? Number.parseInt(Number(val).toString(), 10)
127
+ : Number(val);
128
+ if (!isNaN(parsedValue) &&
129
+ parsedValue !== valueSpecification.values[0]) {
130
+ instanceValue_setValue(valueSpecification, parsedValue, 0, obseverContext);
131
+ setValueSpecification(valueSpecification);
132
+ }
133
+ }
134
+ else {
135
+ resetValue();
124
136
  }
125
137
  };
126
138
  const handleInputChange = (event) => {
@@ -129,21 +141,32 @@ const NumberPrimitiveInstanceValueEditor = observer(forwardRef(function NumberPr
129
141
  };
130
142
  // Support expression evaluation
131
143
  const calculateExpression = () => {
132
- if (isNaN(numericValue)) {
144
+ if (numericValue !== null && isNaN(numericValue)) {
145
+ // If the value is not a number, try to evaluate it as an expression
133
146
  try {
134
147
  const calculatedValue = guaranteeIsNumber(evaluate(value));
135
148
  updateValueSpecIfValid(calculatedValue.toString());
136
149
  setValue(calculatedValue.toString());
137
150
  }
138
151
  catch {
139
- updateValueSpecIfValid(valueSpecification.values[0].toString());
140
- setValue(valueSpecification.values[0].toString());
152
+ // If we fail to evaluate the expression, we just keep the previous value
153
+ const prevValue = valueSpecification.values[0] !== null &&
154
+ valueSpecification.values[0] !== undefined
155
+ ? valueSpecification.values[0].toString()
156
+ : '';
157
+ updateValueSpecIfValid(prevValue);
158
+ setValue(prevValue);
141
159
  }
142
160
  }
143
- else {
161
+ else if (numericValue !== null) {
162
+ // If numericValue is a number, update the value spec
144
163
  updateValueSpecIfValid(numericValue.toString());
145
164
  setValue(numericValue.toString());
146
165
  }
166
+ else {
167
+ // If numericValue is null, reset the value spec
168
+ resetValue();
169
+ }
147
170
  };
148
171
  const onKeyDown = (event) => {
149
172
  if (event.code === 'Enter') {
@@ -155,20 +178,28 @@ const NumberPrimitiveInstanceValueEditor = observer(forwardRef(function NumberPr
155
178
  }
156
179
  };
157
180
  useEffect(() => {
158
- if (!isNaN(numericValue) &&
181
+ if (numericValue !== null &&
182
+ !isNaN(numericValue) &&
159
183
  numericValue !== valueSpecification.values[0]) {
160
- setValue(valueSpecification.values[0].toString());
184
+ const valueFromValueSpec = valueSpecification.values[0] !== null
185
+ ? valueSpecification.values[0].toString()
186
+ : '';
187
+ setValue(valueFromValueSpec);
161
188
  }
162
189
  }, [numericValue, valueSpecification]);
163
- return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsxs("div", { className: "value-spec-editor__number__input-container", children: [_jsx("input", { ref: inputRef, className: "panel__content__form__section__input value-spec-editor__input value-spec-editor__number__input", spellCheck: false, type: "text" // NOTE: we leave this as text so that we can support expression evaluation
190
+ return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsxs("div", { className: "value-spec-editor__number__input-container", children: [_jsx("input", { ref: inputRef, className: clsx('panel__content__form__section__input', 'value-spec-editor__input', 'value-spec-editor__number__input', {
191
+ 'value-spec-editor__number__input--error': !isValidInstanceValue(valueSpecification),
192
+ }), spellCheck: false, type: "text" // NOTE: we leave this as text so that we can support expression evaluation
164
193
  , inputMode: "numeric", value: value, onChange: handleInputChange, onBlur: calculateExpression, onKeyDown: onKeyDown }), _jsx("div", { className: "value-spec-editor__number__actions", children: _jsx("button", { className: "value-spec-editor__number__action", title: "Evaluate Expression (Enter)", onClick: calculateExpression, children: _jsx(CalculateIcon, {}) }) })] }), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
165
194
  }));
166
195
  const EnumValueInstanceValueEditor = observer((props) => {
167
196
  const { valueSpecification, className, resetValue, setValueSpecification, obseverContext, } = props;
168
197
  const applicationStore = useApplicationStore();
169
- const enumValueRef = guaranteeNonNullable(valueSpecification.values[0]);
170
- const enumValue = enumValueRef.value;
171
- const options = enumValue._OWNER.values.map((value) => ({
198
+ const enumType = guaranteeType(valueSpecification.genericType?.value.rawType, Enumeration);
199
+ const enumValue = valueSpecification.values[0] === undefined
200
+ ? null
201
+ : valueSpecification.values[0].value;
202
+ const options = enumType.values.map((value) => ({
172
203
  label: value.name,
173
204
  value: value,
174
205
  }));
@@ -176,7 +207,7 @@ const EnumValueInstanceValueEditor = observer((props) => {
176
207
  instanceValue_setValue(valueSpecification, EnumValueExplicitReference.create(val.value), 0, obseverContext);
177
208
  setValueSpecification(valueSpecification);
178
209
  };
179
- return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsx(CustomSelectorInput, { className: "value-spec-editor__enum-selector", options: options, onChange: changeValue, value: { value: enumValue, label: enumValue.name }, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
210
+ return (_jsxs("div", { className: clsx('value-spec-editor', className), children: [_jsx(CustomSelectorInput, { className: "value-spec-editor__enum-selector", options: options, onChange: changeValue, value: enumValue ? { value: enumValue, label: enumValue.name } : null, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, hasError: !isValidInstanceValue(valueSpecification), placeholder: "Select value" }), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
180
211
  });
181
212
  const stringifyValue = (values) => {
182
213
  if (values.length === 0) {
@@ -355,12 +386,15 @@ const CollectionValueInstanceValueEditor = observer((props) => {
355
386
  }
356
387
  }, onBlur: handleOnBlur }), _jsx("button", { className: "value-spec-editor__list-editor__expand-button btn--dark", onClick: () => setShowAdvancedEditorPopover(true), tabIndex: -1, name: expandButtonName, title: "Expand window...", children: _jsx(FilledWindowMaximizeIcon, {}) }), _jsx("button", { className: "value-spec-editor__list-editor__save-button btn--dark", onClick: saveEdit, children: _jsx(SaveIcon, {}) }), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] })] }));
357
388
  }
358
- return (_jsxs("div", { className: clsx('value-spec-editor', className), onClick: enableEdit, title: "Click to edit", children: [_jsx("div", { className: "value-spec-editor__list-editor__preview", children: previewText }), _jsx("button", { className: "value-spec-editor__list-editor__edit-icon", children: _jsx(PencilIcon, {}) })] }));
389
+ return (_jsxs("div", { className: clsx('value-spec-editor', className), onClick: enableEdit, title: "Click to edit", children: [_jsx("div", { className: clsx('value-spec-editor__list-editor__preview', {
390
+ 'value-spec-editor__list-editor__preview--error': !isValidInstanceValue(valueSpecification),
391
+ }), children: previewText }), _jsx("button", { className: "value-spec-editor__list-editor__edit-icon", children: _jsx(PencilIcon, {}) })] }));
359
392
  });
360
393
  const UnsupportedValueSpecificationEditor = () => (_jsx("div", { className: "value-spec-editor--unsupported", children: "unsupported" }));
361
394
  const DateInstanceValueEditor = observer((props) => {
362
395
  const { valueSpecification, setValueSpecification, graph, obseverContext, typeCheckOption, resetValue, } = props;
363
- return (_jsxs("div", { className: "value-spec-editor", children: [_jsx(CustomDatePicker, { valueSpecification: valueSpecification, graph: graph, observerContext: obseverContext, typeCheckOption: typeCheckOption, setValueSpecification: setValueSpecification }), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
396
+ return (_jsxs("div", { className: "value-spec-editor", children: [_jsx(CustomDatePicker, { valueSpecification: valueSpecification, graph: graph, observerContext: obseverContext, typeCheckOption: typeCheckOption, setValueSpecification: setValueSpecification, hasError: valueSpecification instanceof PrimitiveInstanceValue &&
397
+ !isValidInstanceValue(valueSpecification) }), _jsx("button", { className: "value-spec-editor__reset-btn", name: "Reset", title: "Reset", onClick: resetValue, children: _jsx(RefreshIcon, {}) })] }));
364
398
  });
365
399
  /**
366
400
  * TODO we should pass in the props `resetValueSpecification`. Reset