@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, 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/side-bar/RegisterService.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
  *
@@ -29,39 +28,39 @@ import { useApplicationStore } from '@finos/legend-application';
29
28
  import { CodeEditor, CODE_EDITOR_LANGUAGE, } from '@finos/legend-lego/code-editor';
30
29
  export const getRegistrationStatusIcon = (isSelected, registrationResult) => {
31
30
  if (registrationResult === REGISTRATION_RESULT.SUCCESS) {
32
- return (_jsxDEV("div", { title: "Service registered successfully", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--succeeded", children: _jsxDEV(CheckCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 72, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 67, columnNumber: 13 }, this));
31
+ return (_jsx("div", { title: "Service registered successfully", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--succeeded", children: _jsx(CheckCircleIcon, {}) }));
33
32
  }
34
33
  else if (registrationResult === REGISTRATION_RESULT.IN_PROGRESS &&
35
34
  isSelected) {
36
- return (_jsxDEV("div", { title: "Service registration in progress", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--in-progress", children: _jsxDEV(CircleNotchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 79, columnNumber: 13 }, this));
35
+ return (_jsx("div", { title: "Service registration in progress", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--in-progress", children: _jsx(CircleNotchIcon, {}) }));
37
36
  }
38
37
  else if (registrationResult === REGISTRATION_RESULT.FAILED) {
39
- return (_jsxDEV("div", { title: "Service Registration Failed", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--failed", children: _jsxDEV(TimesCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 93, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 88, columnNumber: 13 }, this));
38
+ return (_jsx("div", { title: "Service Registration Failed", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--failed", children: _jsx(TimesCircleIcon, {}) }));
40
39
  }
41
40
  else {
42
- return (_jsxDEV("div", { title: "Service is not registered", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--unknown", children: _jsxDEV(EmptyCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 102, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 97, columnNumber: 13 }, this));
41
+ return (_jsx("div", { title: "Service is not registered", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--unknown", children: _jsx(EmptyCircleIcon, {}) }));
43
42
  }
44
43
  };
45
44
  const ServiceContextMenu = observer(forwardRef(function ServiceContextMenu(props, ref) {
46
45
  const { serviceState, globalServiceRegistrationState } = props;
47
46
  const applicationStore = useApplicationStore();
48
- return (_jsxDEV(MenuContent, { children: [serviceState.registrationResult instanceof
49
- ServiceRegistrationSuccess && (_jsxDEV(MenuContentItem, { onClick: () => {
47
+ return (_jsxs(MenuContent, { children: [serviceState.registrationResult instanceof
48
+ ServiceRegistrationSuccess && (_jsx(MenuContentItem, { onClick: () => {
50
49
  const config = guaranteeNonNullable(globalServiceRegistrationState.serviceConfigState.options.find((info) => info.env ===
51
50
  globalServiceRegistrationState.serviceConfigState
52
51
  .serviceEnv));
53
52
  applicationStore.navigationService.navigator.visitAddress(generateServiceManagementUrl(config.managementUrl, serviceState.service.pattern));
54
- }, children: "Launch Service" }, void 0, false, { fileName: _jsxFileName, lineNumber: 121, columnNumber: 42 }, this)), serviceState.registrationResult instanceof ServiceRegistrationFail && (_jsxDEV(MenuContentItem, { onClick: () => globalServiceRegistrationState.setFailingView(serviceState.registrationResult), children: "View Error" }, void 0, false, { fileName: _jsxFileName, lineNumber: 143, columnNumber: 81 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 13 }, this));
53
+ }, children: "Launch Service" })), serviceState.registrationResult instanceof ServiceRegistrationFail && (_jsx(MenuContentItem, { onClick: () => globalServiceRegistrationState.setFailingView(serviceState.registrationResult), children: "View Error" }))] }));
55
54
  }));
56
55
  const ServiceFailViewer = observer((props) => {
57
56
  const { globalBulkServiceRegistrationState, failure } = props;
58
57
  const applicationStore = globalBulkServiceRegistrationState.editorStore.applicationStore;
59
58
  const closeLogViewer = () => globalBulkServiceRegistrationState.setFailingView(undefined);
60
- return (_jsxDEV(Dialog, { open: Boolean(failure), onClose: closeLogViewer, classes: {
59
+ return (_jsx(Dialog, { open: Boolean(failure), onClose: closeLogViewer, classes: {
61
60
  root: 'editor-modal__root-container',
62
61
  container: 'editor-modal__container',
63
62
  paper: 'editor-modal__content',
64
- }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsxDEV(ModalHeader, { title: guaranteeNonNullable(failure?.service).path }, void 0, false, { fileName: _jsxFileName, lineNumber: 185, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: failure instanceof ServiceRegistrationFail && (_jsxDEV(CodeEditor, { inputValue: failure.errorMessage, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT }, void 0, false, { fileName: _jsxFileName, lineNumber: 187, columnNumber: 61 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { text: "Close", onClick: closeLogViewer, type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 196, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 195, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 179, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 169, columnNumber: 13 }, this));
63
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsx(ModalHeader, { title: guaranteeNonNullable(failure?.service).path }), _jsx(ModalBody, { children: failure instanceof ServiceRegistrationFail && (_jsx(CodeEditor, { inputValue: failure.errorMessage, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT })) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: closeLogViewer, type: "secondary" }) })] }) }));
65
64
  });
66
65
  export const RegisterService = observer((props) => {
67
66
  const editorStore = useEditorStore();
@@ -84,18 +83,18 @@ export const RegisterService = observer((props) => {
84
83
  useEffect(() => {
85
84
  editorStore.globalBulkServiceRegistrationState.init();
86
85
  }, [editorStore.globalBulkServiceRegistrationState]);
87
- const serviceItems = () => (_jsxDEV(_Fragment, { children: editorStore.globalBulkServiceRegistrationState.bulkServiceRegistrationStates.map((serviceState) => (_jsxDEV(ContextMenu, { content: _jsxDEV(ServiceContextMenu, { globalServiceRegistrationState: editorStore.globalBulkServiceRegistrationState, serviceState: serviceState }, void 0, false, { fileName: _jsxFileName, lineNumber: 257, columnNumber: 24 }, this), children: _jsxDEV("div", { className: clsx('side-bar__panel__item'), children: [_jsxDEV("div", { className: clsx('bulk-service-registration__service__container bulk-service-registration__explorer__service__container'), children: [_jsxDEV("div", { className: "bulk-service-registration__services-tree__node__icon__type", children: getRegistrationStatusIcon(serviceState.isSelected, getServiceRegistrationResult(editorStore.globalBulkServiceRegistrationState
88
- .isServiceRegistering.isInProgress, serviceState.registrationResult)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 272, columnNumber: 19 }, this), _jsxDEV("div", { className: "bulk-service-registration__explorer__service__result__icon__type", children: _jsxDEV(PURE_ServiceIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 283, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 282, columnNumber: 19 }, this), _jsxDEV("div", { className: "bulk-service-registration__item__link__content", children: _jsxDEV("div", { className: "bulk-service-registration__item__link__content__id", children: serviceState.service.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 286, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 285, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 267, columnNumber: 17 }, this), _jsxDEV("button", { type: "button", className: clsx('bulk-service-registration__section__toggler__btn ', {
86
+ const serviceItems = () => (_jsx(_Fragment, { children: editorStore.globalBulkServiceRegistrationState.bulkServiceRegistrationStates.map((serviceState) => (_jsx(ContextMenu, { content: _jsx(ServiceContextMenu, { globalServiceRegistrationState: editorStore.globalBulkServiceRegistrationState, serviceState: serviceState }), children: _jsxs("div", { className: clsx('side-bar__panel__item'), children: [_jsxs("div", { className: clsx('bulk-service-registration__service__container bulk-service-registration__explorer__service__container'), children: [_jsx("div", { className: "bulk-service-registration__services-tree__node__icon__type", children: getRegistrationStatusIcon(serviceState.isSelected, getServiceRegistrationResult(editorStore.globalBulkServiceRegistrationState
87
+ .isServiceRegistering.isInProgress, serviceState.registrationResult)) }), _jsx("div", { className: "bulk-service-registration__explorer__service__result__icon__type", children: _jsx(PURE_ServiceIcon, {}) }), _jsx("div", { className: "bulk-service-registration__item__link__content", children: _jsx("div", { className: "bulk-service-registration__item__link__content__id", children: serviceState.service.name }) })] }), _jsx("button", { type: "button", className: clsx('bulk-service-registration__section__toggler__btn ', {
89
88
  'bulk-service-registration__section__toggler__btn--toggled ': serviceState.isSelected,
90
89
  }), onClick: () => {
91
90
  selectService(serviceState);
92
- }, tabIndex: -1, children: serviceState.isSelected ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 305, columnNumber: 47 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 307, columnNumber: 24 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 291, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 266, columnNumber: 15 }, this) }, serviceState.service._UUID, false, { fileName: _jsxFileName, lineNumber: 254, columnNumber: 30 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 251, columnNumber: 50 }, this));
93
- return (_jsxDEV("div", { "data-testid": LEGEND_STUDIO_TEST_ID.BULK_REGISTRATION, className: "panel bulk-service-registration", children: [_jsxDEV("div", { className: "panel__header side-bar__header", children: [_jsxDEV("div", { className: "panel__header__title bulk-service-registration__header__title", children: _jsxDEV("div", { className: "panel__header__title__content side-bar__header__title__content", children: "REGISTER SERVICES" }, void 0, false, { fileName: _jsxFileName, lineNumber: 325, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 324, columnNumber: 11 }, this), _jsxDEV("button", { className: "panel__header__action bulk-service-registration__service__header__action bulk-service-registration__play-btn", onClick: () => editorStore.globalBulkServiceRegistrationState.setShowRegConfig(true), tabIndex: -1, title: "Register All Services", children: _jsxDEV(PlayIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 339, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 329, columnNumber: 11 }, this), _jsxDEV(Dialog, { onClose: noop, open: editorStore.globalBulkServiceRegistrationState
94
- .showRegistrationConfig, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService
95
- .TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal bulk-service-registration__service__editor'), children: [_jsxDEV("div", { className: "bulk-service-registration__header", children: [_jsxDEV("div", { className: "bulk-service-registration__header__actions" }, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 17 }, this), _jsxDEV("button", { className: "bulk-service-registration__header__action", tabIndex: -1, onClick: () => editorStore.globalBulkServiceRegistrationState.setShowRegConfig(false), children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 368, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 357, columnNumber: 15 }, this), _jsxDEV("div", { className: "bulk-service-registration__panel__content__form", children: _jsxDEV(BulkServiceRegistrationEditor, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 372, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 371, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 341, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 323, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header side-bar__header", children: [_jsxDEV("div", { className: "panel__header__title bulk-service-registration__header__title", children: _jsxDEV("div", { className: "panel__header__title__content side-bar__header__title__content", children: "Select All" }, void 0, false, { fileName: _jsxFileName, lineNumber: 379, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 378, columnNumber: 11 }, this), _jsxDEV("button", { type: "button", className: clsx('panel__header__action bulk-service-registration__section__toggler__btn ', {
91
+ }, tabIndex: -1, children: serviceState.isSelected ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) })] }) }, serviceState.service._UUID))) }));
92
+ return (_jsxs("div", { "data-testid": LEGEND_STUDIO_TEST_ID.BULK_REGISTRATION, className: "panel bulk-service-registration", children: [_jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title bulk-service-registration__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "REGISTER SERVICES" }) }), _jsx("button", { className: "panel__header__action bulk-service-registration__service__header__action bulk-service-registration__play-btn", onClick: () => editorStore.globalBulkServiceRegistrationState.setShowRegConfig(true), tabIndex: -1, title: "Register All Services", children: _jsx(PlayIcon, {}) }), _jsx(Dialog, { onClose: noop, open: editorStore.globalBulkServiceRegistrationState
93
+ .showRegistrationConfig, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService
94
+ .TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal bulk-service-registration__service__editor'), children: [_jsxs("div", { className: "bulk-service-registration__header", children: [_jsx("div", { className: "bulk-service-registration__header__actions" }), _jsx("button", { className: "bulk-service-registration__header__action", tabIndex: -1, onClick: () => editorStore.globalBulkServiceRegistrationState.setShowRegConfig(false), children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "bulk-service-registration__panel__content__form", children: _jsx(BulkServiceRegistrationEditor, {}) })] }) })] }), _jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title bulk-service-registration__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "Select All" }) }), _jsx("button", { type: "button", className: clsx('panel__header__action bulk-service-registration__section__toggler__btn ', {
96
95
  'panel__header__action bulk-service-registration__section__toggler__btn--toggled ': editorStore.globalBulkServiceRegistrationState
97
96
  .selectAllServices,
98
97
  }), onClick: toggleSelectAllServices, tabIndex: -1, children: editorStore.globalBulkServiceRegistrationState
99
- .selectAllServices ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 397, columnNumber: 37 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 399, columnNumber: 18 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 383, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 377, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content side-bar__content", children: _jsxDEV("div", { className: "panel side-bar__panel", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: _jsxDEV("div", { className: "panel__header__title__content", children: "SERVICES" }, void 0, false, { fileName: _jsxFileName, lineNumber: 408, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 407, columnNumber: 15 }, this), _jsxDEV("div", { className: "bulk-service-registration__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: [editorStore.globalBulkServiceRegistrationState.bulkServiceRegistrationStates.filter((serviceState) => serviceState.isSelected).length, ' ', "/ ", services.length] }, void 0, true, { fileName: _jsxFileName, lineNumber: 410, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 406, columnNumber: 13 }, this), _jsxDEV(PanelContent, { children: serviceItems() }, void 0, false, { fileName: _jsxFileName, lineNumber: 424, columnNumber: 13 }, this), editorStore.globalBulkServiceRegistrationState.failingView && (_jsxDEV(ServiceFailViewer, { globalBulkServiceRegistrationState: editorStore.globalBulkServiceRegistrationState, failure: editorStore.globalBulkServiceRegistrationState.failingView }, void 0, false, { fileName: _jsxFileName, lineNumber: 425, columnNumber: 77 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 405, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 404, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 318, columnNumber: 13 }, this));
98
+ .selectAllServices ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) })] }), _jsx("div", { className: "panel__content side-bar__content", children: _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__content", children: "SERVICES" }) }), _jsxs("div", { className: "bulk-service-registration__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: [editorStore.globalBulkServiceRegistrationState.bulkServiceRegistrationStates.filter((serviceState) => serviceState.isSelected).length, ' ', "/ ", services.length] })] }), _jsx(PanelContent, { children: serviceItems() }), editorStore.globalBulkServiceRegistrationState.failingView && (_jsx(ServiceFailViewer, { globalBulkServiceRegistrationState: editorStore.globalBulkServiceRegistrationState, failure: editorStore.globalBulkServiceRegistrationState.failingView }))] }) })] }));
100
99
  });
101
100
  //# sourceMappingURL=RegisterService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RegisterService.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/RegisterService.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,E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C,iBAAK,SAAS,EAAC,uBAAuB,aACpC,iBAAK,SAAS,EAAC,eAAe,aAC5B,iBAAK,SAAS,EAAC,sBAAsB,YACnC,iBAAK,SAAS,EAAC,+BAA+B,6GAAe,uFACzD,EACN,iBACE,SAAS,EAAC,kDAAkD,iBAE1D,qBAAqB,CAAC,mCAAmC,aAIzD,WAAW,CAAC,kCAAkC,CAAC,6BAA6B,CAAC,MAAM,CACjF,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,UAAU,CAC1C,CAAC,MAAM,EACR,GAAG,QACF,QAAQ,CAAC,MAAM,uFACd,uFACF,EACN,QAAC,YAAY,cAAE,YAAY,EAAE,uFAAgB,EAC5C,WAAW,CAAC,kCAAkC,CAAC,WAAW,IAAI,CAC7D,QAAC,iBAAiB,IAChB,kCAAkC,EAChC,WAAW,CAAC,kCAAkC,EAEhD,OAAO,EACL,WAAW,CAAC,kCAAkC,CAAC,WAAW,uFAE5D,CACH,uFACG,sFACF,uFACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"RegisterService.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/RegisterService.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,KAAK,EACL,SAAS,EACT,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,WAAW,EACX,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,UAAU,GACX,MAA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,iBAAiB,IAChB,kCAAkC,EAChC,WAAW,CAAC,kCAAkC,EAEhD,OAAO,EACL,WAAW,CAAC,kCAAkC,CAAC,WAAW,GAE5D,CACH,IACG,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -16,7 +16,7 @@
16
16
  /**
17
17
  * Wrapper component around different implementations of sidebar, such as to view domain, to manage SDLC, etc.
18
18
  */
19
- export declare const SideBar: (() => import("react/jsx-dev-runtime").JSX.Element) & {
19
+ export declare const SideBar: (() => import("react/jsx-runtime").JSX.Element) & {
20
20
  displayName: string;
21
21
  };
22
22
  //# sourceMappingURL=SideBar.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/side-bar/SideBar.tsx";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
3
2
  /**
4
3
  * Copyright (c) 2020-present, Goldman Sachs
5
4
  *
@@ -36,29 +35,29 @@ export const SideBar = observer(() => {
36
35
  const renderSideBar = () => {
37
36
  switch (editorStore.activeActivity) {
38
37
  case ACTIVITY_MODE.EXPLORER:
39
- return _jsxDEV(Explorer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 43, columnNumber: 15 }, this);
38
+ return _jsx(Explorer, {});
40
39
  case ACTIVITY_MODE.LOCAL_CHANGES:
41
- return _jsxDEV(LocalChanges, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 45, columnNumber: 15 }, this);
40
+ return _jsx(LocalChanges, {});
42
41
  case ACTIVITY_MODE.WORKSPACE_REVIEW:
43
- return _jsxDEV(WorkspaceReview, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 47, columnNumber: 15 }, this);
42
+ return _jsx(WorkspaceReview, {});
44
43
  case ACTIVITY_MODE.WORKSPACE_UPDATER:
45
- return _jsxDEV(WorkspaceUpdater, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 49, columnNumber: 15 }, this);
44
+ return _jsx(WorkspaceUpdater, {});
46
45
  case ACTIVITY_MODE.CONFLICT_RESOLUTION:
47
- return _jsxDEV(WorkspaceUpdateConflictResolver, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 51, columnNumber: 15 }, this);
46
+ return _jsx(WorkspaceUpdateConflictResolver, {});
48
47
  case ACTIVITY_MODE.PROJECT_OVERVIEW:
49
- return _jsxDEV(ProjectOverview, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 53, columnNumber: 15 }, this);
48
+ return _jsx(ProjectOverview, {});
50
49
  case ACTIVITY_MODE.WORKFLOW_MANAGER:
51
- return (_jsxDEV(WorkflowManager, { workflowManagerState: editorStore.workspaceWorkflowManagerState }, void 0, false, { fileName: _jsxFileName, lineNumber: 55, columnNumber: 17 }, this));
50
+ return (_jsx(WorkflowManager, { workflowManagerState: editorStore.workspaceWorkflowManagerState }));
52
51
  case ACTIVITY_MODE.TEST_RUNNER:
53
- return (_jsxDEV(GlobalTestRunner, { globalTestRunnerState: editorStore.globalTestRunnerState }, void 0, false, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 17 }, this));
52
+ return (_jsx(GlobalTestRunner, { globalTestRunnerState: editorStore.globalTestRunnerState }));
54
53
  case ACTIVITY_MODE.REGISTER_SERVICES:
55
- return (_jsxDEV(RegisterService, { globalBulkServiceRegistrationState: editorStore.globalBulkServiceRegistrationState }, void 0, false, { fileName: _jsxFileName, lineNumber: 67, columnNumber: 17 }, this));
54
+ return (_jsx(RegisterService, { globalBulkServiceRegistrationState: editorStore.globalBulkServiceRegistrationState }));
56
55
  case USER_JOURNEYS.END_TO_END_WORKFLOWS:
57
- return (_jsxDEV(EndToEndWorkflow, { globalEndToEndWorkflowState: editorStore.globalEndToEndWorkflowState }, void 0, false, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 17 }, this));
56
+ return (_jsx(EndToEndWorkflow, { globalEndToEndWorkflowState: editorStore.globalEndToEndWorkflowState }));
58
57
  default:
59
58
  return null;
60
59
  }
61
60
  };
62
- return (_jsxDEV("div", { className: "side-bar", children: _jsxDEV("div", { className: "side-bar__view", children: renderSideBar() }, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 87, columnNumber: 11 }, this));
61
+ return (_jsx("div", { className: "side-bar", children: _jsx("div", { className: "side-bar__view", children: renderSideBar() }) }));
63
62
  });
64
63
  //# sourceMappingURL=SideBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideBar.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/SideBar.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,aAAa,GACd,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAE9E;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,EAAE;IACnC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IAErC,MAA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G,CAAC;YAC9B,KAAK,aAAa,CAAC,mBAAmB;gBACpC,OAAO,KAAC,+BAA+B,KAAG,CAAC;YAC7C,KAAK,aAAa,CAAC,gBAAgB;gBACjC,OAAO,KAAC,eAAe,KAAG,CAAC;YAC7B,KAAK,aAAa,CAAC,gBAAgB;gBACjC,OAAO,CACL,KAAC,eAAe,IACd,oBAAoB,EAAE,WAAW,CAAC,6BAA6B,GAC/D,CACH,CAAC;YACJ,KAAK,aAAa,CAAC,WAAW;gBAC5B,OAAO,CACL,KAAC,gBAAgB,IACf,qBAAqB,EAAE,WAAW,CAAC,qBAAqB,GACxD,CACH,CAAC;YACJ,KAAK,aAAa,CAAC,iBAAiB;gBAClC,OAAO,CACL,KAAC,eAAe,IACd,kCAAkC,EAChC,WAAW,CAAC,kCAAkC,GAEhD,CACH,CAAC;YACJ,KAAK,aAAa,CAAC,oBAAoB;gBACrC,OAAO,CACL,KAAC,gBAAgB,IACf,2BAA2B,EACzB,WAAW,CAAC,2BAA2B,GAEzC,CACH,CAAC;YACJ;gBACE,OAAO,IAAI,CAAC;QAChB,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,UAAU,YACvB,cAAK,SAAS,EAAC,gBAAgB,YAAE,aAAa,EAAE,GAAO,GACnD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -16,7 +16,7 @@
16
16
  import { type WorkflowManagerState } from '../../../stores/editor/sidebar-state/WorkflowManagerState.js';
17
17
  export declare const WorkflowManager: ((props: {
18
18
  workflowManagerState: WorkflowManagerState;
19
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
19
+ }) => import("react/jsx-runtime").JSX.Element) & {
20
20
  displayName: string;
21
21
  };
22
22
  //# sourceMappingURL=WorkflowManager.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/side-bar/WorkflowManager.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
  *
@@ -28,36 +27,36 @@ import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-edito
28
27
  const getWorkflowStatusIcon = (workflowStatus) => {
29
28
  switch (workflowStatus) {
30
29
  case WorkflowStatus.PENDING:
31
- return (_jsxDEV("div", { title: "Pipeline is suspended", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--suspended", children: _jsxDEV(PauseCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 15 }, this));
30
+ return (_jsx("div", { title: "Pipeline is suspended", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--suspended", children: _jsx(PauseCircleIcon, {}) }));
32
31
  case WorkflowStatus.IN_PROGRESS:
33
- return (_jsxDEV("div", { title: "Pipeline is running", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--in-progress", children: _jsxDEV(CircleNotchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 15 }, this));
32
+ return (_jsx("div", { title: "Pipeline is running", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--in-progress", children: _jsx(CircleNotchIcon, {}) }));
34
33
  case WorkflowStatus.SUCCEEDED:
35
- return (_jsxDEV("div", { title: "Pipeline succeeded", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--succeeded", children: _jsxDEV(CheckCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 98, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 93, columnNumber: 15 }, this));
34
+ return (_jsx("div", { title: "Pipeline succeeded", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--succeeded", children: _jsx(CheckCircleIcon, {}) }));
36
35
  case WorkflowStatus.FAILED:
37
- return (_jsxDEV("div", { title: "Pipeline failed", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--failed", children: _jsxDEV(TimesCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 107, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 102, columnNumber: 15 }, this));
36
+ return (_jsx("div", { title: "Pipeline failed", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--failed", children: _jsx(TimesCircleIcon, {}) }));
38
37
  case WorkflowStatus.CANCELED:
39
- return (_jsxDEV("div", { title: "Pipeline is canceled", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--canceled", children: _jsxDEV(BanIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 116, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 111, columnNumber: 15 }, this));
38
+ return (_jsx("div", { title: "Pipeline is canceled", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--canceled", children: _jsx(BanIcon, {}) }));
40
39
  case WorkflowStatus.UNKNOWN:
41
40
  default:
42
- return (_jsxDEV("div", { title: "Pipeline status is unknown", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--unknown", children: _jsxDEV(QuestionCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 126, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 121, columnNumber: 15 }, this));
41
+ return (_jsx("div", { title: "Pipeline status is unknown", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--unknown", children: _jsx(QuestionCircleIcon, {}) }));
43
42
  }
44
43
  };
45
44
  const getWorkflowJobStatusIcon = (workflowStatus) => {
46
45
  switch (workflowStatus) {
47
46
  case WorkflowJobStatus.WAITING:
48
47
  case WorkflowJobStatus.WAITING_MANUAL:
49
- return (_jsxDEV("div", { title: "Pipeline is suspended", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--suspended", children: _jsxDEV(PauseCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 143, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 138, columnNumber: 15 }, this));
48
+ return (_jsx("div", { title: "Pipeline is suspended", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--suspended", children: _jsx(PauseCircleIcon, {}) }));
50
49
  case WorkflowJobStatus.IN_PROGRESS:
51
- return (_jsxDEV("div", { title: "Pipeline is running", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--in-progress", children: _jsxDEV(CircleNotchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 152, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 147, columnNumber: 15 }, this));
50
+ return (_jsx("div", { title: "Pipeline is running", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--in-progress", children: _jsx(CircleNotchIcon, {}) }));
52
51
  case WorkflowJobStatus.SUCCEEDED:
53
- return (_jsxDEV("div", { title: "Pipeline succeeded", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--succeeded", children: _jsxDEV(CheckCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 161, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 15 }, this));
52
+ return (_jsx("div", { title: "Pipeline succeeded", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--succeeded", children: _jsx(CheckCircleIcon, {}) }));
54
53
  case WorkflowJobStatus.FAILED:
55
- return (_jsxDEV("div", { title: "Pipeline failed", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--failed", children: _jsxDEV(TimesCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 165, columnNumber: 15 }, this));
54
+ return (_jsx("div", { title: "Pipeline failed", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--failed", children: _jsx(TimesCircleIcon, {}) }));
56
55
  case WorkflowJobStatus.CANCELED:
57
- return (_jsxDEV("div", { title: "Pipeline is canceled", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--canceled", children: _jsxDEV(BanIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 179, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 174, columnNumber: 15 }, this));
56
+ return (_jsx("div", { title: "Pipeline is canceled", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--canceled", children: _jsx(BanIcon, {}) }));
58
57
  case WorkflowJobStatus.UNKNOWN:
59
58
  default:
60
- return (_jsxDEV("div", { title: "Pipeline status is unknown", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--unknown", children: _jsxDEV(QuestionCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 189, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 184, columnNumber: 15 }, this));
59
+ return (_jsx("div", { title: "Pipeline status is unknown", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--unknown", children: _jsx(QuestionCircleIcon, {}) }));
61
60
  }
62
61
  };
63
62
  const WorkflowJobLogsViewer = observer((props) => {
@@ -73,11 +72,11 @@ const WorkflowJobLogsViewer = observer((props) => {
73
72
  logState.refreshJobLogs(job);
74
73
  };
75
74
  const logs = logState.logs;
76
- return (_jsxDEV(Dialog, { open: Boolean(logState.job), onClose: closeLogViewer, classes: {
75
+ return (_jsx(Dialog, { open: Boolean(logState.job), onClose: closeLogViewer, classes: {
77
76
  root: 'editor-modal__root-container',
78
77
  container: 'editor-modal__container',
79
78
  paper: 'editor-modal__content',
80
- }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsxDEV(PanelLoadingIndicator, { isLoading: logState.fetchJobLogState.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 230, columnNumber: 11 }, this), _jsxDEV(ModalHeader, { children: [_jsxDEV(ModalTitle, { title: `Logs for ${job.name} #${job.id}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 13 }, this), _jsxDEV(ModalHeaderActions, { children: _jsxDEV("button", { className: "modal__header__action", disabled: !jobIsInProgress, title: "Refresh", onClick: refreshLogs, children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 236, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 235, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 233, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: _jsxDEV(CodeEditor, { inputValue: logs, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT }, void 0, false, { fileName: _jsxFileName, lineNumber: 247, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 246, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { text: "Close", onClick: closeLogViewer, type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 254, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 253, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 224, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 13 }, this));
79
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsx(PanelLoadingIndicator, { isLoading: logState.fetchJobLogState.isInProgress }), _jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: `Logs for ${job.name} #${job.id}` }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", disabled: !jobIsInProgress, title: "Refresh", onClick: refreshLogs, children: _jsx(RefreshIcon, {}) }) })] }), _jsx(ModalBody, { children: _jsx(CodeEditor, { inputValue: logs, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: closeLogViewer, type: "secondary" }) })] }) }));
81
80
  });
82
81
  const WorkflowExplorerContextMenu = observer(forwardRef(function WorkflowExplorerContextMenu(props, ref) {
83
82
  const { node, workflowManagerState, workflowState, treeData } = props;
@@ -110,33 +109,33 @@ const WorkflowExplorerContextMenu = observer(forwardRef(function WorkflowExplore
110
109
  applicationStore.navigationService.navigator.visitAddress(node.workflow.webURL);
111
110
  }
112
111
  };
113
- return (_jsxDEV(MenuContent, { "data-testid": LEGEND_STUDIO_TEST_ID.EXPLORER_CONTEXT_MENU, children: [node instanceof WorkflowJobTreeNodeData && (_jsxDEV(_Fragment, { children: [_jsxDEV(MenuContentItem, { onClick: viewLogs, children: "View Logs" }, void 0, false, { fileName: _jsxFileName, lineNumber: 314, columnNumber: 13 }, this), _jsxDEV(MenuContentItem, { onClick: visitWeburl, children: "Visit Job" }, void 0, false, { fileName: _jsxFileName, lineNumber: 315, columnNumber: 13 }, this), node.workflowJob.status !== WorkflowJobStatus.IN_PROGRESS && (_jsxDEV(MenuContentItem, { onClick: retryJob, children: "Retry Job" }, void 0, false, { fileName: _jsxFileName, lineNumber: 316, columnNumber: 76 }, this)), node.workflowJob.status === WorkflowJobStatus.IN_PROGRESS && (_jsxDEV(MenuContentItem, { onClick: cancelJob, children: "Cancel Job" }, void 0, false, { fileName: _jsxFileName, lineNumber: 319, columnNumber: 76 }, this)), node.workflowJob.status === WorkflowJobStatus.WAITING_MANUAL && (_jsxDEV(MenuContentItem, { onClick: runManualJob, children: "Run Manual Job" }, void 0, false, { fileName: _jsxFileName, lineNumber: 322, columnNumber: 79 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 312, columnNumber: 54 }, this)), node instanceof WorkflowTreeNodeData && (_jsxDEV(MenuContentItem, { onClick: visitWeburl, children: "Visit Workflow" }, void 0, false, { fileName: _jsxFileName, lineNumber: 329, columnNumber: 51 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 310, columnNumber: 13 }, this));
112
+ return (_jsxs(MenuContent, { "data-testid": LEGEND_STUDIO_TEST_ID.EXPLORER_CONTEXT_MENU, children: [node instanceof WorkflowJobTreeNodeData && (_jsxs(_Fragment, { children: [_jsx(MenuContentItem, { onClick: viewLogs, children: "View Logs" }), _jsx(MenuContentItem, { onClick: visitWeburl, children: "Visit Job" }), node.workflowJob.status !== WorkflowJobStatus.IN_PROGRESS && (_jsx(MenuContentItem, { onClick: retryJob, children: "Retry Job" })), node.workflowJob.status === WorkflowJobStatus.IN_PROGRESS && (_jsx(MenuContentItem, { onClick: cancelJob, children: "Cancel Job" })), node.workflowJob.status === WorkflowJobStatus.WAITING_MANUAL && (_jsx(MenuContentItem, { onClick: runManualJob, children: "Run Manual Job" }))] })), node instanceof WorkflowTreeNodeData && (_jsx(MenuContentItem, { onClick: visitWeburl, children: "Visit Workflow" }))] }));
114
113
  }));
115
114
  const WorkflowTreeNodeContainer = (props) => {
116
115
  const { node, level, stepPaddingInRem, onNodeSelect } = props;
117
116
  const { workflowManagerState, treeData, workflowState } = props.innerProps;
118
- const expandIcon = !(node instanceof WorkflowTreeNodeData) ? (_jsxDEV("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 351, columnNumber: 65 }, this)) : node.isOpen ? (_jsxDEV(ChevronDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 353, columnNumber: 22 }, this)) : (_jsxDEV(ChevronRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 355, columnNumber: 8 }, this));
117
+ const expandIcon = !(node instanceof WorkflowTreeNodeData) ? (_jsx("div", {})) : node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}));
119
118
  const nodeIcon = node instanceof WorkflowTreeNodeData
120
119
  ? getWorkflowStatusIcon(node.workflow.status)
121
120
  : getWorkflowJobStatusIcon(guaranteeType(node, WorkflowJobTreeNodeData).workflowJob.status);
122
121
  const selectNode = (event) => onNodeSelect?.(node);
123
- return (_jsxDEV(ContextMenu, { content: _jsxDEV(WorkflowExplorerContextMenu, { workflowManagerState: workflowManagerState, workflowState: workflowState, treeData: treeData, node: node }, void 0, false, { fileName: _jsxFileName, lineNumber: 368, columnNumber: 16 }, this), menuProps: { elevation: 7 }, children: _jsxDEV("div", { className: clsx('tree-view__node__container workflow-manager__explorer__workflow-tree__node__container'), onClick: selectNode, style: {
122
+ return (_jsx(ContextMenu, { content: _jsx(WorkflowExplorerContextMenu, { workflowManagerState: workflowManagerState, workflowState: workflowState, treeData: treeData, node: node }), menuProps: { elevation: 7 }, children: _jsxs("div", { className: clsx('tree-view__node__container workflow-manager__explorer__workflow-tree__node__container'), onClick: selectNode, style: {
124
123
  paddingLeft: `${level * (stepPaddingInRem ?? 1)}rem`,
125
124
  display: 'flex',
126
- }, children: [_jsxDEV("div", { className: "tree-view__node__icon workflow-manager__explorer__workflow-tree__node__icon", children: [_jsxDEV("div", { className: "workflow-manager__explorer__workflow-tree__node__icon__expand", children: expandIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 389, columnNumber: 11 }, this), _jsxDEV("div", { className: "workflow-manager__explorer__workflow-tree__node__icon__type", children: nodeIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 392, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 388, columnNumber: 9 }, this), node instanceof WorkflowTreeNodeData && (_jsxDEV("a", { className: "workflow-manager__item__link", rel: "noopener noreferrer", target: "_blank", href: node.workflow.webURL, title: "See workflow detail", children: _jsxDEV("div", { className: "workflow-manager__item__link__content", children: [_jsxDEV("span", { className: "workflow-manager__item__link__content__id", children: ["#", node.label] }, void 0, true, { fileName: _jsxFileName, lineNumber: 405, columnNumber: 15 }, this), _jsxDEV("span", { className: "workflow-manager__item__link__content__created-at", children: `created ${formatDistanceToNow(node.workflow.createdAt, {
125
+ }, children: [_jsxs("div", { className: "tree-view__node__icon workflow-manager__explorer__workflow-tree__node__icon", children: [_jsx("div", { className: "workflow-manager__explorer__workflow-tree__node__icon__expand", children: expandIcon }), _jsx("div", { className: "workflow-manager__explorer__workflow-tree__node__icon__type", children: nodeIcon })] }), node instanceof WorkflowTreeNodeData && (_jsx("a", { className: "workflow-manager__item__link", rel: "noopener noreferrer", target: "_blank", href: node.workflow.webURL, title: "See workflow detail", children: _jsxs("div", { className: "workflow-manager__item__link__content", children: [_jsxs("span", { className: "workflow-manager__item__link__content__id", children: ["#", node.label] }), _jsx("span", { className: "workflow-manager__item__link__content__created-at", children: `created ${formatDistanceToNow(node.workflow.createdAt, {
127
126
  includeSeconds: true,
128
127
  addSuffix: true,
129
- })}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 408, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 404, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 396, columnNumber: 51 }, this)), node instanceof WorkflowJobTreeNodeData && (_jsxDEV("a", { className: "workflow-manager__item__link", rel: "noopener noreferrer", target: "_blank", href: node.workflowJob.webURL, title: "See job detail", children: _jsxDEV("div", { className: "workflow-manager__item__link__content", children: [_jsxDEV("span", { className: "workflow-manager__item__link__content__id", children: node.workflowJob.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 426, columnNumber: 15 }, this), _jsxDEV("span", { className: "workflow-manager__item__link__content__created-at", children: `created ${formatDistanceToNow(node.workflowJob.createdAt, {
128
+ })}` })] }) })), node instanceof WorkflowJobTreeNodeData && (_jsx("a", { className: "workflow-manager__item__link", rel: "noopener noreferrer", target: "_blank", href: node.workflowJob.webURL, title: "See job detail", children: _jsxs("div", { className: "workflow-manager__item__link__content", children: [_jsx("span", { className: "workflow-manager__item__link__content__id", children: node.workflowJob.name }), _jsx("span", { className: "workflow-manager__item__link__content__created-at", children: `created ${formatDistanceToNow(node.workflowJob.createdAt, {
130
129
  includeSeconds: true,
131
130
  addSuffix: true,
132
- })}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 429, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 425, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 417, columnNumber: 54 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 378, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 366, columnNumber: 11 }, this));
131
+ })}` })] }) }))] }) }));
133
132
  };
134
133
  export const WorkflowManager = observer((props) => {
135
134
  const applicationStore = useApplicationStore();
136
135
  const workflowManagerState = props.workflowManagerState;
137
136
  const isDispatchingAction = workflowManagerState.fetchWorkflowsState.isInProgress ||
138
137
  Boolean(workflowManagerState.workflowStates.find((e) => e.isExecutingWorkflowRequest));
139
- const renderWorkflowContent = () => (_jsxDEV(_Fragment, { children: [workflowManagerState.workflowStates.map((workflowState) => {
138
+ const renderWorkflowContent = () => (_jsxs(_Fragment, { children: [workflowManagerState.workflowStates.map((workflowState) => {
140
139
  const onNodeSelect = (node) => {
141
140
  workflowState.onTreeNodeSelect(node, workflowState.treeData);
142
141
  };
@@ -148,20 +147,20 @@ export const WorkflowManager = observer((props) => {
148
147
  }
149
148
  return [];
150
149
  };
151
- return (_jsxDEV(TreeView, { components: {
150
+ return (_jsx(TreeView, { components: {
152
151
  TreeNodeContainer: WorkflowTreeNodeContainer,
153
152
  }, treeData: workflowState.treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
154
153
  workflowManagerState,
155
154
  workflowState: workflowState,
156
155
  treeData: workflowState.treeData,
157
- } }, workflowState.uuid, false, { fileName: _jsxFileName, lineNumber: 471, columnNumber: 19 }, this));
158
- }), workflowManagerState.logState.job && (_jsxDEV(WorkflowJobLogsViewer, { logState: workflowManagerState.logState, workflowState: workflowManagerState }, void 0, false, { fileName: _jsxFileName, lineNumber: 488, columnNumber: 48 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 454, columnNumber: 59 }, this));
156
+ } }, workflowState.uuid));
157
+ }), workflowManagerState.logState.job && (_jsx(WorkflowJobLogsViewer, { logState: workflowManagerState.logState, workflowState: workflowManagerState }))] }));
159
158
  const refresh = applicationStore.guardUnhandledError(() => flowResult(workflowManagerState.fetchAllWorkflows()));
160
159
  useEffect(() => {
161
160
  flowResult(workflowManagerState.fetchAllWorkflows()).catch(applicationStore.alertUnhandledError);
162
161
  }, [applicationStore, workflowManagerState]);
163
- return (_jsxDEV("div", { className: "panel workflow-manager", children: [_jsxDEV("div", { className: "panel__header side-bar__header", children: [_jsxDEV("div", { className: "panel__header__title workflow-manager__header__title", children: _jsxDEV("div", { className: "panel__header__title__content side-bar__header__title__content", children: "WORKFLOW MANAGER" }, void 0, false, { fileName: _jsxFileName, lineNumber: 510, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 509, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__header__actions side-bar__header__actions", children: _jsxDEV("button", { className: clsx('panel__header__action side-bar__header__action workflow-manager__refresh-btn', {
162
+ return (_jsxs("div", { className: "panel workflow-manager", children: [_jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title workflow-manager__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "WORKFLOW MANAGER" }) }), _jsx("div", { className: "panel__header__actions side-bar__header__actions", children: _jsx("button", { className: clsx('panel__header__action side-bar__header__action workflow-manager__refresh-btn', {
164
163
  'workflow-manager__refresh-btn--loading': isDispatchingAction,
165
- }), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 527, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 515, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 514, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 508, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content side-bar__content", children: [_jsxDEV(PanelLoadingIndicator, { isLoading: isDispatchingAction }, void 0, false, { fileName: _jsxFileName, lineNumber: 532, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel side-bar__panel", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: _jsxDEV("div", { className: "panel__header__title__content", children: "WORKFLOWS" }, void 0, false, { fileName: _jsxFileName, lineNumber: 536, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 535, columnNumber: 15 }, this), _jsxDEV("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: workflowManagerState.workflowStates.length }, void 0, false, { fileName: _jsxFileName, lineNumber: 538, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 534, columnNumber: 13 }, this), _jsxDEV(PanelContent, { children: renderWorkflowContent() }, void 0, false, { fileName: _jsxFileName, lineNumber: 547, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 533, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 531, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 506, columnNumber: 13 }, this));
164
+ }), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children: _jsx(RefreshIcon, {}) }) })] }), _jsxs("div", { className: "panel__content side-bar__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isDispatchingAction }), _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__content", children: "WORKFLOWS" }) }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: workflowManagerState.workflowStates.length })] }), _jsx(PanelContent, { children: renderWorkflowContent() })] })] })] }));
166
165
  });
167
166
  //# sourceMappingURL=WorkflowManager.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WorkflowManager.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkflowManager.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,MAAM,EACN,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,eAAe,EACf,OAAO,EACP,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,cA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ACN,QAAC,YAAY,cAAE,qBAAqB,EAAE,uFAAgB,uFAClD,sFACF,uFACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"WorkflowManager.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkflowManager.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,MAAM,EACN,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,eAAe,EACf,OAAO,EACP,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAKL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,8DAA8D,CAAC;AACtE,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AAExC,MAAM,qBAAqB,GAAG,CAC5B,cAA8B,EACb,EAAE;IACnB,QAAQ,cAAc,EAAE,CAAC;QACvB,KAAK,cAAc,CAAC,OAAO;YACzB,OAAO,CACL,cACE,KA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AAC,sDAAsD,YACnE,cAAK,SAAS,EAAC,gEAAgE,iCAEzE,GACF,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,iBACE,SAAS,EAAE,IAAI,CACb,8EAA8E,EAC9E;gCACE,wCAAwC,EAAE,mBAAmB;6BAC9D,CACF,EACD,QAAQ,EAAE,mBAAmB,EAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,SAAS,YAEf,KAAC,WAAW,KAAG,GACR,GACL,IACF,EACN,eAAK,SAAS,EAAC,kCAAkC,aAC/C,KAAC,qBAAqB,IAAC,SAAS,EAAE,mBAAmB,GAAI,EACzD,eAAK,SAAS,EAAC,uBAAuB,aACpC,eAAK,SAAS,EAAC,eAAe,aAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,+BAA+B,0BAAgB,GAC1D,EACN,cACE,SAAS,EAAC,wCAAwC,iBAEhD,qBAAqB,CAAC,mCAAmC,YAG1D,oBAAoB,CAAC,cAAc,CAAC,MAAM,GACvC,IACF,EACN,KAAC,YAAY,cAAE,qBAAqB,EAAE,GAAgB,IAClD,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,10 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export declare const WorkspaceReviewDiffs: (() => import("react/jsx-dev-runtime").JSX.Element) & {
16
+ export declare const WorkspaceReviewDiffs: (() => import("react/jsx-runtime").JSX.Element) & {
17
17
  displayName: string;
18
18
  };
19
- export declare const WorkspaceReview: (() => import("react/jsx-dev-runtime").JSX.Element) & {
19
+ export declare const WorkspaceReview: (() => import("react/jsx-runtime").JSX.Element) & {
20
20
  displayName: string;
21
21
  };
22
22
  //# sourceMappingURL=WorkspaceReview.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/side-bar/WorkspaceReview.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
  *
@@ -38,10 +37,10 @@ export const WorkspaceReviewDiffs = observer(() => {
38
37
  diff.oldPath === currentTabState.fromEntityPath &&
39
38
  diff.newPath === currentTabState.toEntityPath;
40
39
  const openChange = (diff) => () => workspaceReviewState.openReviewChange(diff);
41
- return (_jsxDEV("div", { className: "panel side-bar__panel workspace-review__diffs", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: [_jsxDEV("div", { className: "panel__header__title__content", children: "CHANGES" }, void 0, false, { fileName: _jsxFileName, lineNumber: 63, columnNumber: 11 }, this), _jsxDEV("div", { className: "side-bar__panel__title__info", title: "All changes made in the workspace since the revision the workspace is created", children: _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 64, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 62, columnNumber: 9 }, this), _jsxDEV("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: changes.length }, void 0, false, { fileName: _jsxFileName, lineNumber: 71, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 7 }, this), _jsxDEV(PanelContent, { children: changes
40
+ return (_jsxs("div", { className: "panel side-bar__panel workspace-review__diffs", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__content", children: "CHANGES" }), _jsx("div", { className: "side-bar__panel__title__info", title: "All changes made in the workspace since the revision the workspace is created", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: changes.length })] }), _jsx(PanelContent, { children: changes
42
41
  .slice()
43
42
  .sort(entityDiffSorter)
44
- .map((diff) => (_jsxDEV(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 27 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 11 }, this));
43
+ .map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key))) })] }));
45
44
  });
46
45
  export const WorkspaceReview = observer(() => {
47
46
  const editorStore = useEditorStore();
@@ -122,15 +121,15 @@ export const WorkspaceReview = observer(() => {
122
121
  reviewTitleInputRef.current?.focus();
123
122
  }
124
123
  }, [editorStore.activeActivity]);
125
- return (_jsxDEV("div", { className: "panel workspace-review", children: [_jsxDEV("div", { className: "panel__header side-bar__header", children: [_jsxDEV("div", { className: "panel__header__title workspace-review__header__title", children: _jsxDEV("div", { className: "panel__header__title__content side-bar__header__title__content", children: "REVIEW" }, void 0, false, { fileName: _jsxFileName, lineNumber: 209, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 208, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header__actions side-bar__header__actions", children: [_jsxDEV("button", { className: clsx('panel__header__action side-bar__header__action workspace-review__refresh-btn', {
124
+ return (_jsxs("div", { className: "panel workspace-review", children: [_jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title workspace-review__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "REVIEW" }) }), _jsxs("div", { className: "panel__header__actions side-bar__header__actions", children: [_jsx("button", { className: clsx('panel__header__action side-bar__header__action workspace-review__refresh-btn', {
126
125
  'workspace-review__refresh-btn--loading': workspaceReviewState.isRefreshingWorkspaceChangesDetector,
127
- }), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 227, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 11 }, this), _jsxDEV("button", { className: "panel__header__action side-bar__header__action workspace-review__close-btn", disabled: !workspaceReview || isDispatchingAction, onClick: closeReview, tabIndex: -1, title: "Close review", children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 236, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 229, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 213, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 207, columnNumber: 7 }, this), _jsxDEV("div", { className: "panel__content side-bar__content", children: [_jsxDEV(PanelLoadingIndicator, { isLoading: isDispatchingAction }, void 0, false, { fileName: _jsxFileName, lineNumber: 241, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel workspace-review", children: [!workspaceReview && (_jsxDEV(_Fragment, { children: _jsxDEV("form", { className: "workspace-review__title", onSubmit: (event) => {
126
+ }), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children: _jsx(RefreshIcon, {}) }), _jsx("button", { className: "panel__header__action side-bar__header__action workspace-review__close-btn", disabled: !workspaceReview || isDispatchingAction, onClick: closeReview, tabIndex: -1, title: "Close review", children: _jsx(TimesIcon, {}) })] })] }), _jsxs("div", { className: "panel__content side-bar__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isDispatchingAction }), _jsxs("div", { className: "panel workspace-review", children: [!workspaceReview && (_jsx(_Fragment, { children: _jsxs("form", { className: "workspace-review__title", onSubmit: (event) => {
128
127
  event.preventDefault();
129
- }, children: [_jsxDEV("div", { className: "workspace-review__title__content", children: _jsxDEV("input", { className: "workspace-review__title__content__input input--dark", ref: reviewTitleInputRef, spellCheck: false, value: workspaceReviewState.reviewTitle, disabled: Boolean(workspaceReview), onChange: editReviewTitle, placeholder: "Title" }, void 0, false, { fileName: _jsxFileName, lineNumber: 252, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 251, columnNumber: 17 }, this), _jsxDEV("button", { className: clsx('btn--dark btn--sm', {
128
+ }, children: [_jsx("div", { className: "workspace-review__title__content", children: _jsx("input", { className: "workspace-review__title__content__input input--dark", ref: reviewTitleInputRef, spellCheck: false, value: workspaceReviewState.reviewTitle, disabled: Boolean(workspaceReview), onChange: editReviewTitle, placeholder: "Title" }) }), _jsx("button", { className: clsx('btn--dark btn--sm', {
130
129
  'btn--error': workspaceContainsSnapshotDependencies,
131
- }), onClick: createReview, disabled: isCreateReviewDisabled, title: createReviewTitle, children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 270, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 262, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 245, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 243, columnNumber: 33 }, this)), workspaceReview && (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "workspace-review__title", children: [_jsxDEV("div", { className: "workspace-review__title__content", children: _jsxDEV("div", { className: "workspace-review__title__content__input workspace-review__title__content__input--with-link", title: "See review detail", children: _jsxDEV("button", { className: "workspace-review__title__content__input__link", tabIndex: -1, onClick: () => applicationStore.navigationService.navigator.visitAddress(applicationStore.navigationService.navigator.generateAddress(generateReviewRoute(workspaceReview.projectId, workspaceReview.id))), children: [_jsxDEV("span", { className: "workspace-review__title__content__input__link__review-name", children: workspaceReview.title }, void 0, false, { fileName: _jsxFileName, lineNumber: 297, columnNumber: 23 }, this), _jsxDEV("div", { className: "workspace-review__title__content__input__link__btn", children: _jsxDEV(ExternalLinkSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 301, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 300, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 283, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 279, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 278, columnNumber: 17 }, this), _jsxDEV("button", { className: clsx('btn--dark btn--sm workspace-review__merge-review-btn', { 'btn--error': workspaceContainsSnapshotDependencies }), onClick: commitReview, disabled: isCommitReviewDisabled, tabIndex: -1, title: commitReviewTitle, children: _jsxDEV(TruncatedGitMergeIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 316, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 306, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 277, columnNumber: 15 }, this), _jsxDEV("div", { className: "workspace-review__title__content__review-status", children: `created ${formatDistanceToNow(workspaceReview.createdAt, {
130
+ }), onClick: createReview, disabled: isCreateReviewDisabled, title: createReviewTitle, children: _jsx(PlusIcon, {}) })] }) })), workspaceReview && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "workspace-review__title", children: [_jsx("div", { className: "workspace-review__title__content", children: _jsx("div", { className: "workspace-review__title__content__input workspace-review__title__content__input--with-link", title: "See review detail", children: _jsxs("button", { className: "workspace-review__title__content__input__link", tabIndex: -1, onClick: () => applicationStore.navigationService.navigator.visitAddress(applicationStore.navigationService.navigator.generateAddress(generateReviewRoute(workspaceReview.projectId, workspaceReview.id))), children: [_jsx("span", { className: "workspace-review__title__content__input__link__review-name", children: workspaceReview.title }), _jsx("div", { className: "workspace-review__title__content__input__link__btn", children: _jsx(ExternalLinkSquareIcon, {}) })] }) }) }), _jsx("button", { className: clsx('btn--dark btn--sm workspace-review__merge-review-btn', { 'btn--error': workspaceContainsSnapshotDependencies }), onClick: commitReview, disabled: isCommitReviewDisabled, tabIndex: -1, title: commitReviewTitle, children: _jsx(TruncatedGitMergeIcon, {}) })] }), _jsx("div", { className: "workspace-review__title__content__review-status", children: `created ${formatDistanceToNow(workspaceReview.createdAt, {
132
131
  includeSeconds: true,
133
132
  addSuffix: true,
134
- })}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 319, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 275, columnNumber: 32 }, this)), _jsxDEV(WorkspaceReviewDiffs, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 327, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 240, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 205, columnNumber: 11 }, this));
133
+ })}` })] })), _jsx(WorkspaceReviewDiffs, {})] })] })] }));
135
134
  });
136
135
  //# sourceMappingURL=WorkspaceReview.js.map