@finos/legend-application-studio 28.17.10 → 28.17.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/lib/application/LegendStudio.js +2 -3
  2. package/lib/application/LegendStudio.js.map +1 -1
  3. package/lib/components/ElementIconUtils.js +23 -24
  4. package/lib/components/ElementIconUtils.js.map +1 -1
  5. package/lib/components/LegendStudioAppInfo.js +7 -8
  6. package/lib/components/LegendStudioAppInfo.js.map +1 -1
  7. package/lib/components/LegendStudioFrameworkProvider.js +3 -4
  8. package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
  9. package/lib/components/LegendStudioWebApplication.d.ts +2 -2
  10. package/lib/components/LegendStudioWebApplication.js +13 -14
  11. package/lib/components/LegendStudioWebApplication.js.map +1 -1
  12. package/lib/components/ShowcaseManager.d.ts +1 -1
  13. package/lib/components/ShowcaseManager.js +29 -30
  14. package/lib/components/ShowcaseManager.js.map +1 -1
  15. package/lib/components/editor/ActivityBar.d.ts +1 -1
  16. package/lib/components/editor/ActivityBar.js +27 -28
  17. package/lib/components/editor/ActivityBar.js.map +1 -1
  18. package/lib/components/editor/Editor.js +8 -9
  19. package/lib/components/editor/Editor.js.map +1 -1
  20. package/lib/components/editor/EditorStoreProvider.js +3 -4
  21. package/lib/components/editor/EditorStoreProvider.js.map +1 -1
  22. package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
  23. package/lib/components/editor/EmbeddedQueryBuilder.js +5 -6
  24. package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
  25. package/lib/components/editor/QuickInput.d.ts +1 -1
  26. package/lib/components/editor/QuickInput.js +5 -6
  27. package/lib/components/editor/QuickInput.js.map +1 -1
  28. package/lib/components/editor/StatusBar.d.ts +1 -1
  29. package/lib/components/editor/StatusBar.js +11 -12
  30. package/lib/components/editor/StatusBar.js.map +1 -1
  31. package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +2 -3
  32. package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
  33. package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -1
  34. package/lib/components/editor/command-center/ProjectSearchCommand.js +4 -5
  35. package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
  36. package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts +1 -1
  37. package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +2 -3
  38. package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -1
  39. package/lib/components/editor/editor-group/EditorGroup.d.ts +1 -1
  40. package/lib/components/editor/editor-group/EditorGroup.js +39 -40
  41. package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
  42. package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts +1 -1
  43. package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +11 -12
  44. package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
  45. package/lib/components/editor/editor-group/GrammarTextEditor.d.ts +1 -1
  46. package/lib/components/editor/editor-group/GrammarTextEditor.js +4 -5
  47. package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
  48. package/lib/components/editor/editor-group/ModelImporter.d.ts +1 -1
  49. package/lib/components/editor/editor-group/ModelImporter.js +14 -15
  50. package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
  51. package/lib/components/editor/editor-group/ProtocolValueBuilder.d.ts +1 -1
  52. package/lib/components/editor/editor-group/ProtocolValueBuilder.js +14 -15
  53. package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
  54. package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -4
  55. package/lib/components/editor/editor-group/RuntimeEditor.js +29 -30
  56. package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
  57. package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -2
  58. package/lib/components/editor/editor-group/UnsupportedElementEditor.js +3 -4
  59. package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
  60. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts +2 -2
  61. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +9 -10
  62. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
  63. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +2 -2
  64. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +10 -11
  65. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
  66. package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +10 -11
  67. package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
  68. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +3 -3
  69. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +5 -6
  70. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
  71. package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +1 -1
  72. package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +13 -14
  73. package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
  74. package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
  75. package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js +2 -3
  76. package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map +1 -1
  77. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +2 -2
  78. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +54 -55
  79. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  80. package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
  81. package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +7 -8
  82. package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
  83. package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts +3 -3
  84. package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +6 -7
  85. package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
  86. package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +5 -5
  87. package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +17 -18
  88. package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
  89. package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts +1 -1
  90. package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +9 -10
  91. package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
  92. package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +5 -6
  93. package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
  94. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts +2 -2
  95. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +10 -11
  96. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  97. package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts +2 -2
  98. package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +5 -6
  99. package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
  100. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +1 -1
  101. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +2 -3
  102. package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -1
  103. package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.d.ts +1 -1
  104. package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js +5 -6
  105. package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
  106. package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts +1 -1
  107. package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +2 -3
  108. package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
  109. package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
  110. package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +6 -7
  111. package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
  112. package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts +3 -3
  113. package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +26 -27
  114. package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
  115. package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts +3 -3
  116. package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +12 -13
  117. package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
  118. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +6 -6
  119. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +16 -17
  120. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
  121. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +2 -2
  122. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +10 -11
  123. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
  124. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +1 -1
  125. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +2 -3
  126. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
  127. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +1 -1
  128. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +2 -3
  129. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
  130. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +2 -2
  131. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +15 -16
  132. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
  133. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
  134. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +5 -6
  135. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
  136. package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
  137. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +38 -39
  138. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
  139. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +1 -1
  140. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +12 -13
  141. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
  142. package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.d.ts +1 -1
  143. package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js +3 -4
  144. package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
  145. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts +1 -1
  146. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +5 -6
  147. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
  148. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +1 -1
  149. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +32 -33
  150. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
  151. package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.d.ts +2 -2
  152. package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +8 -9
  153. package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
  154. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts +2 -2
  155. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +10 -11
  156. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  157. package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
  158. package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +6 -7
  159. package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
  160. package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +7 -8
  161. package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
  162. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts +2 -2
  163. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +11 -12
  164. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
  165. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
  166. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +5 -6
  167. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
  168. package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts +1 -1
  169. package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +19 -20
  170. package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
  171. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +7 -7
  172. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +24 -25
  173. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  174. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +4 -5
  175. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
  176. package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts +2 -2
  177. package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +11 -12
  178. package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
  179. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
  180. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +29 -30
  181. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
  182. package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts +2 -2
  183. package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +11 -12
  184. package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
  185. package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts +1 -1
  186. package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +8 -9
  187. package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
  188. package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts +1 -1
  189. package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +4 -5
  190. package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
  191. package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
  192. package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js +14 -15
  193. package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
  194. package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
  195. package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +9 -10
  196. package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
  197. package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +8 -9
  198. package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
  199. package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts +8 -8
  200. package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +21 -22
  201. package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
  202. package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts +1 -1
  203. package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +4 -5
  204. package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
  205. package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
  206. package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +10 -11
  207. package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
  208. package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +8 -9
  209. package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
  210. package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -1
  211. package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +21 -22
  212. package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  213. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts +1 -1
  214. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +26 -27
  215. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
  216. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts +1 -1
  217. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +10 -11
  218. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
  219. package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts +1 -1
  220. package/lib/components/editor/editor-group/service-editor/NewServiceModal.js +5 -6
  221. package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
  222. package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts +1 -1
  223. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +24 -25
  224. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
  225. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts +3 -3
  226. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +32 -33
  227. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
  228. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
  229. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +10 -11
  230. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  231. package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.d.ts +2 -2
  232. package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js +12 -13
  233. package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
  234. package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts +1 -1
  235. package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +11 -12
  236. package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
  237. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +7 -7
  238. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +29 -30
  239. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
  240. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts +2 -2
  241. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +5 -6
  242. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
  243. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
  244. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +22 -23
  245. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
  246. package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +5 -5
  247. package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +30 -31
  248. package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
  249. package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts +1 -1
  250. package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +7 -8
  251. package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
  252. package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts +2 -2
  253. package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +30 -31
  254. package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
  255. package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +1 -1
  256. package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +10 -11
  257. package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
  258. package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts +1 -1
  259. package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +7 -8
  260. package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
  261. package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts +1 -1
  262. package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +7 -8
  263. package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
  264. package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts +1 -1
  265. package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +6 -7
  266. package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
  267. package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.d.ts +1 -1
  268. package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js +6 -7
  269. package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
  270. package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.d.ts +1 -1
  271. package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js +9 -10
  272. package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
  273. package/lib/components/editor/editor-group/uml-editor/UMLEditor.d.ts +1 -1
  274. package/lib/components/editor/editor-group/uml-editor/UMLEditor.js +2 -3
  275. package/lib/components/editor/editor-group/uml-editor/UMLEditor.js.map +1 -1
  276. package/lib/components/editor/panel-group/ConsolePanel.d.ts +1 -1
  277. package/lib/components/editor/panel-group/ConsolePanel.js +2 -3
  278. package/lib/components/editor/panel-group/ConsolePanel.js.map +1 -1
  279. package/lib/components/editor/panel-group/DevToolPanel.d.ts +1 -1
  280. package/lib/components/editor/panel-group/DevToolPanel.js +6 -7
  281. package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
  282. package/lib/components/editor/panel-group/PanelGroup.d.ts +1 -1
  283. package/lib/components/editor/panel-group/PanelGroup.js +5 -6
  284. package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
  285. package/lib/components/editor/panel-group/ProblemsPanel.d.ts +1 -1
  286. package/lib/components/editor/panel-group/ProblemsPanel.js +5 -6
  287. package/lib/components/editor/panel-group/ProblemsPanel.js.map +1 -1
  288. package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +1 -1
  289. package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +18 -19
  290. package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
  291. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +2 -2
  292. package/lib/components/editor/side-bar/CreateNewElementModal.js +26 -27
  293. package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
  294. package/lib/components/editor/side-bar/Explorer.d.ts +1 -1
  295. package/lib/components/editor/side-bar/Explorer.js +36 -37
  296. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  297. package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -1
  298. package/lib/components/editor/side-bar/LocalChanges.js +12 -13
  299. package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
  300. package/lib/components/editor/side-bar/ProjectOverview.d.ts +2 -2
  301. package/lib/components/editor/side-bar/ProjectOverview.js +28 -29
  302. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  303. package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
  304. package/lib/components/editor/side-bar/RegisterService.js +17 -18
  305. package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
  306. package/lib/components/editor/side-bar/SideBar.d.ts +1 -1
  307. package/lib/components/editor/side-bar/SideBar.js +12 -13
  308. package/lib/components/editor/side-bar/SideBar.js.map +1 -1
  309. package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
  310. package/lib/components/editor/side-bar/WorkflowManager.js +27 -28
  311. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  312. package/lib/components/editor/side-bar/WorkspaceReview.d.ts +2 -2
  313. package/lib/components/editor/side-bar/WorkspaceReview.js +8 -9
  314. package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
  315. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -1
  316. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +9 -10
  317. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
  318. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -1
  319. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +6 -7
  320. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
  321. package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -1
  322. package/lib/components/editor/side-bar/WorkspaceUpdater.js +6 -7
  323. package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
  324. package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +1 -1
  325. package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +6 -7
  326. package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
  327. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +2 -2
  328. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +32 -33
  329. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
  330. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +3 -4
  331. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
  332. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +7 -8
  333. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
  334. package/lib/components/lazy-text-editor/LazyTextEditor.js +10 -11
  335. package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
  336. package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts +1 -1
  337. package/lib/components/project-reviewer/ProjectReviewSideBar.js +7 -8
  338. package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
  339. package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +3 -4
  340. package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
  341. package/lib/components/project-reviewer/ProjectReviewer.js +5 -6
  342. package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
  343. package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts +1 -1
  344. package/lib/components/project-reviewer/ProjectReviewerPanel.js +9 -10
  345. package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
  346. package/lib/components/project-view/ProjectViewer.js +23 -24
  347. package/lib/components/project-view/ProjectViewer.js.map +1 -1
  348. package/lib/components/project-view/ProjectViewerStoreProvider.js +3 -4
  349. package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
  350. package/lib/components/showcase/ShowcaseViewer.js +19 -20
  351. package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
  352. package/lib/components/showcase/ShowcaseViewerStoreProvider.js +3 -4
  353. package/lib/components/showcase/ShowcaseViewerStoreProvider.js.map +1 -1
  354. package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -1
  355. package/lib/components/workspace-setup/CreateProjectModal.js +15 -16
  356. package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
  357. package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -1
  358. package/lib/components/workspace-setup/CreateWorkspaceModal.js +7 -8
  359. package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
  360. package/lib/components/workspace-setup/ProjectSelectorUtils.js +6 -7
  361. package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
  362. package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +2 -3
  363. package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
  364. package/lib/components/workspace-setup/WorkspaceSetup.js +27 -28
  365. package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
  366. package/lib/index.css +1 -1
  367. package/lib/package.json +1 -1
  368. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
  369. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js +8 -5
  370. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
  371. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +2 -2
  372. package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -1
  373. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
  374. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +4 -3
  375. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
  376. package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -1
  377. package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js +10 -8
  378. package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -1
  379. package/package.json +4 -4
  380. package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +10 -7
  381. package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +2 -2
  382. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +4 -2
  383. package/src/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.ts +14 -12
