@finos/legend-query-builder 4.14.47 → 4.14.49

Sign up to get free protection for your applications and to get access to all the features.
Files changed (249) hide show
  1. package/lib/__lib__/QueryBuilderDocumentation.d.ts +3 -1
  2. package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
  3. package/lib/__lib__/QueryBuilderDocumentation.js +2 -0
  4. package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
  5. package/lib/components/QueryBuilder.d.ts +1 -1
  6. package/lib/components/QueryBuilder.d.ts.map +1 -1
  7. package/lib/components/QueryBuilder.js +59 -46
  8. package/lib/components/QueryBuilder.js.map +1 -1
  9. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +1 -1
  10. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderConstantExpressionPanel.js +22 -22
  12. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  13. package/lib/components/QueryBuilderDiffPanel.d.ts +2 -2
  14. package/lib/components/QueryBuilderDiffPanel.js +7 -6
  15. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  16. package/lib/components/QueryBuilderParametersPanel.d.ts +1 -1
  17. package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
  18. package/lib/components/QueryBuilderParametersPanel.js +29 -10
  19. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  20. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
  21. package/lib/components/QueryBuilderPropertyExpressionEditor.js +14 -13
  22. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  23. package/lib/components/QueryBuilderSideBar.d.ts +2 -2
  24. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  25. package/lib/components/QueryBuilderSideBar.js +14 -24
  26. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  27. package/lib/components/QueryBuilderTextEditor.d.ts +1 -1
  28. package/lib/components/QueryBuilderTextEditor.js +8 -7
  29. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  30. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -1
  31. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +4 -3
  32. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
  33. package/lib/components/QueryChat.d.ts +1 -1
  34. package/lib/components/QueryChat.js +3 -2
  35. package/lib/components/QueryChat.js.map +1 -1
  36. package/lib/components/QueryLoader.d.ts +2 -2
  37. package/lib/components/QueryLoader.js +25 -24
  38. package/lib/components/QueryLoader.js.map +1 -1
  39. package/lib/components/QueryUsageViewer.d.ts +1 -1
  40. package/lib/components/QueryUsageViewer.js +4 -3
  41. package/lib/components/QueryUsageViewer.js.map +1 -1
  42. package/lib/components/ServiceQuerySetupUtils.js +4 -3
  43. package/lib/components/ServiceQuerySetupUtils.js.map +1 -1
  44. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +3 -2
  45. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  46. package/lib/components/data-access/DataAccessOverview.d.ts +1 -1
  47. package/lib/components/data-access/DataAccessOverview.js +17 -16
  48. package/lib/components/data-access/DataAccessOverview.js.map +1 -1
  49. package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +4 -3
  50. package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
  51. package/lib/components/execution-plan/ConstantExecutionNodeViewer.js +3 -2
  52. package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
  53. package/lib/components/execution-plan/DataTypeResultTypeViewer.js +4 -3
  54. package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
  55. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts +3 -3
  56. package/lib/components/execution-plan/ExecutionPlanViewer.js +34 -33
  57. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
  58. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +3 -2
  59. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
  60. package/lib/components/execution-plan/ImplementationViewer.js +4 -3
  61. package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
  62. package/lib/components/execution-plan/PartialClassResultViewer.js +3 -2
  63. package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -1
  64. package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
  65. package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
  66. package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +7 -6
  67. package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
  68. package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
  69. package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
  70. package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js +4 -3
  71. package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js.map +1 -1
  72. package/lib/components/execution-plan/ResultTypeViewer.js +5 -4
  73. package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
  74. package/lib/components/execution-plan/SQLExecutionNodeViewer.js +7 -6
  75. package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
  76. package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +6 -5
  77. package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
  78. package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +6 -5
  79. package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
  80. package/lib/components/execution-plan/TDSResultTypeViewer.js +4 -3
  81. package/lib/components/execution-plan/TDSResultTypeViewer.js.map +1 -1
  82. package/lib/components/execution-plan/TempTableStrategyViewer.js +3 -2
  83. package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
  84. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +1 -1
  85. package/lib/components/explorer/QueryBuilderExplorerPanel.js +31 -30
  86. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  87. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -1
  88. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +20 -19
  89. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  90. package/lib/components/explorer/{QueryBuilderMilestoningEditor.d.ts → QueryBuilderMilestoningParameterEditor.d.ts} +6 -3
  91. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts.map +1 -0
  92. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +53 -0
  93. package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -0
  94. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -1
  95. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +18 -17
  96. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  97. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -1
  98. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +9 -8
  99. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
  100. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +3 -3
  101. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +24 -23
  102. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  103. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +4 -3
  104. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  105. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +76 -54
  106. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  107. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +1 -1
  108. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +3 -2
  109. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
  110. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -1
  111. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  112. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +201 -29
  113. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  114. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +9 -8
  115. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
  116. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +1 -1
  117. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  118. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +55 -36
  119. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  120. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts +1 -1
  121. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +29 -28
  122. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  123. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -1
  124. package/lib/components/filter/QueryBuilderFilterPanel.js +20 -19
  125. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  126. package/lib/components/result/QueryBuilderResultPanel.d.ts +2 -2
  127. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  128. package/lib/components/result/QueryBuilderResultPanel.js +19 -17
  129. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  130. package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts +1 -1
  131. package/lib/components/result/tds/QueryBuilderTDSGridResult.js +11 -10
  132. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  133. package/lib/components/result/tds/QueryBuilderTDSResultShared.js +5 -4
  134. package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
  135. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +1 -1
  136. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +9 -8
  137. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
  138. package/lib/components/shared/BasicValueSpecificationEditor.js +38 -37
  139. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  140. package/lib/components/shared/CustomDatePicker.js +21 -20
  141. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  142. package/lib/components/shared/LambdaEditor.d.ts +2 -2
  143. package/lib/components/shared/LambdaEditor.js +14 -13
  144. package/lib/components/shared/LambdaEditor.js.map +1 -1
  145. package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -1
  146. package/lib/components/shared/LambdaParameterValuesEditor.js +7 -6
  147. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  148. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +4 -3
  149. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
  150. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +10 -9
  151. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
  152. package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +4 -3
  153. package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -1
  154. package/lib/components/shared/QueryBuilderVariableSelector.d.ts +2 -2
  155. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  156. package/lib/components/shared/QueryBuilderVariableSelector.js +15 -7
  157. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  158. package/lib/components/workflows/ClassQueryBuilder.js +6 -5
  159. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  160. package/lib/components/workflows/MappingQueryBuilder.js +6 -5
  161. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  162. package/lib/components/workflows/ServiceQueryBuilder.js +6 -5
  163. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  164. package/lib/graph-manager/QueryBuilderConfig.d.ts +4 -0
  165. package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -1
  166. package/lib/graph-manager/QueryBuilderConfig.js +5 -0
  167. package/lib/graph-manager/QueryBuilderConfig.js.map +1 -1
  168. package/lib/index.css +2 -2
  169. package/lib/index.css.map +1 -1
  170. package/lib/package.json +1 -1
  171. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
  172. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  173. package/lib/stores/QueryBuilderValueSpecificationHelper.js +3 -3
  174. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  175. package/lib/stores/QueryLoaderState.d.ts +1 -0
  176. package/lib/stores/QueryLoaderState.d.ts.map +1 -1
  177. package/lib/stores/QueryLoaderState.js +1 -0
  178. package/lib/stores/QueryLoaderState.js.map +1 -1
  179. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +1 -0
  180. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  181. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +8 -0
  182. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  183. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.d.ts.map +1 -1
  184. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js +4 -2
  185. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js.map +1 -1
  186. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  187. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -1
  188. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  189. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
  190. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
  191. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
  192. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +2 -0
  193. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
  194. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +13 -2
  195. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
  196. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +2 -0
  197. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
  198. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +8 -1
  199. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
  200. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +1 -1
  201. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
  202. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +25 -1
  203. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
  204. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +2 -0
  205. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
  206. package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
  207. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +5 -0
  208. package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
  209. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +62 -3
  210. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  211. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +2 -0
  212. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
  213. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +8 -1
  214. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
  215. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -0
  216. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  217. package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
  218. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  219. package/package.json +4 -4
  220. package/src/__lib__/QueryBuilderDocumentation.ts +2 -0
  221. package/src/components/QueryBuilder.tsx +44 -0
  222. package/src/components/QueryBuilderConstantExpressionPanel.tsx +13 -4
  223. package/src/components/QueryBuilderParametersPanel.tsx +55 -0
  224. package/src/components/QueryBuilderSideBar.tsx +0 -42
  225. package/src/components/explorer/QueryBuilderMilestoningParameterEditor.tsx +114 -0
  226. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +143 -78
  227. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +445 -19
  228. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +134 -21
  229. package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
  230. package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
  231. package/src/graph-manager/QueryBuilderConfig.ts +6 -0
  232. package/src/stores/QueryBuilderValueSpecificationHelper.ts +4 -1
  233. package/src/stores/QueryLoaderState.ts +1 -0
  234. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +11 -0
  235. package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.ts +6 -2
  236. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -0
  237. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -0
  238. package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +23 -0
  239. package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +13 -0
  240. package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +45 -0
  241. package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +3 -0
  242. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +95 -7
  243. package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +13 -0
  244. package/src/stores/shared/ValueSpecificationEditorHelper.ts +11 -0
  245. package/tsconfig.json +1 -1
  246. package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +0 -1
  247. package/lib/components/explorer/QueryBuilderMilestoningEditor.js +0 -102
  248. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +0 -1
  249. package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +0 -364
