@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
@@ -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/QueryBuilderPropertyExpressionEditor.tsx";
2
3
  /**
3
4
  * Copyright (c) 2020-present, Goldman Sachs
4
5
  *
@@ -104,19 +105,19 @@ const DerivedPropertyParameterValueEditor = observer((props) => {
104
105
  : undefined);
105
106
  };
106
107
  const valueSpec = guaranteeNonNullable(derivedPropertyExpressionState.parameterValues[idx]);
107
- return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: variable.name }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: `${variable.multiplicity.lowerBound === 0 ? 'optional' : ''}` }), _jsx("div", { className: "query-builder__variable-editor", children: _jsx(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsx(BasicValueSpecificationEditor, { valueSpecification: valueSpec, setValueSpecification: (val) => {
108
+ return (_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: variable.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: `${variable.multiplicity.lowerBound === 0 ? 'optional' : ''}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__variable-editor", children: _jsxDEV(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsxDEV(BasicValueSpecificationEditor, { valueSpecification: valueSpec, setValueSpecification: (val) => {
108
109
  functionExpression_setParameterValue(derivedPropertyExpressionState.propertyExpression, val, idx + 1, derivedPropertyExpressionState.queryBuilderState
109
110
  .observerContext);
110
111
  }, graph: graph, obseverContext: derivedPropertyExpressionState.queryBuilderState.observerContext, typeCheckOption: {
111
112
  expectedType: parameterType,
112
113
  match: parameterType === PrimitiveType.DATETIME,
113
- }, resetValue: resetParameterValue, isConstant: queryBuilderState.constantState.isValueSpecConstant(valueSpec) }) }) }), _jsx("div", { className: "panel__content__form__section__list" })] }, variable.name));
114
+ }, resetValue: resetParameterValue, isConstant: queryBuilderState.constantState.isValueSpecConstant(valueSpec) }, void 0, false, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 238, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 237, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content__form__section__list" }, void 0, false, { fileName: _jsxFileName, lineNumber: 268, columnNumber: 9 }, this)] }, variable.name, true, { fileName: _jsxFileName, lineNumber: 229, columnNumber: 13 }, this));
114
115
  });
115
116
  const DerivedPropertyExpressionEditor = observer((props) => {
116
117
  const { derivedPropertyExpressionState } = props;
117
118
  const parameterValues = derivedPropertyExpressionState.parameterValues;
118
119
  const parameters = derivedPropertyExpressionState.parameters;
119
- return (_jsxs("div", { className: "query-builder-property-editor__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: derivedPropertyExpressionState.title }), !parameterValues.length && (_jsx("div", { className: "query-builder-property-editor__section__content--empty", children: "No parameter" })), parameters.map((variable, idx) => (_jsx(DerivedPropertyParameterValueEditor, { derivedPropertyExpressionState: derivedPropertyExpressionState, variable: variable, idx: idx }, variable.name)))] }));
120
+ return (_jsxDEV("div", { className: "query-builder-property-editor__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: derivedPropertyExpressionState.title }, void 0, false, { fileName: _jsxFileName, lineNumber: 284, columnNumber: 9 }, this), !parameterValues.length && (_jsxDEV("div", { className: "query-builder-property-editor__section__content--empty", children: "No parameter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 287, columnNumber: 38 }, this)), parameters.map((variable, idx) => (_jsxDEV(DerivedPropertyParameterValueEditor, { derivedPropertyExpressionState: derivedPropertyExpressionState, variable: variable, idx: idx }, variable.name, false, { fileName: _jsxFileName, lineNumber: 292, columnNumber: 45 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 282, columnNumber: 13 }, this));
120
121
  });
121
122
  export const QueryBuilderPropertyExpressionEditor = observer((props) => {
122
123
  const { propertyExpressionState } = props;
@@ -131,11 +132,11 @@ export const QueryBuilderPropertyExpressionEditor = observer((props) => {
131
132
  (isSuperType(variableType, p.genericType.value.rawType) ||
132
133
  p.genericType.value.rawType.name === variableType.name));
133
134
  }));
134
- return (_jsx(Dialog, { open: Boolean(propertyExpressionState.isEditingDerivedPropertyExpression), onClose: handleClose, classes: {
135
+ return (_jsxDEV(Dialog, { open: Boolean(propertyExpressionState.isEditingDerivedPropertyExpression), onClose: handleClose, classes: {
135
136
  root: 'editor-modal__root-container',
136
137
  container: 'editor-modal__container',
137
138
  paper: 'editor-modal__content',
138
- }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder-property-editor", children: [_jsx(ModalHeader, { title: "Derived Property" }), _jsxs(ModalBody, { className: "query-builder-property-editor__content", children: [propertyExpressionState.derivedPropertyExpressionStates.map((pe) => (_jsx(DerivedPropertyExpressionEditor, { derivedPropertyExpressionState: pe }, pe.path))), _jsx(ModalBody, { className: "query-builder__variables__modal__body", children: _jsx(VariableSelector, { queryBuilderState: propertyExpressionState.queryBuilderState, filterBy: (v) => isParameterCompatibleWithDerivedProperty(v, propertyExpressionState.derivedPropertyExpressionStates) }) })] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Done", onClick: handleClose }) })] }) }));
139
+ }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder-property-editor", children: [_jsxDEV(ModalHeader, { title: "Derived Property" }, void 0, false, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder-property-editor__content", children: [propertyExpressionState.derivedPropertyExpressionStates.map((pe) => (_jsxDEV(DerivedPropertyExpressionEditor, { derivedPropertyExpressionState: pe }, pe.path, false, { fileName: _jsxFileName, lineNumber: 351, columnNumber: 24 }, this))), _jsxDEV(ModalBody, { className: "query-builder__variables__modal__body", children: _jsxDEV(VariableSelector, { queryBuilderState: propertyExpressionState.queryBuilderState, filterBy: (v) => isParameterCompatibleWithDerivedProperty(v, propertyExpressionState.derivedPropertyExpressionStates) }, void 0, false, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 349, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { text: "Done", onClick: handleClose }, void 0, false, { fileName: _jsxFileName, lineNumber: 371, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 370, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 342, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 13 }, this));
139
140
  });
140
141
  export const QueryBuilderEditablePropertyName = observer((props) => {
141
142
  const { columnName, setColumnName, error, title, defaultColumnName } = props;
@@ -159,7 +160,7 @@ export const QueryBuilderEditablePropertyName = observer((props) => {
159
160
  }
160
161
  setIsEditingColumnName(false);
161
162
  };
162
- return isEditingColumnName ? (_jsx("div", { className: "query-builder__property__name__editor", children: _jsx(InputWithInlineValidation, { className: "query-builder__property__name__editor__input input-group__input", spellCheck: false, value: selectedColumnName, onChange: (event) => setSelectedColumnName(event.target.value), onKeyDown: (event) => {
163
+ return isEditingColumnName ? (_jsxDEV("div", { className: "query-builder__property__name__editor", children: _jsxDEV(InputWithInlineValidation, { className: "query-builder__property__name__editor__input input-group__input", spellCheck: false, value: selectedColumnName, onChange: (event) => setSelectedColumnName(event.target.value), onKeyDown: (event) => {
163
164
  if (event.key === 'Enter') {
164
165
  handleFinishEditing();
165
166
  }
@@ -168,14 +169,14 @@ export const QueryBuilderEditablePropertyName = observer((props) => {
168
169
  // dragging the draggable element containing the input.
169
170
  e.preventDefault();
170
171
  e.stopPropagation();
171
- } }) })) : (_jsx("div", { className: "query-builder__property__name__display", title: title, children: _jsx("span", { className: clsx('query-builder__property__name__display__content', {
172
+ } }, void 0, false, { fileName: _jsxFileName, lineNumber: 414, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 412, columnNumber: 35 }, this)) : (_jsxDEV("div", { className: "query-builder__property__name__display", title: title, children: _jsxDEV("span", { className: clsx('query-builder__property__name__display__content', {
172
173
  'query-builder__property__name__display__content--error': error,
173
174
  'editable-value': setColumnName,
174
175
  }), onClick: () => {
175
176
  if (setColumnName) {
176
177
  setIsEditingColumnName(true);
177
178
  }
178
- }, children: columnName }) }));
179
+ }, children: columnName }, void 0, false, { fileName: _jsxFileName, lineNumber: 439, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 437, columnNumber: 10 }, this));
179
180
  });
180
181
  export const QueryBuilderPropertyExpressionBadge = observer((props) => {
181
182
  const { columnName, propertyExpressionState, setColumnName, error } = props;
@@ -188,13 +189,13 @@ export const QueryBuilderPropertyExpressionBadge = observer((props) => {
188
189
  propertyExpressionState.setIsEditingDerivedProperty(true);
189
190
  }
190
191
  };
191
- return (_jsx("div", { className: "query-builder-property-expression-badge", children: _jsxs("div", { className: clsx('query-builder-property-expression-badge__content', {
192
+ return (_jsxDEV("div", { className: "query-builder-property-expression-badge", children: _jsxDEV("div", { className: clsx('query-builder-property-expression-badge__content', {
192
193
  'query-builder-property-expression-badge__content--class': type instanceof Class,
193
194
  'query-builder-property-expression-badge__content--enumeration': type instanceof Enumeration,
194
195
  'query-builder-property-expression-badge__content--primitive': type instanceof PrimitiveType,
195
- }), children: [_jsx(QueryBuilderEditablePropertyName, { columnName: columnName ?? propertyExpressionState.title, setColumnName: setColumnName, error: error, title: `${propertyExpressionState.title} - ${propertyExpressionState.path}`, defaultColumnName: getPropertyChainName(propertyExpressionState.propertyExpression, propertyExpressionState.queryBuilderState.explorerState
196
- .humanizePropertyName) }), hasDerivedPropertyInExpression && (_jsxs("button", { className: clsx('query-builder-property-expression-badge__action', {
196
+ }), children: [_jsxDEV(QueryBuilderEditablePropertyName, { columnName: columnName ?? propertyExpressionState.title, setColumnName: setColumnName, error: error, title: `${propertyExpressionState.title} - ${propertyExpressionState.path}`, defaultColumnName: getPropertyChainName(propertyExpressionState.propertyExpression, propertyExpressionState.queryBuilderState.explorerState
197
+ .humanizePropertyName) }, void 0, false, { fileName: _jsxFileName, lineNumber: 490, columnNumber: 11 }, this), hasDerivedPropertyInExpression && (_jsxDEV("button", { className: clsx('query-builder-property-expression-badge__action', {
197
198
  'query-builder-property-expression-badge__action--error': !isValid,
198
- }), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsx(InfoCircleIcon, {}), " (...)"] })), _jsx(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: propertyExpressionState })] }) }));
199
+ }), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 514, columnNumber: 27 }, this), " (...)"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 501, columnNumber: 47 }, this)), _jsxDEV(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: propertyExpressionState }, void 0, false, { fileName: _jsxFileName, lineNumber: 517, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 480, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 478, columnNumber: 13 }, this));
199
200
  });
200
201
  //# sourceMappingURL=QueryBuilderPropertyExpressionEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertyExpressionEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,GAET,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EACJ,MAAM,EACN,aAAa,EACb,cAAc,EACd,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sCAAsC,EACtC,oBAAoB,GAGrB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAGL,KAAK,EACL,WAAW,EACX,aAAa,EACb,WAAW,EACX,0BAA0B,EAC1B,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAA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2BAA2B,EACpC,KAAK,EAAC,qCAAqC,aAE1C,CAAC,OAAO,IAAI,KAAC,cAAc,KAAG,cACxB,CACV,EACD,KAAC,oCAAoC,IACnC,uBAAuB,EAAE,uBAAuB,GAChD,IACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderPropertyExpressionEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,GAET,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EACJ,MAAM,EACN,aAAa,EACb,cAAc,EACd,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sCAAsC,EACtC,oBAAoB,GAGrB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAGL,KAAK,EACL,WAAW,EACX,aAAa,EACb,WAAW,EACX,0BAA0B,EAC1B,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAEL,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,oCAAoC,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EACL,wCAAwC,EACxC,iCAAiC,EACjC,8BAA8B,GAC/B,MAAM,w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];
22
22
  onClassChange?: ((val: Class) => void) | undefined;
23
23
  noMatchMessage?: string | undefined;
24
- }) => import("react/jsx-runtime").JSX.Element) & {
24
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
25
25
  displayName: string;
26
26
  };
27
27
  export declare const buildRuntimeValueOption: (runtimeValue: Runtime) => {
@@ -36,7 +36,7 @@ export declare const getRuntimeOptionFormatter: (props: {
36
36
  export declare const QueryBuilderSidebar: ((props: {
37
37
  queryBuilderState: QueryBuilderState;
38
38
  children: React.ReactNode;
39
- }) => import("react/jsx-runtime").JSX.Element) & {
39
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
40
40
  displayName: string;
41
41
  };
42
42
  //# sourceMappingURL=QueryBuilderSideBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderSideBar.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,OAAO,EACL,KAAK,KAAK,EAEV,KAAK,OAAO,EACZ,KAAK,kBAAkB,EAUxB,MAAM,qBAAqB,CAAC;AAU7B,eAAO,MAAM,iBAAiB,cACjB,kBAAkB,GAAG,SAAS,KACxC,MAAM,GAAG,SAiBX,CAAC;AA2CF,eAAO,MAAM,yBAAyB,WAC5B;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACnD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;;CA8FF,CAAC;AAEF,eAAO,MAAM,uBAAuB,iBACpB,OAAO,KACpB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAMhC,CAAC;AAEH,eAAO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,mBAAmB,WACtB;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,EAAE,MAAM,SAAS,CAAC;CAC3B;;CA2CF,CAAC"}
@@ -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/QueryBuilderSideBar.tsx";
2
3
  /**
3
4
  * Copyright (c) 2020-present, Goldman Sachs
4
5
  *
@@ -14,13 +15,12 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
15
  * See the License for the specific language governing permissions and
15
16
  * limitations under the License.
16
17
  */