@@ -1,5 +1,4 @@
1
- import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
2
- const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
2
  /**
4
3
  * Copyright (c) 2020-present, Goldman Sachs
5
4
  *
@@ -44,17 +43,17 @@ const SchemaLoader = observer((props) => {
44
43
  importState.importSchemas(importState.files);
45
44
  }
46
45
  };
47
- return (_jsxDEV(Dialog, { onClose: onClose, open: importState.importSchemaModal, TransitionProps: {
46
+ return (_jsx(Dialog, { onClose: onClose, open: importState.importSchemaModal, TransitionProps: {
48
47
  appear: false, // disable transition
49
- }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "modal--scrollable patch-loader", children: [_jsxDEV(ModalHeader, { title: "Schema Content Loader" }, void 0, false, { fileName: _jsxFileName, lineNumber: 99, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: importState.loadingSchemaContentState.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 101, columnNumber: 13 }, this), _jsxDEV("div", { children: _jsxDEV("input", { type: "file", name: "myFiles", onChange: onChange, multiple: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 105, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 104, columnNumber: 13 }, this), importState.files && (_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Schema Files" }, void 0, false, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__list", children: _jsxDEV("div", { className: "panel__content__form__section__list__items", children: importState.files.map((value) => (_jsxDEV("div", { className: "panel__content__form__section__list__item", children: [_jsxDEV("div", { className: "panel__content__form__section__list__item__value", children: value.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 124, columnNumber: 25 }, this), _jsxDEV("div", { className: "panel__content__form__section__list__item__actions", children: _jsxDEV("button", { title: "Remove change", className: "panel__content__form__section__list__item__remove-btn", onClick: () => importState.removeFile(value), tabIndex: -1, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 134, columnNumber: 29 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 127, columnNumber: 25 }, this)] }, value.name, true, { fileName: _jsxFileName, lineNumber: 119, columnNumber: 56 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 117, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 112, columnNumber: 36 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 100, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { className: "blocking-alert__action--standard", text: "Import Schemas", onClick: importSchemas, disabled: !importState.files?.length }, void 0, false, { fileName: _jsxFileName, lineNumber: 145, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 144, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 93, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 85, columnNumber: 13 }, this));
48
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "modal--scrollable patch-loader", children: [_jsx(ModalHeader, { title: "Schema Content Loader" }), _jsxs(ModalBody, { children: [_jsx(PanelLoadingIndicator, { isLoading: importState.loadingSchemaContentState.isInProgress }), _jsx("div", { children: _jsx("input", { type: "file", name: "myFiles", onChange: onChange, multiple: true }) }), importState.files && (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Schema Files" }), _jsx("div", { className: "panel__content__form__section__list", children: _jsx("div", { className: "panel__content__form__section__list__items", children: importState.files.map((value) => (_jsxs("div", { className: "panel__content__form__section__list__item", children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value.name }), _jsx("div", { className: "panel__content__form__section__list__item__actions", children: _jsx("button", { title: "Remove change", className: "panel__content__form__section__list__item__remove-btn", onClick: () => importState.removeFile(value), tabIndex: -1, children: _jsx(TimesIcon, {}) }) })] }, value.name))) }) })] }))] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { className: "blocking-alert__action--standard", text: "Import Schemas", onClick: importSchemas, disabled: !importState.files?.length }) })] }) }));
50
49
  });
51
50
  const SchemaBasicEditor = observer((props) => {
52
51
  const { schema, isReadOnly, language } = props;
53
52
  const changeId = (event) => externalFormat_schema_setId(schema, event.target.value);
54
53
  const changeLocation = (event) => externalFormat_schema_setLocation(schema, event.target.value);
55
- return (_jsxDEV("div", { className: "schema-editor", children: [_jsxDEV("input", { className: "schema-editor__id", disabled: isReadOnly, value: schema.id, spellCheck: false, onChange: changeId, placeholder: "Id" }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 9 }, this), _jsxDEV("input", { className: "schema-editor__location", disabled: isReadOnly, value: schema.location, spellCheck: false, onChange: changeLocation, placeholder: "Location" }, void 0, false, { fileName: _jsxFileName, lineNumber: 180, columnNumber: 9 }, this), _jsxDEV("div", { className: clsx('schema-editor__content'), children: _jsxDEV("div", { className: "schema-editor__content__input", children: _jsxDEV(CodeEditor, { inputValue: schema.content, language: language, updateInput: (val) => {
54
+ return (_jsxs("div", { className: "schema-editor", children: [_jsx("input", { className: "schema-editor__id", disabled: isReadOnly, value: schema.id, spellCheck: false, onChange: changeId, placeholder: "Id" }), _jsx("input", { className: "schema-editor__location", disabled: isReadOnly, value: schema.location, spellCheck: false, onChange: changeLocation, placeholder: "Location" }), _jsx("div", { className: clsx('schema-editor__content'), children: _jsx("div", { className: "schema-editor__content__input", children: _jsx(CodeEditor, { inputValue: schema.content, language: language, updateInput: (val) => {
56
55
  externalFormat_schema_setContent(schema, val);
57
- }, hideGutter: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 190, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 189, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 188, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 13 }, this));
56
+ }, hideGutter: true }) }) })] }));
58
57
  });
59
58
  export const SchemaSetGeneralEditor = observer((props) => {
60
59
  const { schemaSetEditorState, isReadOnly } = props;
@@ -95,14 +94,14 @@ export const SchemaSetGeneralEditor = observer((props) => {
95
94
  flowResult(schemaSetEditorState.validateSchema(currentSchema)).catch(applicationStore.alertUnhandledError);
96
95
  }
97
96
  };
98
- return (_jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { minSize: 30, size: 300, children: _jsxDEV("div", { className: "schema-set-panel", children: [_jsxDEV("div", { className: "schema-set-panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: _jsxDEV("div", { className: "panel__header__title__label", children: `${schemaSet.format} configuration` }, void 0, false, { fileName: _jsxFileName, lineNumber: 272, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 271, columnNumber: 15 }, this), _jsxDEV("div", { className: "schema-set-panel__header__actions", children: [_jsxDEV("button", { className: "schema-set-panel__header__action", onClick: openSchemaLoader, disabled: isReadOnly, tabIndex: -1, title: "Import Schemas", children: _jsxDEV(UploadIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 282, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 275, columnNumber: 17 }, this), _jsxDEV("button", { className: "schema-set-panel__header__action", onClick: addSchema, disabled: isReadOnly, tabIndex: -1, title: "Add Schema", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 291, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 284, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 274, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 270, columnNumber: 13 }, this), schemaSet.schemas.map((schema, index) => (_jsxDEV(ContextMenu, { className: clsx('schema-set-panel__item', {
97
+ return (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { minSize: 30, size: 300, children: _jsxs("div", { className: "schema-set-panel", children: [_jsxs("div", { className: "schema-set-panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: `${schemaSet.format} configuration` }) }), _jsxs("div", { className: "schema-set-panel__header__actions", children: [_jsx("button", { className: "schema-set-panel__header__action", onClick: openSchemaLoader, disabled: isReadOnly, tabIndex: -1, title: "Import Schemas", children: _jsx(UploadIcon, {}) }), _jsx("button", { className: "schema-set-panel__header__action", onClick: addSchema, disabled: isReadOnly, tabIndex: -1, title: "Add Schema", children: _jsx(PlusIcon, {}) })] })] }), schemaSet.schemas.map((schema, index) => (_jsx(ContextMenu, { className: clsx('schema-set-panel__item', {
99
98
  'schema-set-panel__item--active': currentSchema === schema,
100
- }), disabled: isReadOnly, content: _jsxDEV(MenuContent, { children: _jsxDEV(MenuContentItem, { onClick: deleteSchema(schema), children: "Delete" }, void 0, false, { fileName: _jsxFileName, lineNumber: 304, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 302, columnNumber: 26 }, this), menuProps: { elevation: 7 }, children: _jsxDEV("div", { className: "schema-set-panel__item__label", onClick: changeState(schema), children: schema.id ? schema.id : `Schema${index + 1}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 311, columnNumber: 17 }, this) }, schema._UUID, false, { fileName: _jsxFileName, lineNumber: 295, columnNumber: 72 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 269, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 268, columnNumber: 9 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 322, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 321, columnNumber: 9 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV("div", { className: "schema-set-panel", children: [_jsxDEV("div", { className: "schema-set-panel__header", children: [_jsxDEV("div", { className: "schema-set-panel__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "schema-set-panel__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 328, columnNumber: 33 }, this)), _jsxDEV("div", { className: "schema-set-panel__header__title__label", children: "Schema" }, void 0, false, { fileName: _jsxFileName, lineNumber: 333, columnNumber: 17 }, this), _jsxDEV("div", { className: "schema-set-panel__header__title__content", children: currentSchema !== undefined
99
+ }), disabled: isReadOnly, content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { onClick: deleteSchema(schema), children: "Delete" }) }), menuProps: { elevation: 7 }, children: _jsx("div", { className: "schema-set-panel__item__label", onClick: changeState(schema), children: schema.id ? schema.id : `Schema${index + 1}` }) }, schema._UUID)))] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsxs("div", { className: "schema-set-panel", children: [_jsxs("div", { className: "schema-set-panel__header", children: [_jsxs("div", { className: "schema-set-panel__header__title", children: [isReadOnly && (_jsx("div", { className: "schema-set-panel__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "schema-set-panel__header__title__label", children: "Schema" }), _jsx("div", { className: "schema-set-panel__header__title__content", children: currentSchema !== undefined
101
100
  ? currentSchema.id
102
101
  ? currentSchema.id
103
102
  : `Schema${getIndex(currentSchema) + 1}`
104
- : '' }, void 0, false, { fileName: _jsxFileName, lineNumber: 336, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 327, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__header__actions", children: schemaSetEditorState instanceof SchemaSetEditorState && (_jsxDEV("button", { className: "btn--dark model-loader__header__load-btn", onClick: validateSchema, disabled: !currentSchema, tabIndex: -1, title: "Validate Schema", children: "Validate" }, void 0, false, { fileName: _jsxFileName, lineNumber: 345, columnNumber: 75 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 344, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 326, columnNumber: 13 }, this), _jsxDEV("div", { className: "schema-set-panel__content", children: _jsxDEV("div", { className: "schema-set-panel__content__lists", children: [schemaSetEditorState.importSchemaContentState
105
- .importSchemaModal && (_jsxDEV(SchemaLoader, { schemaSetEditorState: schemaSetEditorState }, void 0, false, { fileName: _jsxFileName, lineNumber: 361, columnNumber: 42 }, this)), currentSchema !== undefined && (_jsxDEV(SchemaBasicEditor, { language: language, schema: currentSchema, isReadOnly: isReadOnly }, currentSchema._UUID, false, { fileName: _jsxFileName, lineNumber: 364, columnNumber: 50 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 325, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 324, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 266, columnNumber: 13 }, this));
103
+ : '' })] }), _jsx("div", { className: "panel__header__actions", children: schemaSetEditorState instanceof SchemaSetEditorState && (_jsx("button", { className: "btn--dark model-loader__header__load-btn", onClick: validateSchema, disabled: !currentSchema, tabIndex: -1, title: "Validate Schema", children: "Validate" })) })] }), _jsx("div", { className: "schema-set-panel__content", children: _jsxs("div", { className: "schema-set-panel__content__lists", children: [schemaSetEditorState.importSchemaContentState
104
+ .importSchemaModal && (_jsx(SchemaLoader, { schemaSetEditorState: schemaSetEditorState })), currentSchema !== undefined && (_jsx(SchemaBasicEditor, { language: language, schema: currentSchema, isReadOnly: isReadOnly }, currentSchema._UUID))] }) })] }) })] }));
106
105
  });
107
106
  export const SchemaSetEditor = observer(() => {
108
107
  const editorStore = useEditorStore();
@@ -115,19 +114,19 @@ export const SchemaSetEditor = observer(() => {
115
114
  const changeTab = (tab) => () => schemaSetEditorState.setSelectedTab(tab);
116
115
  const renderMainEditPanel = () => {
117
116
  if (isFetchingDescriptions) {
118
- return (_jsxDEV(BlankPanelContent, { children: "Fetching format descriptions" }, void 0, false, { fileName: _jsxFileName, lineNumber: 397, columnNumber: 15 }, this));
117
+ return (_jsx(BlankPanelContent, { children: "Fetching format descriptions" }));
119
118
  }
120
119
  if (currentTab === SCHEMA_SET_TAB_TYPE.SCHEMAS) {
121
- return (_jsxDEV(SchemaSetGeneralEditor, { schemaSetEditorState: schemaSetEditorState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 402, columnNumber: 15 }, this));
120
+ return (_jsx(SchemaSetGeneralEditor, { schemaSetEditorState: schemaSetEditorState, isReadOnly: isReadOnly }));
122
121
  }
123
122
  const supportsModelGeneraiton = schemaSetEditorState.schemaSetModelGenerationState.description
124
123
  ?.supportsModelGeneration;
125
- return supportsModelGeneraiton ? (_jsxDEV(SchemaSetModelGenerationEditor, { modelGenerationState: schemaSetEditorState.schemaSetModelGenerationState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 412, columnNumber: 39 }, this)) : (_jsxDEV(BlankPanelContent, { children: ["Format ", schemaSet.format, " does not support Model Generation"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 419, columnNumber: 10 }, this));
124
+ return supportsModelGeneraiton ? (_jsx(SchemaSetModelGenerationEditor, { modelGenerationState: schemaSetEditorState.schemaSetModelGenerationState, isReadOnly: isReadOnly })) : (_jsxs(BlankPanelContent, { children: ["Format ", schemaSet.format, " does not support Model Generation"] }));
126
125
  };
127
126
  useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SCHEMA_SET_EDITOR);
128
- return (_jsxDEV("div", { className: "panel schema-set-panel", children: [_jsxDEV("div", { className: "schema-set-panel__header", children: _jsxDEV("div", { className: "schema-set-panel__header__title", children: [schemaSetEditorState.isReadOnly && (_jsxDEV("div", { className: "schema-set-panel__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 436, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 434, columnNumber: 48 }, this)), _jsxDEV("div", { className: "schema-set-panel__header__title__label", children: "Schema Set" }, void 0, false, { fileName: _jsxFileName, lineNumber: 439, columnNumber: 11 }, this), _jsxDEV("div", { className: "schema-set-panel__header__title__content", children: schemaSetEditorState.schemaSet.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 442, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 433, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 432, columnNumber: 7 }, this), _jsxDEV(PanelContent, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: isFetchingDescriptions }, void 0, false, { fileName: _jsxFileName, lineNumber: 448, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header", children: _jsxDEV("div", { className: "uml-element-editor__tabs", children: Object.values(SCHEMA_SET_TAB_TYPE).map((tab) => (_jsxDEV("div", { onClick: changeTab(tab), className: clsx('relational-connection-editor__tab', {
127
+ return (_jsxs("div", { className: "panel schema-set-panel", children: [_jsx("div", { className: "schema-set-panel__header", children: _jsxs("div", { className: "schema-set-panel__header__title", children: [schemaSetEditorState.isReadOnly && (_jsx("div", { className: "schema-set-panel__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "schema-set-panel__header__title__label", children: "Schema Set" }), _jsx("div", { className: "schema-set-panel__header__title__content", children: schemaSetEditorState.schemaSet.name })] }) }), _jsxs(PanelContent, { children: [_jsx(PanelLoadingIndicator, { isLoading: isFetchingDescriptions }), _jsx("div", { className: "panel__header", children: _jsx("div", { className: "uml-element-editor__tabs", children: Object.values(SCHEMA_SET_TAB_TYPE).map((tab) => (_jsx("div", { onClick: changeTab(tab), className: clsx('relational-connection-editor__tab', {
129
128
  'relational-connection-editor__tab--active': tab === currentTab,
130
- }), children: prettyCONSTName(tab) }, tab, false, { fileName: _jsxFileName, lineNumber: 451, columnNumber: 63 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 450, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 449, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content file-generation-editor__content", children: [currentTab === SCHEMA_SET_TAB_TYPE.SCHEMAS && (_jsxDEV(SchemaSetGeneralEditor, { schemaSetEditorState: schemaSetEditorState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 466, columnNumber: 59 }, this)), currentTab === SCHEMA_SET_TAB_TYPE.GENERATE_MODEL &&
131
- renderMainEditPanel()] }, void 0, true, { fileName: _jsxFileName, lineNumber: 465, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 447, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 430, columnNumber: 11 }, this));
129
+ }), children: prettyCONSTName(tab) }, tab))) }) }), _jsxs("div", { className: "panel__content file-generation-editor__content", children: [currentTab === SCHEMA_SET_TAB_TYPE.SCHEMAS && (_jsx(SchemaSetGeneralEditor, { schemaSetEditorState: schemaSetEditorState, isReadOnly: isReadOnly })), currentTab === SCHEMA_SET_TAB_TYPE.GENERATE_MODEL &&
130
+ renderMainEditPanel()] })] })] }));
132
131
  });
133
132
  //# sourceMappingURL=DSL_ExternalFormat_SchemaSetElementEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_ExternalFormat_SchemaSetElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,QAAQ,EACR,QAAQ,EACR,qBAAqB,EACrB,UAAU,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"","sources":["../../../../../src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,QAAQ,EACR,QAAQ,EACR,qBAAqB,EACrB,UAAU,EACV,MAAM,EACN,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oBAAoB,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,oBAAoB,EAEpB,mBAAmB,GACpB,MAAM,wHAAwH,CAAC;AAChI,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,kCAAkC,EAClC,qCAAqC,EACrC,gCAAgC,EAChC,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,6EAA6E,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wDAAwD,CAAC;AACxG,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,yEAAyE,CAAC;AACrH,OAAO,EAAE,gDAAgD,EAAE,MAAM,iEAAiE,CAAC;AACnI,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,MAAM,YAAY,GAAG,QAAQ,CAC3B,CAAC,KAEA,EAAE,EAAE;IACH,MAAM,EAAE,oBAAoB,E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AU,GACtB,CACH,EACA,UAAU,KAAK,mBAAmB,CAAC,cAAc;gCAChD,mBAAmB,EAAE,IACnB,IACO,IACX,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -17,7 +17,7 @@ import type { SchemaSetModelGenerationState } from '../../../../stores/editor/ed
17
17
  export declare const SchemaSetModelGenerationEditor: ((props: {
18
18
  modelGenerationState: SchemaSetModelGenerationState;
19
19
  isReadOnly: boolean;
20
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
20
+ }) => import("react/jsx-runtime").JSX.Element) & {
21
21
  displayName: string;
22
22
  };
23
23
  //# sourceMappingURL=DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map
@@ -1,5 +1,4 @@
1
- import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
2
- const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
2
  /**
4
3
  * Copyright (c) 2020-present, Goldman Sachs
5
4
  *
@@ -65,12 +64,12 @@ export const SchemaSetModelGenerationEditor = observer((props) => {
65
64
  modelGenerationState.importGeneratedModelsIntoGraph();
66
65
  };
67
66
  useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SCHEMA_SET_MODEL_GENERATION);
68
- return (_jsxDEV(PanelContent, { className: "file-generation-editor__content", children: _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 250, minSize: 50, children: _jsxDEV(Panel, { className: "file-generation-editor__configuration", children: [_jsxDEV(PanelHeader, { title: `${format} configuration`, children: _jsxDEV(PanelHeaderActions, { children: _jsxDEV(PanelHeaderActionItem, { className: "file-generation-editor__configuration__reset-btn", disabled: isReadOnly || !properties.length, onClick: resetProperties, title: "Reset to default configuration", children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 122, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 116, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 115, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 15 }, this), _jsxDEV(PanelContent, { children: _jsxDEV("div", { className: "file-generation-editor__configuration__content", children: [_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: 'Target Binding Path' }, void 0, false, { fileName: _jsxFileName, lineNumber: 129, columnNumber: 21 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: 'If path is provided, a binding will be generated alongside the models. The binding will ensure the schema and models are compatible through compile time validations.' }, void 0, false, { fileName: _jsxFileName, lineNumber: 132, columnNumber: 21 }, this), _jsxDEV(InputWithInlineValidation, { className: "query-builder__variables__variable__name__input input-group__input", spellCheck: false, value: modelGenerationState.targetBinding, onChange: changeTargetBindingPath, placeholder: "Target binding path", error: targetBindingPathValidationMessage }, void 0, false, { fileName: _jsxFileName, lineNumber: 137, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 19 }, this), modelGenerationState.modelGenerationProperties
67
+ return (_jsx(PanelContent, { className: "file-generation-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 250, minSize: 50, children: _jsxs(Panel, { className: "file-generation-editor__configuration", children: [_jsx(PanelHeader, { title: `${format} configuration`, children: _jsx(PanelHeaderActions, { children: _jsx(PanelHeaderActionItem, { className: "file-generation-editor__configuration__reset-btn", disabled: isReadOnly || !properties.length, onClick: resetProperties, title: "Reset to default configuration", children: _jsx(RefreshIcon, {}) }) }) }), _jsx(PanelContent, { children: _jsxs("div", { className: "file-generation-editor__configuration__content", children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: 'Target Binding Path' }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: 'If path is provided, a binding will be generated alongside the models. The binding will ensure the schema and models are compatible through compile time validations.' }), _jsx(InputWithInlineValidation, { className: "query-builder__variables__variable__name__input input-group__input", spellCheck: false, value: modelGenerationState.targetBinding, onChange: changeTargetBindingPath, placeholder: "Target binding path", error: targetBindingPathValidationMessage })] }), modelGenerationState.modelGenerationProperties
69
68
  .filter((property) => !Object.values(HIDDEN_CONFIGURATION_PROPERTIES).includes(property.name))
70
- .map((abstractGenerationProperty) => (_jsxDEV(GenerationPropertyEditor, { update: update, isReadOnly: isReadOnly, getConfigValue: getConfigValue, property: abstractGenerationProperty }, abstractGenerationProperty.name, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 59 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 127, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 126, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 113, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 112, columnNumber: 11 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 169, columnNumber: 11 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV(Panel, { className: "generation-result-viewer__file", children: [_jsxDEV(PanelHeader, { title: "result", children: _jsxDEV(PanelHeaderActions, { children: [_jsxDEV(PanelHeaderActionItem, { className: " generation-result-viewer__generate-btn", onClick: regenerate, disabled: modelGenerationState.generatingModelsState.isInProgress ||
69
+ .map((abstractGenerationProperty) => (_jsx(GenerationPropertyEditor, { update: update, isReadOnly: isReadOnly, getConfigValue: getConfigValue, property: abstractGenerationProperty }, abstractGenerationProperty.name)))] }) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsxs(Panel, { className: "generation-result-viewer__file", children: [_jsx(PanelHeader, { title: "result", children: _jsxs(PanelHeaderActions, { children: [_jsx(PanelHeaderActionItem, { className: " generation-result-viewer__generate-btn", onClick: regenerate, disabled: modelGenerationState.generatingModelsState.isInProgress ||
71
70
  modelGenerationState.importGeneratedElementsState
72
- .isInProgress, title: "Regenerate", children: _jsxDEV("div", { className: "generation-result-viewer__generate-btn__label", children: [_jsxDEV(RefreshIcon, { className: "generation-result-viewer__generate-btn__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 187, columnNumber: 23 }, this), _jsxDEV("div", { className: "generation-result-viewer__generate-btn__label__title", children: "Generate" }, void 0, false, { fileName: _jsxFileName, lineNumber: 188, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 176, columnNumber: 19 }, this), !modelGenerationState.isolatedGraph && (_jsxDEV("button", { className: "btn--dark model-loader__header__load-btn", onClick: importGeneratedElements, disabled: modelGenerationState.generationValue === '', tabIndex: -1, title: "Import generated elements", children: "Import" }, void 0, false, { fileName: _jsxFileName, lineNumber: 194, columnNumber: 60 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 175, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 174, columnNumber: 15 }, this), _jsxDEV(PanelContent, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: modelGenerationState.generatingModelsState.isInProgress ||
71
+ .isInProgress, title: "Regenerate", children: _jsxs("div", { className: "generation-result-viewer__generate-btn__label", children: [_jsx(RefreshIcon, { className: "generation-result-viewer__generate-btn__label__icon" }), _jsx("div", { className: "generation-result-viewer__generate-btn__label__title", children: "Generate" })] }) }), !modelGenerationState.isolatedGraph && (_jsx("button", { className: "btn--dark model-loader__header__load-btn", onClick: importGeneratedElements, disabled: modelGenerationState.generationValue === '', tabIndex: -1, title: "Import generated elements", children: "Import" }))] }) }), _jsxs(PanelContent, { children: [_jsx(PanelLoadingIndicator, { isLoading: modelGenerationState.generatingModelsState.isInProgress ||
73
72
  modelGenerationState.importGeneratedElementsState
74
- .isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 208, columnNumber: 17 }, this), _jsxDEV(CodeEditor, { inputValue: modelGenerationState.generationValue, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE }, void 0, false, { fileName: _jsxFileName, lineNumber: 215, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 207, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 173, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 111, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 109, columnNumber: 13 }, this));
73
+ .isInProgress }), _jsx(CodeEditor, { inputValue: modelGenerationState.generationValue, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE })] })] }) })] }) }));
75
74
  });
76
75
  //# sourceMappingURL=DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_ExternalFormat_SchemaSetModelGenerationEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAA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,uFACT,uFACO,EACjB,QAAC,sBAAsB,cACrB,QAAC,0BAA0B,IAAC,KAAK,EAAC,4BAA4B,uFAAG,uFAC1C,EACzB,QAAC,cAAc,cACb,QAAC,KAAK,IAAC,SAAS,EAAC,gCAAgC,aAC/C,QAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,YACzB,QAAC,kBAAkB,eACjB,QAAC,qBAAqB,IACpB,SAAS,EAAC,yCAAyC,EACnD,OAAO,EAAE,UAAU,EACnB,QAAQ,EACN,oBAAoB,CAAC,qBAAqB,CAAC,YAAY;gDACvD,oBAAoB,CAAC,4BAA4B;qDAC9C,YAAY,EAEjB,KAAK,EAAC,YAAY,YAElB,iBAAK,SAAS,EAAC,+CAA+C,aAC5D,QAAC,WAAW,IAAC,SAAS,EAAC,qDAAqD,uFAAG,EAC/E,iBAAK,SAAS,EAAC,sDAAsD,6GAE/D,uFACF,uFACgB,EAEvB,CAAC,oBAAoB,CAAC,aAAa,IAAI,CACtC,oBACE,SAAS,EAAC,0CAA0C,EACpD,OAAO,EAAE,uBAAuB,EAChC,QAAQ,EAAE,oBAAoB,CAAC,eAAe,KAAK,EAAE,EACrD,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,2BAA2B,2GAG1B,CACV,uFACkB,uFACT,EACd,QAAC,YAAY,eACX,QAAC,qBAAqB,IACpB,SAAS,EACP,oBAAoB,CAAC,qBAAqB,CAAC,YAAY;4CACvD,oBAAoB,CAAC,4BAA4B;iDAC9C,YAAY,uFAEjB,EACF,QAAC,UAAU,IACT,UAAU,EAAE,oBAAoB,CAAC,eAAe,EAChD,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,oBAAoB,CAAC,IAAI,uFACnC,uFACW,uFACT,uFACO,sFACG,uFACT,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DSL_ExternalFormat_SchemaSetModelGenerationEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/external-format-editor/DSL_Ex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UAAU,IACT,UAAU,EAAE,oBAAoB,CAAC,eAAe,EAChD,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,oBAAoB,CAAC,IAAI,GACnC,IACW,IACT,GACO,IACG,GACT,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -20,7 +20,7 @@ export declare enum FUNCTION_ACTIVATE_TYPE {
20
20
  REFINER = "Refiner",
21
21
  BIG_QUERY_NATIVE_APP = "BigQuery Native App"
22
22
  }
23
- export declare const FunctionEditor: (() => import("react/jsx-dev-runtime").JSX.Element) & {
23
+ export declare const FunctionEditor: (() => import("react/jsx-runtime").JSX.Element) & {
24
24
  displayName: string;
25
25
  };
26
26
  //# sourceMappingURL=FunctionEditor.d.ts.map
@@ -1,5 +1,4 @@
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-application-studio/src/components/editor/editor-group/function-activator/FunctionEditor.tsx";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
2
  /**
4
3
  * Copyright (c) 2020-present, Goldman Sachs
5
4
  *
@@ -158,12 +157,12 @@ const ParameterBasicEditor = observer((props) => {
158
157
  dragConnector(handleRef);
159
158
  dropConnector(ref);
160
159
  useDragPreviewLayer(dragPreviewConnector);
161
- return (_jsxDEV(PanelDnDEntry, { ref: ref, placeholder: _jsxDEV("div", { className: "dnd__placeholder--light" }, void 0, false, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 22 }, this), className: "property-basic-editor__container", showPlaceholder: isBeingDragged, children: [_jsxDEV(PanelEntryDragHandle, { dragSourceConnector: handleRef, isDragging: isBeingDragged }, void 0, false, { fileName: _jsxFileName, lineNumber: 352, columnNumber: 9 }, this), _jsxDEV("div", { className: "property-basic-editor", children: [isReadOnly && (_jsxDEV("div", { className: "property-basic-editor__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 357, columnNumber: 27 }, this)), _jsxDEV("input", { className: "property-basic-editor__name input--dark", disabled: isReadOnly, value: parameter.name, spellCheck: false, onChange: changeValue, placeholder: "Parameter name" }, void 0, false, { fileName: _jsxFileName, lineNumber: 362, columnNumber: 11 }, this), !isReadOnly && isEditingType && (_jsxDEV(CustomSelectorInput, { className: "property-basic-editor__type", options: typeOptions, onChange: changeType, value: selectedType, placeholder: "Choose a type...", filterOption: filterOption, darkMode: !applicationStore.layoutService
162
- .TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 370, columnNumber: 45 }, this)), !isReadOnly && !isEditingType && (_jsxDEV("div", { className: clsx('property-basic-editor__type', 'property-basic-editor__type--show-click-hint', `background--${typeName.toLowerCase()}`, {
160
+ return (_jsxs(PanelDnDEntry, { ref: ref, placeholder: _jsx("div", { className: "dnd__placeholder--light" }), className: "property-basic-editor__container", showPlaceholder: isBeingDragged, children: [_jsx(PanelEntryDragHandle, { dragSourceConnector: handleRef, isDragging: isBeingDragged }), _jsxs("div", { className: "property-basic-editor", children: [isReadOnly && (_jsx("div", { className: "property-basic-editor__lock", children: _jsx(LockIcon, {}) })), _jsx("input", { className: "property-basic-editor__name input--dark", disabled: isReadOnly, value: parameter.name, spellCheck: false, onChange: changeValue, placeholder: "Parameter name" }), !isReadOnly && isEditingType && (_jsx(CustomSelectorInput, { className: "property-basic-editor__type", options: typeOptions, onChange: changeType, value: selectedType, placeholder: "Choose a type...", filterOption: filterOption, darkMode: !applicationStore.layoutService
161
+ .TEMPORARY__isLightColorThemeEnabled })), !isReadOnly && !isEditingType && (_jsxs("div", { className: clsx('property-basic-editor__type', 'property-basic-editor__type--show-click-hint', `background--${typeName.toLowerCase()}`, {
163
162
  'property-basic-editor__type--has-visit-btn': typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE,
164
- }), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(paramType, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 396, columnNumber: 67 }, this)), _jsxDEV("div", { className: "property-basic-editor__type__label", children: paramType.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 401, columnNumber: 15 }, this), _jsxDEV("div", { className: "property-basic-editor__type__label property-basic-editor__type__label--hover", onClick: () => setIsEditingType(true), children: "Click to edit" }, void 0, false, { fileName: _jsxFileName, lineNumber: 404, columnNumber: 15 }, this), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsxDEV(ArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 418, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 410, columnNumber: 67 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 384, columnNumber: 46 }, this)), isReadOnly && (_jsxDEV("div", { className: clsx('property-basic-editor__type', `background--${typeName.toLowerCase()}`, {
163
+ }), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsx("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(paramType, editorStore) })), _jsx("div", { className: "property-basic-editor__type__label", children: paramType.name }), _jsx("div", { className: "property-basic-editor__type__label property-basic-editor__type__label--hover", onClick: () => setIsEditingType(true), children: "Click to edit" }), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsx("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsx(ArrowCircleRightIcon, {}) }))] })), isReadOnly && (_jsxs("div", { className: clsx('property-basic-editor__type', `background--${typeName.toLowerCase()}`, {
165
164
  'property-basic-editor__type--has-visit-btn': typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE,
166
- }), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(paramType, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 434, columnNumber: 67 }, this)), _jsxDEV("div", { className: "property-basic-editor__type__label", children: paramType.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 439, columnNumber: 15 }, this), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsxDEV(ArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 450, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 442, columnNumber: 67 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 423, columnNumber: 27 }, this)), _jsxDEV("div", { className: "property-basic-editor__multiplicity", children: [_jsxDEV("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: lowerBound, onChange: changeLowerBound }, void 0, false, { fileName: _jsxFileName, lineNumber: 456, columnNumber: 13 }, this), _jsxDEV("div", { className: "property-basic-editor__multiplicity__range", children: ".." }, void 0, false, { fileName: _jsxFileName, lineNumber: 463, columnNumber: 13 }, this), _jsxDEV("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: upperBound, onChange: changeUpperBound }, void 0, false, { fileName: _jsxFileName, lineNumber: 464, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 455, columnNumber: 11 }, this), !isReadOnly && (_jsxDEV("button", { className: "uml-element-editor__remove-btn btn--dark btn--caution", disabled: isReadOnly, onClick: deleteParameter, tabIndex: -1, title: "Remove", children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 480, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 472, columnNumber: 28 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 356, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 345, columnNumber: 13 }, this));
165
+ }), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsx("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(paramType, editorStore) })), _jsx("div", { className: "property-basic-editor__type__label", children: paramType.name }), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsx("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsx(ArrowCircleRightIcon, {}) }))] })), _jsxs("div", { className: "property-basic-editor__multiplicity", children: [_jsx("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: lowerBound, onChange: changeLowerBound }), _jsx("div", { className: "property-basic-editor__multiplicity__range", children: ".." }), _jsx("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: upperBound, onChange: changeUpperBound })] }), !isReadOnly && (_jsx("button", { className: "uml-element-editor__remove-btn btn--dark btn--caution", disabled: isReadOnly, onClick: deleteParameter, tabIndex: -1, title: "Remove", children: _jsx(TimesIcon, {}) }))] })] }));
167
166
  });
168
167
  const ReturnTypeEditor = observer((props) => {
169
168
  const { functionElement, isReadOnly } = props;
@@ -215,12 +214,12 @@ const ReturnTypeEditor = observer((props) => {
215
214
  setUpperBound(event.target.value);
216
215
  updateMultiplicity(lowerBound, event.target.value);
217
216
  };
218
- return (_jsxDEV("div", { className: "function-editor__return__type-editor", children: [!isReadOnly && isEditingType && (_jsxDEV(CustomSelectorInput, { className: "property-basic-editor__type", options: typeOptions, onChange: changeType, value: selectedType, placeholder: "Choose a type...", filterOption: filterOption, darkMode: !applicationStore.layoutService
219
- .TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 568, columnNumber: 43 }, this)), !isReadOnly && !isEditingType && (_jsxDEV("div", { className: clsx('property-basic-editor__type', 'property-basic-editor__type--show-click-hint', `background--${typeName.toLowerCase()}`, {
217
+ return (_jsxs("div", { className: "function-editor__return__type-editor", children: [!isReadOnly && isEditingType && (_jsx(CustomSelectorInput, { className: "property-basic-editor__type", options: typeOptions, onChange: changeType, value: selectedType, placeholder: "Choose a type...", filterOption: filterOption, darkMode: !applicationStore.layoutService
218
+ .TEMPORARY__isLightColorThemeEnabled })), !isReadOnly && !isEditingType && (_jsxs("div", { className: clsx('property-basic-editor__type', 'property-basic-editor__type--show-click-hint', `background--${typeName.toLowerCase()}`, {
220
219
  'property-basic-editor__type--has-visit-btn': typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE,
221
- }), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(returnType.value, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 594, columnNumber: 65 }, this)), _jsxDEV("div", { className: "property-basic-editor__type__label", children: returnType.value.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 599, columnNumber: 13 }, this), _jsxDEV("div", { className: "property-basic-editor__type__label property-basic-editor__type__label--hover", onClick: () => setIsEditingType(true), children: "Click to edit" }, void 0, false, { fileName: _jsxFileName, lineNumber: 602, columnNumber: 13 }, this), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsxDEV(ArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 616, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 608, columnNumber: 65 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 582, columnNumber: 44 }, this)), isReadOnly && (_jsxDEV("div", { className: clsx('property-basic-editor__type', `background--${typeName.toLowerCase()}`, {
220
+ }), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsx("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(returnType.value, editorStore) })), _jsx("div", { className: "property-basic-editor__type__label", children: returnType.value.name }), _jsx("div", { className: "property-basic-editor__type__label property-basic-editor__type__label--hover", onClick: () => setIsEditingType(true), children: "Click to edit" }), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsx("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsx(ArrowCircleRightIcon, {}) }))] })), isReadOnly && (_jsxs("div", { className: clsx('property-basic-editor__type', `background--${typeName.toLowerCase()}`, {
222
221
  'property-basic-editor__type--has-visit-btn': typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE,
223
- }), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(returnType.value, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 632, columnNumber: 65 }, this)), _jsxDEV("div", { className: "property-basic-editor__type__label", children: returnType.value.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 637, columnNumber: 13 }, this), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsxDEV(ArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 648, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 640, columnNumber: 65 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 621, columnNumber: 25 }, this)), _jsxDEV("div", { className: "property-basic-editor__multiplicity", children: [_jsxDEV("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: lowerBound, onChange: changeLowerBound }, void 0, false, { fileName: _jsxFileName, lineNumber: 654, columnNumber: 11 }, this), _jsxDEV("div", { className: "property-basic-editor__multiplicity__range", children: ".." }, void 0, false, { fileName: _jsxFileName, lineNumber: 661, columnNumber: 11 }, this), _jsxDEV("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: upperBound, onChange: changeUpperBound }, void 0, false, { fileName: _jsxFileName, lineNumber: 662, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 653, columnNumber: 9 }, this), _jsxDEV("button", { className: "uml-element-editor__remove-btn btn--dark btn--caution", disabled: true, tabIndex: -1, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 675, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 670, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 566, columnNumber: 13 }, this));
222
+ }), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsx("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(returnType.value, editorStore) })), _jsx("div", { className: "property-basic-editor__type__label", children: returnType.value.name }), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsx("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsx(ArrowCircleRightIcon, {}) }))] })), _jsxs("div", { className: "property-basic-editor__multiplicity", children: [_jsx("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: lowerBound, onChange: changeLowerBound }), _jsx("div", { className: "property-basic-editor__multiplicity__range", children: ".." }), _jsx("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: upperBound, onChange: changeUpperBound })] }), _jsx("button", { className: "uml-element-editor__remove-btn btn--dark btn--caution", disabled: true, tabIndex: -1, children: _jsx(TimesIcon, {}) })] }));
224
223
  });
225
224
  const FunctionPromoteEditor = observer((props) => {
226
225
  const { functionElement, activatorPromoteState } = props;
@@ -267,33 +266,33 @@ const FunctionPromoteEditor = observer((props) => {
267
266
  const renderFunctionPromoteTypes = (type) => {
268
267
  switch (type) {
269
268
  case FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP:
270
- return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV(Snowflake_BrandIcon, { className: "function-promote-editor__type-icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 740, columnNumber: 26 }, this), cardName: type, cardContent: "Deploy the function as a UDTF(user-defined table function) in snowflake", isActive: activatorPromoteState.activateType ===
269
+ return (_jsx(BaseCard, { cardMedia: _jsx(Snowflake_BrandIcon, { className: "function-promote-editor__type-icon" }), cardName: type, cardContent: "Deploy the function as a UDTF(user-defined table function) in snowflake", isActive: activatorPromoteState.activateType ===
271
270
  FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP, onClick: () => {
272
271
  activatorPromoteState.setAcitvateType(type);
273
- } }, FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP, false, { fileName: _jsxFileName, lineNumber: 737, columnNumber: 19 }, this));
272
+ } }, FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP));
274
273
  case FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE:
275
- return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV(RocketIcon, { className: "function-promote-editor__type-icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 758, columnNumber: 26 }, this), cardName: type, cardContent: "Create a HostedService that will be deployed to a server environment and executed with a pattern", isActive: activatorPromoteState.activateType ===
274
+ return (_jsx(BaseCard, { cardMedia: _jsx(RocketIcon, { className: "function-promote-editor__type-icon" }), cardName: type, cardContent: "Create a HostedService that will be deployed to a server environment and executed with a pattern", isActive: activatorPromoteState.activateType ===
276
275
  FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE, onClick: () => {
277
276
  activatorPromoteState.setAcitvateType(type);
278
- } }, FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE, false, { fileName: _jsxFileName, lineNumber: 755, columnNumber: 19 }, this));
277
+ } }, FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE));
279
278
  case FUNCTION_ACTIVATE_TYPE.SERVICE_JAR:
280
- return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV("div", { className: "coming-soon-label", children: "Coming Soon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 776, columnNumber: 26 }, this), cardName: type, cardContent: "Deploy the function in the definition of a Store persistence", isDisable: true, isActive: activatorPromoteState.activateType ===
281
- FUNCTION_ACTIVATE_TYPE.SERVICE_JAR }, FUNCTION_ACTIVATE_TYPE.SERVICE_JAR, false, { fileName: _jsxFileName, lineNumber: 773, columnNumber: 19 }, this));
279
+ return (_jsx(BaseCard, { cardMedia: _jsx("div", { className: "coming-soon-label", children: "Coming Soon" }), cardName: type, cardContent: "Deploy the function in the definition of a Store persistence", isDisable: true, isActive: activatorPromoteState.activateType ===
280
+ FUNCTION_ACTIVATE_TYPE.SERVICE_JAR }, FUNCTION_ACTIVATE_TYPE.SERVICE_JAR));
282
281
  case FUNCTION_ACTIVATE_TYPE.REFINER:
283
- return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV("div", { className: "coming-soon-label", children: "Coming Soon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 790, columnNumber: 26 }, this), cardName: type, cardContent: "Use the service in a refiner context", isDisable: true, isActive: activatorPromoteState.activateType ===
284
- FUNCTION_ACTIVATE_TYPE.REFINER }, FUNCTION_ACTIVATE_TYPE.REFINER, false, { fileName: _jsxFileName, lineNumber: 787, columnNumber: 19 }, this));
282
+ return (_jsx(BaseCard, { cardMedia: _jsx("div", { className: "coming-soon-label", children: "Coming Soon" }), cardName: type, cardContent: "Use the service in a refiner context", isDisable: true, isActive: activatorPromoteState.activateType ===
283
+ FUNCTION_ACTIVATE_TYPE.REFINER }, FUNCTION_ACTIVATE_TYPE.REFINER));
285
284
  case FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP:
286
- return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV("div", { className: "coming-soon-label", children: "Coming Soon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 804, columnNumber: 26 }, this), cardName: type, cardContent: "Deploy the function as a UDTF(user-defined table function) in BigQuery", isDisable: true, isActive: activatorPromoteState.activateType ===
287
- FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP }, FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP, false, { fileName: _jsxFileName, lineNumber: 801, columnNumber: 19 }, this));
285
+ return (_jsx(BaseCard, { cardMedia: _jsx("div", { className: "coming-soon-label", children: "Coming Soon" }), cardName: type, cardContent: "Deploy the function as a UDTF(user-defined table function) in BigQuery", isDisable: true, isActive: activatorPromoteState.activateType ===
286
+ FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP }, FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP));
288
287
  default:
289
- return _jsxDEV(_Fragment, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 815, columnNumber: 17 }, this);
288
+ return _jsx(_Fragment, {});
290
289
  }
291
290
  };
292
- return (_jsxDEV(Dialog, { open: activatorPromoteState.isActivatingFunction, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "function-promote-editor", children: [_jsxDEV(ModalBody, { className: "function-promote-editor__content", children: [_jsxDEV("div", { className: "function-promote-editor__content__prompt", children: "Select any one of the following activator types to continue" }, void 0, false, { fileName: _jsxFileName, lineNumber: 833, columnNumber: 13 }, this), _jsxDEV("div", { className: "function-promote-editor__content__activator-types", children: Object.values(FUNCTION_ACTIVATE_TYPE).map((type) => renderFunctionPromoteTypes(type)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 836, columnNumber: 13 }, this), _jsxDEV("div", { className: "function-promote-editor__content__prompt", children: "Target Path" }, void 0, false, { fileName: _jsxFileName, lineNumber: 841, columnNumber: 13 }, this), _jsxDEV(InputWithInlineValidation, { className: "panel__content__form__section__input", spellCheck: false, onChange: onTargetPathChange, value: activatorPromoteState.activatorPath, error: elementAlreadyExistsMessage, showEditableIcon: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 844, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 832, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { className: "function-promote-editor__action-btn", onClick: closeModal, title: "Close", type: "secondary", children: "Cancel" }, void 0, false, { fileName: _jsxFileName, lineNumber: 854, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { className: "function-promote-editor__action-btn function-promote-editor__action-btn--primitive", disabled: !activatorPromoteState.activateType ||
291
+ return (_jsx(Dialog, { open: activatorPromoteState.isActivatingFunction, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "function-promote-editor", children: [_jsxs(ModalBody, { className: "function-promote-editor__content", children: [_jsx("div", { className: "function-promote-editor__content__prompt", children: "Select any one of the following activator types to continue" }), _jsx("div", { className: "function-promote-editor__content__activator-types", children: Object.values(FUNCTION_ACTIVATE_TYPE).map((type) => renderFunctionPromoteTypes(type)) }), _jsx("div", { className: "function-promote-editor__content__prompt", children: "Target Path" }), _jsx(InputWithInlineValidation, { className: "panel__content__form__section__input", spellCheck: false, onChange: onTargetPathChange, value: activatorPromoteState.activatorPath, error: elementAlreadyExistsMessage, showEditableIcon: true })] }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { className: "function-promote-editor__action-btn", onClick: closeModal, title: "Close", type: "secondary", children: "Cancel" }), _jsx(ModalFooterButton, { className: "function-promote-editor__action-btn function-promote-editor__action-btn--primitive", disabled: !activatorPromoteState.activateType ||
293
292
  !validateFunctionActivator(activatorPromoteState.activateType), title: activatorPromoteState.activateType &&
294
293
  validateFunctionActivator(activatorPromoteState.activateType)
295
294
  ? ''
296
- : validationMessage, onClick: promoteFunction, children: "Activate" }, void 0, false, { fileName: _jsxFileName, lineNumber: 862, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 853, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 826, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 819, columnNumber: 13 }, this));
295
+ : validationMessage, onClick: promoteFunction, children: "Activate" })] })] }) }));
297
296
  });
298
297
  const FunctionDefinitionEditor = observer((props) => {
299
298
  const { functionEditorState, isReadOnly } = props;
@@ -330,21 +329,21 @@ const FunctionDefinitionEditor = observer((props) => {
330
329
  const renderFuncResult = () => {
331
330
  if (execResult instanceof RawExecutionResult) {
332
331
  const val = execResult.value === null ? 'null' : execResult.value.toString();
333
- return (_jsxDEV(CodeEditor, { language: CODE_EDITOR_LANGUAGE.TEXT, inputValue: val, isReadOnly: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 945, columnNumber: 17 }, this));
332
+ return (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.TEXT, inputValue: val, isReadOnly: true }));
334
333
  }
335
334
  else if (execResult !== undefined) {
336
335
  const json = returnUndefOnError(() => JSON.stringify(extractExecutionResultValues(execResult), null, DEFAULT_TAB_SIZE)) ?? JSON.stringify(execResult);
337
- return (_jsxDEV(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: json, isReadOnly: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 961, columnNumber: 17 }, this));
336
+ return (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: json, isReadOnly: true }));
338
337
  }
339
- return _jsxDEV(BlankPanelContent, { children: "Function Did Not Run" }, void 0, false, { fileName: _jsxFileName, lineNumber: 969, columnNumber: 13 }, this);
338
+ return _jsx(BlankPanelContent, { children: "Function Did Not Run" });
340
339
  };
341
- return (_jsxDEV(_Fragment, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: functionEditorState.isGeneratingPlan ||
342
- functionEditorState.isRunningFunc }, void 0, false, { fileName: _jsxFileName, lineNumber: 974, columnNumber: 9 }, this), _jsxDEV("div", { className: "function-editor__definition", children: [_jsxDEV("div", { className: "function-editor__definition__item", children: [_jsxDEV("div", { className: "function-editor__definition__item__header", children: [_jsxDEV("div", { className: "function-editor__definition__item__header__title", children: "PARAMETERS" }, void 0, false, { fileName: _jsxFileName, lineNumber: 983, columnNumber: 15 }, this), _jsxDEV("button", { className: "function-editor__definition__item__header__add-btn btn--dark", disabled: isReadOnly, onClick: addParameter, tabIndex: -1, title: "Add Parameter", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 993, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 986, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 982, columnNumber: 13 }, this), _jsxDEV(DragPreviewLayer, { labelGetter: (item) => item.parameter.name === '' ? '(unknown)' : item.parameter.name, types: [FUNCTION_PARAMETER_DND_TYPE] }, void 0, false, { fileName: _jsxFileName, lineNumber: 996, columnNumber: 13 }, this), _jsxDEV("div", { ref: dropParameterRef, className: clsx('function-editor__definition__item__content', {
340
+ return (_jsxs(_Fragment, { children: [_jsx(PanelLoadingIndicator, { isLoading: functionEditorState.isGeneratingPlan ||
341
+ functionEditorState.isRunningFunc }), _jsxs("div", { className: "function-editor__definition", children: [_jsxs("div", { className: "function-editor__definition__item", children: [_jsxs("div", { className: "function-editor__definition__item__header", children: [_jsx("div", { className: "function-editor__definition__item__header__title", children: "PARAMETERS" }), _jsx("button", { className: "function-editor__definition__item__header__add-btn btn--dark", disabled: isReadOnly, onClick: addParameter, tabIndex: -1, title: "Add Parameter", children: _jsx(PlusIcon, {}) })] }), _jsx(DragPreviewLayer, { labelGetter: (item) => item.parameter.name === '' ? '(unknown)' : item.parameter.name, types: [FUNCTION_PARAMETER_DND_TYPE] }), _jsxs("div", { ref: dropParameterRef, className: clsx('function-editor__definition__item__content', {
343
342
  'panel__content__lists--dnd-over': isParameterDragOver && !isReadOnly,
344
- }), children: [functionElement.parameters.map((param) => (_jsxDEV(ParameterBasicEditor, { parameter: param, _func: functionElement, deleteParameter: deleteParameter(param), isReadOnly: isReadOnly }, param._UUID, false, { fileName: _jsxFileName, lineNumber: 1009, columnNumber: 59 }, this))), functionElement.parameters.length === 0 && (_jsxDEV("div", { className: "function-editor__definition__item__content--empty", children: "No parameters" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1018, columnNumber: 60 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1002, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 981, columnNumber: 11 }, this), _jsxDEV("div", { className: "function-editor__definition__item", children: [_jsxDEV("div", { className: "function-editor__definition__item__header", children: [_jsxDEV("div", { className: "function-editor__definition__item__header__title", children: "LAMBDA" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1027, columnNumber: 15 }, this), _jsxDEV("div", { className: "", children: _jsxDEV(ReturnTypeEditor, { functionElement: functionElement, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 1031, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1030, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1026, columnNumber: 13 }, this), _jsxDEV("div", { className: clsx('function-editor__definition__item__content', {
343
+ }), children: [functionElement.parameters.map((param) => (_jsx(ParameterBasicEditor, { parameter: param, _func: functionElement, deleteParameter: deleteParameter(param), isReadOnly: isReadOnly }, param._UUID))), functionElement.parameters.length === 0 && (_jsx("div", { className: "function-editor__definition__item__content--empty", children: "No parameters" }))] })] }), _jsxs("div", { className: "function-editor__definition__item", children: [_jsxs("div", { className: "function-editor__definition__item__header", children: [_jsx("div", { className: "function-editor__definition__item__header__title", children: "LAMBDA" }), _jsx("div", { className: "", children: _jsx(ReturnTypeEditor, { functionElement: functionElement, isReadOnly: isReadOnly }) })] }), _jsx("div", { className: clsx('function-editor__definition__item__content', {
345
344
  backdrop__element: Boolean(functionEditorState.functionDefinitionEditorState.parserError),
346
- }), children: _jsxDEV(LambdaEditor, { className: "function-editor__definition__lambda-editor lambda-editor--dark", disabled: lambdaEditorState.isConvertingFunctionBodyToString ||
347
- isReadOnly, lambdaEditorState: lambdaEditorState, forceBackdrop: false, autoFocus: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 1044, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1037, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1025, columnNumber: 11 }, this), _jsxDEV("div", { className: "function-editor__definition__item", children: [_jsxDEV("div", { className: "function-editor__definition__item__header", children: _jsxDEV("div", { className: "function-editor__definition__item__header__title", children: ["RESULT", _jsxDEV(PanelGroupItemExperimentalBadge, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1060, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1058, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1057, columnNumber: 13 }, this), _jsxDEV("div", { className: "function-editor__definition__item__content", children: _jsxDEV("div", { className: "function-editor__definition__result-viewer", children: renderFuncResult() }, void 0, false, { fileName: _jsxFileName, lineNumber: 1064, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1063, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1056, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 980, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 972, columnNumber: 13 }, this));
345
+ }), children: _jsx(LambdaEditor, { className: "function-editor__definition__lambda-editor lambda-editor--dark", disabled: lambdaEditorState.isConvertingFunctionBodyToString ||
346
+ isReadOnly, lambdaEditorState: lambdaEditorState, forceBackdrop: false, autoFocus: true }) })] }), _jsxs("div", { className: "function-editor__definition__item", children: [_jsx("div", { className: "function-editor__definition__item__header", children: _jsxs("div", { className: "function-editor__definition__item__header__title", children: ["RESULT", _jsx(PanelGroupItemExperimentalBadge, {})] }) }), _jsx("div", { className: "function-editor__definition__item__content", children: _jsx("div", { className: "function-editor__definition__result-viewer", children: renderFuncResult() }) })] })] })] }));
348
347
  });
349
348
  export const FunctionEditor = observer(() => {
350
349
  const editorStore = useEditorStore();
@@ -440,7 +439,7 @@ export const FunctionEditor = observer(() => {
440
439
  applicationStore.notificationService.notifyError(`Can't save query: ${error.message}`);
441
440
  }
442
441
  });
443
- return (_jsxDEV("button", { className: "query-builder__dialog__header__custom-action", tabIndex: -1, disabled: isReadOnly, onClick: save, children: "Save Query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1270, columnNumber: 27 }, this));
442
+ return (_jsx("button", { className: "query-builder__dialog__header__custom-action", tabIndex: -1, disabled: isReadOnly, onClick: save, children: "Save Query" }));
444
443
  },
445
444
  },
446
445
  ],
@@ -454,9 +453,9 @@ export const FunctionEditor = observer(() => {
454
453
  const openFunctionActivateModal = () => {
455
454
  functionEditorState.activatorPromoteState.showFunctionActivateModal();
456
455
  };
457
- return (_jsxDEV("div", { "data-testid": LEGEND_STUDIO_TEST_ID.FUNCTION_EDITOR, className: "function-editor uml-editor uml-editor--dark", children: _jsxDEV(Panel, { children: [_jsxDEV("div", { className: "panel__header", children: _jsxDEV("div", { className: "panel__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "uml-element-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1306, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1304, columnNumber: 29 }, this)), _jsxDEV("div", { className: "panel__header__title__label", children: "function" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1309, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__header__title__content", children: functionElement.functionName }, void 0, false, { fileName: _jsxFileName, lineNumber: 1310, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1303, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1302, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header function-editor__tabs__header", children: [_jsxDEV("div", { className: "function-editor__tabs", children: Object.values(FUNCTION_EDITOR_TAB).map((tab) => (_jsxDEV("div", { onClick: changeTab(tab), className: clsx('function-editor__tab', {
456
+ return (_jsx("div", { "data-testid": LEGEND_STUDIO_TEST_ID.FUNCTION_EDITOR, className: "function-editor uml-editor uml-editor--dark", children: _jsxs(Panel, { children: [_jsx("div", { className: "panel__header", children: _jsxs("div", { className: "panel__header__title", children: [isReadOnly && (_jsx("div", { className: "uml-element-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "panel__header__title__label", children: "function" }), _jsx("div", { className: "panel__header__title__content", children: functionElement.functionName })] }) }), _jsxs("div", { className: "panel__header function-editor__tabs__header", children: [_jsx("div", { className: "function-editor__tabs", children: Object.values(FUNCTION_EDITOR_TAB).map((tab) => (_jsxs("div", { onClick: changeTab(tab), className: clsx('function-editor__tab', {
458
457
  'function-editor__tab--active': tab === selectedTab,
459
- }), children: [prettyCONSTName(tab), tab === FUNCTION_EDITOR_TAB.TEST_SUITES && (_jsxDEV(DocumentationLink, { documentationKey: LEGEND_STUDIO_DOCUMENTATION_KEY.QUESTION_HOW_TO_WRITE_A_FUNCTION_TEST }, void 0, false, { fileName: _jsxFileName, lineNumber: 1326, columnNumber: 62 }, this))] }, tab, true, { fileName: _jsxFileName, lineNumber: 1317, columnNumber: 63 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1316, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__header__actions", children: [selectedTab === FUNCTION_EDITOR_TAB.DEFINITION && (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxDEV("button", { className: "btn__dropdown-combo__label", onClick: editWithQueryBuilder(), title: "Edit Query", tabIndex: -1, children: [_jsxDEV(PencilIcon, { className: "btn__dropdown-combo__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1346, columnNumber: 21 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__label__title", children: "Edit" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1347, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1340, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1339, columnNumber: 17 }, this), _jsxDEV("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: functionEditorState.isRunningFunc ? (_jsxDEV("button", { className: "btn__dropdown-combo__canceler", onClick: cancelQuery, tabIndex: -1, children: _jsxDEV("div", { className: "btn--dark btn--caution btn__dropdown-combo__canceler__label", children: [_jsxDEV(PauseCircleIcon, { className: "btn__dropdown-combo__canceler__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1360, columnNumber: 25 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__canceler__label__title", children: "Stop" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1361, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1359, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1353, columnNumber: 57 }, this)) : (_jsxDEV(_Fragment, { children: [_jsxDEV("button", { className: "btn__dropdown-combo__label", onClick: runFunc, title: "Run Function", disabled: executionIsRunning, tabIndex: -1, children: [_jsxDEV(PlayIcon, { className: "btn__dropdown-combo__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1375, columnNumber: 25 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__label__title", children: "Run" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1376, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1368, columnNumber: 23 }, this), _jsxDEV(DropdownMenu, { className: "btn__dropdown-combo__dropdown-btn", disabled: executionIsRunning, content: _jsxDEV(MenuContent, { children: [_jsxDEV(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: generatePlan, children: "Generate Plan" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1385, columnNumber: 29 }, this), _jsxDEV(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: debugPlanGeneration, children: "Debug" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1391, columnNumber: 29 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1383, columnNumber: 34 }, this), menuProps: {
458
+ }), children: [prettyCONSTName(tab), tab === FUNCTION_EDITOR_TAB.TEST_SUITES && (_jsx(DocumentationLink, { documentationKey: LEGEND_STUDIO_DOCUMENTATION_KEY.QUESTION_HOW_TO_WRITE_A_FUNCTION_TEST }))] }, tab))) }), _jsxs("div", { className: "panel__header__actions", children: [selectedTab === FUNCTION_EDITOR_TAB.DEFINITION && (_jsxs(_Fragment, { children: [_jsx("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxs("button", { className: "btn__dropdown-combo__label", onClick: editWithQueryBuilder(), title: "Edit Query", tabIndex: -1, children: [_jsx(PencilIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Edit" })] }) }), _jsx("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: functionEditorState.isRunningFunc ? (_jsx("button", { className: "btn__dropdown-combo__canceler", onClick: cancelQuery, tabIndex: -1, children: _jsxs("div", { className: "btn--dark btn--caution btn__dropdown-combo__canceler__label", children: [_jsx(PauseCircleIcon, { className: "btn__dropdown-combo__canceler__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__canceler__label__title", children: "Stop" })] }) })) : (_jsxs(_Fragment, { children: [_jsxs("button", { className: "btn__dropdown-combo__label", onClick: runFunc, title: "Run Function", disabled: executionIsRunning, tabIndex: -1, children: [_jsx(PlayIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Run" })] }), _jsx(DropdownMenu, { className: "btn__dropdown-combo__dropdown-btn", disabled: executionIsRunning, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: generatePlan, children: "Generate Plan" }), _jsx(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: debugPlanGeneration, children: "Debug" })] }), menuProps: {
460
459
  anchorOrigin: {
461
460
  vertical: 'bottom',
462
461
  horizontal: 'right',
@@ -465,12 +464,12 @@ export const FunctionEditor = observer(() => {
465
464
  vertical: 'top',
466
465
  horizontal: 'right',
467
466
  },
468
- }, children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1410, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1380, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1366, columnNumber: 24 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1352, columnNumber: 17 }, this), _jsxDEV("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxDEV("button", { className: "btn__dropdown-combo__label", onClick: openFunctionActivateModal, title: "Activate function", tabIndex: -1, children: [_jsxDEV(RocketIcon, { className: "btn__dropdown-combo__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1422, columnNumber: 21 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__label__title", children: "Activate" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1423, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1416, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1415, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1337, columnNumber: 65 }, this)), _jsxDEV("button", { className: "panel__header__action", disabled: isReadOnly || selectedTab === FUNCTION_EDITOR_TAB.DEFINITION, onClick: add, tabIndex: -1, title: addButtonTitle, children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1439, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1430, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1336, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1315, columnNumber: 9 }, this), _jsxDEV(PanelContent, { children: [selectedTab === FUNCTION_EDITOR_TAB.DEFINITION && (_jsxDEV(FunctionDefinitionEditor, { functionEditorState: functionEditorState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 1444, columnNumber: 63 }, this)), selectedTab === FUNCTION_EDITOR_TAB.TAGGED_VALUES && (_jsxDEV("div", { ref: dropTaggedValueRef, className: clsx('panel__content__lists', {
467
+ }, children: _jsx(CaretDownIcon, {}) })] })) }), _jsx("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxs("button", { className: "btn__dropdown-combo__label", onClick: openFunctionActivateModal, title: "Activate function", tabIndex: -1, children: [_jsx(RocketIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Activate" })] }) })] })), _jsx("button", { className: "panel__header__action", disabled: isReadOnly || selectedTab === FUNCTION_EDITOR_TAB.DEFINITION, onClick: add, tabIndex: -1, title: addButtonTitle, children: _jsx(PlusIcon, {}) })] })] }), _jsxs(PanelContent, { children: [selectedTab === FUNCTION_EDITOR_TAB.DEFINITION && (_jsx(FunctionDefinitionEditor, { functionEditorState: functionEditorState, isReadOnly: isReadOnly })), selectedTab === FUNCTION_EDITOR_TAB.TAGGED_VALUES && (_jsxs("div", { ref: dropTaggedValueRef, className: clsx('panel__content__lists', {
469
468
  'panel__content__lists--dnd-over': isTaggedValueDragOver && !isReadOnly,
470
- }), children: [_jsxDEV(TaggedValueDragPreviewLayer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1458, columnNumber: 15 }, this), functionElement.taggedValues.map((taggedValue) => (_jsxDEV(TaggedValueEditor, { annotatedElement: functionElement, taggedValue: taggedValue, deleteValue: _deleteTaggedValue(taggedValue), isReadOnly: isReadOnly, darkTheme: true }, taggedValue._UUID, false, { fileName: _jsxFileName, lineNumber: 1459, columnNumber: 67 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1450, columnNumber: 66 }, this)), selectedTab === FUNCTION_EDITOR_TAB.STEREOTYPES && (_jsxDEV("div", { ref: dropStereotypeRef, className: clsx('panel__content__lists', {
469
+ }), children: [_jsx(TaggedValueDragPreviewLayer, {}), functionElement.taggedValues.map((taggedValue) => (_jsx(TaggedValueEditor, { annotatedElement: functionElement, taggedValue: taggedValue, deleteValue: _deleteTaggedValue(taggedValue), isReadOnly: isReadOnly, darkTheme: true }, taggedValue._UUID)))] })), selectedTab === FUNCTION_EDITOR_TAB.STEREOTYPES && (_jsxs("div", { ref: dropStereotypeRef, className: clsx('panel__content__lists', {
471
470
  'panel__content__lists--dnd-over': isStereotypeDragOver && !isReadOnly,
472
- }), children: [_jsxDEV(StereotypeDragPreviewLayer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1479, columnNumber: 15 }, this), functionElement.stereotypes.map((stereotype) => (_jsxDEV(StereotypeSelector, { annotatedElement: functionElement, stereotype: stereotype, deleteStereotype: _deleteStereotype(stereotype), isReadOnly: isReadOnly, darkTheme: true }, stereotype.value._UUID, false, { fileName: _jsxFileName, lineNumber: 1480, columnNumber: 65 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1471, columnNumber: 64 }, this)), selectedTab === FUNCTION_EDITOR_TAB.TEST_SUITES && (_jsxDEV(FunctionTestableEditor, { functionTestableState: functionEditorState.functionTestableEditorState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1492, columnNumber: 64 }, this)), _jsxDEV(ExecutionPlanViewer, { executionPlanState: functionEditorState.executionPlanState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1499, columnNumber: 11 }, this), functionEditorState.parametersState.parameterValuesEditorState
473
- .showModal && (_jsxDEV(LambdaParameterValuesEditor, { graph: functionEditorState.editorStore.graphManagerState.graph, observerContext: functionEditorState.editorStore.changeDetectionState
474
- .observerContext, lambdaParametersState: functionEditorState.parametersState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1503, columnNumber: 28 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1443, columnNumber: 9 }, this), functionEditorState.activatorPromoteState.isActivatingFunction && (_jsxDEV(FunctionPromoteEditor, { functionElement: functionElement, activatorPromoteState: functionEditorState.activatorPromoteState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1514, columnNumber: 77 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1301, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1296, columnNumber: 11 }, this));
471
+ }), children: [_jsx(StereotypeDragPreviewLayer, {}), functionElement.stereotypes.map((stereotype) => (_jsx(StereotypeSelector, { annotatedElement: functionElement, stereotype: stereotype, deleteStereotype: _deleteStereotype(stereotype), isReadOnly: isReadOnly, darkTheme: true }, stereotype.value._UUID)))] })), selectedTab === FUNCTION_EDITOR_TAB.TEST_SUITES && (_jsx(FunctionTestableEditor, { functionTestableState: functionEditorState.functionTestableEditorState })), _jsx(ExecutionPlanViewer, { executionPlanState: functionEditorState.executionPlanState }), functionEditorState.parametersState.parameterValuesEditorState
472
+ .showModal && (_jsx(LambdaParameterValuesEditor, { graph: functionEditorState.editorStore.graphManagerState.graph, observerContext: functionEditorState.editorStore.changeDetectionState
473
+ .observerContext, lambdaParametersState: functionEditorState.parametersState }))] }), functionEditorState.activatorPromoteState.isActivatingFunction && (_jsx(FunctionPromoteEditor, { functionElement: functionElement, activatorPromoteState: functionEditorState.activatorPromoteState }))] }) }));
475
474
  });
476
475
  //# sourceMappingURL=FunctionEditor.js.map