@@ -0,0 +1,53 @@
1
+ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
2
+ const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/explorer/QueryBuilderMilestoningParameterEditor.tsx";
3
+ /**
4
+ * Copyright (c) 2020-present, Goldman Sachs
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+ import { observer } from 'mobx-react-lite';
19
+ import { useCallback } from 'react';
20
+ import { GenericType, GenericTypeExplicitReference, observe_PrimitiveInstanceValue, PrimitiveInstanceValue, PRIMITIVE_TYPE, PrimitiveType, } from '@finos/legend-graph';
21
+ import { useDrop } from 'react-dnd';
22
+ import { PanelEntryDropZonePlaceholder } from '@finos/legend-art';
23
+ import { generateDefaultValueForPrimitiveType } from '../../stores/QueryBuilderValueSpecificationHelper.js';
24
+ import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
25
+ import { instanceValue_setValues } from '../../stores/shared/ValueSpecificationModifierHelper.js';
26
+ export const MilestoningParameterEditor = observer((props) => {
27
+ const { queryBuilderState, parameter, setParameter } = props;
28
+ const handleDrop = useCallback((item) => {
29
+ setParameter(item.variable);
30
+ }, [setParameter]);
31
+ const [{ isDragOver }, dropConnector] = useDrop(() => ({
32
+ accept: [QUERY_BUILDER_VARIABLE_DND_TYPE],
33
+ drop: (item, monitor) => {
34
+ if (!monitor.didDrop()) {
35
+ handleDrop(item);
36
+ }
37
+ },
38
+ collect: (monitor) => ({
39
+ isDragOver: monitor.isOver({
40
+ shallow: true,
41
+ }),
42
+ }),
43
+ }), [handleDrop]);
44
+ const resetMilestoningParameter = () => {
45
+ const param = observe_PrimitiveInstanceValue(new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRICTDATE))), queryBuilderState.observerContext);
46
+ instanceValue_setValues(param, [generateDefaultValueForPrimitiveType(PRIMITIVE_TYPE.STRICTDATE)], queryBuilderState.observerContext);
47
+ setParameter(param);
48
+ };
49
+ return (_jsxDEV("div", { ref: dropConnector, className: "query-builder__variable-editor", children: _jsxDEV(PanelEntryDropZonePlaceholder, { isDragOver: isDragOver, label: "Change Milestoning Parameter Value", children: _jsxDEV(BasicValueSpecificationEditor, { valueSpecification: parameter, graph: queryBuilderState.graphManagerState.graph, obseverContext: queryBuilderState.observerContext, setValueSpecification: (val) => setParameter(val), typeCheckOption: {
50
+ expectedType: PrimitiveType.DATE,
51
+ }, resetValue: resetMilestoningParameter, isConstant: queryBuilderState.constantState.isValueSpecConstant(parameter) }, void 0, false, { fileName: _jsxFileName, lineNumber: 95, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 91, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 13 }, this));
52
+ });
53
+ //# sourceMappingURL=QueryBuilderMilestoningParameterEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderMilestoningParameterEditor.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderMilestoningParameterEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAEL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,cAAc,EACd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EACL,6BAA6B,EAE7B,+BAA+B,GAChC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAElG,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAChD,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAC7D,MAAM,UAAU,GAAG,WAAW,CAC5B,CAAC,IAAoC,EAAQ,EAAE;QAC7C,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC9B,CAAC,EACD,CAAC,YAAY,CAAC,CACf,CAAC;IACF,MAAM,CAAC,EAAE,UAAU,EAAE,EAAE,aAAa,CAAC,GAAG,OAAO,CAK7C,GAAG,EAAE,CAAC,CAAC;QACL,MAAM,EAAE,CAAC,+BAA+B,CAAC;QACzC,IAAI,EAAE,CAAC,I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AAS,CACV,sFACD,qFAC4B,sFAC5B,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -17,7 +17,7 @@ import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
17
17
  export declare const QueryBuilderPropertySearchPanel: ((props: {
18
18
  queryBuilderState: QueryBuilderState;
19
19
  triggerElement: HTMLElement | null;
20
- }) => import("react/jsx-runtime").JSX.Element) & {
20
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
21
21
  displayName: string;
22
22
  };
23
23
  //# sourceMappingURL=QueryBuilderPropertySearchPanel.d.ts.map
@@ -1,4 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
2
+ const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/explorer/QueryBuilderPropertySearchPanel.tsx";
2
3
  /**
3
4
  * Copyright (c) 2020-present, Goldman Sachs
4
5
  *
@@ -115,13 +116,13 @@ const QueryBuilderTreeNodeViewer = observer((props) => {
115
116
  : node instanceof QueryBuilderExplorerTreeSubTypeNodeData
116
117
  ? prettyPropertyNameForSubTypeClass(node.id)
117
118
  : prettyPropertyNameFromNodeId(node.id);
118
- return (_jsxs("div", { children: [_jsxs("div", { className: "tree-view__node__container query-builder-property-search-panel__node__container", ref: dragConnector, style: {
119
+ return (_jsxDEV("div", { children: [_jsxDEV("div", { className: "tree-view__node__container query-builder-property-search-panel__node__container", ref: dragConnector, style: {
119
120
  paddingLeft: `${(level - 1) * stepPaddingInRem + 0.5}rem`,
120
121
  display: 'flex',
121
122
  }, onClick: () => setIsExpandable(!isExpandable),
122
123
  // Temporarily hide away the panel when we drag-and-drop the properties
123
- onDrag: () => propertySearchState.setIsSearchPanelHidden(true), onDragEnd: () => propertySearchState.setIsSearchPanelHidden(false), children: [_jsx("div", { className: "tree-view__node__icon query-builder-property-search-panel__node__icon", children: _jsx("div", { className: "query-builder-property-search-panel__type-icon", children: renderPropertyTypeIcon(node.type) }) }), _jsx("div", { className: "tree-view__node__label query-builder-property-search-panel__node__label query-builder-property-search-panel__node__label--with-action", children: propertyName }), _jsxs("div", { className: "query-builder-property-search-panel__node__actions", children: [node instanceof QueryBuilderExplorerTreePropertyNodeData && (_jsx(QueryBuilderPropertyInfoTooltip, { title: propertyName, property: node.property, path: node.id, isMapped: node.mappingData.mapped, children: _jsx("div", { className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsx(InfoCircleIcon, {}) }) })), node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (_jsx(QueryBuilderSubclassInfoTooltip, { subclass: node.subclass, path: node.id, isMapped: node.mappingData.mapped, multiplicity: node.multiplicity, children: _jsx("div", { className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsx(InfoCircleIcon, {}) }) }))] })] }), isExpandable &&
124
- getChildrenNodes().map((childNode) => (_jsx(QueryBuilderTreeNodeViewer, { node: childNode, queryBuilderState: queryBuilderState, level: 1, stepPaddingInRem: 2, explorerState: queryBuilderState.explorerState }, childNode.id)))] }));
124
+ onDrag: () => propertySearchState.setIsSearchPanelHidden(true), onDragEnd: () => propertySearchState.setIsSearchPanelHidden(false), children: [_jsxDEV("div", { className: "tree-view__node__icon query-builder-property-search-panel__node__icon", children: _jsxDEV("div", { className: "query-builder-property-search-panel__type-icon", children: renderPropertyTypeIcon(node.type) }, void 0, false, { fileName: _jsxFileName, lineNumber: 209, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 208, columnNumber: 11 }, this), _jsxDEV("div", { className: "tree-view__node__label query-builder-property-search-panel__node__label query-builder-property-search-panel__node__label--with-action", children: propertyName }, void 0, false, { fileName: _jsxFileName, lineNumber: 213, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__node__actions", children: [node instanceof QueryBuilderExplorerTreePropertyNodeData && (_jsxDEV(QueryBuilderPropertyInfoTooltip, { title: propertyName, property: node.property, path: node.id, isMapped: node.mappingData.mapped, children: _jsxDEV("div", { className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 225, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 224, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 217, columnNumber: 75 }, this)), node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (_jsxDEV(QueryBuilderSubclassInfoTooltip, { subclass: node.subclass, path: node.id, isMapped: node.mappingData.mapped, multiplicity: node.multiplicity, children: _jsxDEV("div", { className: "query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info", children: _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 237, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 236, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 229, columnNumber: 74 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 216, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 194, columnNumber: 9 }, this), isExpandable &&
125
+ getChildrenNodes().map((childNode) => (_jsxDEV(QueryBuilderTreeNodeViewer, { node: childNode, queryBuilderState: queryBuilderState, level: 1, stepPaddingInRem: 2, explorerState: queryBuilderState.explorerState }, childNode.id, false, { fileName: _jsxFileName, lineNumber: 244, columnNumber: 50 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 192, columnNumber: 13 }, this));
125
126
  });
126
127
  export const QueryBuilderPropertySearchPanel = observer((props) => {
127
128
  const { queryBuilderState, triggerElement } = props;
@@ -147,7 +148,7 @@ export const QueryBuilderPropertySearchPanel = observer((props) => {
147
148
  clearSearch();
148
149
  propertySearchState.setIsSearchPanelOpen(false);
149
150
  };
150
- return (_jsx(BasePopover, { open: propertySearchState.isSearchPanelOpen, PaperProps: {
151
+ return (_jsxDEV(BasePopover, { open: propertySearchState.isSearchPanelOpen, PaperProps: {
151
152
  classes: {
152
153
  root: 'query-builder-property-search-panel__container__root',
153
154
  },
@@ -159,17 +160,17 @@ export const QueryBuilderPropertySearchPanel = observer((props) => {
159
160
  }, transformOrigin: {
160
161
  vertical: 'top',
161
162
  horizontal: 'center',
162
- }, TransitionProps: { onEnter: handleEnter }, children: _jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PROPERTY_SEARCH_PANEL, className: "query-builder-property-search-panel", children: [_jsxs("div", { className: "query-builder-property-search-panel__header", children: [_jsxs("div", { className: "query-builder-property-search-panel__input__container", children: [_jsx("input", { ref: searchInputRef, className: clsx('query-builder-property-search-panel__input input--dark', {
163
+ }, TransitionProps: { onEnter: handleEnter }, children: _jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PROPERTY_SEARCH_PANEL, className: "query-builder-property-search-panel", children: [_jsxDEV("div", { className: "query-builder-property-search-panel__header", children: [_jsxDEV("div", { className: "query-builder-property-search-panel__input__container", children: [_jsxDEV("input", { ref: searchInputRef, className: clsx('query-builder-property-search-panel__input input--dark', {
163
164
  'query-builder-property-search-panel__input--searching': propertySearchState.searchText,
164
- }), spellCheck: false, onChange: onSearchPropertyTextChange, value: propertySearchState.searchText, placeholder: "Search for a property by name or documentation" }), propertySearchState.searchText && (_jsx("div", { className: "query-builder-property-search-panel__input__search__count", children: propertySearchState.filteredSearchResults.length +
165
+ }), spellCheck: false, onChange: onSearchPropertyTextChange, value: propertySearchState.searchText, placeholder: "Search for a property by name or documentation" }, void 0, false, { fileName: _jsxFileName, lineNumber: 332, columnNumber: 15 }, this), propertySearchState.searchText && (_jsxDEV("div", { className: "query-builder-property-search-panel__input__search__count", children: propertySearchState.filteredSearchResults.length +
165
166
  (propertySearchState.isOverSearchLimit &&
166
167
  propertySearchState.filteredSearchResults.length !== 0
167
168
  ? '+'
168
- : '') })), _jsx("button", { ref: searchConfigTriggerRef, className: clsx('query-builder-property-search-panel__input__search__config__trigger', {
169
+ : '') }, void 0, false, { fileName: _jsxFileName, lineNumber: 346, columnNumber: 51 }, this)), _jsxDEV("button", { ref: searchConfigTriggerRef, className: clsx('query-builder-property-search-panel__input__search__config__trigger', {
169
170
  'query-builder-property-search-panel__input__search__config__trigger--toggled': propertySearchState.showSearchConfigurationMenu,
170
171
  'query-builder-property-search-panel__input__search__config__trigger--active': propertySearchState.searchConfigurationState
171
172
  .isAdvancedSearchActive,
172
- }), tabIndex: -1, onClick: toggleSearchConfigMenu, title: "Click to toggle search config menu", children: _jsx(CogIcon, {}) }), _jsx(BasePopover, { open: Boolean(propertySearchState.showSearchConfigurationMenu), TransitionProps: {
173
+ }), tabIndex: -1, onClick: toggleSearchConfigMenu, title: "Click to toggle search config menu", children: _jsxDEV(CogIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 371, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 355, columnNumber: 15 }, this), _jsxDEV(BasePopover, { open: Boolean(propertySearchState.showSearchConfigurationMenu), TransitionProps: {
173
174
  onEnter: handleEnter,
174
175
  }, anchorEl: searchConfigTriggerRef.current, onClose: closeSearchConfigMenu, anchorOrigin: {
175
176
  vertical: 'bottom',
@@ -177,28 +178,28 @@ export const QueryBuilderPropertySearchPanel = observer((props) => {
177
178
  }, transformOrigin: {
178
179
  vertical: 'top',
179
180
  horizontal: 'center',
180
- }, children: _jsx(FuzzySearchAdvancedConfigMenu, { configState: propertySearchState.searchConfigurationState }) }), !propertySearchState.searchText ? (_jsx(_Fragment, { children: _jsx("div", { className: "query-builder-property-search-panel__input__search__icon", children: _jsx(SearchIcon, {}) }) })) : (_jsx("button", { className: "query-builder-property-search-panel__input__clear-btn", tabIndex: -1, onClick: clearSearch, title: "Clear", children: _jsx(TimesIcon, {}) }))] }), _jsx("button", { className: "btn btn--dark query-builder-property-search-panel__close-btn", tabIndex: -1, title: "Close", onClick: handleClose, children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "query-builder-property-search-panel__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 150, children: _jsx("div", { className: "query-builder-property-search-panel__config", children: _jsxs("div", { className: "query-builder-property-search-panel__form__section", children: [_jsx("div", { className: "query-builder-property-search-panel__form__section__header__label", children: "By type" }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
181
+ }, children: _jsxDEV(FuzzySearchAdvancedConfigMenu, { configState: propertySearchState.searchConfigurationState }, void 0, false, { fileName: _jsxFileName, lineNumber: 389, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 373, columnNumber: 15 }, this), !propertySearchState.searchText ? (_jsxDEV(_Fragment, { children: _jsxDEV("div", { className: "query-builder-property-search-panel__input__search__icon", children: _jsxDEV(SearchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 396, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 395, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 393, columnNumber: 51 }, this)) : (_jsxDEV("button", { className: "query-builder-property-search-panel__input__clear-btn", tabIndex: -1, onClick: clearSearch, title: "Clear", children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 406, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 399, columnNumber: 20 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 331, columnNumber: 13 }, this), _jsxDEV("button", { className: "btn btn--dark query-builder-property-search-panel__close-btn", tabIndex: -1, title: "Close", onClick: handleClose, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 416, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 410, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__content", children: _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 150, children: _jsxDEV("div", { className: "query-builder-property-search-panel__config", children: _jsxDEV("div", { className: "query-builder-property-search-panel__form__section", children: [_jsxDEV("div", { className: "query-builder-property-search-panel__form__section__header__label", children: "By type" }, void 0, false, { fileName: _jsxFileName, lineNumber: 424, columnNumber: 21 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsxDEV("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
181
182
  'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS),
182
183
  }), onClick: () => {
183
184
  propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS);
184
- }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Class" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
185
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS) ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 447, columnNumber: 30 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 449, columnNumber: 30 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 428, columnNumber: 23 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Class" }, void 0, false, { fileName: _jsxFileName, lineNumber: 453, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 427, columnNumber: 21 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsxDEV("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
185
186
  'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING),
186
187
  }), onClick: () => {
187
188
  propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING);
188
- }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "String" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
189
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING) ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 477, columnNumber: 30 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 479, columnNumber: 30 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 458, columnNumber: 23 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "String" }, void 0, false, { fileName: _jsxFileName, lineNumber: 483, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 457, columnNumber: 21 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsxDEV("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
189
190
  'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN),
190
191
  }), onClick: () => {
191
192
  propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN);
192
- }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Boolean" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
193
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN) ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 507, columnNumber: 30 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 509, columnNumber: 30 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 488, columnNumber: 23 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Boolean" }, void 0, false, { fileName: _jsxFileName, lineNumber: 513, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 487, columnNumber: 21 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsxDEV("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
193
194
  'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER),
194
195
  }), onClick: () => {
195
196
  propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER);
196
- }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Number" })] }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
197
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER) ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 537, columnNumber: 30 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 539, columnNumber: 30 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 518, columnNumber: 23 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Number" }, void 0, false, { fileName: _jsxFileName, lineNumber: 543, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 517, columnNumber: 21 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsxDEV("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
197
198
  'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE),
198
199
  }), onClick: () => {
199
200
  propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE);
200
- }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE) ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Date" })] })] }) }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsxs(ResizablePanel, { children: [propertySearchState.searchState.isInProgress && (_jsx(PanelLoadingIndicator, { isLoading: true })), _jsxs("div", { className: "query-builder-property-search-panel__results", children: [!propertySearchState.searchState.isInProgress && (_jsxs(_Fragment, { children: [Boolean(propertySearchState.filteredSearchResults.length) &&
201
- propertySearchState.filteredSearchResults.map((node) => (_jsx(QueryBuilderTreeNodeViewer, { node: node, queryBuilderState: queryBuilderState, level: 1, stepPaddingInRem: 0, explorerState: queryBuilderState.explorerState }, node.id))), !propertySearchState.filteredSearchResults.length &&
202
- propertySearchState.searchText && (_jsxs(BlankPanelContent, { children: [_jsx("div", { className: "query-builder-property-search-panel__result-placeholder__text", children: "No result" }), _jsx("div", { className: "query-builder-property-search-panel__result-placeholder__tips", children: "Tips: Navigate deeper into the explorer tree to improve the scope and accuracy of the search" })] }))] })), propertySearchState.searchState.isInProgress && (_jsx(BlankPanelContent, { children: "Searching..." }))] })] })] }) })] }) }));
201
+ }, tabIndex: -1, children: propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE) ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 567, columnNumber: 30 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 569, columnNumber: 30 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 548, columnNumber: 23 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__form__section__toggler__prompt", children: "Date" }, void 0, false, { fileName: _jsxFileName, lineNumber: 573, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 547, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 423, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 422, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 421, columnNumber: 15 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 581, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 580, columnNumber: 15 }, this), _jsxDEV(ResizablePanel, { children: [propertySearchState.searchState.isInProgress && (_jsxDEV(PanelLoadingIndicator, { isLoading: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 584, columnNumber: 67 }, this)), _jsxDEV("div", { className: "query-builder-property-search-panel__results", children: [!propertySearchState.searchState.isInProgress && (_jsxDEV(_Fragment, { children: [Boolean(propertySearchState.filteredSearchResults.length) &&
202
+ propertySearchState.filteredSearchResults.map((node) => (_jsxDEV(QueryBuilderTreeNodeViewer, { node: node, queryBuilderState: queryBuilderState, level: 1, stepPaddingInRem: 0, explorerState: queryBuilderState.explorerState }, node.id, false, { fileName: _jsxFileName, lineNumber: 594, columnNumber: 38 }, this))), !propertySearchState.filteredSearchResults.length &&
203
+ propertySearchState.searchText && (_jsxDEV(BlankPanelContent, { children: [_jsxDEV("div", { className: "query-builder-property-search-panel__result-placeholder__text", children: "No result" }, void 0, false, { fileName: _jsxFileName, lineNumber: 608, columnNumber: 29 }, this), _jsxDEV("div", { className: "query-builder-property-search-panel__result-placeholder__tips", children: "Tips: Navigate deeper into the explorer tree to improve the scope and accuracy of the search" }, void 0, false, { fileName: _jsxFileName, lineNumber: 611, columnNumber: 29 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 606, columnNumber: 60 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 588, columnNumber: 70 }, this)), propertySearchState.searchState.isInProgress && (_jsxDEV(BlankPanelContent, { children: "Searching..." }, void 0, false, { fileName: _jsxFileName, lineNumber: 619, columnNumber: 69 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 587, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 583, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 420, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 419, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 324, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 300, columnNumber: 13 }, this));
203
204
  });
204
205
  //# sourceMappingURL=QueryBuilderPropertySearchPanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,EACX,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,EACvC,oCAAoC,EACpC,+BAA+B,GAEhC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,+BAA+B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAE/E,MAAM,4BAA4B,GAAG,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CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,EACX,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,EACvC,oCAAoC,EACpC,+BAA+B,GAEhC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,+BAA+B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAE/E,MAAM,4BAA4B,GAAG,CAAC,IAAY,EAAU,EAAE;IAC5D,IAAI,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACpC,aAAa,GAAG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,CACF,CAAC"}
@@ -16,7 +16,7 @@
16
16
  import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
17
17
  export declare const QueryBuilderFetchStructurePanel: ((props: {
18
18
  queryBuilderState: QueryBuilderState;
19
- }) => import("react/jsx-runtime").JSX.Element) & {
19
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
20
20
  displayName: string;
21
21
  };
22
22
  //# sourceMappingURL=QueryBuilderFetchStructurePanel.d.ts.map
@@ -1,4 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
2
+ const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx";
2
3
  /**
3
4
  * Copyright (c) 2020-present, Goldman Sachs
4
5
  *
@@ -30,21 +31,21 @@ const QueryBuilderFetchStructureEditor = observer((props) => {
30
31
  const fetchStructureState = queryBuilderState.fetchStructureState;
31
32
  const fetchStructureImplementation = fetchStructureState.implementation;
32
33
  if (fetchStructureImplementation instanceof QueryBuilderTDSState) {
33
- return _jsx(QueryBuilderTDSPanel, { tdsState: fetchStructureImplementation });
34
+ return _jsxDEV(QueryBuilderTDSPanel, { tdsState: fetchStructureImplementation }, void 0, false, { fileName: _jsxFileName, lineNumber: 44, columnNumber: 13 }, this);
34
35
  }
35
36
  else if (fetchStructureImplementation instanceof QueryBuilderGraphFetchTreeState) {
36
- return (_jsx(QueryBuilderGraphFetchPanel, { graphFetchTreeState: fetchStructureImplementation }));
37
+ return (_jsxDEV(QueryBuilderGraphFetchPanel, { graphFetchTreeState: fetchStructureImplementation }, void 0, false, { fileName: _jsxFileName, lineNumber: 48, columnNumber: 15 }, this));
37
38
  }
38
- return (_jsx(PanelContent, { children: _jsx(BlankPanelContent, { children: _jsx("div", { className: "query-builder__unsupported-view__main", children: _jsx("div", { className: "query-builder__unsupported-view__summary", children: "Unsupported fetch structure" }) }) }) }));
39
+ return (_jsxDEV(PanelContent, { children: _jsxDEV(BlankPanelContent, { children: _jsxDEV("div", { className: "query-builder__unsupported-view__main", children: _jsxDEV("div", { className: "query-builder__unsupported-view__summary", children: "Unsupported fetch structure" }, void 0, false, { fileName: _jsxFileName, lineNumber: 58, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 57, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 56, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 54, columnNumber: 13 }, this));
39
40
  });
40
41
  export const QueryBuilderFetchStructurePanel = observer((props) => {
41
42
  const { queryBuilderState } = props;
42
43
  const fetchStructureState = queryBuilderState.fetchStructureState;
43
44
  const fetchConfig = queryBuilderState.workflowState.getFetchStructureLayoutConfig(queryBuilderState);
44
- return (_jsxs(Panel, { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FETCH_STRUCTURE, children: [_jsxs(PanelHeader, { children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: fetchConfig.label }), fetchStructureState.implementation.fetchStructureValidationIssues
45
- .length !== 0 && (_jsx(QueryBuilderPanelIssueCountBadge, { issues: fetchStructureState.implementation
46
- .fetchStructureValidationIssues }))] }), fetchConfig.showInFetchPanel ? (_jsx(PanelHeaderActions, { children: _jsx("div", { className: "query-builder__fetch__structure__modes", children: Object.values(FETCH_STRUCTURE_IMPLEMENTATION).map((type) => (_jsx("button", { onClick: onChangeFetchStructureImplementation(type, fetchStructureState), className: clsx('query-builder__fetch__structure__mode', {
45
+ return (_jsxDEV(Panel, { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FETCH_STRUCTURE, children: [_jsxDEV(PanelHeader, { children: [_jsxDEV("div", { className: "panel__header__title", children: [_jsxDEV("div", { className: "panel__header__title__label", children: fetchConfig.label }, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 13 }, this), fetchStructureState.implementation.fetchStructureValidationIssues
46
+ .length !== 0 && (_jsxDEV(QueryBuilderPanelIssueCountBadge, { issues: fetchStructureState.implementation
47
+ .fetchStructureValidationIssues }, void 0, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 33 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 79, columnNumber: 11 }, this), fetchConfig.showInFetchPanel ? (_jsxDEV(PanelHeaderActions, { children: _jsxDEV("div", { className: "query-builder__fetch__structure__modes", children: Object.values(FETCH_STRUCTURE_IMPLEMENTATION).map((type) => (_jsxDEV("button", { onClick: onChangeFetchStructureImplementation(type, fetchStructureState), className: clsx('query-builder__fetch__structure__mode', {
47
48
  'query-builder__fetch__structure__mode--selected': type === fetchStructureState.implementation.type,
48
- }), children: prettyCONSTName(type) }, type))) }) })) : null] }), _jsx(QueryBuilderFetchStructureEditor, { queryBuilderState: queryBuilderState })] }));
49
+ }), children: prettyCONSTName(type) }, type, false, { fileName: _jsxFileName, lineNumber: 96, columnNumber: 79 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 95, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 93, columnNumber: 44 }, this)) : null] }, void 0, true, { fileName: _jsxFileName, lineNumber: 78, columnNumber: 9 }, this), _jsxDEV(QueryBuilderFetchStructureEditor, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 115, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 76, columnNumber: 13 }, this));
49
50
  });
50
51
  //# sourceMappingURL=QueryBuilderFetchStructurePanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderFetchStructurePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ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,CAAC,CAAC,CAAC,IAAI,qFACI,EACd,QAAC,gCAAgC,IAC/B,iBAAiB,EAAE,iBAAiB,sFACpC,sFACI,CACT,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -28,7 +28,7 @@ export declare const QueryBuilderGraphFetchExternalConfig: ((props: {
28
28
  serializationTreeData: QueryBuilderGraphFetchTreeData;
29
29
  bindings: Binding[];
30
30
  isReadOnly: boolean;
31
- }) => import("react/jsx-runtime").JSX.Element) & {
31
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
32
32
  displayName: string;
33
33
  };
34
34
  export declare const QueryBuilderGraphFetchTreeExplorer: ((props: {
@@ -37,12 +37,12 @@ export declare const QueryBuilderGraphFetchTreeExplorer: ((props: {
37
37
  treeData: QueryBuilderGraphFetchTreeData;
38
38
  updateTreeData: (data: QueryBuilderGraphFetchTreeData) => void;
39
39
  isReadOnly: boolean;
40
- }) => import("react/jsx-runtime").JSX.Element) & {
40
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
41
41
  displayName: string;
42
42
  };
43
43
  export declare const QueryBuilderGraphFetchPanel: ((props: {
44
44
  graphFetchTreeState: QueryBuilderGraphFetchTreeState;
45
- }) => import("react/jsx-runtime").JSX.Element) & {
45
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
46
46
  displayName: string;
47
47
  };
48
48
  //# sourceMappingURL=QueryBuilderGraphFetchTreePanel.d.ts.map
@@ -1,4 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
2
+ const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx";
2
3
  /**
3
4
  * Copyright (c) 2020-present, Goldman Sachs
4
5
  *
@@ -31,7 +32,7 @@ const getBindingFormatter = (props) => function BindingLabel(option) {
31
32
  const className = props.darkMode
32
33
  ? 'packageable-element-option-label--dark'
33
34
  : 'packageable-element-option-label';
34
- return (_jsxs("div", { className: className, children: [_jsx("div", { className: `${className}__name`, children: option.label }), option.value.package && (_jsx("div", { className: `${className}__tag`, children: option.value.path })), _jsx("div", { className: `${className}__tag`, children: option.value.contentType })] }));
35
+ return (_jsxDEV("div", { className: className, children: [_jsxDEV("div", { className: `${className}__name`, children: option.label }, void 0, false, { fileName: _jsxFileName, lineNumber: 110, columnNumber: 9 }, this), option.value.package && (_jsxDEV("div", { className: `${className}__tag`, children: option.value.path }, void 0, false, { fileName: _jsxFileName, lineNumber: 111, columnNumber: 35 }, this)), _jsxDEV("div", { className: `${className}__tag`, children: option.value.contentType }, void 0, false, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 108, columnNumber: 13 }, this));
35
36
  };
36
37
  export const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
37
38
  const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
@@ -46,14 +47,14 @@ export const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
46
47
  type = node.tree.class.value;
47
48
  }
48
49
  const isExpandable = Boolean(node.childrenIds.length);
49
- const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
50
- const nodeTypeIcon = type ? (getClassPropertyIcon(type)) : (_jsx(PURE_UnknownElementTypeIcon, {}));
50
+ const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsxDEV(ChevronDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 143, columnNumber: 20 }, this)) : (_jsxDEV(ChevronRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 145, columnNumber: 10 }, this))) : (_jsxDEV("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 148, columnNumber: 8 }, this));
51
+ const nodeTypeIcon = type ? (getClassPropertyIcon(type)) : (_jsxDEV(PURE_UnknownElementTypeIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 153, columnNumber: 8 }, this));
51
52
  const toggleExpandNode = () => onNodeSelect?.(node);
52
53
  const deleteNode = () => removeNode?.(node);
53
- return (_jsxs("div", { className: "tree-view__node__container query-builder-graph-fetch-tree__node__container", style: {
54
+ return (_jsxDEV("div", { className: "tree-view__node__container query-builder-graph-fetch-tree__node__container", style: {
54
55
  paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 2)}rem`,
55
56
  display: 'flex',
56
- }, children: [_jsxs("div", { className: "query-builder-graph-fetch-tree__node__content", children: [_jsxs("div", { className: "tree-view__node__icon query-builder-graph-fetch-tree__node__icon", children: [_jsx("div", { className: "query-builder-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon }), _jsx("div", { className: "query-builder-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label query-builder-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, subType && (_jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type__label", children: subType.name }) })), _jsx("div", { className: "query-builder-graph-fetch-tree__node__type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__type__label", children: type?.name }) })] })] }), _jsx("div", { className: "query-builder-graph-fetch-tree__node__actions", children: _jsx("button", { className: "query-builder-graph-fetch-tree__node__action", title: "Remove", tabIndex: -1, onClick: deleteNode, disabled: isReadOnly, children: _jsx(TimesIcon, {}) }) })] }));
57
+ }, children: [_jsxDEV("div", { className: "query-builder-graph-fetch-tree__node__content", children: [_jsxDEV("div", { className: "tree-view__node__icon query-builder-graph-fetch-tree__node__icon", children: [_jsxDEV("div", { className: "query-builder-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 169, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 175, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 168, columnNumber: 9 }, this), _jsxDEV("div", { className: "tree-view__node__label query-builder-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, subType && (_jsxDEV("div", { className: "query-builder-graph-fetch-tree__node__sub-type", children: _jsxDEV("div", { className: "query-builder-graph-fetch-tree__node__sub-type__label", children: subType.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 192, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 190, columnNumber: 24 }, this)), _jsxDEV("div", { className: "query-builder-graph-fetch-tree__node__type", children: _jsxDEV("div", { className: "query-builder-graph-fetch-tree__node__type__label", children: type?.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 199, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 197, columnNumber: 12 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 182, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 167, columnNumber: 7 }, this), _jsxDEV("div", { className: "query-builder-graph-fetch-tree__node__actions", children: _jsxDEV("button", { className: "query-builder-graph-fetch-tree__node__action", title: "Remove", tabIndex: -1, onClick: deleteNode, disabled: isReadOnly, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 207, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 206, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 159, columnNumber: 11 }, this));
57
58
  };
58
59
  const PureSerializationConfigModal = observer((props) => {
59
60
  const { pureSerializationState, graphFetchState, config } = props;
@@ -71,13 +72,13 @@ const PureSerializationConfigModal = observer((props) => {
71
72
  graphFetchState.queryBuilderState.applicationStore.notificationService.notifySuccess('Serialization config removed');
72
73
  };
73
74
  const close = () => pureSerializationState.setConfigModal(false);
74
- return (_jsx(Dialog, { open: pureSerializationState.configModal, onClose: close, classes: {
75
+ return (_jsxDEV(Dialog, { open: pureSerializationState.configModal, onClose: close, classes: {
75
76
  root: 'editor-modal__root-container',
76
77
  container: 'editor-modal__container',
77
78
  paper: 'editor-modal__content',
78
- }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "query-builder-graph-fetch-config", children: [_jsx(ModalHeader, { title: `${toAdd ? 'Add Serialization Config' : 'Edit Serialization Config'}` }), _jsx(ModalBody, { className: "query-builder-graph-fetch-config__content", children: _jsx(Panel, { children: _jsxs(PanelForm, { children: [_jsx(PanelFormTextField, { name: "Type Key Name", value: config.typeKeyName, isReadOnly: false, update: (value) => config.setTypeName(value ?? ''), errorMessage: config.typeKeyName === ''
79
+ }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "query-builder-graph-fetch-config", children: [_jsxDEV(ModalHeader, { title: `${toAdd ? 'Add Serialization Config' : 'Edit Serialization Config'}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 260, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder-graph-fetch-config__content", children: _jsxDEV(Panel, { children: _jsxDEV(PanelForm, { children: [_jsxDEV(PanelFormTextField, { name: "Type Key Name", value: config.typeKeyName, isReadOnly: false, update: (value) => config.setTypeName(value ?? ''), errorMessage: config.typeKeyName === ''
79
80
  ? `Type key name can't be empty`
80
- : undefined }), _jsx(PanelFormTextField, { name: "Date Time Format", value: config.dateTimeFormat, isReadOnly: false, update: (value) => config.setDateTimeFormat(value === '' ? undefined : value) }), _jsx(PanelFormBooleanField, { name: "Include Type", value: config.includeType, isReadOnly: false, update: (value) => config.setIncludeType(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Include Enum Type", value: config.includeEnumType, isReadOnly: false, update: (value) => config.setInclueEnumType(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Remove Properties With Null Values", value: config.removePropertiesWithNullValues, isReadOnly: false, update: (value) => config.setRemovePropertiesWithNullValues(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Remove properties with empty sets", value: config.removePropertiesWithEmptySets, isReadOnly: false, update: (value) => config.setRemovePropertiesWithEmptySets(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Use Fully Qualified Type Path", value: config.fullyQualifiedTypePath, isReadOnly: false, update: (value) => config.setFullyQualifiedTypePath(Boolean(value)) }), _jsx(PanelFormBooleanField, { name: "Include Object Reference", value: config.includeObjectReference, isReadOnly: false, update: (value) => config.setIncludeObjectReference(Boolean(value)) })] }) }) }), _jsxs(ModalFooter, { children: [!toAdd && (_jsx(ModalFooterButton, { className: "btn--caution", text: "Remove Config", onClick: removeConfig })), _jsx(ModalFooterButton, { className: "modal__footer__close-btn", onClick: handleAction, type: toAdd ? 'primary' : 'secondary', children: toAdd ? 'Add Config' : 'Close' })] })] }) }));
81
+ : undefined }, void 0, false, { fileName: _jsxFileName, lineNumber: 268, columnNumber: 17 }, this), _jsxDEV(PanelFormTextField, { name: "Date Time Format", value: config.dateTimeFormat, isReadOnly: false, update: (value) => config.setDateTimeFormat(value === '' ? undefined : value) }, void 0, false, { fileName: _jsxFileName, lineNumber: 281, columnNumber: 17 }, this), _jsxDEV(PanelFormBooleanField, { name: "Include Type", value: config.includeType, isReadOnly: false, update: (value) => config.setIncludeType(Boolean(value)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 289, columnNumber: 17 }, this), _jsxDEV(PanelFormBooleanField, { name: "Include Enum Type", value: config.includeEnumType, isReadOnly: false, update: (value) => config.setInclueEnumType(Boolean(value)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 298, columnNumber: 17 }, this), _jsxDEV(PanelFormBooleanField, { name: "Remove Properties With Null Values", value: config.removePropertiesWithNullValues, isReadOnly: false, update: (value) => config.setRemovePropertiesWithNullValues(Boolean(value)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 306, columnNumber: 17 }, this), _jsxDEV(PanelFormBooleanField, { name: "Remove properties with empty sets", value: config.removePropertiesWithEmptySets, isReadOnly: false, update: (value) => config.setRemovePropertiesWithEmptySets(Boolean(value)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 314, columnNumber: 17 }, this), _jsxDEV(PanelFormBooleanField, { name: "Use Fully Qualified Type Path", value: config.fullyQualifiedTypePath, isReadOnly: false, update: (value) => config.setFullyQualifiedTypePath(Boolean(value)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 322, columnNumber: 17 }, this), _jsxDEV(PanelFormBooleanField, { name: "Include Object Reference", value: config.includeObjectReference, isReadOnly: false, update: (value) => config.setIncludeObjectReference(Boolean(value)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 267, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 266, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 265, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [!toAdd && (_jsxDEV(ModalFooterButton, { className: "btn--caution", text: "Remove Config", onClick: removeConfig }, void 0, false, { fileName: _jsxFileName, lineNumber: 342, columnNumber: 25 }, this)), _jsxDEV(ModalFooterButton, { className: "modal__footer__close-btn", onClick: handleAction, type: toAdd ? 'primary' : 'secondary', children: toAdd ? 'Add Config' : 'Close' }, void 0, false, { fileName: _jsxFileName, lineNumber: 349, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 341, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 254, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 244, columnNumber: 13 }, this));
81
82
  });
82
83
  export const QueryBuilderGraphFetchExternalConfig = observer((props) => {
83
84
  const { graphFetchState, serializationState, serializationTreeData, bindings, isReadOnly, } = props;
@@ -110,16 +111,16 @@ export const QueryBuilderGraphFetchExternalConfig = observer((props) => {
110
111
  serializationState.setGraphFetchTree({ ...serializationTreeData });
111
112
  }
112
113
  };
113
- return (_jsx("div", { className: "query-builder-graph-fetch-external-format", children: _jsxs("div", { className: "service-execution-editor__configuration__items", children: [_jsxs("div", { className: "service-execution-editor__configuration__item", children: [_jsx("div", { className: "btn--sm service-execution-editor__configuration__item__label", children: _jsx(BufferIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown service-execution-editor__configuration__item__dropdown", disabled: isReadOnly, options: bindingOptions, onChange: onBindingChange, value: selectedBinding, formatOptionLabel: getBindingFormatter({
114
+ return (_jsxDEV("div", { className: "query-builder-graph-fetch-external-format", children: _jsxDEV("div", { className: "service-execution-editor__configuration__items", children: [_jsxDEV("div", { className: "service-execution-editor__configuration__item", children: [_jsxDEV("div", { className: "btn--sm service-execution-editor__configuration__item__label", children: _jsxDEV(BufferIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 419, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 418, columnNumber: 13 }, this), _jsxDEV(CustomSelectorInput, { className: "panel__content__form__section__dropdown service-execution-editor__configuration__item__dropdown", disabled: isReadOnly, options: bindingOptions, onChange: onBindingChange, value: selectedBinding, formatOptionLabel: getBindingFormatter({
114
115
  darkMode: !applicationStore.layoutService
115
116
  .TEMPORARY__isLightColorThemeEnabled,
116
117
  }), darkMode: !applicationStore.layoutService
117
- .TEMPORARY__isLightColorThemeEnabled })] }), _jsxs("div", { className: "service-execution-editor__configuration__item", children: [_jsx("div", { className: "btn--sm service-execution-editor__configuration__item__label", children: _jsx(FolderIcon, {}) }), _jsx(TreeView, { components: {
118
+ .TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 421, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 417, columnNumber: 11 }, this), _jsxDEV("div", { className: "service-execution-editor__configuration__item", children: [_jsxDEV("div", { className: "btn--sm service-execution-editor__configuration__item__label", children: _jsxDEV(FolderIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 440, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 439, columnNumber: 13 }, this), _jsxDEV(TreeView, { components: {
118
119
  TreeNodeContainer: QueryBuilderGraphFetchTreeNodeContainer,
119
120
  }, className: "query-builder-graph-fetch-tree__container__tree", treeData: serializationTreeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
120
121
  isReadOnly,
121
122
  removeNode,
122
- } })] })] }) }));
123
+ } }, void 0, false, { fileName: _jsxFileName, lineNumber: 442, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 438, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 416, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 414, columnNumber: 13 }, this));
123
124
  });
124
125
  export const QueryBuilderGraphFetchTreeExplorer = observer((props) => {
125
126
  const { graphFetchState, serializationState, treeData, updateTreeData, isReadOnly, } = props;
@@ -203,22 +204,22 @@ export const QueryBuilderGraphFetchTreeExplorer = observer((props) => {
203
204
  });
204
205
  }
205
206
  };
206
- return (_jsxs("div", { className: "query-builder-graph-fetch-tree", children: [_jsxs("div", { className: "query-builder-graph-fetch-tree__toolbar", children: [_jsx("div", { className: "query-builder__fetch__structure__modes", children: Object.values(SERIALIZATION_TYPE).map((type) => (_jsx("button", { onClick: onChangeSerializationType(type), className: clsx('query-builder__fetch__structure__mode', {
207
+ return (_jsxDEV("div", { className: "query-builder-graph-fetch-tree", children: [_jsxDEV("div", { className: "query-builder-graph-fetch-tree__toolbar", children: [_jsxDEV("div", { className: "query-builder__fetch__structure__modes", children: Object.values(SERIALIZATION_TYPE).map((type) => (_jsxDEV("button", { onClick: onChangeSerializationType(type), className: clsx('query-builder__fetch__structure__mode', {
207
208
  'query-builder__fetch__structure__mode--selected': type === serializationState.getLabel(),
208
- }), children: prettyCONSTName(type) }, type))) }), _jsxs("div", { className: "query-builder-graph-fetch-tree__actions", children: [serializationState instanceof GraphFetchPureSerializationState && (_jsx("div", { className: "query-builder-graph-fetch-tree__actions__action", children: _jsxs("button", { className: "query-builder-graph-fetch-tree__actions__action-btn__label", onClick: openConfigModal, title: `${serializationState.config
209
+ }), children: prettyCONSTName(type) }, type, false, { fileName: _jsxFileName, lineNumber: 607, columnNumber: 63 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 606, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder-graph-fetch-tree__actions", children: [serializationState instanceof GraphFetchPureSerializationState && (_jsxDEV("div", { className: "query-builder-graph-fetch-tree__actions__action", children: _jsxDEV("button", { className: "query-builder-graph-fetch-tree__actions__action-btn__label", onClick: openConfigModal, title: `${serializationState.config
209
210
  ? 'Edit pure serialization config'
210
- : 'Add pure serialization config'}`, tabIndex: -1, children: [_jsx(SerializeIcon, { className: "query-builder-graph-fetch-tree__actions__action-btn__label__icon" }), _jsx("div", { className: "query-builder-graph-fetch-tree__actions__action-btn__label__title", children: serializationState.config ? 'Edit Config' : 'Add Config' })] }) })), _jsxs("div", { className: clsx('panel__content__form__section__toggler'), onClick: toggleChecked, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
211
+ : 'Add pure serialization config'}`, tabIndex: -1, children: [_jsxDEV(SerializeIcon, { className: "query-builder-graph-fetch-tree__actions__action-btn__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 633, columnNumber: 19 }, this), _jsxDEV("div", { className: "query-builder-graph-fetch-tree__actions__action-btn__label__title", children: serializationState.config ? 'Edit Config' : 'Add Config' }, void 0, false, { fileName: _jsxFileName, lineNumber: 634, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 623, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 621, columnNumber: 81 }, this)), _jsxDEV("div", { className: clsx('panel__content__form__section__toggler'), onClick: toggleChecked, children: [_jsxDEV("button", { className: clsx('panel__content__form__section__toggler__btn', {
211
212
  'panel__content__form__section__toggler__btn--toggled': graphFetchState.isChecked,
212
- }), children: graphFetchState.isChecked ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Check graph fetch" }), _jsx("div", { className: "query-builder-graph-fetch-tree__toolbar__hint-icon", children: _jsx(InfoCircleIcon, { title: "With this enabled, while executing, violations of constraints will reported as part of the result, rather than causing a failure" }) })] })] })] }), _jsxs("div", { className: "query-builder-graph-fetch-tree__container", children: [serializationState instanceof GraphFetchPureSerializationState &&
213
- serializationState.configModal && (_jsx(PureSerializationConfigModal, { pureSerializationState: serializationState, graphFetchState: graphFetchState, config: serializationState.config ??
214
- PureSerializationConfig.createDefault() })), _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { children: _jsxs("div", { className: "query-builder-graph-fetch-external-format__config-group", children: [_jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__header", children: _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__header__title", children: "Graph Fetch Tree" }) }), _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__content", children: _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__item", children: _jsx(TreeView, { components: {
213
+ }), children: graphFetchState.isChecked ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 650, columnNumber: 47 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 652, columnNumber: 22 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 644, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__toggler__prompt", children: "Check graph fetch" }, void 0, false, { fileName: _jsxFileName, lineNumber: 656, columnNumber: 15 }, this), _jsxDEV("div", { className: "query-builder-graph-fetch-tree__toolbar__hint-icon", children: _jsxDEV(InfoCircleIcon, { title: "With this enabled, while executing, violations of constraints will reported as part of the result, rather than causing a failure" }, void 0, false, { fileName: _jsxFileName, lineNumber: 660, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 659, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 640, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 620, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 605, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder-graph-fetch-tree__container", children: [serializationState instanceof GraphFetchPureSerializationState &&
214
+ serializationState.configModal && (_jsxDEV(PureSerializationConfigModal, { pureSerializationState: serializationState, graphFetchState: graphFetchState, config: serializationState.config ??
215
+ PureSerializationConfig.createDefault() }, void 0, false, { fileName: _jsxFileName, lineNumber: 667, columnNumber: 48 }, this)), _jsxDEV(ResizablePanelGroup, { orientation: "horizontal", children: [_jsxDEV(ResizablePanel, { children: _jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group", children: [_jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group__header", children: _jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group__header__title", children: "Graph Fetch Tree" }, void 0, false, { fileName: _jsxFileName, lineNumber: 681, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 680, columnNumber: 17 }, this), _jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group__content", children: _jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group__item", children: _jsxDEV(TreeView, { components: {
215
216
  TreeNodeContainer: QueryBuilderGraphFetchTreeNodeContainer,
216
217
  }, className: "query-builder-graph-fetch-tree__container__tree", treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
217
218
  isReadOnly,
218
219
  removeNode,
219
- } }) }) })] }) }), _jsx(ResizablePanelSplitter, {}), serializationState instanceof
220
+ } }, void 0, false, { fileName: _jsxFileName, lineNumber: 687, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 686, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 685, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 679, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 678, columnNumber: 13 }, this), _jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 705, columnNumber: 13 }, this), serializationState instanceof
220
221
  GraphFetchExternalFormatSerializationState &&
221
- serializationState.treeData && (_jsx(ResizablePanel, { children: _jsxs("div", { className: "query-builder-graph-fetch-external-format__config-group", children: [_jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__header", children: _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__header__title", children: "Externalize" }) }), _jsx("div", { className: "query-builder-graph-fetch-external-format__config-group__content", children: _jsx("div", { className: "query-builder-graph-fetch-external-format_config-group__item", children: _jsx(QueryBuilderGraphFetchExternalConfig, { graphFetchState: graphFetchState, serializationState: serializationState, serializationTreeData: serializationState.treeData, bindings: compatibleBindings, isReadOnly: false }) }) })] }) }))] })] })] }));
222
+ serializationState.treeData && (_jsxDEV(ResizablePanel, { children: _jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group", children: [_jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group__header", children: _jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group__header__title", children: "Externalize" }, void 0, false, { fileName: _jsxFileName, lineNumber: 712, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 711, columnNumber: 21 }, this), _jsxDEV("div", { className: "query-builder-graph-fetch-external-format__config-group__content", children: _jsxDEV("div", { className: "query-builder-graph-fetch-external-format_config-group__item", children: _jsxDEV(QueryBuilderGraphFetchExternalConfig, { graphFetchState: graphFetchState, serializationState: serializationState, serializationTreeData: serializationState.treeData, bindings: compatibleBindings, isReadOnly: false }, void 0, false, { fileName: _jsxFileName, lineNumber: 718, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 717, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 716, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 710, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 708, columnNumber: 47 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 677, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 665, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 603, columnNumber: 13 }, this));
222
223
  });
223
224
  const QueryBuilderGraphFetchTreePanel = observer((props) => {
224
225
  const { graphFetchTreeState, serializationState } = props;
@@ -253,7 +254,7 @@ const QueryBuilderGraphFetchTreePanel = observer((props) => {
253
254
  isDragOver: monitor.isOver({ shallow: true }),
254
255
  }),
255
256
  }), [handleDrop]);
256
- return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_GRAPH_FETCH, className: "panel__content", children: _jsxs(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, contentClassName: "query-builder-graph-fetch-panel", children: [(!treeData || isGraphFetchTreeDataEmpty(treeData)) && (_jsx(BlankPanelPlaceholder, { text: "Add a graph fetch property", tooltipText: "Drag and drop properties here" })), treeData && !isGraphFetchTreeDataEmpty(treeData) && (_jsx(QueryBuilderGraphFetchTreeExplorer, { graphFetchState: graphFetchTreeState, serializationState: serializationState, treeData: treeData, isReadOnly: false, updateTreeData: updateTreeData }))] }) }));
257
+ return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_GRAPH_FETCH, className: "panel__content", children: _jsxDEV(PanelDropZone, { isDragOver: isDragOver, dropTargetConnector: dropTargetConnector, contentClassName: "query-builder-graph-fetch-panel", children: [(!treeData || isGraphFetchTreeDataEmpty(treeData)) && (_jsxDEV(BlankPanelPlaceholder, { text: "Add a graph fetch property", tooltipText: "Drag and drop properties here" }, void 0, false, { fileName: _jsxFileName, lineNumber: 799, columnNumber: 67 }, this)), treeData && !isGraphFetchTreeDataEmpty(treeData) && (_jsxDEV(QueryBuilderGraphFetchTreeExplorer, { graphFetchState: graphFetchTreeState, serializationState: serializationState, treeData: treeData, isReadOnly: false, updateTreeData: updateTreeData }, void 0, false, { fileName: _jsxFileName, lineNumber: 805, columnNumber: 65 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 794, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 789, columnNumber: 13 }, this));
257
258
  });
258
259
  export const QueryBuilderGraphFetchPanel = observer((props) => {
259
260
  const { graphFetchTreeState } = props;
@@ -261,8 +262,8 @@ export const QueryBuilderGraphFetchPanel = observer((props) => {
261
262
  const handleTextModeClick = () => graphFetchTreeState.queryBuilderState.textEditorState.openModal(QueryBuilderTextEditorMode.TEXT);
262
263
  if (serializationState instanceof GraphFetchPureSerializationState ||
263
264
  serializationState instanceof GraphFetchExternalFormatSerializationState) {
264
- return (_jsx(QueryBuilderGraphFetchTreePanel, { graphFetchTreeState: graphFetchTreeState, serializationState: serializationState }));
265
+ return (_jsxDEV(QueryBuilderGraphFetchTreePanel, { graphFetchTreeState: graphFetchTreeState, serializationState: serializationState }, void 0, false, { fileName: _jsxFileName, lineNumber: 832, columnNumber: 15 }, this));
265
266
  }
266
- return (_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_GRAPH_FETCH, children: _jsx(BlankPanelContent, { children: _jsxs("div", { className: "unsupported-element-editor__main", children: [_jsx("div", { className: "unsupported-element-editor__summary", children: "Unsupported Graph Fetch Serialization Type" }), _jsx("button", { className: "btn--dark unsupported-element-editor__to-text-mode__btn", onClick: handleTextModeClick, children: "Edit in text mode" })] }) }) }));
267
+ return (_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_GRAPH_FETCH, children: _jsxDEV(BlankPanelContent, { children: _jsxDEV("div", { className: "unsupported-element-editor__main", children: [_jsxDEV("div", { className: "unsupported-element-editor__summary", children: "Unsupported Graph Fetch Serialization Type" }, void 0, false, { fileName: _jsxFileName, lineNumber: 843, columnNumber: 13 }, this), _jsxDEV("button", { className: "btn--dark unsupported-element-editor__to-text-mode__btn", onClick: handleTextModeClick, children: "Edit in text mode" }, void 0, false, { fileName: _jsxFileName, lineNumber: 847, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 842, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 841, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 839, columnNumber: 13 }, this));
267
268
  });
268
269
  //# sourceMappingURL=QueryBuilderGraphFetchTreePanel.js.map