17
- import { CustomSelectorInput, createFilter, CogIcon, ClockIcon, clsx, PanelHeader, compareLabelFn, } from '@finos/legend-art';
18
+ import { CustomSelectorInput, createFilter, CogIcon, clsx, PanelHeader, compareLabelFn, } from '@finos/legend-art';
18
19
  import { observer } from 'mobx-react-lite';
19
20
  import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
20
- import { LATEST_DATE, PrimitiveInstanceValue, VariableExpression, getMilestoneTemporalStereotype, PackageableElementExplicitReference, RuntimePointer, VARIABLE_REFERENCE_TOKEN, isElementDeprecated, PrimitiveType, } from '@finos/legend-graph';
21
+ import { LATEST_DATE, PrimitiveInstanceValue, VariableExpression, PackageableElementExplicitReference, RuntimePointer, VARIABLE_REFERENCE_TOKEN, isElementDeprecated, PrimitiveType, } from '@finos/legend-graph';
21
22
  import { useApplicationStore } from '@finos/legend-application';
22
23
  import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
23
- import { MilestoningParametersEditor } from './explorer/QueryBuilderMilestoningEditor.js';
24
24
  export const getParameterValue = (parameter) => {
25
25
  if (parameter instanceof VariableExpression) {
26
26
  return `${VARIABLE_REFERENCE_TOKEN}${parameter.name}`;
@@ -38,21 +38,13 @@ export const getParameterValue = (parameter) => {
38
38
  }
39
39
  };
40
40
  const generateClassLabel = (val, queryBuilderState) => {
41
- const milestoneStereotype = getMilestoneTemporalStereotype(val, queryBuilderState.graphManagerState.graph);
42
41
  const isDeprecatedClass = isElementDeprecated(val, queryBuilderState.graphManagerState.graph);
43
- let milestoningTooltipText;
44
- if (milestoneStereotype) {
45
- milestoningTooltipText = queryBuilderState.milestoningState
46
- .getMilestoningImplementation(milestoneStereotype)
47
- .getMilestoningToolTipText();
48
- }
49
- return (_jsxs("div", { className: clsx('query-builder__setup__class-option-label', {
42
+ return (_jsxDEV("div", { className: clsx('query-builder__setup__class-option-label', {
50
43
  'query-builder__setup__class-option-label--deprecated': isDeprecatedClass,
51
- }), children: [_jsx("div", { className: "query-builder__setup__class-option-label__name", children: val.name }), milestoningTooltipText && (_jsx(ClockIcon, { className: "query-builder__setup__class-option-label__milestoning", title: `This class is milestoned:\n${milestoningTooltipText}` }))] }));
44
+ }), children: _jsxDEV("div", { className: "query-builder__setup__class-option-label__name", children: val.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 87, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 11 }, this));
52
45
  };
53
46
  export const QueryBuilderClassSelector = observer((props) => {
54
47
  const { queryBuilderState, classes, onClassChange, noMatchMessage } = props;
55
- const milestoningState = queryBuilderState.milestoningState;
56
48
  const applicationStore = useApplicationStore();
57
49
  // class
58
50
  const elementFilterOption = createFilter({
@@ -79,16 +71,14 @@ export const QueryBuilderClassSelector = observer((props) => {
79
71
  queryBuilderState.changeClass(val.value);
80
72
  onClassChange?.(val.value);
81
73
  };
82
- // milestoning
83
- const showMilestoningEditor = () => milestoningState.setShowMilestoningEditor(true);
84
- return (_jsx("div", { className: "query-builder__setup__config-group query-builder__setup__config-group--class", children: _jsxs("div", { className: "query-builder__setup__config-group__item ", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "entity", htmlFor: "query-builder__setup__class-selector", children: "Entity" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__class-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector query-builder__setup__config-group__item__selector__milestoned", placeholder: classOptions.length
74
+ return (_jsxDEV("div", { className: "query-builder__setup__config-group query-builder__setup__config-group--class", children: _jsxDEV("div", { className: "query-builder__setup__config-group__item ", children: [_jsxDEV("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "entity", htmlFor: "query-builder__setup__class-selector", children: "Entity" }, void 0, false, { fileName: _jsxFileName, lineNumber: 135, columnNumber: 11 }, this), _jsxDEV(CustomSelectorInput, { inputId: "query-builder__setup__class-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector query-builder__setup__config-group__item__selector__milestoned", placeholder: classOptions.length
85
75
  ? 'Choose an entity...'
86
76
  : noMatchMessage ?? 'No entity found', disabled: classOptions.length < 1 ||
87
77
  (classOptions.length === 1 && Boolean(selectedClassOption)), noMatchMessage: noMatchMessage, options: classOptions, onChange: changeClass, value: selectedClassOption, darkMode: !applicationStore.layoutService
88
78
  .TEMPORARY__isLightColorThemeEnabled, filterOption: elementFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
89
79
  darkMode: !applicationStore.layoutService
90
80
  .TEMPORARY__isLightColorThemeEnabled,
91
- }) }), queryBuilderState.isQuerySupported && (_jsx("button", { className: "btn--dark btn__icon--dark query-builder__setup__milestoning", tabIndex: -1, onClick: showMilestoningEditor, disabled: !milestoningState.isMilestonedQuery, title: "Edit Milestoning Parameters", children: _jsx(ClockIcon, {}) })), milestoningState.isMilestonedQuery && (_jsx(MilestoningParametersEditor, { queryBuilderState: queryBuilderState }))] }) }));
81
+ }) }, void 0, false, { fileName: _jsxFileName, lineNumber: 142, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 134, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 132, columnNumber: 13 }, this));
92
82
  });
93
83
  export const buildRuntimeValueOption = (runtimeValue) => ({
94
84
  value: runtimeValue,
@@ -101,7 +91,7 @@ export const getRuntimeOptionFormatter = (props) => function RuntimeOptionLabel(
101
91
  const runtimePointer = option.value;
102
92
  return getPackageableElementOptionFormatter(props)(buildElementOption(runtimePointer.packageableRuntime.value));
103
93
  }
104
- return option.value instanceof RuntimePointer ? (option.value.packageableRuntime.value.name) : (_jsxs("div", { className: "query-builder__setup__runtime-option--custom", children: [_jsx(CogIcon, {}), _jsx("div", { className: "query-builder__setup__runtime-option--custom__label", children: "custom" })] }));
94
+ return option.value instanceof RuntimePointer ? (option.value.packageableRuntime.value.name) : (_jsxDEV("div", { className: "query-builder__setup__runtime-option--custom", children: [_jsxDEV(CogIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 199, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__setup__runtime-option--custom__label", children: "custom" }, void 0, false, { fileName: _jsxFileName, lineNumber: 200, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 197, columnNumber: 10 }, this));
105
95
  };
106
96
  const BasicQueryBuilderSetup = observer((props) => {
107
97
  const { queryBuilderState } = props;
@@ -152,13 +142,13 @@ const BasicQueryBuilderSetup = observer((props) => {
152
142
  ? option.value.packageableRuntime.value.path
153
143
  : 'custom',
154
144
  });
155
- return (_jsxs("div", { className: "query-builder__setup__config-group", children: [_jsx(PanelHeader, { title: "properties" }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "mapping", htmlFor: "query-builder__setup__mapping-selector", children: "Mapping" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__mapping-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: mappingOptions.length
145
+ return (_jsxDEV("div", { className: "query-builder__setup__config-group", children: [_jsxDEV(PanelHeader, { title: "properties" }, void 0, false, { fileName: _jsxFileName, lineNumber: 274, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__setup__config-group__content", children: [_jsxDEV("div", { className: "query-builder__setup__config-group__item", children: [_jsxDEV("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "mapping", htmlFor: "query-builder__setup__mapping-selector", children: "Mapping" }, void 0, false, { fileName: _jsxFileName, lineNumber: 277, columnNumber: 13 }, this), _jsxDEV(CustomSelectorInput, { inputId: "query-builder__setup__mapping-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: mappingOptions.length
156
146
  ? 'Choose a mapping...'
157
147
  : 'No mapping found', disabled: queryBuilderState.isMappingReadOnly || !queryBuilderState.class, options: mappingOptions, onChange: changeMapping, value: selectedMappingOption, darkMode: !applicationStore.layoutService
158
148
  .TEMPORARY__isLightColorThemeEnabled, filterOption: mappingFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
159
149
  darkMode: !applicationStore.layoutService
160
150
  .TEMPORARY__isLightColorThemeEnabled,
161
- }) })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", htmlFor: "query-builder__setup__runtime-selector", children: "Runtime" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__runtime-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: runtimeOptions.length
151
+ }) }, void 0, false, { fileName: _jsxFileName, lineNumber: 284, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 276, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__setup__config-group__item", children: [_jsxDEV("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", htmlFor: "query-builder__setup__runtime-selector", children: "Runtime" }, void 0, false, { fileName: _jsxFileName, lineNumber: 311, columnNumber: 13 }, this), _jsxDEV(CustomSelectorInput, { inputId: "query-builder__setup__runtime-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: runtimeOptions.length
162
152
  ? 'Choose a runtime...'
163
153
  : 'No runtime found', disabled: queryBuilderState.isRuntimeReadOnly ||
164
154
  !queryBuilderState.class ||
@@ -166,7 +156,7 @@ const BasicQueryBuilderSetup = observer((props) => {
166
156
  .TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
167
157
  darkMode: !applicationStore.layoutService
168
158
  .TEMPORARY__isLightColorThemeEnabled,
169
- }) })] }), _jsx("div", { className: "query-builder__setup__config-group__item", children: _jsx(QueryBuilderClassSelector, { queryBuilderState: queryBuilderState, classes: classes }) })] })] }));
159
+ }) }, void 0, false, { fileName: _jsxFileName, lineNumber: 318, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 310, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__setup__config-group__item", children: _jsxDEV(QueryBuilderClassSelector, { queryBuilderState: queryBuilderState, classes: classes }, void 0, false, { fileName: _jsxFileName, lineNumber: 347, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 346, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 275, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 272, columnNumber: 13 }, this));
170
160
  });
