@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/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.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
  *
@@ -57,7 +56,7 @@ export const MapperPostProcessorEditor = observer((props) => {
57
56
  val.from &&
58
57
  mapper.from === val.from).length >= 2;
59
58
  const isMapperDuplicated = (val) => isSchemaMapperDuplicated(val) || isTableMapperDuplicated(val);
60
- return (_jsxDEV(ResizablePanelGroup, { orientation: "horizontal", children: _jsxDEV(ResizablePanel, { children: _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 170, minSize: 70, children: _jsxDEV(Panel, { children: [_jsxDEV(PanelHeader, { title: "mapper", children: _jsxDEV(PanelHeaderActions, { children: _jsxDEV(DropdownMenu, { title: "Create mapper", className: "panel__header__action", disabled: isReadOnly, content: _jsxDEV(MenuContent, { children: [_jsxDEV(MenuContentItem, { onClick: addSchemaMapper, children: "New Schema Mapper" }, void 0, false, { fileName: _jsxFileName, lineNumber: 146, columnNumber: 27 }, this), _jsxDEV(MenuContentItem, { onClick: addTableMapper, children: "New Table Mapper" }, void 0, false, { fileName: _jsxFileName, lineNumber: 149, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 144, columnNumber: 32 }, this), menuProps: {
59
+ return (_jsx(ResizablePanelGroup, { orientation: "horizontal", children: _jsx(ResizablePanel, { children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 170, minSize: 70, children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: "mapper", children: _jsx(PanelHeaderActions, { children: _jsx(DropdownMenu, { title: "Create mapper", className: "panel__header__action", disabled: isReadOnly, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: addSchemaMapper, children: "New Schema Mapper" }), _jsx(MenuContentItem, { onClick: addTableMapper, children: "New Table Mapper" })] }), menuProps: {
61
60
  anchorOrigin: {
62
61
  vertical: 'bottom',
63
62
  horizontal: 'right',
@@ -67,16 +66,16 @@ export const MapperPostProcessorEditor = observer((props) => {
67
66
  horizontal: 'right',
68
67
  },
69
68
  elevation: 7,
70
- }, children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 166, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 140, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 139, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 138, columnNumber: 17 }, this), _jsxDEV(PanelContent, { children: mappers.map((mapper) => (_jsxDEV(ContextMenu, { disabled: isReadOnly, content: _jsxDEV(MenuContent, { children: _jsxDEV(MenuContentItem, { disabled: isReadOnly, onClick: deleteMapper(mapper), children: "Delete" }, void 0, false, { fileName: _jsxFileName, lineNumber: 177, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 175, columnNumber: 32 }, this), menuProps: { elevation: 7 }, children: _jsxDEV(PanelListSelectorItem, { validationError: isMapperDuplicated(mapper), isSelected: mapper === postProcessorState.selectedMapper, onSelect: () => selectMapper(mapper), children: _jsxDEV(PanelListSelectorItemLabel, { title: mapper instanceof TableNameMapper
69
+ }, children: _jsx(PlusIcon, {}) }) }) }), _jsx(PanelContent, { children: mappers.map((mapper) => (_jsx(ContextMenu, { disabled: isReadOnly, content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { disabled: isReadOnly, onClick: deleteMapper(mapper), children: "Delete" }) }), menuProps: { elevation: 7 }, children: _jsx(PanelListSelectorItem, { validationError: isMapperDuplicated(mapper), isSelected: mapper === postProcessorState.selectedMapper, onSelect: () => selectMapper(mapper), children: _jsx(PanelListSelectorItemLabel, { title: mapper instanceof TableNameMapper
71
70
  ? 'Table Mapper'
72
71
  : 'Schema Mapper', errorMessage: isMapperDuplicated(mapper)
73
72
  ? 'Mappers have the same values'
74
- : undefined }, void 0, false, { fileName: _jsxFileName, lineNumber: 194, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 187, columnNumber: 23 }, this) }, mapper._UUID, false, { fileName: _jsxFileName, lineNumber: 171, columnNumber: 45 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 137, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 136, columnNumber: 13 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 213, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 212, columnNumber: 13 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV(Panel, { children: [_jsxDEV(PanelHeader, { title: postProcessorState.selectedMapper instanceof TableNameMapper
73
+ : undefined }) }) }, mapper._UUID))) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: postProcessorState.selectedMapper instanceof TableNameMapper
75
74
  ? 'Table Mapper'
76
- : 'Schema Mapper' }, void 0, false, { fileName: _jsxFileName, lineNumber: 217, columnNumber: 17 }, this), _jsxDEV(PanelContent, { children: [!selectedMapper && (_jsxDEV(BlankPanelContent, { children: !mappers.length
75
+ : 'Schema Mapper' }), _jsxs(PanelContent, { children: [!selectedMapper && (_jsx(BlankPanelContent, { children: !mappers.length
77
76
  ? 'Add a mapper'
78
- : 'Choose a mapper to view' }, void 0, false, { fileName: _jsxFileName, lineNumber: 225, columnNumber: 40 }, this)), selectedMapper && (_jsxDEV(PanelForm, { children: [_jsxDEV(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedMapper.from, name: "From", update: (value) => mapper_setFrom(selectedMapper, value ?? '') }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 23 }, this), _jsxDEV(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedMapper.to, name: "To", update: (value) => mapper_setTo(selectedMapper, value ?? '') }, void 0, false, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 23 }, this), selectedSchemaNameMapper && (_jsxDEV(_Fragment, { children: [_jsxDEV(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedSchemaNameMapper.from, name: "Schema - From", update: (value) => {
77
+ : 'Choose a mapper to view' })), selectedMapper && (_jsxs(PanelForm, { children: [_jsx(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedMapper.from, name: "From", update: (value) => mapper_setFrom(selectedMapper, value ?? '') }), _jsx(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedMapper.to, name: "To", update: (value) => mapper_setTo(selectedMapper, value ?? '') }), selectedSchemaNameMapper && (_jsxs(_Fragment, { children: [_jsx(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedSchemaNameMapper.from, name: "Schema - From", update: (value) => {
79
78
  schemaNameMapper_setFrom(selectedSchemaNameMapper, value ?? '');
80
- } }, void 0, false, { fileName: _jsxFileName, lineNumber: 252, columnNumber: 27 }, this), _jsxDEV(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedSchemaNameMapper.to, name: "Schema - To", update: (value) => schemaNameMapper_setTo(selectedSchemaNameMapper, value ?? '') }, void 0, false, { fileName: _jsxFileName, lineNumber: 263, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 250, columnNumber: 53 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 232, columnNumber: 39 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 224, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 216, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 215, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 135, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 134, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 132, columnNumber: 13 }, this));
79
+ } }), _jsx(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedSchemaNameMapper.to, name: "Schema - To", update: (value) => schemaNameMapper_setTo(selectedSchemaNameMapper, value ?? '') })] }))] }))] })] }) })] }) }) }));
81
80
  });
82
81
  //# sourceMappingURL=MapperPostProcessorEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MapperPostProcessorEditor.js","sourceRoot":"","sources":["../../../../../../src/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,WAAW,EACX,eAAe,EACf,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,0BAA0B,EAC1B,KAAK,EACL,WAAW,EACX,YAAY,EACZ,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,6BAA6B,EAC7B,gCAAgC,EAChC,cAAc,EACd,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,4EAA4E,CAAC;AAEpF,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAC/C,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAChE,MAAM,cAAc,GAAG,kBAAkB,CAAC,cAAc,CAAC;IAEzD,MAAM,wBAAwB,GAC5B,cAAc,YAAY,eAAe;QACvC,CAAC,CAAC,cAAc,CAAC,MAAM;QACvB,CAAC,CAAC,SAAS,CAAC;IAEhB,MAAM,YAAY,GAAG,CAAC,GAAW,EAAQ,EAAE;QACzC,kBAAkB,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;IAC5C,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,GAAS,EAAE;Q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,cAAc,CAAC,IAAI,EAC1B,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE,CAC1C,cAAc,CAAC,cAAc,EAAE,KAAK,IAAI,EAAE,CAAC,uFAE7C,EACF,QAAC,kBAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,cAAc,CAAC,EAAE,EACxB,IAAI,EAAC,IAAI,EACT,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE,CAC1C,YAAY,CAAC,cAAc,EAAE,KAAK,IAAI,EAAE,CAAC,uFAE3C,EACD,wBAAwB,IAAI,CAC3B,gCACE,QAAC,kBAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,wBAAwB,CAAC,IAAI,EACpC,IAAI,EAAC,eAAe,EACpB,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE;gEAC1C,wBAAwB,CACtB,wBAAwB,EACxB,KAAK,IAAI,EAAE,CACZ,CAAC;4DACJ,CAAC,uFACD,EACF,QAAC,kBAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,wBAAwB,CAAC,EAAE,EAClC,IAAI,EAAC,aAAa,EAClB,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE,CAC1C,sBAAsB,CACpB,wBAAwB,EACxB,KAAK,IAAI,EAAE,CACZ,uFAEH,uFACD,CACJ,uFACS,CACb,uFACY,uFACT,uFACO,uFACG,sFACP,uFACG,CACvB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"MapperPostProcessorEditor.js","sourceRoot":"","sources":["../../../../../../src/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,WAAW,EACX,eAAe,EACf,YAAY,EACZ,q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C,kBAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,wBAAwB,CAAC,IAAI,EACpC,IAAI,EAAC,eAAe,EACpB,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE;gEAC1C,wBAAwB,CACtB,wBAAwB,EACxB,KAAK,IAAI,EAAE,CACZ,CAAC;4DACJ,CAAC,GACD,EACF,KAAC,kBAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,wBAAwB,CAAC,EAAE,EAClC,IAAI,EAAC,aAAa,EAClB,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE,CAC1C,sBAAsB,CACpB,wBAAwB,EACxB,KAAK,IAAI,EAAE,CACZ,GAEH,IACD,CACJ,IACS,CACb,IACY,IACT,GACO,IACG,GACP,GACG,CACvB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -18,16 +18,16 @@ import type { ExternalFormatDataState } from '../../../../stores/editor/editor-s
18
18
  export declare const ExternalFormatDataEditor: ((props: {
19
19
  externalFormatDataState: ExternalFormatDataState;
20
20
  isReadOnly: boolean;
21
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
21
+ }) => import("react/jsx-runtime").JSX.Element) & {
22
22
  displayName: string;
23
23
  };
24
24
  export declare const EmbeddedDataEditor: ((props: {
25
25
  embeddedDataEditorState: EmbeddedDataEditorState;
26
26
  isReadOnly: boolean;
27
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
27
+ }) => import("react/jsx-runtime").JSX.Element) & {
28
28
  displayName: string;
29
29
  };
30
- export declare const DataElementEditor: (() => import("react/jsx-dev-runtime").JSX.Element) & {
30
+ export declare const DataElementEditor: (() => import("react/jsx-runtime").JSX.Element) & {
31
31
  displayName: string;
32
32
  };
33
33
  //# sourceMappingURL=DataElementEditor.d.ts.map
@@ -1,5 +1,4 @@
1
- import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
2
- const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/data-editor/DataElementEditor.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
  *
@@ -48,15 +47,15 @@ export const ExternalFormatDataEditor = observer((props) => {
48
47
  .formatContentTypes;
49
48
  const onContentTypeChange = (val) => externalFormatData_setContentType(externalFormatDataState.embeddedData, val);
50
49
  const language = getEditorLanguageForFormat(editorStore.graphState.graphGenerationState.externalFormatState.getFormatTypeForContentType(externalFormatDataState.embeddedData.contentType));
51
- return (_jsxDEV("div", { className: "panel external-format-data-editor", children: [_jsxDEV("div", { className: "external-format-data-editor__header", children: [_jsxDEV("div", { className: "external-format-data-editor__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "external-format-editor-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 116, columnNumber: 29 }, this)), _jsxDEV("div", { className: "external-format-data-editor__header__title__label", children: externalFormatDataState.label() }, void 0, false, { fileName: _jsxFileName, lineNumber: 121, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 115, columnNumber: 11 }, this), _jsxDEV("div", { className: "external-format-data-editor__header__actions", children: _jsxDEV(DropdownMenu, { className: "external-format-data-editor__type", disabled: isReadOnly, content: _jsxDEV(MenuContent, { className: "external-format-data-editor__dropdown", children: contentTypeOptions.map((contentType) => (_jsxDEV(MenuContentItem, { className: "external-format-data-editor__option", onClick: () => onContentTypeChange(contentType), children: contentType }, contentType, false, { fileName: _jsxFileName, lineNumber: 131, columnNumber: 61 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 129, columnNumber: 24 }, this), menuProps: {
50
+ return (_jsxs("div", { className: "panel external-format-data-editor", children: [_jsxs("div", { className: "external-format-data-editor__header", children: [_jsxs("div", { className: "external-format-data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "external-format-editor-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "external-format-data-editor__header__title__label", children: externalFormatDataState.label() })] }), _jsx("div", { className: "external-format-data-editor__header__actions", children: _jsxs(DropdownMenu, { className: "external-format-data-editor__type", disabled: isReadOnly, content: _jsx(MenuContent, { className: "external-format-data-editor__dropdown", children: contentTypeOptions.map((contentType) => (_jsx(MenuContentItem, { className: "external-format-data-editor__option", onClick: () => onContentTypeChange(contentType), children: contentType }, contentType))) }), menuProps: {
52
51
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
53
52
  transformOrigin: { vertical: 'top', horizontal: 'right' },
54
- }, children: [_jsxDEV("div", { className: "external-format-data-editor__type__label", children: externalFormatDataState.embeddedData.contentType }, void 0, false, { fileName: _jsxFileName, lineNumber: 147, columnNumber: 15 }, this), _jsxDEV("div", { className: "external-format-data-editor__type__icon", children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 151, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 150, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 126, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 125, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 9 }, this), _jsxDEV("div", { className: clsx('external-format-data-editor__content'), children: _jsxDEV("div", { className: "external-format-data-editor__content__input", children: _jsxDEV(CodeEditor, { language: language, inputValue: externalFormatDataState.embeddedData.data, updateInput: changeData, hideGutter: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 158, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 157, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 112, columnNumber: 13 }, this));
53
+ }, children: [_jsx("div", { className: "external-format-data-editor__type__label", children: externalFormatDataState.embeddedData.contentType }), _jsx("div", { className: "external-format-data-editor__type__icon", children: _jsx(CaretDownIcon, {}) })] }) })] }), _jsx("div", { className: clsx('external-format-data-editor__content'), children: _jsx("div", { className: "external-format-data-editor__content__input", children: _jsx(CodeEditor, { language: language, inputValue: externalFormatDataState.embeddedData.data, updateInput: changeData, hideGutter: true }) }) })] }));
55
54
  });
56
55
  export const EmbeddedDataEditor = observer((props) => {
57
56
  const { embeddedDataEditorState, isReadOnly } = props;
58
57
  const embeddedDataState = embeddedDataEditorState.embeddedDataState;
59
- return (_jsxDEV("div", { className: "panel connection-editor", children: renderEmbeddedDataEditor(embeddedDataState, isReadOnly) }, void 0, false, { fileName: _jsxFileName, lineNumber: 178, columnNumber: 13 }, this));
58
+ return (_jsx("div", { className: "panel connection-editor", children: renderEmbeddedDataEditor(embeddedDataState, isReadOnly) }));
60
59
  });
61
60
  export const DataElementEditor = observer(() => {
62
61
  const editorStore = useEditorStore();
@@ -100,8 +99,8 @@ export const DataElementEditor = observer(() => {
100
99
  }), [handleDropStereotype]);
101
100
  const seeDocumentation = () => applicationStore.assistantService.openDocumentationEntry(LEGEND_STUDIO_DOCUMENTATION_KEY.QUESTION_HOW_TO_CREATE_A_DATA_ELEMENT);
102
101
  useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DATA_ELEMENT_EDITOR);
103
- return (_jsxDEV("div", { className: "data-editor", children: [_jsxDEV("div", { className: "data-editor__header", children: _jsxDEV("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "data-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 286, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 284, columnNumber: 27 }, this)), _jsxDEV("div", { className: "data-editor__header__title__label", children: ["Data Element", _jsxDEV("button", { className: "binding-editor__header__title__label__hint", tabIndex: -1, onClick: seeDocumentation, title: "click to see more details on creating a data element", children: _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 297, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 291, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 289, columnNumber: 11 }, this), _jsxDEV("div", { className: "data-editor__header__title__content", children: dataElement.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 301, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 283, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 282, columnNumber: 7 }, this), _jsxDEV("div", { className: "uml-element-editor__tabs", children: Object.values(DATA_TAB_TYPE).map((tab) => (_jsxDEV("div", { onClick: changeTab(tab), className: clsx('relational-connection-editor__tab', {
102
+ return (_jsxs("div", { className: "data-editor", children: [_jsx("div", { className: "data-editor__header", children: _jsxs("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "data-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsxs("div", { className: "data-editor__header__title__label", children: ["Data Element", _jsx("button", { className: "binding-editor__header__title__label__hint", tabIndex: -1, onClick: seeDocumentation, title: "click to see more details on creating a data element", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "data-editor__header__title__content", children: dataElement.name })] }) }), _jsx("div", { className: "uml-element-editor__tabs", children: Object.values(DATA_TAB_TYPE).map((tab) => (_jsx("div", { onClick: changeTab(tab), className: clsx('relational-connection-editor__tab', {
104
103
  'relational-connection-editor__tab--active': tab === selectedTab,
105
- }), children: prettyCONSTName(tab) }, tab, false, { fileName: _jsxFileName, lineNumber: 307, columnNumber: 53 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 306, columnNumber: 7 }, this), _jsxDEV("div", { className: "data-editor__content", children: [selectedTab === DATA_TAB_TYPE.GENERAL && (_jsxDEV(EmbeddedDataEditor, { embeddedDataEditorState: editorState.embeddedDataState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 320, columnNumber: 52 }, this)), selectedTab === DATA_TAB_TYPE.STEREOTYPES && (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "data-editor__header", children: [_jsxDEV("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "element-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 332, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 33 }, this)), _jsxDEV("div", { className: "data-editor__header__title__label", children: "Stereotypes" }, void 0, false, { fileName: _jsxFileName, lineNumber: 335, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 329, columnNumber: 15 }, this), _jsxDEV("div", { className: "data-editor__header__actions", children: _jsxDEV("button", { className: "data-editor__header__action", onClick: addStereotype, disabled: isReadOnly, tabIndex: -1, title: "Add Stereotype", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 347, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 340, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 339, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 328, columnNumber: 13 }, this), _jsxDEV("div", { className: "data-editor__content", children: _jsxDEV("div", { className: "data-editor__content__lists", children: _jsxDEV(PanelDropZone, { isDragOver: isStereotypeDragOver && !isReadOnly, dropTargetConnector: dropStereotypeRef, children: _jsxDEV(PanelContentLists, { children: [_jsxDEV(StereotypeDragPreviewLayer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 21 }, this), dataElement.stereotypes.map((stereotype) => (_jsxDEV(StereotypeSelector, { annotatedElement: dataElement, stereotype: stereotype, deleteStereotype: _deleteStereotype(stereotype), isReadOnly: isReadOnly, darkTheme: true }, stereotype.value._UUID, false, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 67 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 357, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 353, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 352, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 351, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 326, columnNumber: 56 }, this)), selectedTab === DATA_TAB_TYPE.TAGGED_VALUES && (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "data-editor__header", children: [_jsxDEV("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "data-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 381, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 379, columnNumber: 33 }, this)), _jsxDEV("div", { className: "data-editor__header__title__label", children: "Tagged Values" }, void 0, false, { fileName: _jsxFileName, lineNumber: 384, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 378, columnNumber: 15 }, this), _jsxDEV("div", { className: "data-editor__header__actions", children: _jsxDEV("button", { className: "data-editor__header__action", onClick: addTaggedValue, disabled: isReadOnly, tabIndex: -1, title: "Add Tagged value", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 396, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 389, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 388, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 377, columnNumber: 13 }, this), _jsxDEV("div", { className: "data-editor__content", children: _jsxDEV("div", { className: "data-editor__content__lists", children: _jsxDEV(PanelDropZone, { isDragOver: isTaggedValueDragOver && !isReadOnly, dropTargetConnector: dropTaggedValueRef, children: _jsxDEV(PanelContentLists, { children: [_jsxDEV(TaggedValueDragPreviewLayer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 407, columnNumber: 21 }, this), dataElement.taggedValues.map((taggedValue) => (_jsxDEV(TaggedValueEditor, { annotatedElement: dataElement, taggedValue: taggedValue, deleteValue: deleteTaggedValue(taggedValue), isReadOnly: isReadOnly, darkTheme: true }, taggedValue._UUID, false, { fileName: _jsxFileName, lineNumber: 408, columnNumber: 69 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 406, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 402, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 401, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 400, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 375, columnNumber: 58 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 319, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 280, columnNumber: 11 }, this));
104
+ }), children: prettyCONSTName(tab) }, tab))) }), _jsxs("div", { className: "data-editor__content", children: [selectedTab === DATA_TAB_TYPE.GENERAL && (_jsx(EmbeddedDataEditor, { embeddedDataEditorState: editorState.embeddedDataState, isReadOnly: isReadOnly })), selectedTab === DATA_TAB_TYPE.STEREOTYPES && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "data-editor__header", children: [_jsxs("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "element-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "data-editor__header__title__label", children: "Stereotypes" })] }), _jsx("div", { className: "data-editor__header__actions", children: _jsx("button", { className: "data-editor__header__action", onClick: addStereotype, disabled: isReadOnly, tabIndex: -1, title: "Add Stereotype", children: _jsx(PlusIcon, {}) }) })] }), _jsx("div", { className: "data-editor__content", children: _jsx("div", { className: "data-editor__content__lists", children: _jsx(PanelDropZone, { isDragOver: isStereotypeDragOver && !isReadOnly, dropTargetConnector: dropStereotypeRef, children: _jsxs(PanelContentLists, { children: [_jsx(StereotypeDragPreviewLayer, {}), dataElement.stereotypes.map((stereotype) => (_jsx(StereotypeSelector, { annotatedElement: dataElement, stereotype: stereotype, deleteStereotype: _deleteStereotype(stereotype), isReadOnly: isReadOnly, darkTheme: true }, stereotype.value._UUID)))] }) }) }) })] })), selectedTab === DATA_TAB_TYPE.TAGGED_VALUES && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "data-editor__header", children: [_jsxs("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "data-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "data-editor__header__title__label", children: "Tagged Values" })] }), _jsx("div", { className: "data-editor__header__actions", children: _jsx("button", { className: "data-editor__header__action", onClick: addTaggedValue, disabled: isReadOnly, tabIndex: -1, title: "Add Tagged value", children: _jsx(PlusIcon, {}) }) })] }), _jsx("div", { className: "data-editor__content", children: _jsx("div", { className: "data-editor__content__lists", children: _jsx(PanelDropZone, { isDragOver: isTaggedValueDragOver && !isReadOnly, dropTargetConnector: dropTaggedValueRef, children: _jsxs(PanelContentLists, { children: [_jsx(TaggedValueDragPreviewLayer, {}), dataElement.taggedValues.map((taggedValue) => (_jsx(TaggedValueEditor, { annotatedElement: dataElement, taggedValue: taggedValue, deleteValue: deleteTaggedValue(taggedValue), isReadOnly: isReadOnly, darkTheme: true }, taggedValue._UUID)))] }) }) }) })] }))] })] }));
106
105
  });
107
106
  //# sourceMappingURL=DataElementEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/data-editor/DataElementEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,aAAa,EAEb,0BAA0B,GAC3B,MA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AAC,mCAAmC,kHAE5C,uFACF,EACN,iBAAK,SAAS,EAAC,8BAA8B,YAC3C,oBACE,SAAS,EAAC,6BAA6B,EACvC,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,UAAU,EACpB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,kBAAkB,YAExB,QAAC,QAAQ,yFAAG,uFACL,uFACL,uFACF,EACN,iBAAK,SAAS,EAAC,sBAAsB,YACnC,iBAAK,SAAS,EAAC,6BAA6B,YAC1C,QAAC,aAAa,IACZ,UAAU,EAAE,qBAAqB,IAAI,CAAC,UAAU,EAChD,mBAAmB,EAAE,kBAAkB,YAEvC,QAAC,iBAAiB,eAChB,QAAC,2BAA2B,yFAAG,EAC9B,WAAW,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAC7C,QAAC,iBAAiB,IAChB,gBAAgB,EAAE,WAAW,EAE7B,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,iBAAiB,CAAC,WAAW,CAAC,EAC3C,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,IAAI,IAJV,WAAW,CAAC,KAAK,6EAKtB,CACH,CAAC,uFACgB,uFACN,uFACZ,uFACF,uFACL,CACJ,sFACG,uFACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"DataElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/data-editor/DataElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,aAAa,EAEb,0BAA0B,GAC3B,MAAM,qFAAqF,CAAC;AAC7F,OAAO,EACL,aAAa,EACb,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,WAAW,EACX,eAAe,EACf,iBAAiB,EACj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KAAG,GACL,GACL,IACF,EACN,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,YAC1C,KAAC,aAAa,IACZ,UAAU,EAAE,qBAAqB,IAAI,CAAC,UAAU,EAChD,mBAAmB,EAAE,kBAAkB,YAEvC,MAAC,iBAAiB,eAChB,KAAC,2BAA2B,KAAG,EAC9B,WAAW,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAC7C,KAAC,iBAAiB,IAChB,gBAAgB,EAAE,WAAW,EAE7B,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,iBAAiB,CAAC,WAAW,CAAC,EAC3C,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,IAAI,IAJV,WAAW,CAAC,KAAK,CAKtB,CACH,CAAC,IACgB,GACN,GACZ,GACF,IACL,CACJ,IACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -19,32 +19,32 @@ import { type EmbeddedDataState, DataElementReferenceState, ExternalFormatDataSt
19
19
  export declare const ExternalFormatDataEditor: ((props: {
20
20
  externalFormatDataState: ExternalFormatDataState;
21
21
  isReadOnly: boolean;
22
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
22
+ }) => import("react/jsx-runtime").JSX.Element) & {
23
23
  displayName: string;
24
24
  };
25
25
  export declare const DataElementReferenceDataEditor: ((props: {
26
26
  dataElementReferenceState: DataElementReferenceState;
27
27
  isReadOnly: boolean;
28
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
28
+ }) => import("react/jsx-runtime").JSX.Element) & {
29
29
  displayName: string;
30
30
  };
31
31
  export declare const ModelEmbeddedDataEditor: ((props: {
32
32
  modelDataState: ModelEmbeddedDataState;
33
33
  modelStoreDataState: ModelStoreDataState;
34
34
  isReadOnly: boolean;
35
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
35
+ }) => import("react/jsx-runtime").JSX.Element) & {
36
36
  displayName: string;
37
37
  };
38
38
  export declare const ModelStoreDataEditor: ((props: {
39
39
  modelStoreDataState: ModelStoreDataState;
40
40
  isReadOnly: boolean;
41
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
41
+ }) => import("react/jsx-runtime").JSX.Element) & {
42
42
  displayName: string;
43
43
  };
44
44
  export declare const EmbeddedDataEditor: ((props: {
45
45
  embeddedDataEditorState: EmbeddedDataEditorState;
46
46
  isReadOnly: boolean;
47
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
47
+ }) => import("react/jsx-runtime").JSX.Element) & {
48
48
  displayName: string;
49
49
  };
50
50
  export declare function renderEmbeddedDataEditor(embeddedDataState: EmbeddedDataState, isReadOnly: boolean): React.ReactNode;
@@ -1,5 +1,4 @@
1
- import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
2
- const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/data-editor/EmbeddedDataEditor.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
  *
@@ -45,10 +44,10 @@ export const ExternalFormatDataEditor = observer((props) => {
45
44
  const language = getEditorLanguageForFormat(editorStore.graphState.graphGenerationState.externalFormatState.getFormatTypeForContentType(externalFormatDataState.embeddedData.contentType));
46
45
  const format = () => externalFormatDataState.format();
47
46
  useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_DATA_EXTERNAL_FORMAT_EDITOR);
48
- return (_jsxDEV("div", { className: "panel external-format-data-editor", children: [_jsxDEV("div", { className: "external-format-data-editor__header", children: [_jsxDEV("div", { className: "external-format-data-editor__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "external-format-editor-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 106, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 104, columnNumber: 29 }, this)), _jsxDEV("div", { className: "external-format-data-editor__header__title__label", children: externalFormatDataState.label() }, void 0, false, { fileName: _jsxFileName, lineNumber: 109, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 103, columnNumber: 11 }, this), _jsxDEV("div", { className: "external-format-data-editor__header__actions", children: [_jsxDEV("button", { className: "panel__header__action", disabled: !externalFormatDataState.supportsFormatting || isReadOnly, tabIndex: -1, onClick: format, title: "Format External Format", children: _jsxDEV(WrenchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 123, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 13 }, this), _jsxDEV(DropdownMenu, { className: "external-format-data-editor__type", disabled: isReadOnly, content: _jsxDEV(MenuContent, { className: "external-format-data-editor__dropdown", children: contentTypeOptions.map((contentType) => (_jsxDEV(MenuContentItem, { className: "external-format-data-editor__option", onClick: () => onContentTypeChange(contentType), children: contentType }, contentType, false, { fileName: _jsxFileName, lineNumber: 130, columnNumber: 61 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 24 }, this), menuProps: {
47
+ return (_jsxs("div", { className: "panel external-format-data-editor", children: [_jsxs("div", { className: "external-format-data-editor__header", children: [_jsxs("div", { className: "external-format-data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "external-format-editor-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "external-format-data-editor__header__title__label", children: externalFormatDataState.label() })] }), _jsxs("div", { className: "external-format-data-editor__header__actions", children: [_jsx("button", { className: "panel__header__action", disabled: !externalFormatDataState.supportsFormatting || isReadOnly, tabIndex: -1, onClick: format, title: "Format External Format", children: _jsx(WrenchIcon, {}) }), _jsxs(DropdownMenu, { className: "external-format-data-editor__type", disabled: isReadOnly, content: _jsx(MenuContent, { className: "external-format-data-editor__dropdown", children: contentTypeOptions.map((contentType) => (_jsx(MenuContentItem, { className: "external-format-data-editor__option", onClick: () => onContentTypeChange(contentType), children: contentType }, contentType))) }), menuProps: {
49
48
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
50
49
  transformOrigin: { vertical: 'top', horizontal: 'right' },
51
- }, children: [_jsxDEV("div", { className: "external-format-data-editor__type__label", children: externalFormatDataState.embeddedData.contentType }, void 0, false, { fileName: _jsxFileName, lineNumber: 146, columnNumber: 15 }, this), _jsxDEV("div", { className: "external-format-data-editor__type__icon", children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 150, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 149, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 125, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 113, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 102, columnNumber: 9 }, this), _jsxDEV(PanelContent, { className: "model-loader__editor", children: _jsxDEV(CodeEditor, { language: language, inputValue: externalFormatDataState.embeddedData.data, updateInput: changeData, hideGutter: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 155, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 100, columnNumber: 13 }, this));
50
+ }, children: [_jsx("div", { className: "external-format-data-editor__type__label", children: externalFormatDataState.embeddedData.contentType }), _jsx("div", { className: "external-format-data-editor__type__icon", children: _jsx(CaretDownIcon, {}) })] })] })] }), _jsx(PanelContent, { className: "model-loader__editor", children: _jsx(CodeEditor, { language: language, inputValue: externalFormatDataState.embeddedData.data, updateInput: changeData, hideGutter: true }) })] }));
52
51
  });
53
52
  export const DataElementReferenceDataEditor = observer((props) => {
54
53
  const { dataElementReferenceState, isReadOnly } = props;
@@ -64,8 +63,8 @@ export const DataElementReferenceDataEditor = observer((props) => {
64
63
  };
65
64
  const visitData = () => editorStore.graphEditorMode.openElement(dataElement);
66
65
  useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_DATA_DATA_ELEMENT_REFERENCE_EDITOR);
67
- return (_jsxDEV("div", { className: "panel data-element-reference-editor", children: [_jsxDEV("div", { className: "data-element-reference-editor__header", children: _jsxDEV("div", { className: "data-element-reference-editor__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "external-format-editor-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 200, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 198, columnNumber: 29 }, this)), _jsxDEV("div", { className: "data-element-reference-editor__header__title__label", children: dataElementReferenceState.label() }, void 0, false, { fileName: _jsxFileName, lineNumber: 203, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 197, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 196, columnNumber: 9 }, this), _jsxDEV("div", { className: clsx('data-element-reference-editor__content'), children: [_jsxDEV("div", { className: "data-element-reference-editor__value", children: [_jsxDEV("div", { className: "btn--sm data-element-reference-editor__value__label", children: _jsxDEV(PURE_DataIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 210, columnNumber: 13 }, this), _jsxDEV(CustomSelectorInput, { className: "panel__content__form__section__dropdown data-element-reference-editor__value__dropdown", disabled: isReadOnly, options: options, onChange: onDataElementChange, value: selectedOption, darkMode: !applicationStore.layoutService
68
- .TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 213, columnNumber: 13 }, this), _jsxDEV("button", { className: "btn--dark btn--sm data-element-reference-editor__value-btn", onClick: visitData, tabIndex: -1, title: "See data element", children: _jsxDEV(LongArrowRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 230, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 224, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 209, columnNumber: 11 }, this), _jsxDEV("div", { className: "data-element-reference-editor__content__value", children: renderEmbeddedDataEditor(dataElementReferenceState.embeddedDataValueState, isReadOnly) }, void 0, false, { fileName: _jsxFileName, lineNumber: 233, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 208, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 194, columnNumber: 13 }, this));
66
+ return (_jsxs("div", { className: "panel data-element-reference-editor", children: [_jsx("div", { className: "data-element-reference-editor__header", children: _jsxs("div", { className: "data-element-reference-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "external-format-editor-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "data-element-reference-editor__header__title__label", children: dataElementReferenceState.label() })] }) }), _jsxs("div", { className: clsx('data-element-reference-editor__content'), children: [_jsxs("div", { className: "data-element-reference-editor__value", children: [_jsx("div", { className: "btn--sm data-element-reference-editor__value__label", children: _jsx(PURE_DataIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown data-element-reference-editor__value__dropdown", disabled: isReadOnly, options: options, onChange: onDataElementChange, value: selectedOption, darkMode: !applicationStore.layoutService
67
+ .TEMPORARY__isLightColorThemeEnabled }), _jsx("button", { className: "btn--dark btn--sm data-element-reference-editor__value-btn", onClick: visitData, tabIndex: -1, title: "See data element", children: _jsx(LongArrowRightIcon, {}) })] }), _jsx("div", { className: "data-element-reference-editor__content__value", children: renderEmbeddedDataEditor(dataElementReferenceState.embeddedDataValueState, isReadOnly) })] })] }));
69
68
  });
70
69
  export const ModelEmbeddedDataEditor = observer((props) => {
71
70
  const { isReadOnly, modelStoreDataState, modelDataState } = props;
@@ -93,38 +92,38 @@ export const ModelEmbeddedDataEditor = observer((props) => {
93
92
  modelStoreData_setDataModelModel(modelData, PackageableElementExplicitReference.create(val.value));
94
93
  }
95
94
  };
96
- return (_jsxDEV(_Fragment, { children: [!hideClass && (_jsxDEV("div", { className: "sample-data-generator__controller", children: [_jsxDEV("div", { className: "sample-data-generator__controller__icon", title: "class", children: _jsxDEV(PURE_ClassIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 293, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 289, columnNumber: 13 }, this), _jsxDEV(CustomSelectorInput, { ref: classSelectorRef, className: "sample-data-generator__controller__class-selector", options: classOptions, onChange: changeClass, value: selectedClassOption, darkMode: !applicationStore.layoutService
95
+ return (_jsxs(_Fragment, { children: [!hideClass && (_jsxs("div", { className: "sample-data-generator__controller", children: [_jsx("div", { className: "sample-data-generator__controller__icon", title: "class", children: _jsx(PURE_ClassIcon, {}) }), _jsx(CustomSelectorInput, { ref: classSelectorRef, className: "sample-data-generator__controller__class-selector", options: classOptions, onChange: changeClass, value: selectedClassOption, darkMode: !applicationStore.layoutService
97
96
  .TEMPORARY__isLightColorThemeEnabled, filterOption: elementFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
98
97
  darkMode: !applicationStore.layoutService
99
98
  .TEMPORARY__isLightColorThemeEnabled,
100
- }) }, void 0, false, { fileName: _jsxFileName, lineNumber: 295, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 287, columnNumber: 25 }, this)), renderEmbeddedDataEditor(modelDataState.embeddedDataState, isReadOnly)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 285, columnNumber: 13 }, this));
99
+ }) })] })), renderEmbeddedDataEditor(modelDataState.embeddedDataState, isReadOnly)] }));
101
100
  });
102
101
  export const ModelStoreDataEditor = observer((props) => {
103
102
  const { isReadOnly, modelStoreDataState } = props;
104
103
  useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_DATA_MODEL_STORE_EDITOR);
105
- return (_jsxDEV("div", { className: "panel connection-editor", children: modelStoreDataState.modelDataStates.map((_modelDataState) => {
104
+ return (_jsx("div", { className: "panel connection-editor", children: modelStoreDataState.modelDataStates.map((_modelDataState) => {
106
105
  if (_modelDataState instanceof ModelEmbeddedDataState) {
107
- return (_jsxDEV(ModelEmbeddedDataEditor, { modelDataState: _modelDataState, modelStoreDataState: modelStoreDataState, isReadOnly: isReadOnly }, _modelDataState.uuid, false, { fileName: _jsxFileName, lineNumber: 334, columnNumber: 21 }, this));
106
+ return (_jsx(ModelEmbeddedDataEditor, { modelDataState: _modelDataState, modelStoreDataState: modelStoreDataState, isReadOnly: isReadOnly }, _modelDataState.uuid));
108
107
  }
109
- return (_jsxDEV(UnsupportedEditorPanel, { text: 'Unsuppored Model Data Type', isReadOnly: false }, _modelDataState.uuid, false, { fileName: _jsxFileName, lineNumber: 344, columnNumber: 19 }, this));
110
- }) }, void 0, false, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 13 }, this));
108
+ return (_jsx(UnsupportedEditorPanel, { text: 'Unsuppored Model Data Type', isReadOnly: false }, _modelDataState.uuid));
109
+ }) }));
111
110
  });
112
111
  export const EmbeddedDataEditor = observer((props) => {
113
112
  const { embeddedDataEditorState, isReadOnly } = props;
114
- return (_jsxDEV("div", { className: "panel connection-editor", children: renderEmbeddedDataEditor(embeddedDataEditorState.embeddedDataState, isReadOnly) }, void 0, false, { fileName: _jsxFileName, lineNumber: 363, columnNumber: 13 }, this));
113
+ return (_jsx("div", { className: "panel connection-editor", children: renderEmbeddedDataEditor(embeddedDataEditorState.embeddedDataState, isReadOnly) }));
115
114
  });
116
115
  export function renderEmbeddedDataEditor(embeddedDataState, isReadOnly) {
117
116
  if (embeddedDataState instanceof ExternalFormatDataState) {
118
- return (_jsxDEV(ExternalFormatDataEditor, { externalFormatDataState: embeddedDataState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 379, columnNumber: 13 }, this));
117
+ return (_jsx(ExternalFormatDataEditor, { externalFormatDataState: embeddedDataState, isReadOnly: isReadOnly }));
119
118
  }
120
119
  else if (embeddedDataState instanceof RelationalCSVDataState) {
121
- return (_jsxDEV(RelationalCSVDataEditor, { dataState: embeddedDataState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 386, columnNumber: 13 }, this));
120
+ return (_jsx(RelationalCSVDataEditor, { dataState: embeddedDataState, isReadOnly: isReadOnly }));
122
121
  }
123
122
  else if (embeddedDataState instanceof DataElementReferenceState) {
124
- return (_jsxDEV(DataElementReferenceDataEditor, { dataElementReferenceState: embeddedDataState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 393, columnNumber: 13 }, this));
123
+ return (_jsx(DataElementReferenceDataEditor, { dataElementReferenceState: embeddedDataState, isReadOnly: isReadOnly }));
125
124
  }
126
125
  else if (embeddedDataState instanceof ModelStoreDataState) {
127
- return (_jsxDEV(ModelStoreDataEditor, { modelStoreDataState: embeddedDataState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 400, columnNumber: 13 }, this));
126
+ return (_jsx(ModelStoreDataEditor, { modelStoreDataState: embeddedDataState, isReadOnly: isReadOnly }));
128
127
  }
129
128
  else {
130
129
  const extraEmbeddedDataEditorRenderers = embeddedDataState.editorStore.pluginManager
@@ -136,7 +135,7 @@ export function renderEmbeddedDataEditor(embeddedDataState, isReadOnly) {
136
135
  return editor;
137
136
  }
138
137
  }
139
- return (_jsxDEV("div", { className: "panel connection-editor", children: [_jsxDEV("div", { className: "data-editor__header", children: _jsxDEV("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "element-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 428, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 426, columnNumber: 29 }, this)), _jsxDEV("div", { className: "data-editor__header__title__label", children: embeddedDataState.label() }, void 0, false, { fileName: _jsxFileName, lineNumber: 431, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 425, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 424, columnNumber: 9 }, this), _jsxDEV(PanelContent, { children: _jsxDEV(UnsupportedEditorPanel, { text: "Can't display this embedded data in form-mode", isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 437, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 436, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 422, columnNumber: 13 }, this));
138
+ return (_jsxs("div", { className: "panel connection-editor", children: [_jsx("div", { className: "data-editor__header", children: _jsxs("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "element-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "data-editor__header__title__label", children: embeddedDataState.label() })] }) }), _jsx(PanelContent, { children: _jsx(UnsupportedEditorPanel, { text: "Can't display this embedded data in form-mode", isReadOnly: isReadOnly }) })] }));
140
139
  }
141
140
  }
142
141
  //# sourceMappingURL=EmbeddedDataEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmbeddedDataEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,IAAI,EACJ,mBAAmB,EACnB,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,aAAa,EACb,UAAU,EAEV,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO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U,CAAC,CAAC;YAC7D,IAAI,MAAM,EAAE,CAAC;gBACX,OAAO,MAAM,CAAC;YAChB,CAAC;QACH,CAAC;QACD,OAAO,CACL,iBAAK,SAAS,EAAC,yBAAyB,aACtC,iBAAK,SAAS,EAAC,qBAAqB,YAClC,iBAAK,SAAS,EAAC,4BAA4B,aACxC,UAAU,IAAI,CACb,iBAAK,SAAS,EAAC,8BAA8B,YAC3C,QAAC,QAAQ,yFAAG,uFACR,CACP,EACD,iBAAK,SAAS,EAAC,mCAAmC,YAC/C,iBAAiB,CAAC,KAAK,EAAE,uFACtB,uFACF,sFACF,EACN,QAAC,YAAY,cACX,QAAC,sBAAsB,IACrB,IAAI,EAAC,+CAA+C,EACpD,UAAU,EAAE,UAAU,uFACtB,sFACW,uFACX,CACP,CAAC;IACJ,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"EmbeddedDataEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,IAAI,EACJ,mBAAmB,EACnB,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,aAAa,EACb,UAAU,EAEV,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,iCAAiC,EACjC,0BAA0B,EAC1B,gCAAgC,GACjC,MAAM,mEAAmE,CAAC;AAE3E,OAAO,EAEL,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,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b,cAAK,SAAS,EAAC,8BAA8B,YAC3C,KAAC,QAAQ,KAAG,GACR,CACP,EACD,cAAK,SAAS,EAAC,mCAAmC,YAC/C,iBAAiB,CAAC,KAAK,EAAE,GACtB,IACF,GACF,EACN,KAAC,YAAY,cACX,KAAC,sBAAsB,IACrB,IAAI,EAAC,+CAA+C,EACpD,UAAU,EAAE,UAAU,GACtB,GACW,IACX,CACP,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -22,7 +22,7 @@ export interface TableOption {
22
22
  export declare const RelationalCSVDataEditor: ((props: {
23
23
  dataState: RelationalCSVDataState;
24
24
  isReadOnly: boolean;
25
- }) => import("react/jsx-dev-runtime").JSX.Element) & {
25
+ }) => import("react/jsx-runtime").JSX.Element) & {
26
26
  displayName: string;
27
27
  };
28
28
  //# sourceMappingURL=RelationalCSVDataEditor.d.ts.map
@@ -1,5 +1,4 @@
1
- import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
2
- const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/data-editor/RelationalCSVDataEditor.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
  *
@@ -83,20 +82,20 @@ const RelationalTableIdentifierEditor = observer((props) => {
83
82
  }
84
83
  closeModal();
85
84
  };
86
- return (_jsxDEV(Dialog, { open: dataState.showTableIdentifierModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV("form", { onSubmit: (event) => {
85
+ return (_jsx(Dialog, { open: dataState.showTableIdentifierModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { onSubmit: (event) => {
87
86
  event.preventDefault();
88
87
  handleSubmit();
89
88
  closeModal();
90
- }, className: "modal modal--dark search-modal", children: [_jsxDEV("div", { className: "modal__title", children: existingDataTable
89
+ }, className: "modal modal--dark search-modal", children: [_jsx("div", { className: "modal__title", children: existingDataTable
91
90
  ? 'Rename Relational Data Table'
92
- : 'Add Relational Data Table' }, void 0, false, { fileName: _jsxFileName, lineNumber: 153, columnNumber: 11 }, this), _jsxDEV("div", { className: "relational-data-editor__identifier", children: resolvedDb && !existingDataTable ? (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Table" }, void 0, false, { fileName: _jsxFileName, lineNumber: 162, columnNumber: 19 }, this), _jsxDEV("div", { className: "explorer__new-element-modal__driver", children: _jsxDEV(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: tableOptions, onChange: onTableChange, value: selectedTable, isClearable: false, darkMode: !applicationStore.layoutService
93
- .TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 166, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 165, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 161, columnNumber: 17 }, this), _jsxDEV(PanelFormBooleanField, { isReadOnly: isReadOnly, value: includeBare, name: "Include Columns and First Row", prompt: "Will include table columns and first row using table definition", update: toggleIncludeBare }, void 0, false, { fileName: _jsxFileName, lineNumber: 179, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 159, columnNumber: 50 }, this)) : (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "relational-data-editor__identifier__values", children: _jsxDEV("input", { className: "panel__content__form__section__input", disabled: isReadOnly, placeholder: "schemaName", value: schemaName, onChange: changeSchemaValue }, void 0, false, { fileName: _jsxFileName, lineNumber: 190, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 189, columnNumber: 17 }, this), _jsxDEV("div", { className: "relational-data-editor__identifier__values", children: _jsxDEV("input", { className: "relational-data-editor__identifier__values panel__content__form__section__input", disabled: isReadOnly, placeholder: "tableName", value: tableName, onChange: changeTableValue }, void 0, false, { fileName: _jsxFileName, lineNumber: 199, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 198, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 187, columnNumber: 18 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 158, columnNumber: 11 }, this), _jsxDEV("div", { className: "search-modal__actions", children: _jsxDEV("button", { className: "btn btn--dark", disabled: isDisabled || isReadOnly, children: existingDataTable ? 'Rename' : 'Add' }, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 210, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 145, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 138, columnNumber: 13 }, this));
91
+ : 'Add Relational Data Table' }), _jsx("div", { className: "relational-data-editor__identifier", children: resolvedDb && !existingDataTable ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Table" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: tableOptions, onChange: onTableChange, value: selectedTable, isClearable: false, darkMode: !applicationStore.layoutService
92
+ .TEMPORARY__isLightColorThemeEnabled }) })] }), _jsx(PanelFormBooleanField, { isReadOnly: isReadOnly, value: includeBare, name: "Include Columns and First Row", prompt: "Will include table columns and first row using table definition", update: toggleIncludeBare })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "relational-data-editor__identifier__values", children: _jsx("input", { className: "panel__content__form__section__input", disabled: isReadOnly, placeholder: "schemaName", value: schemaName, onChange: changeSchemaValue }) }), _jsx("div", { className: "relational-data-editor__identifier__values", children: _jsx("input", { className: "relational-data-editor__identifier__values panel__content__form__section__input", disabled: isReadOnly, placeholder: "tableName", value: tableName, onChange: changeTableValue }) })] })) }), _jsx("div", { className: "search-modal__actions", children: _jsx("button", { className: "btn btn--dark", disabled: isDisabled || isReadOnly, children: existingDataTable ? 'Rename' : 'Add' }) })] }) }));
94
93
  });
95
94
  const RelationalCSVTableContextMenu = observer(forwardRef(function TestContainerContextMenu(props, ref) {
96
95
  const { dataState, table } = props;
97
96
  const rename = () => dataState.openIdentifierModal(table);
98
97
  const remove = () => dataState.deleteTable(table);
99
- return (_jsxDEV(MenuContent, { ref: ref, children: [_jsxDEV(MenuContentItem, { onClick: rename, children: "Rename" }, void 0, false, { fileName: _jsxFileName, lineNumber: 237, columnNumber: 9 }, this), _jsxDEV(MenuContentItem, { onClick: remove, children: "Delete" }, void 0, false, { fileName: _jsxFileName, lineNumber: 238, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 235, columnNumber: 13 }, this));
98
+ return (_jsxs(MenuContent, { ref: ref, children: [_jsx(MenuContentItem, { onClick: rename, children: "Rename" }), _jsx(MenuContentItem, { onClick: remove, children: "Delete" })] }));
100
99
  }));
101
100
  const ImportModal = observer((props) => {
102
101
  const { isReadOnly, dataState } = props;
@@ -111,7 +110,7 @@ const ImportModal = observer((props) => {
111
110
  const changeCSV = (event) => {
112
111
  setCSV(event.target.value);
113
112
  };
114
- return (_jsxDEV(Dialog, { open: dataState.showImportCSVModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "relational-data-editor__import", children: [_jsxDEV(ModalHeader, { title: "Import CSV" }, void 0, false, { fileName: _jsxFileName, lineNumber: 273, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: _jsxDEV("textarea", { className: "relational-data-editor__import__textarea", spellCheck: false, placeholder: "CSV Text", value: csv, onChange: changeCSV, disabled: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 275, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 274, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { text: "Import", title: "Create new query", onClick: importVal }, void 0, false, { fileName: _jsxFileName, lineNumber: 285, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 284, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 267, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 260, columnNumber: 13 }, this));
113
+ return (_jsx(Dialog, { open: dataState.showImportCSVModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "relational-data-editor__import", children: [_jsx(ModalHeader, { title: "Import CSV" }), _jsx(ModalBody, { children: _jsx("textarea", { className: "relational-data-editor__import__textarea", spellCheck: false, placeholder: "CSV Text", value: csv, onChange: changeCSV, disabled: isReadOnly }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Import", title: "Create new query", onClick: importVal }) })] }) }));
115
114
  });
116
115
  export const RelationalCSVDataEditor = observer((props) => {
117
116
  const { dataState, isReadOnly } = props;
@@ -129,12 +128,12 @@ export const RelationalCSVDataEditor = observer((props) => {
129
128
  const isTableActive = (table) => currentTableState?.table === table;
130
129
  const showCSVModal = () => dataState.setShowImportCsvModal(true);
131
130
  useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_DATA_RELATIONAL_EDITOR);
132
- return (_jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { minSize: 30, size: 300, children: _jsxDEV("div", { className: "relational-data-editor", children: [_jsxDEV("div", { className: "relational-data-editor__header", children: [_jsxDEV("div", { className: "relational-data-editor__header__title", children: _jsxDEV("div", { className: "relational-data-editor__header__title__label", children: "Relational Table Explorer" }, void 0, false, { fileName: _jsxFileName, lineNumber: 327, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 326, columnNumber: 15 }, this), _jsxDEV("div", { className: "relational-data-editor__header__actions", children: [_jsxDEV("button", { className: "schema-set-panel__header__action", onClick: showCSVModal, disabled: isReadOnly, tabIndex: -1, title: "Import CSV", children: _jsxDEV(UploadIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 339, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 332, columnNumber: 17 }, this), _jsxDEV("button", { className: "relational-data-editor__header__action", onClick: openIdentifierModal, disabled: isReadOnly, tabIndex: -1, title: "Add Relational Table Data", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 341, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 331, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 325, columnNumber: 13 }, this), _jsxDEV(MenuContent, { className: "relational-data-editor__content", children: dataState.embeddedData.tables.map((_table) => (_jsxDEV(ContextMenu, { className: clsx('relational-data-editor-explorer__item', {
131
+ return (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { minSize: 30, size: 300, children: _jsxs("div", { className: "relational-data-editor", children: [_jsxs("div", { className: "relational-data-editor__header", children: [_jsx("div", { className: "relational-data-editor__header__title", children: _jsx("div", { className: "relational-data-editor__header__title__label", children: "Relational Table Explorer" }) }), _jsxs("div", { className: "relational-data-editor__header__actions", children: [_jsx("button", { className: "schema-set-panel__header__action", onClick: showCSVModal, disabled: isReadOnly, tabIndex: -1, title: "Import CSV", children: _jsx(UploadIcon, {}) }), _jsx("button", { className: "relational-data-editor__header__action", onClick: openIdentifierModal, disabled: isReadOnly, tabIndex: -1, title: "Add Relational Table Data", children: _jsx(PlusIcon, {}) })] })] }), _jsx(MenuContent, { className: "relational-data-editor__content", children: dataState.embeddedData.tables.map((_table) => (_jsx(ContextMenu, { className: clsx('relational-data-editor-explorer__item', {
133
132
  'relational-data-editor-explorer__item--selected-from-context-menu': !isTableActive(_table) &&
134
133
  selectedTableFromContextMenu ===
135
134
  currentTableState?.table,
136
135
  }, {
137
136
  'relational-data-editor-explorer__item--active': isTableActive(_table),
138
- }), disabled: isReadOnly, content: _jsxDEV(RelationalCSVTableContextMenu, { dataState: dataState, table: _table }, void 0, false, { fileName: _jsxFileName, lineNumber: 371, columnNumber: 30 }, this), menuProps: { elevation: 7 }, onOpen: () => onContextMenuOpen(_table), onClose: () => onContextMenuClose(), children: _jsxDEV("button", { className: clsx('relational-data-editor-explorer__item__label'), onClick: () => changeSelectedTable(_table), tabIndex: -1, children: _jsxDEV("div", { className: "relational-data-editor-explorer__item__label__text", children: `${_table.schema}.${_table.table}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 388, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 381, columnNumber: 21 }, this) }, `${_table.table}.${_table.schema}`, false, { fileName: _jsxFileName, lineNumber: 354, columnNumber: 54 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 352, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 324, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 323, columnNumber: 9 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 399, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 398, columnNumber: 9 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV("div", { className: "relational-data-editor", children: [_jsxDEV("div", { className: "relational-data-editor__header", children: _jsxDEV("div", { className: "relational-data-editor__header__title", children: _jsxDEV("div", { className: "relational-data-editor__header__title__label", children: "CSV Values" }, void 0, false, { fileName: _jsxFileName, lineNumber: 405, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 404, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 403, columnNumber: 13 }, this), _jsxDEV("div", { className: "relational-data-editor__content", children: [currentTableState && (_jsxDEV("div", { className: "relational-data-editor__values", children: _jsxDEV(CodeEditor, { inputValue: currentTableState.table.values, updateInput: updateTableValues, isReadOnly: isReadOnly, language: CODE_EDITOR_LANGUAGE.TEXT }, void 0, false, { fileName: _jsxFileName, lineNumber: 413, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 411, columnNumber: 38 }, this)), !currentTableState && (_jsxDEV(BlankPanelPlaceholder, { onClick: () => openIdentifierModal(), text: "Add a relational data table", clickActionType: "add", tooltipText: "Click to add new relational data table" }, void 0, false, { fileName: _jsxFileName, lineNumber: 421, columnNumber: 39 }, this)), dataState.showTableIdentifierModal && (_jsxDEV(RelationalTableIdentifierEditor, { dataState: dataState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 429, columnNumber: 55 }, this)), dataState.showImportCSVModal && (_jsxDEV(ImportModal, { dataState: dataState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 435, columnNumber: 49 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 410, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 402, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 401, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 321, columnNumber: 13 }, this));
137
+ }), disabled: isReadOnly, content: _jsx(RelationalCSVTableContextMenu, { dataState: dataState, table: _table }), menuProps: { elevation: 7 }, onOpen: () => onContextMenuOpen(_table), onClose: () => onContextMenuClose(), children: _jsx("button", { className: clsx('relational-data-editor-explorer__item__label'), onClick: () => changeSelectedTable(_table), tabIndex: -1, children: _jsx("div", { className: "relational-data-editor-explorer__item__label__text", children: `${_table.schema}.${_table.table}` }) }) }, `${_table.table}.${_table.schema}`))) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsxs("div", { className: "relational-data-editor", children: [_jsx("div", { className: "relational-data-editor__header", children: _jsx("div", { className: "relational-data-editor__header__title", children: _jsx("div", { className: "relational-data-editor__header__title__label", children: "CSV Values" }) }) }), _jsxs("div", { className: "relational-data-editor__content", children: [currentTableState && (_jsx("div", { className: "relational-data-editor__values", children: _jsx(CodeEditor, { inputValue: currentTableState.table.values, updateInput: updateTableValues, isReadOnly: isReadOnly, language: CODE_EDITOR_LANGUAGE.TEXT }) })), !currentTableState && (_jsx(BlankPanelPlaceholder, { onClick: () => openIdentifierModal(), text: "Add a relational data table", clickActionType: "add", tooltipText: "Click to add new relational data table" })), dataState.showTableIdentifierModal && (_jsx(RelationalTableIdentifierEditor, { dataState: dataState, isReadOnly: isReadOnly })), dataState.showImportCSVModal && (_jsx(ImportModal, { dataState: dataState, isReadOnly: isReadOnly }))] })] }) })] }));
139
138
  });
140
139
  //# sourceMappingURL=RelationalCSVDataEditor.js.map