171
161
  export const QueryBuilderSidebar = observer((props) => {
172
162
  const { queryBuilderState, children } = props;
@@ -174,7 +164,7 @@ export const QueryBuilderSidebar = observer((props) => {
174
164
  const extraTemplateQueryPanelContentRenderer = applicationStore.pluginManager
175
165
  .getApplicationPlugins()
176
166
  .flatMap((plugin) => plugin.getExtraTemplateQueryPanelContentRenderer?.() ?? []);
177
- const templateQueryPanelContentTab = extraTemplateQueryPanelContentRenderer[0] ? (extraTemplateQueryPanelContentRenderer[0](queryBuilderState)) : (_jsx(_Fragment, {}));
178
- return (_jsxs("div", { className: clsx('query-builder__side-bar', queryBuilderState.sideBarClassName), children: [_jsx("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_SETUP, className: "panel query-builder__setup", children: _jsx("div", { className: "panel__content query-builder__setup__content", children: queryBuilderState.TEMPORARY__setupPanelContentRenderer?.() ?? (_jsx(BasicQueryBuilderSetup, { queryBuilderState: queryBuilderState })) }) }), _jsx("div", { className: "query-builder__template-query", children: templateQueryPanelContentTab }), _jsx("div", { className: "query-builder__side-bar__content", children: children })] }));
167
+ const templateQueryPanelContentTab = extraTemplateQueryPanelContentRenderer[0] ? (extraTemplateQueryPanelContentRenderer[0](queryBuilderState)) : (_jsxDEV(_Fragment, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 377, columnNumber: 12 }, this));
168
+ return (_jsxDEV("div", { className: clsx('query-builder__side-bar', queryBuilderState.sideBarClassName), children: [_jsxDEV("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_SETUP, className: "panel query-builder__setup", children: _jsxDEV("div", { className: "panel__content query-builder__setup__content", children: queryBuilderState.TEMPORARY__setupPanelContentRenderer?.() ?? (_jsxDEV(BasicQueryBuilderSetup, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 393, columnNumber: 77 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 392, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 388, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__template-query", children: templateQueryPanelContentTab }, void 0, false, { fileName: _jsxFileName, lineNumber: 398, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__side-bar__content", children: children }, void 0, false, { fileName: _jsxFileName, lineNumber: 401, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 381, columnNumber: 13 }, this));
179
169
  });
180
170
  //# sourceMappingURL=QueryBuilderSideBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderSideBar.js","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.t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IAC9D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderSideBar.js","sourceRoot":"","sources":["../../src/components/QueryBuilderSideBar.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,WAAW,EACX,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAKL,WAAW,EACX,sBAAsB,EACtB,kBAAkB,EAClB,mCAAmC,EACnC,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AAGzC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,SAAyC,EACrB,EAAE;IACtB,IAAI,SAAS,YAAY,kBAAkB,EAAE,CAAC;QAC5C,OAAO,GAAG,wBAAwB,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC;IACxD,CAAC;SAAM,CAAC;QACN,IACE,SAAS,YAAY,sBAAsB;YAC3C,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,KAAK,aAAa,CAAC,UAAU,EAChE,CAAC;YACD,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,CAAW,CAAC;QACvC,CAAC;aAAM,IACL,SAAS,YAAY,sBAAsB;YAC3C,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,KAAK,aAAa,CAAC,UAAU,EAChE,CAAC;YACD,OAAO,WAAW,CAAC;QACrB,CAAC;QACD,OAAO,WAAW,CAAC;IACrB,CAAC;AACH,CAAC,CAAC;AAEF,M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AK,CACN,CAAC;IAEJ,OAAO,CACL,iBACE,SAAS,EAAE,IAAI,CACb,yBAAyB,EACzB,iBAAiB,CAAC,gBAAgB,CACnC,aAED,gCACe,qBAAqB,CAAC,mBAAmB,EACtD,SAAS,EAAC,4BAA4B,YAEtC,iBAAK,SAAS,EAAC,8CAA8C,YAC1D,iBAAiB,CAAC,oCAAoC,EAAE,EAAE,IAAI,CAC7D,QAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,uFAAI,CACjE,uFACG,sFACF,EACN,iBAAK,SAAS,EAAC,+BAA+B,YAC3C,4BAA4B,sFACzB,EACN,iBAAK,SAAS,EAAC,kCAAkC,YAAE,QAAQ,sFAAO,uFAC9D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -16,7 +16,7 @@
16
16
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
17
17
  export declare const QueryBuilderTextEditor: ((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=QueryBuilderTextEditor.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/QueryBuilderTextEditor.tsx";
2
3
  /**
3
4
  * Copyright (c) 2020-present, Goldman Sachs
4
5
  *
@@ -51,18 +52,18 @@ export const QueryBuilderTextEditor = observer((props) => {
51
52
  pretty: true,
52
53
  })).catch(applicationStore.alertUnhandledError);
53
54
  }, [applicationStore, queryTextEditorState]);
54
- return (_jsx(Dialog, { open: Boolean(mode), onClose: close, classes: {
55
+ return (_jsxDEV(Dialog, { open: Boolean(mode), onClose: close, classes: {
55
56
  root: 'editor-modal__root-container',
56
57
  container: 'editor-modal__container',
57
58
  paper: 'editor-modal__content',
58
- }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder-text-mode__modal', {
59
+ }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder-text-mode__modal', {
59
60
  'query-builder-text-mode__modal--has-error': Boolean(queryTextEditorState.parserError),
60
- }), children: [_jsxs(ModalHeader, { children: [_jsx("div", { className: "modal__title", children: title }), queryTextEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse query" }))] }), _jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.textEditorState.closingQueryState.isInProgress }), _jsx(ModalBody, { children: _jsxs("div", { className: clsx('query-builder-text-mode__modal__content', {
61
+ }), children: [_jsxDEV(ModalHeader, { children: [_jsxDEV("div", { className: "modal__title", children: title }, void 0, false, { fileName: _jsxFileName, lineNumber: 106, columnNumber: 13 }, this), queryTextEditorState.parserError && (_jsxDEV("div", { className: "modal__title__error-badge", children: "Failed to parse query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 107, columnNumber: 51 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 105, columnNumber: 11 }, this), _jsxDEV(PanelLoadingIndicator, { isLoading: queryBuilderState.textEditorState.closingQueryState.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 113, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: _jsxDEV("div", { className: clsx('query-builder-text-mode__modal__content', {
61
62
  backdrop__element: Boolean(queryTextEditorState.parserError),
62
63
  }), children: [mode === QueryBuilderTextEditorMode.TEXT &&
63
- (isReadOnly ? (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.PURE, inputValue: queryTextEditorState.fullLambdaString, isReadOnly: true })) : (_jsx(LambdaEditor, { className: "query-builder-text-mode__lambda-editor", disabled: queryTextEditorState.isConvertingLambdaToString, lambdaEditorState: queryTextEditorState, forceBackdrop: false, autoFocus: true }))), mode === QueryBuilderTextEditorMode.JSON && (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: queryTextEditorState.readOnlylambdaJson, isReadOnly: true }))] }) }), _jsxs(ModalFooter, { children: [queryBuilderState.textEditorState.closingQueryState
64
- .isInProgress && (_jsx(ModalFooterStatus, { children: "Closing Query..." })), queryBuilderState.queryCompileState.isInProgress && (_jsxs(ModalFooterStatus, { children: [_jsx("div", { className: "loading-icon__container--spinning", children: _jsx(RefreshIcon, {}) }), "Compiling Query..."] })), isEditingPure ? (_jsx(ModalFooterButton, { className: "btn--caution", onClick: discardChanges, text: "Discard Changes" })) : (_jsx(ModalFooterButton, { formatText: false, onClick: copyExpression, text: "Copy to Clipboard" })), _jsx(ModalFooterButton, { onClick: close, disabled: Boolean(queryTextEditorState.parserError) ||
64
+ (isReadOnly ? (_jsxDEV(CodeEditor, { language: CODE_EDITOR_LANGUAGE.PURE, inputValue: queryTextEditorState.fullLambdaString, isReadOnly: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 125, columnNumber: 32 }, this)) : (_jsxDEV(LambdaEditor, { className: "query-builder-text-mode__lambda-editor", disabled: queryTextEditorState.isConvertingLambdaToString, lambdaEditorState: queryTextEditorState, forceBackdrop: false, autoFocus: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 131, columnNumber: 22 }, this))), mode === QueryBuilderTextEditorMode.JSON && (_jsxDEV(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: queryTextEditorState.readOnlylambdaJson, isReadOnly: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 140, columnNumber: 61 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 119, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [queryBuilderState.textEditorState.closingQueryState
65
+ .isInProgress && (_jsxDEV(ModalFooterStatus, { children: "Closing Query..." }, void 0, false, { fileName: _jsxFileName, lineNumber: 151, columnNumber: 33 }, this)), queryBuilderState.queryCompileState.isInProgress && (_jsxDEV(ModalFooterStatus, { children: [_jsxDEV("div", { className: "loading-icon__container--spinning", children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 157, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 17 }, this), "Compiling Query..."] }, void 0, true, { fileName: _jsxFileName, lineNumber: 154, columnNumber: 67 }, this)), isEditingPure ? (_jsxDEV(ModalFooterButton, { className: "btn--caution", onClick: discardChanges, text: "Discard Changes" }, void 0, false, { fileName: _jsxFileName, lineNumber: 162, columnNumber: 31 }, this)) : (_jsxDEV(ModalFooterButton, { formatText: false, onClick: copyExpression, text: "Copy to Clipboard" }, void 0, false, { fileName: _jsxFileName, lineNumber: 168, columnNumber: 18 }, this)), _jsxDEV(ModalFooterButton, { onClick: close, disabled: Boolean(queryTextEditorState.parserError) ||
65
66
  queryBuilderState.textEditorState.closingQueryState.isInProgress, type: "secondary", children: queryBuilderState.textEditorState.closingQueryState
66
- .isInProgress ? (_jsx(_Fragment, { children: _jsxs("div", { className: "loading-icon__container--spinning", children: [_jsx(RefreshIcon, {}), "Closing"] }) })) : (_jsx(_Fragment, { children: " Close " })) })] })] }) }));
67
+ .isInProgress ? (_jsxDEV(_Fragment, { children: _jsxDEV("div", { className: "loading-icon__container--spinning", children: [_jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 187, columnNumber: 21 }, this), "Closing"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 184, columnNumber: 34 }, this)) : (_jsxDEV(_Fragment, { children: " Close " }, void 0, false, { fileName: _jsxFileName, lineNumber: 191, columnNumber: 20 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 175, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 149, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 95, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 85, columnNumber: 13 }, this));
67
68
  });
68
69
  //# sourceMappingURL=QueryBuilderTextEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTextEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAC5C,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,eAAe,CAAC;IAC/D,MAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC;IACnD,MAAM,KAAK,GAAG,gBAAgB,CAAC,mBAAmB,CAAC,GAAG,EAAE,CAC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C,WAAW,eACT,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;6BACjD,YAAY,IAAI,CACjB,KAAC,iBAAiB,mCAAqC,CACxD,EACA,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,IAAI,CACnD,MAAC,iBAAiB,eAChB,cAAK,SAAS,EAAC,mCAAmC,YAChD,KAAC,WAAW,KAAG,GACX,0BAEY,CACrB,EACA,aAAa,CAAC,CAAC,CAAC,CACf,KAAC,iBAAiB,IAChB,SAAS,EAAC,cAAc,EACxB,OAAO,EAAE,cAAc,EACvB,IAAI,EAAC,iBAAiB,GACtB,CACH,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,IAChB,UAAU,EAAE,KAAK,EACjB,OAAO,EAAE,cAAc,EACvB,IAAI,EAAC,mBAAmB,GACxB,CACH,EACD,KAAC,iBAAiB,IAChB,OAAO,EAAE,KAAK,EACd,QAAQ,EACN,OAAO,CAAC,oBAAoB,CAAC,WAAW,CAAC;gCACzC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,YAAY,EAElE,IAAI,EAAC,WAAW,YAEf,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;iCACjD,YAAY,CAAC,CAAC,CAAC,CAChB,4BACE,eAAK,SAAS,EAAC,mCAAmC,aAChD,KAAC,WAAW,KAAG,eAEX,GACL,CACJ,CAAC,CAAC,CAAC,CACF,wCAAY,CACb,GACiB,IACR,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTextEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,iBA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AO,EAAE,KAAK,EACd,QAAQ,EACN,OAAO,CAAC,oBAAoB,CAAC,WAAW,CAAC;gCACzC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,YAAY,EAElE,IAAI,EAAC,WAAW,YAEf,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;iCACjD,YAAY,CAAC,CAAC,CAAC,CAChB,+BACE,iBAAK,SAAS,EAAC,mCAAmC,aAChD,QAAC,WAAW,yFAAG,kGAEX,uFACL,CACJ,CAAC,CAAC,CAAC,CACF,+HAAY,CACb,uFACiB,uFACR,qFACR,sFACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -16,7 +16,7 @@
16
16
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
17
17
  export declare const QueryBuilderUnsupportedQueryEditor: ((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=QueryBuilderUnsupportedQueryEditor.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/QueryBuilderUnsupportedQueryEditor.tsx";
2
3
  /**
3
4
  * Copyright (c) 2020-present, Goldman Sachs
4
5
  *
@@ -27,10 +28,10 @@ const QueryBuilderUnsupportedQueryViewer = observer((props) => {
27
28
  ? ` due to: ${lambdaError.message}`
28
29
  : '';
29
30
  const openLambdaModal = () => queryBuilderState.textEditorState.openModal(QueryBuilderTextEditorMode.TEXT);
30
- return (_jsxs(Panel, { children: [_jsx(PanelHeader, { title: "content" }), _jsx(PanelContent, { children: _jsx(BlankPanelContent, { children: _jsxs("div", { className: "query-builder__unsupported-view__main", children: [_jsx("div", { className: "query-builder__unsupported-view__summary", children: `Can't display query in form mode${errorMessage}` }), _jsx("button", { className: "btn--dark query-builder__unsupported-view__to-text-mode__btn", onClick: openLambdaModal, children: "Edit in text mode" })] }) }) })] }));
31
+ return (_jsxDEV(Panel, { children: [_jsxDEV(PanelHeader, { title: "content" }, void 0, false, { fileName: _jsxFileName, lineNumber: 46, columnNumber: 9 }, this), _jsxDEV(PanelContent, { children: _jsxDEV(BlankPanelContent, { children: _jsxDEV("div", { className: "query-builder__unsupported-view__main", children: [_jsxDEV("div", { className: "query-builder__unsupported-view__summary", children: `Can't display query in form mode${errorMessage}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 50, columnNumber: 15 }, this), _jsxDEV("button", { className: "btn--dark query-builder__unsupported-view__to-text-mode__btn", onClick: openLambdaModal, children: "Edit in text mode" }, void 0, false, { fileName: _jsxFileName, lineNumber: 51, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 49, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 48, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 47, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 44, columnNumber: 13 }, this));
31
32
  });
32
33
  export const QueryBuilderUnsupportedQueryEditor = observer((props) => {
33
34
  const { queryBuilderState } = props;
34
- return (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, children: _jsx(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsx(QueryBuilderParametersPanel, { queryBuilderState: queryBuilderState }) }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { children: _jsx(QueryBuilderUnsupportedQueryViewer, { queryBuilderState: queryBuilderState }) })] }));
35
+ return (_jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 450, children: _jsxDEV(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsxDEV(QueryBuilderParametersPanel, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 73, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 72, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 71, columnNumber: 9 }, this), _jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 78, columnNumber: 9 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV(QueryBuilderUnsupportedQueryViewer, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 79, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 69, columnNumber: 13 }, this));
35
36
  });
36
37
  //# sourceMappingURL=QueryBuilderUnsupportedQueryEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderUnsupportedQueryEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderUnsupportedQueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,KAAK,EACL,YAAY,EACZ,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,MAAM,kCAAkC,GAAG,QAAQ,CACjD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC,qBAAqB,CAAC;IACtE,MAAM,WAAW,GAAG,qBAAqB,CAAC,WAAW,CAAC;IACtD,MAAM,YAAY,GAAG,WAAW,EAAE,OAAO;QACvC,CAAC,CAAC,YAAY,WAAW,CAAC,OAAO,EAAE;QACnC,CAAC,CAAC,EAAE,CAAC;IACP,MAAM,eAAe,GAAG,GAAS,EAAE,CACjC,iBAAiB,CAAC,eAAe,CAAC,SAAS,CACzC,0BAA0B,CAAC,IAAI,CAChC,CAAC;IACJ,OAAO,CACL,MAAC,KAAK,eACJ,KAAC,WAAW,IAAC,KAAK,EAAC,SAAS,GAAG,EAC/B,KAAC,YAAY,cACX,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,uCAAuC,aACpD,cAAK,SAAS,EAAC,0CAA0C,YAAE,mCAAmC,YAAY,EAAE,GAAO,EACnH,iBACE,SAAS,EAAC,8DAA8D,EACxE,OAAO,EAAE,eAAe,kCAGjB,IACL,GACY,GACP,IACT,CACT,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAG,QAAQ,CACxD,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAEpC,OAAO,CACL,MAAC,mBAAmB,IAAC,WAAW,EAAC,UAAU,aACzC,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,YACvB,KAAC,mBAAmB,IAAC,iBAAiB,EAAE,iBAAiB,YACvD,KAAC,2BAA2B,IAC1B,iBAAiB,EAAE,iBAAiB,GACpC,GACkB,GACP,EACjB,KAAC,sBAAsB,KAAG,EAC1B,KAAC,cAAc,cACb,KAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,GACpC,GACa,IACG,CACvB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderUnsupportedQueryEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderUnsupportedQueryEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO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E,GAAG,KAAK,CAAC;IAEpC,OAAO,CACL,QAAC,mBAAmB,IAAC,WAAW,EAAC,UAAU,aACzC,QAAC,cAAc,IAAC,IAAI,EAAE,GAAG,YACvB,QAAC,mBAAmB,IAAC,iBAAiB,EAAE,iBAAiB,YACvD,QAAC,2BAA2B,IAC1B,iBAAiB,EAAE,iBAAiB,sFACpC,sFACkB,qFACP,EACjB,QAAC,sBAAsB,uFAAG,EAC1B,QAAC,cAAc,cACb,QAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,sFACpC,qFACa,sFACG,CACvB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -16,7 +16,7 @@
16
16
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
17
17
  export declare const QueryChat: ((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=QueryChat.d.ts.map
@@ -1,4 +1,5 @@
1
- import { jsx as _jsx } 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/QueryChat.tsx";
2
3
  /**
3
4
  * Copyright (c) 2020-present, Goldman Sachs
4
5
  *
@@ -23,6 +24,6 @@ export const QueryChat = observer((props) => {
23
24
  const extraQueryChatConfigurations = applicationStore.pluginManager
24
25
  .getApplicationPlugins()
25
26
  .flatMap((plugin) => plugin.getExtraQueryChatRenderers?.() ?? []);
26
- return (_jsx(Dialog, { open: queryBuilderState.isQueryChatOpened, onClose: () => queryBuilderState.setIsQueryChatOpened(false), children: extraQueryChatConfigurations[0]?.(queryBuilderState) }));
27
+ return (_jsxDEV(Dialog, { open: queryBuilderState.isQueryChatOpened, onClose: () => queryBuilderState.setIsQueryChatOpened(false), children: extraQueryChatConfigurations[0]?.(queryBuilderState) }, void 0, false, { fileName: _jsxFileName, lineNumber: 37, columnNumber: 13 }, this));
27
28
  });
28
29
  //# sourceMappingURL=QueryChat.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryChat.js","sourceRoot":"","sources":["../../src/components/QueryChat.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAIhE,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAC/B,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,MAAM,4BAA4B,GAAG,gBAAgB,CAAC,aAAa;SAChE,qBAAqB,EAAE;SACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,CACzC,CAAC;IAEJ,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,iBAAiB,CAAC,iBAAiB,EACzC,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,KAAK,CAAC,YAE3D,4BAA4B,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,GAC9C,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryChat.js","sourceRoot":"","sources":["../../src/components/QueryChat.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAIhE,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAC/B,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,MAAM,4BAA4B,GAAG,gBAAgB,CAAC,aAAa;SAChE,qBAAqB,EAAE;SACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,CACzC,CAAC;IAEJ,OAAO,CACL,QAAC,MAAM,IACL,IAAI,EAAE,iBAAiB,CAAC,iBAAiB,EACzC,OAAO,EAAE,GAAG,EAAE,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,KAAK,CAAC,YAE3D,4BAA4B,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,sFAC9C,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -17,14 +17,14 @@ import { type QueryLoaderState } from '../stores/QueryLoaderState.js';
17
17
  export declare const QueryLoader: ((props: {
18
18
  queryLoaderState: QueryLoaderState;
19
19
  loadActionLabel: string;
20
- }) => import("react/jsx-runtime").JSX.Element) & {
20
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
21
21
  displayName: string;
22
22
  };
23
23
  export declare const QueryLoaderDialog: ((props: {
24
24
  queryLoaderState: QueryLoaderState;
25
25
  title: string;
26
26
  loadActionLabel?: string | undefined;
27
- }) => import("react/jsx-runtime").JSX.Element) & {
27
+ }) => import("react/jsx-dev-runtime").JSX.Element) & {
28
28
  displayName: string;
29
29
  };
30
30
  //# sourceMappingURL=QueryLoader.d.ts.map