@finos/legend-application-studio 28.16.5 → 28.16.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
  2. package/lib/components/LegendStudioAppInfo.js +1 -1
  3. package/lib/components/LegendStudioAppInfo.js.map +1 -1
  4. package/lib/components/editor/EmbeddedQueryBuilder.d.ts.map +1 -1
  5. package/lib/components/editor/EmbeddedQueryBuilder.js +1 -1
  6. package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
  7. package/lib/components/editor/QuickInput.d.ts.map +1 -1
  8. package/lib/components/editor/QuickInput.js +3 -1
  9. package/lib/components/editor/QuickInput.js.map +1 -1
  10. package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
  11. package/lib/components/editor/command-center/ProjectSearchCommand.js +5 -2
  12. package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
  13. package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts.map +1 -1
  14. package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +4 -2
  15. package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
  16. package/lib/components/editor/editor-group/RuntimeEditor.d.ts.map +1 -1
  17. package/lib/components/editor/editor-group/RuntimeEditor.js +6 -3
  18. package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
  19. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts.map +1 -1
  20. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +6 -3
  21. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
  22. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts.map +1 -1
  23. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +7 -2
  24. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
  25. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts.map +1 -1
  26. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +1 -1
  27. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
  28. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
  29. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +14 -4
  30. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  31. package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
  32. package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +8 -3
  33. package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
  34. package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
  35. package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +5 -2
  36. package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
  37. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
  38. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +2 -1
  39. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  40. package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
  41. package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +2 -1
  42. package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
  43. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts.map +1 -1
  44. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +2 -2
  45. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
  46. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts.map +1 -1
  47. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +5 -1
  48. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
  49. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
  50. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +3 -2
  51. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
  52. package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts.map +1 -1
  53. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +5 -3
  54. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
  55. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts.map +1 -1
  56. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +2 -1
  57. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
  58. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts.map +1 -1
  59. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +2 -1
  60. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
  61. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts.map +1 -1
  62. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +12 -8
  63. package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
  64. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
  65. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +3 -1
  66. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  67. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
  68. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +2 -1
  69. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
  70. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
  71. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +3 -1
  72. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  73. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts.map +1 -1
  74. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +12 -4
  75. package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
  76. package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts.map +1 -1
  77. package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +5 -2
  78. package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
  79. package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts.map +1 -1
  80. package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +2 -1
  81. package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
  82. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
  83. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +5 -4
  84. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
  85. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts.map +1 -1
  86. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +5 -2
  87. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
  88. package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts.map +1 -1
  89. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +2 -1
  90. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
  91. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
  92. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +7 -2
  93. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
  94. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  95. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +3 -2
  96. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  97. package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts.map +1 -1
  98. package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +5 -2
  99. package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
  100. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
  101. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +15 -6
  102. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
  103. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
  104. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +8 -3
  105. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
  106. package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts.map +1 -1
  107. package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +10 -4
  108. package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
  109. package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts.map +1 -1
  110. package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +17 -4
  111. package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
  112. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
  113. package/lib/components/editor/side-bar/CreateNewElementModal.js +19 -9
  114. package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
  115. package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
  116. package/lib/components/editor/side-bar/Explorer.js +5 -2
  117. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  118. package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
  119. package/lib/components/editor/side-bar/LocalChanges.js +3 -2
  120. package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
  121. package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
  122. package/lib/components/editor/side-bar/ProjectOverview.js +8 -5
  123. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  124. package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -1
  125. package/lib/components/editor/side-bar/RegisterService.js +5 -2
  126. package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
  127. package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
  128. package/lib/components/editor/side-bar/WorkflowManager.js +2 -1
  129. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  130. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
  131. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
  132. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
  133. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
  134. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +3 -2
  135. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
  136. package/lib/components/workspace-setup/CreateProjectModal.d.ts.map +1 -1
  137. package/lib/components/workspace-setup/CreateProjectModal.js +2 -1
  138. package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
  139. package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts.map +1 -1
  140. package/lib/components/workspace-setup/CreateWorkspaceModal.js +3 -2
  141. package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
  142. package/lib/components/workspace-setup/WorkspaceSetup.d.ts.map +1 -1
  143. package/lib/components/workspace-setup/WorkspaceSetup.js +5 -3
  144. package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
  145. package/lib/index.css +1 -1
  146. package/lib/package.json +1 -1
  147. package/package.json +11 -11
  148. package/src/components/LegendStudioAppInfo.tsx +6 -1
  149. package/src/components/editor/EmbeddedQueryBuilder.tsx +3 -1
  150. package/src/components/editor/QuickInput.tsx +11 -2
  151. package/src/components/editor/command-center/ProjectSearchCommand.tsx +14 -3
  152. package/src/components/editor/editor-group/GenerationSpecificationEditor.tsx +8 -2
  153. package/src/components/editor/editor-group/RuntimeEditor.tsx +15 -3
  154. package/src/components/editor/editor-group/connection-editor/ConnectionEditor.tsx +12 -3
  155. package/src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx +13 -4
  156. package/src/components/editor/editor-group/connection-editor/DatabaseModelBuilder.tsx +6 -1
  157. package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +36 -7
  158. package/src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx +13 -3
  159. package/src/components/editor/editor-group/data-editor/RelationalCSVDataEditor.tsx +12 -2
  160. package/src/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.tsx +4 -1
  161. package/src/components/editor/editor-group/element-generation-editor/FileGenerationEditor.tsx +4 -1
  162. package/src/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.tsx +6 -2
  163. package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +13 -3
  164. package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +12 -6
  165. package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +16 -4
  166. package/src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx +4 -1
  167. package/src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx +4 -1
  168. package/src/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.tsx +25 -10
  169. package/src/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.tsx +11 -2
  170. package/src/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +10 -2
  171. package/src/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.tsx +5 -1
  172. package/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx +42 -11
  173. package/src/components/editor/editor-group/mapping-editor/NewMappingElementModal.tsx +9 -2
  174. package/src/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.tsx +4 -1
  175. package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx +18 -4
  176. package/src/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.tsx +12 -3
  177. package/src/components/editor/editor-group/service-editor/ServiceEditor.tsx +4 -1
  178. package/src/components/editor/editor-group/service-editor/ServiceExecutionEditor.tsx +14 -3
  179. package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +13 -6
  180. package/src/components/editor/editor-group/service-editor/ServiceRegistrationEditor.tsx +12 -3
  181. package/src/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.tsx +48 -18
  182. package/src/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.tsx +14 -3
  183. package/src/components/editor/editor-group/testable/TestableSharedComponents.tsx +35 -8
  184. package/src/components/editor/panel-group/SQLPlaygroundPanel.tsx +29 -5
  185. package/src/components/editor/side-bar/CreateNewElementModal.tsx +42 -11
  186. package/src/components/editor/side-bar/Explorer.tsx +8 -2
  187. package/src/components/editor/side-bar/LocalChanges.tsx +12 -6
  188. package/src/components/editor/side-bar/ProjectOverview.tsx +23 -9
  189. package/src/components/editor/side-bar/RegisterService.tsx +18 -3
  190. package/src/components/editor/side-bar/WorkflowManager.tsx +12 -2
  191. package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +17 -10
  192. package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +12 -2
  193. package/src/components/workspace-setup/CreateProjectModal.tsx +7 -1
  194. package/src/components/workspace-setup/CreateWorkspaceModal.tsx +7 -2
  195. package/src/components/workspace-setup/WorkspaceSetup.tsx +14 -3
@@ -235,6 +235,8 @@ const TDSResultCellRenderer = observer((params) => {
235
235
  const PlayGroundSQLExecutionResultGrid = observer((props) => {
236
236
  const { result, useAdvancedGrid, useLocalMode } = props;
237
237
  const data = parseExecutionResultData(result);
238
+ const applicationStore = useApplicationStore();
239
+ const darkMode = !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled;
238
240
  if (!data) {
239
241
  return (_jsx(BlankPanelContent, { children: `Can't parse result, displaying raw form:\n${result}` }));
240
242
  }
@@ -251,7 +253,10 @@ const PlayGroundSQLExecutionResultGrid = observer((props) => {
251
253
  enableValue: true,
252
254
  allowedAggFuncs: ['count'],
253
255
  }));
254
- return (_jsx("div", { className: "sql-playground__result__grid ag-theme-balham-dark", children: _jsx(DataGrid, { rowData: data.rowData, gridOptions: {
256
+ return (_jsx("div", { className: clsx('sql-playground__result__grid', {
257
+ 'ag-theme-balham': !darkMode,
258
+ 'ag-theme-balham-dark': darkMode,
259
+ }), children: _jsx(DataGrid, { rowData: data.rowData, gridOptions: {
255
260
  suppressScrollOnNewData: true,
256
261
  rowSelection: 'multiple',
257
262
  pivotPanelShow: 'always',
@@ -283,7 +288,10 @@ const PlayGroundSQLExecutionResultGrid = observer((props) => {
283
288
  },
284
289
  },
285
290
  ], []);
286
- return (_jsx("div", { className: "sql-playground__result__grid ag-theme-balham-dark", children: _jsx(DataGrid, { rowData: data.rowData, overlayNoRowsTemplate: `<div class="sql-playground__result__grid--empty">No results</div>`, gridOptions: {
291
+ return (_jsx("div", { className: clsx('sql-playground__result__grid', {
292
+ 'ag-theme-balham': !darkMode,
293
+ 'ag-theme-balham-dark': darkMode,
294
+ }), children: _jsx(DataGrid, { rowData: data.rowData, overlayNoRowsTemplate: `<div class="sql-playground__result__grid--empty">No results</div>`, gridOptions: {
287
295
  suppressScrollOnNewData: true,
288
296
  rowSelection: 'multiple',
289
297
  enableRangeSelection: true,
@@ -291,7 +299,10 @@ const PlayGroundSQLExecutionResultGrid = observer((props) => {
291
299
  params.api.refreshCells({ force: true });
292
300
  }, suppressFieldDotNotation: true, suppressClipboardPaste: false, suppressContextMenu: false, columnDefs: colDefs, getContextMenuItems: (params) => getContextMenuItems(params) }) }));
293
301
  }
294
- return (_jsx("div", { className: "sql-playground__result__grid ag-theme-balham-dark", children: _jsx(DataGrid, { rowData: data.rowData, overlayNoRowsTemplate: `<div class="sql-playground__result__grid--empty">No results</div>`, alwaysShowVerticalScroll: true, suppressFieldDotNotation: true, columnDefs: data.columns.map((column) => ({
302
+ return (_jsx("div", { className: clsx('sql-playground__result__grid', {
303
+ 'ag-theme-balham': !darkMode,
304
+ 'ag-theme-balham-dark': darkMode,
305
+ }), children: _jsx(DataGrid, { rowData: data.rowData, overlayNoRowsTemplate: `<div class="sql-playground__result__grid--empty">No results</div>`, alwaysShowVerticalScroll: true, suppressFieldDotNotation: true, columnDefs: data.columns.map((column) => ({
295
306
  minWidth: 50,
296
307
  sortable: true,
297
308
  resizable: true,
@@ -374,7 +385,9 @@ export const SQLPlaygroundPanel = observer(() => {
374
385
  }
375
386
  }, [playgroundState, applicationStore, playgroundState.schemaExplorerState]);
376
387
  useConditionedApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SQL_PLAYGROUND, editorStore.activePanelMode === PANEL_MODE.SQL_PLAYGROUND);
377
- return (_jsx(PanelDropZone, { isDragOver: isConnectionDragOver, dropTargetConnector: dropConnector, children: _jsxs("div", { className: "sql-playground", children: [playgroundState.connection && (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 300, children: _jsxs("div", { className: "sql-playground__config", children: [_jsxs("div", { className: "sql-playground__config__setup", children: [_jsxs("div", { className: "sql-playground__config__connection-selector", children: [_jsx("div", { className: "sql-playground__config__connection-selector__icon", children: _jsx(PURE_ConnectionIcon, {}) }), _jsx(CustomSelectorInput, { ref: connectionSelectorRef, className: "sql-playground__config__connection-selector__input", options: connectionOptions, onChange: changeConnection, value: selectedConnectionOption, darkMode: true, placeholder: "Choose a connection...", filterOption: connectionFilterOption })] }), _jsxs("div", { className: "sql-playground__config__database-selector", children: [_jsx("div", { className: "sql-playground__config__database-selector__icon", children: _jsx(PURE_DatabaseIcon, {}) }), _jsx(CustomSelectorInput, { ref: connectionSelectorRef, className: "sql-playground__config__database-selector__input", options: connectionOptions, onChange: changeConnection, value: selectedConnectionOption, darkMode: true, placeholder: "Choose a connection...", filterOption: connectionFilterOption }), _jsx("button", { className: "sql-playground__config__database-selector__update-btn btn--sm btn--dark", disabled: !playgroundState.database, onClick: updateDatabase, title: "Update database", children: _jsx(SyncIcon, {}) })] })] }), _jsxs("div", { className: "sql-playground__config__schema-explorer", children: [_jsx(PanelLoadingIndicator, { isLoading: Boolean(playgroundState.schemaExplorerState?.isGeneratingDatabase) }), playgroundState.schemaExplorerState?.treeData && (_jsx(DatabaseSchemaExplorer, { treeData: playgroundState.schemaExplorerState.treeData, schemaExplorerState: playgroundState.schemaExplorerState, treeNodeContainerComponent: SQLPlaygroundDatabaseSchemaExplorerTreeNodeContainer }))] })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { children: _jsx("div", { className: "panel sql-playground__sql-editor", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { children: _jsx(PlaygroundSQLCodeEditor, {}) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-250)" }) }), _jsxs(ResizablePanel, { size: 300, children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "result" }), playgroundState.executeRawSQLState.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running SQL..." })), _jsx("div", { className: "query-builder__result__analytics", children: resultDescription ?? '' })] }), _jsxs("div", { className: "panel__header__actions query-builder__result__header__actions", children: [advancedMode && (_jsxs("div", { className: "query-builder__result__advanced__mode", children: [_jsx("div", { className: "query-builder__result__advanced__mode__label", children: "Local Mode" }), _jsx("button", { className: clsx('query-builder__result__advanced__mode__toggler__btn', {
388
+ return (_jsx(PanelDropZone, { isDragOver: isConnectionDragOver, dropTargetConnector: dropConnector, children: _jsxs("div", { className: "sql-playground", children: [playgroundState.connection && (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 300, children: _jsxs("div", { className: "sql-playground__config", children: [_jsxs("div", { className: "sql-playground__config__setup", children: [_jsxs("div", { className: "sql-playground__config__connection-selector", children: [_jsx("div", { className: "sql-playground__config__connection-selector__icon", children: _jsx(PURE_ConnectionIcon, {}) }), _jsx(CustomSelectorInput, { ref: connectionSelectorRef, className: "sql-playground__config__connection-selector__input", options: connectionOptions, onChange: changeConnection, value: selectedConnectionOption, darkMode: !applicationStore.layoutService
389
+ .TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a connection...", filterOption: connectionFilterOption })] }), _jsxs("div", { className: "sql-playground__config__database-selector", children: [_jsx("div", { className: "sql-playground__config__database-selector__icon", children: _jsx(PURE_DatabaseIcon, {}) }), _jsx(CustomSelectorInput, { ref: connectionSelectorRef, className: "sql-playground__config__database-selector__input", options: connectionOptions, onChange: changeConnection, value: selectedConnectionOption, darkMode: !applicationStore.layoutService
390
+ .TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a connection...", filterOption: connectionFilterOption }), _jsx("button", { className: "sql-playground__config__database-selector__update-btn btn--sm btn--dark", disabled: !playgroundState.database, onClick: updateDatabase, title: "Update database", children: _jsx(SyncIcon, {}) })] })] }), _jsxs("div", { className: "sql-playground__config__schema-explorer", children: [_jsx(PanelLoadingIndicator, { isLoading: Boolean(playgroundState.schemaExplorerState?.isGeneratingDatabase) }), playgroundState.schemaExplorerState?.treeData && (_jsx(DatabaseSchemaExplorer, { treeData: playgroundState.schemaExplorerState.treeData, schemaExplorerState: playgroundState.schemaExplorerState, treeNodeContainerComponent: SQLPlaygroundDatabaseSchemaExplorerTreeNodeContainer }))] })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { children: _jsx("div", { className: "panel sql-playground__sql-editor", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { children: _jsx(PlaygroundSQLCodeEditor, {}) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-250)" }) }), _jsxs(ResizablePanel, { size: 300, children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "result" }), playgroundState.executeRawSQLState.isInProgress && (_jsx("div", { className: "panel__header__title__label__status", children: "Running SQL..." })), _jsx("div", { className: "query-builder__result__analytics", children: resultDescription ?? '' })] }), _jsxs("div", { className: "panel__header__actions query-builder__result__header__actions", children: [advancedMode && (_jsxs("div", { className: "query-builder__result__advanced__mode", children: [_jsx("div", { className: "query-builder__result__advanced__mode__label", children: "Local Mode" }), _jsx("button", { className: clsx('query-builder__result__advanced__mode__toggler__btn', {
378
391
  'query-builder__result__advanced__mode__toggler__btn--toggled': playgroundState.isLocalModeEnabled,
379
392
  }), onClick: toggleocalMode, tabIndex: -1, children: playgroundState.isLocalModeEnabled ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) })] })), _jsx("div", { className: "query-builder__result__execute-btn btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxs("button", { className: "btn__dropdown-combo__label", onClick: executeRawSQL, disabled: playgroundState.executeRawSQLState.isInProgress, tabIndex: -1, children: [_jsx(PlayIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Run Query" })] }) })] })] }), playgroundState.sqlExecutionResult !== undefined && (_jsx(PlayGroundSQLExecutionResultGrid, { result: playgroundState.sqlExecutionResult.value, useAdvancedGrid: advancedMode, useLocalMode: playgroundState.isLocalModeEnabled })), playgroundState.sqlExecutionResult === undefined && (_jsx("div", {}))] })] }) }) })] })), !playgroundState.connection && (_jsx(BlankPanelPlaceholder, { onClick: onPickConnection, clickActionType: "add", text: "Pick a connection to start", tooltipText: "Drop a connection to start...", isDropZoneActive: isConnectionDragOver }))] }) }));
380
393
  });
@@ -1 +1 @@
1
- {"version":3,"file":"SQLPlaygroundPanel.js","sourceRoot":"","sources":["../../../../src/components/editor/panel-group/SQLPlaygroundPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EAEnB,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAC1B,QAAQ,EACR,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,eAAe,EACf,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,0CAA0C,GAC3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,MAAM,IAAI,eAAe,EACzB,SAAS,IAAI,kBAAkB,GAGhC,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gDAAgD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,aAAa,EACtB,QAAQ,EACN,eAAe,CAAC,kBAAkB,CAAC,YAAY,EAEjD,QAAQ,EAAE,CAAC,CAAC,aAEZ,KAAC,QAAQ,IAAC,SAAS,EAAC,kCAAkC,GAAG,EACzD,cAAK,SAAS,EAAC,mCAAmC,0BAE5C,IACC,GACL,IACF,IACF,EACL,eAAe,CAAC,kBAAkB,KAAK,SAAS,IAAI,CACnD,KAAC,gCAAgC,IAC/B,MAAM,EAAE,eAAe,CAAC,kBAAkB,CAAC,KAAK,EAChD,eAAe,EAAE,YAAY,EAC7B,YAAY,EAAE,eAAe,CAAC,kBAAkB,GAChD,CACH,EACA,eAAe,CAAC,kBAAkB,KAAK,SAAS,IAAI,CACnD,eAAO,CACR,IACc,IACG,GAClB,GACS,IACG,CACvB,EACA,CAAC,eAAe,CAAC,UAAU,IAAI,CAC9B,KAAC,qBAAqB,IACpB,OAAO,EAAE,gBAAgB,EACzB,eAAe,EAAC,KAAK,EACrB,IAAI,EAAC,4BAA4B,EACjC,WAAW,EAAC,+BAA+B,EAC3C,gBAAgB,EAAE,oBAAoB,GACtC,CACH,IACG,GACQ,CACjB,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"SQLPlaygroundPanel.js","sourceRoot":"","sources":["../../../../src/components/editor/panel-group/SQLPlaygroundPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EAEnB,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAC1B,QAAQ,EACR,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,eAAe,EACf,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,E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K,EAChD,eAAe,EAAE,YAAY,EAC7B,YAAY,EAAE,eAAe,CAAC,kBAAkB,GAChD,CACH,EACA,eAAe,CAAC,kBAAkB,KAAK,SAAS,IAAI,CACnD,eAAO,CACR,IACc,IACG,GAClB,GACS,IACG,CACvB,EACA,CAAC,eAAe,CAAC,UAAU,IAAI,CAC9B,KAAC,qBAAqB,IACpB,OAAO,EAAE,gBAAgB,EACzB,eAAe,EAAC,KAAK,EACrB,IAAI,EAAC,4BAA4B,EACjC,WAAW,EAAC,+BAA+B,EAC3C,gBAAgB,EAAE,oBAAoB,GACtC,CACH,IACG,GACQ,CACjB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateNewElementModal.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/CreateNewElementModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AA4BzE,eAAO,MAAM,mBAAmB,gBACjB,WAAW,QAClB,MAAM,GAAG,SAAS,KACvB,MAAM,GAAG,SAiDX,CAAC;AA2WF,eAAO,MAAM,6BAA6B;;CA2GxC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;CA4GhC,CAAC"}
1
+ {"version":3,"file":"CreateNewElementModal.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/CreateNewElementModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AA4BzE,eAAO,MAAM,mBAAmB,gBACjB,WAAW,QAClB,MAAM,GAAG,SAAS,KACvB,MAAM,GAAG,SAiDX,CAAC;AAoYF,eAAO,MAAM,6BAA6B;;CA8GxC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;CA+GhC,CAAC"}
@@ -78,6 +78,7 @@ const buildElementTypeOption = (type) => ({
78
78
  });
79
79
  const NewDataElementDriverEditor = observer(() => {
80
80
  const editorStore = useEditorStore();
81
+ const applicationStore = editorStore.applicationStore;
81
82
  const newDataELementDriver = editorStore.newElementState.getNewElementDriver(NewDataElementDriver);
82
83
  const selectedOption = newDataELementDriver.embeddedDataOption
83
84
  ? {
@@ -103,10 +104,11 @@ const NewDataElementDriverEditor = observer(() => {
103
104
  newDataELementDriver.setEmbeddedDataOption(val);
104
105
  }
105
106
  };
106
- return (_jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: options, onChange: onTypeSelectionChange, value: selectedOption, darkMode: true }) }));
107
+ return (_jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: options, onChange: onTypeSelectionChange, value: selectedOption, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }) }));
107
108
  });
108
109
  const NewRuntimeDriverEditor = observer(() => {
109
110
  const editorStore = useEditorStore();
111
+ const applicationStore = editorStore.applicationStore;
110
112
  const newRuntimeDriver = editorStore.newElementState.getNewElementDriver(NewPackageableRuntimeDriver);
111
113
  // mapping
112
114
  const mapping = newRuntimeDriver.mapping;
@@ -121,11 +123,12 @@ const NewRuntimeDriverEditor = observer(() => {
121
123
  // TODO: show warning
122
124
  return _jsx("div", { children: "no mapping found" });
123
125
  }
124
- return (_jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: mappingOptions, onChange: onMappingSelectionChange, value: selectedMappingOption, darkMode: true }) }));
126
+ return (_jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: mappingOptions, onChange: onMappingSelectionChange, value: selectedMappingOption, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }) }));
125
127
  });
126
128
  const NewPureModelConnectionDriverEditor = observer((props) => {
127
129
  const { newConnectionValueDriver } = props;
128
130
  const editorStore = useEditorStore();
131
+ const applicationStore = editorStore.applicationStore;
129
132
  // class
130
133
  const _class = newConnectionValueDriver.class;
131
134
  const classOptions = editorStore.graphManagerState.usableClasses
@@ -144,8 +147,10 @@ const NewPureModelConnectionDriverEditor = observer((props) => {
144
147
  // TODO: show warning
145
148
  return _jsx("div", { children: "no class found" });
146
149
  }
147
- return (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Source Class" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "sub-panel__content__form__section__dropdown", options: classOptions, onChange: onClassSelectionChange, value: selectedClassOption, darkMode: true, formatOptionLabel: getPackageableElementOptionFormatter({
148
- darkMode: true,
150
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Source Class" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "sub-panel__content__form__section__dropdown", options: classOptions, onChange: onClassSelectionChange, value: selectedClassOption, darkMode: !applicationStore.layoutService
151
+ .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
152
+ darkMode: !applicationStore.layoutService
153
+ .TEMPORARY__isLightColorThemeEnabled,
149
154
  }) }) })] }));
150
155
  });
151
156
  const NewConnectionValueDriverEditor = observer(() => {
@@ -159,6 +164,7 @@ const NewConnectionValueDriverEditor = observer(() => {
159
164
  });
160
165
  const NewConnectionDriverEditor = observer(() => {
161
166
  const editorStore = useEditorStore();
167
+ const applicationStore = editorStore.applicationStore;
162
168
  const newConnectionDriver = editorStore.newElementState.getNewElementDriver(NewPackageableConnectionDriver);
163
169
  // type
164
170
  const currentConnectionType = newConnectionDriver.geDriverConnectionType();
@@ -198,10 +204,11 @@ const NewConnectionDriverEditor = observer(() => {
198
204
  value: store,
199
205
  };
200
206
  const onStoreSelectionChange = (val) => newConnectionDriver.setStore(val.value);
201
- return (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Connection Type" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: connectionOptions, onChange: onConnectionChange, value: currentConnectionTypeOption, darkMode: true }) }), _jsx("div", { className: "panel__content__form__section__header__label", children: "Source Store" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: storeOptions, onChange: onStoreSelectionChange, value: selectedStoreOption, darkMode: true }) }), _jsx(NewConnectionValueDriverEditor, {})] }));
207
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Connection Type" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: connectionOptions, onChange: onConnectionChange, value: currentConnectionTypeOption, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }) }), _jsx("div", { className: "panel__content__form__section__header__label", children: "Source Store" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: storeOptions, onChange: onStoreSelectionChange, value: selectedStoreOption, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }) }), _jsx(NewConnectionValueDriverEditor, {})] }));
202
208
  });
203
209
  const NewServiceDriverEditor = observer(() => {
204
210
  const editorStore = useEditorStore();
211
+ const applicationStore = editorStore.applicationStore;
205
212
  const runtimeSelectorPlaceholder = 'Choose a compatible runtime...';
206
213
  const newServiceDriver = editorStore.newElementState.getNewElementDriver(NewServiceDriver);
207
214
  // runtime
@@ -222,10 +229,11 @@ const NewServiceDriverEditor = observer(() => {
222
229
  //reset runtime
223
230
  newServiceDriver.setRuntimeOption(guaranteeNonNullable(newServiceDriver.runtimeOptions[0]));
224
231
  };
225
- return (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Mapping" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: mappingOptions, onChange: onMappingChange, value: newServiceDriver.mappingOption, darkMode: true }) }), _jsx("div", { className: "panel__content__form__section__header__label", children: "Runtime" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: newServiceDriver.runtimeOptions, onChange: onRuntimeChange, value: newServiceDriver.runtimeOption, darkMode: true, placeholder: runtimeSelectorPlaceholder }) })] }));
232
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Mapping" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: mappingOptions, onChange: onMappingChange, value: newServiceDriver.mappingOption, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }) }), _jsx("div", { className: "panel__content__form__section__header__label", children: "Runtime" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: newServiceDriver.runtimeOptions, onChange: onRuntimeChange, value: newServiceDriver.runtimeOption, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, placeholder: runtimeSelectorPlaceholder }) })] }));
226
233
  });
227
234
  const NewFileGenerationDriverEditor = observer(() => {
228
235
  const editorStore = useEditorStore();
236
+ const applicationStore = editorStore.applicationStore;
229
237
  const newConnectionDriver = editorStore.newElementState.getNewElementDriver(NewFileGenerationDriver);
230
238
  const options = editorStore.graphState.graphGenerationState.globalFileGenerationState
231
239
  .fileGenerationConfigurationOptions;
@@ -237,7 +245,7 @@ const NewFileGenerationDriverEditor = observer(() => {
237
245
  newConnectionDriver.setTypeOption(val);
238
246
  }
239
247
  };
240
- return (_jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "sub-panel__content__form__section__dropdown explorer__new-element-modal__driver__dropdown", options: options, onChange: onTypeSelectionChange, value: newConnectionDriver.typeOption, darkMode: true }) }));
248
+ return (_jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "sub-panel__content__form__section__dropdown explorer__new-element-modal__driver__dropdown", options: options, onChange: onTypeSelectionChange, value: newConnectionDriver.typeOption, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }) }));
241
249
  });
242
250
  const renderNewElementDriver = (type, editorStore) => {
243
251
  switch (type) {
@@ -303,7 +311,8 @@ export const CreateNewLocalConnectionModal = observer(() => {
303
311
  }, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { "data-testid": LEGEND_STUDIO_TEST_ID.NEW_ELEMENT_MODAL, onSubmit: (event) => {
304
312
  event.preventDefault();
305
313
  save();
306
- }, className: "modal modal--dark search-modal", children: [_jsx("div", { className: "modal__title", children: `Create a New ${getElementTypeLabel(editorStore, newElementState.type) ?? 'element'}` }), _jsxs("div", { children: [newElementState.showType && (_jsx(CustomSelectorInput, { options: typeOptions, disabled: typeOptions.length === 1, onChange: handleTypeChange, value: selectedTypeOption, isClearable: false, darkMode: true })), _jsx("input", { className: "input--dark explorer__new-element-modal__name-input", ref: elementNameInputRef, spellCheck: false, value: name, onChange: handleNameChange, placeholder: `Enter a name, use ${ELEMENT_PATH_DELIMITER} to create new package(s) for the ${getElementTypeLabel(editorStore, newElementState.type) ??
314
+ }, className: "modal modal--dark search-modal", children: [_jsx("div", { className: "modal__title", children: `Create a New ${getElementTypeLabel(editorStore, newElementState.type) ?? 'element'}` }), _jsxs("div", { children: [newElementState.showType && (_jsx(CustomSelectorInput, { options: typeOptions, disabled: typeOptions.length === 1, onChange: handleTypeChange, value: selectedTypeOption, isClearable: false, darkMode: !applicationStore.layoutService
315
+ .TEMPORARY__isLightColorThemeEnabled })), _jsx("input", { className: "input--dark explorer__new-element-modal__name-input", ref: elementNameInputRef, spellCheck: false, value: name, onChange: handleNameChange, placeholder: `Enter a name, use ${ELEMENT_PATH_DELIMITER} to create new package(s) for the ${getElementTypeLabel(editorStore, newElementState.type) ??
307
316
  'element'}` }), renderNewElementDriver(newElementState.type, editorStore)] }), _jsxs("div", { className: "search-modal__actions", children: [_jsx("button", { type: "button", className: "btn btn--dark", onClick: closeModal, children: "Cancel" }), _jsx("button", { className: "btn btn--dark", disabled: isDisabled, children: "Create" })] })] }) }));
308
317
  });
309
318
  export const CreateNewElementModal = observer(() => {
@@ -345,7 +354,8 @@ export const CreateNewElementModal = observer(() => {
345
354
  }, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { "data-testid": LEGEND_STUDIO_TEST_ID.NEW_ELEMENT_MODAL, onSubmit: (event) => {
346
355
  event.preventDefault();
347
356
  save();
348
- }, className: "modal modal--dark search-modal", children: [_jsx("div", { className: "modal__title", children: `Create a new ${elementLabel ? toTitleCase(elementLabel) : 'element'}` }), _jsxs("div", { children: [newElementState.showType && (_jsx(CustomSelectorInput, { options: typeOptions, disabled: typeOptions.length === 1, onChange: handleTypeChange, value: selectedTypeOption, isClearable: false, darkMode: true })), _jsx("input", { className: "input--dark explorer__new-element-modal__name-input", ref: elementNameInputRef, spellCheck: false, value: name, onChange: handleNameChange, placeholder: `Enter a name, use ${ELEMENT_PATH_DELIMITER} to create new package(s) for the ${getElementTypeLabel(editorStore, newElementState.type) ??
357
+ }, className: "modal modal--dark search-modal", children: [_jsx("div", { className: "modal__title", children: `Create a new ${elementLabel ? toTitleCase(elementLabel) : 'element'}` }), _jsxs("div", { children: [newElementState.showType && (_jsx(CustomSelectorInput, { options: typeOptions, disabled: typeOptions.length === 1, onChange: handleTypeChange, value: selectedTypeOption, isClearable: false, darkMode: !applicationStore.layoutService
358
+ .TEMPORARY__isLightColorThemeEnabled })), _jsx("input", { className: "input--dark explorer__new-element-modal__name-input", ref: elementNameInputRef, spellCheck: false, value: name, onChange: handleNameChange, placeholder: `Enter a name, use ${ELEMENT_PATH_DELIMITER} to create new package(s) for the ${getElementTypeLabel(editorStore, newElementState.type) ??
349
359
  'element'}` }), renderNewElementDriver(newElementState.type, editorStore)] }), _jsxs("div", { className: "search-modal__actions", children: [_jsx("button", { type: "button", className: "btn btn--dark", onClick: closeModal, children: "Cancel" }), _jsx("button", { className: "btn btn--dark", disabled: isDisabled, children: "Create" })] })] }) }));
350
360
  });
351
361
  //# sourceMappingURL=CreateNewElementModal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateNewElementModal.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/CreateNewElementModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,GAEhB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAIL,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AAGzC,OAAO,E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AAe,EAAC,QAAQ,EAAE,UAAU,uBAE7C,IACL,IACD,GACA,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"CreateNewElementModal.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/CreateNewElementModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,GAEhB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAIL,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAI9F,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,WAAwB,EACxB,IAAwB,EACJ,EAAE;IACtB,QAAQ,IAAI,EAAE;QACZ,KAAK,wBAAwB,CAAC,OAAO,CAAC;QACtC,KAAK,wBAAwB,CAAC,KA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AAS,EAAC,qDAAqD,EAC/D,GAAG,EAAE,mBAAmB,EACxB,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,gBAAgB,EAC1B,WAAW,EAAE,qBAAqB,sBAAsB,qCACtD,mBAAmB,CAAC,WAAW,EAAE,eAAe,CAAC,IAAI,CAAC;gCACtD,SACF,EAAE,GACF,EACD,sBAAsB,CAAC,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,IACtD,EACN,eAAK,SAAS,EAAC,uBAAuB,aACpC,iBAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,UAAU,uBAE1D,EACT,iBAAQ,SAAS,EAAC,eAAe,EAAC,QAAQ,EAAE,UAAU,uBAE7C,IACL,IACD,GACA,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/Explorer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAk1CH,eAAO,MAAM,QAAQ;;CA0JnB,CAAC"}
1
+ {"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/Explorer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAw1CH,eAAO,MAAM,QAAQ;;CA0JnB,CAAC"}
@@ -133,6 +133,7 @@ const getMockDataEditorLanguage = (format) => {
133
133
  };
134
134
  const SampleDataGenerator = observer(() => {
135
135
  const editorStore = useEditorStore();
136
+ const applicationStore = editorStore.applicationStore;
136
137
  const explorerTreeState = editorStore.explorerTreeState;
137
138
  const selectedClass = explorerTreeState.classToGenerateSampleData;
138
139
  const [format, setFormat] = useState(GENERATION_DEFAULT_FORMAT);
@@ -182,8 +183,10 @@ const SampleDataGenerator = observer(() => {
182
183
  const onEnter = () => classSelectorRef.current?.focus();
183
184
  return (_jsx(Dialog, { open: Boolean(selectedClass), onClose: abort, TransitionProps: {
184
185
  onEnter: onEnter,
185
- }, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("div", { className: "modal modal--dark search-modal explorer__element-renamer", children: [_jsx("div", { className: "modal__title", children: "Generate Sample Data" }), _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: true, filterOption: elementFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
186
- darkMode: true,
186
+ }, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("div", { className: "modal modal--dark search-modal explorer__element-renamer", children: [_jsx("div", { className: "modal__title", children: "Generate Sample Data" }), _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
187
+ .TEMPORARY__isLightColorThemeEnabled, filterOption: elementFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
188
+ darkMode: !applicationStore.layoutService
189
+ .TEMPORARY__isLightColorThemeEnabled,
187
190
  }) }), _jsx("div", { className: "sample-data-generator__controller__icon", title: "format", children: _jsx(CodeIcon, {}) }), _jsxs(DropdownMenu, { className: "sample-data-generator__controller__format-selector", title: "Choose Element Type...", content: _jsx(MenuContent, { className: "sample-data-generator__controller__format-selector__options", children: Object.values(CLASS_MOCK_DATA_GENERATION_FORMAT).map((val) => (_jsx(MenuContentItem, { className: "sample-data-generator__controller__format-selector__option", onClick: () => setFormat(val), children: val }, val))) }), children: [_jsx("div", { className: "sample-data-generator__controller__format-selector__label", children: format }), _jsx("div", { className: "sample-data-generator__controller__format-selector__dropdown-indicator", children: _jsx(CaretDownIcon, {}) })] }), _jsx("div", { className: "sample-data-generator__controller__icon", title: "depth", children: _jsx(LevelDownIcon, {}) }), _jsx("input", { className: "input input--dark sample-data-generator__controller__depth", value: depth, type: "number", onChange: changeDepth })] }), _jsx("div", { className: "sample-data-generator__result", children: _jsx(CodeEditor, { inputValue: resultText, isReadOnly: true, hideGutter: true, language: getMockDataEditorLanguage(format) }) }), _jsxs("div", { className: "search-modal__actions", children: [_jsx("button", { type: "button", className: "btn btn--dark", onClick: abort, children: "Cancel" }), _jsx("button", { className: "btn btn--dark", onClick: regenerate, children: "Regenerate" })] })] }) }));
188
191
  });
189
192
  const isRelationalDatabase = (val) => (val instanceof Database ? val : undefined);
@@ -1 +1 @@
1
- {"version":3,"file":"Explorer.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/Explorer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EACZ,QAAQ,EACR,MAAM,EACN,SAAS,EACT,QAAQ,EACR,UAAU,GACX,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,IAAI,EACJ,MAAM,EACN,WAAW,EACX,eAAe,EACf,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,uBAAuB,EACvB,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EAEnB,aAAa,EACb,aAAa,EACb,cAAc,EACd,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,M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,eAAK,SAAS,EAAC,mCAAmC,aAChD,cAAK,SAAS,EAAC,yCAAyC,YACtD,KAAC,uBAAuB,KAAG,GACvB,EACN,cAAK,SAAS,EAAC,yCAAyC,sCAElD,IACF,GACY,CACrB,IACF,CACJ,IACG,IACF,GACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"Explorer.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/Explorer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EACZ,QAAQ,EACR,MAAM,EACN,SAAS,EACT,QAAQ,EACR,UAAU,GACX,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,IAAI,EACJ,MAAM,EACN,WAAW,EACX,eAAe,EACf,wBAAwB,EACxB,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,uBAAuB,EACvB,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EAEnB,aAAa,EACb,aAAa,EACb,cAAc,EACd,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EACL,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,UAAU,G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ACF,GACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LocalChanges.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/LocalChanges.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoHH,eAAO,MAAM,YAAY;;CAqTvB,CAAC"}
1
+ {"version":3,"file":"LocalChanges.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/LocalChanges.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0HH,eAAO,MAAM,YAAY;;CAqTvB,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
- import { clsx, Dialog, PanelLoadingIndicator, TimesIcon, RefreshIcon, InfoCircleIcon, DownloadIcon, UploadIcon, CloudDownloadIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, ResizablePanelSplitterLine, CloudUploadIcon, PanelContent, Modal, ModalBody, ModalFooter, ModalHeader, } from '@finos/legend-art';
18
+ import { clsx, Dialog, PanelLoadingIndicator, TimesIcon, RefreshIcon, InfoCircleIcon, DownloadIcon, UploadIcon, CloudDownloadIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, ResizablePanelSplitterLine, CloudUploadIcon, PanelContent, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, } from '@finos/legend-art';
19
19
  import { EntityDiffViewState } from '../../../stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js';
20
20
  import { EntityDiffSideBarItem } from '../editor-group/diff-editor/EntityDiffView.js';
21
21
  import { LEGEND_STUDIO_TEST_ID } from '../../../__lib__/LegendStudioTesting.js';
@@ -30,6 +30,7 @@ import { FormLocalChangesState } from '../../../stores/editor/sidebar-state/Loca
30
30
  import { GRAPH_EDITOR_MODE } from '../../../stores/editor/EditorConfig.js';
31
31
  const PatchLoader = observer(() => {
32
32
  const editorStore = useEditorStore();
33
+ const applicationStore = editorStore.applicationStore;
33
34
  const localChangesState = editorStore.localChangesState;
34
35
  const patchState = localChangesState.patchLoaderState;
35
36
  const onClose = () => patchState.closeModal();
@@ -43,7 +44,7 @@ const PatchLoader = observer(() => {
43
44
  patchState.applyChanges();
44
45
  };
45
46
  const deleteChange = (change) => patchState.deleteChange(change);
46
- return (_jsx(Dialog, { onClose: onClose, open: patchState.showModal, children: _jsxs(Modal, { darkMode: true, className: "modal--scrollable patch-loader", children: [_jsx(ModalHeader, { title: "Patch Loader" }), _jsxs(ModalBody, { children: [_jsx(PanelLoadingIndicator, { isLoading: patchState.isLoadingChanges }), _jsx("div", { children: _jsx("input", { type: "file", name: "myFiles", onChange: onChange }) }), Boolean(patchState.overiddingChanges.length) && (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Overriding Changes" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "The following element changes will be overridden by the patch" }), _jsx("div", { className: "panel__content__form__section__list", children: _jsx("div", { className: "panel__content__form__section__list__items", children: patchState.overiddingChanges.map((value) => (_jsxs("div", { className: "panel__content__form__section__list__item", children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value.entityPath }), _jsx("div", { className: "panel__content__form__section__list__item__actions", children: _jsx("button", { title: "Remove change", className: "panel__content__form__section__list__item__remove-btn", onClick: () => deleteChange(value), tabIndex: -1, children: _jsx(TimesIcon, {}) }) })] }, value.entityPath))) }) })] }))] }), _jsx(ModalFooter, { children: _jsx("button", { className: "btn btn--dark blocking-alert__action--standard", onClick: upload, disabled: !patchState.changes?.length || !patchState.isValidPatch, children: "Apply Patch" }) })] }) }));
47
+ return (_jsx(Dialog, { onClose: onClose, open: patchState.showModal, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "modal--scrollable patch-loader", children: [_jsx(ModalHeader, { title: "Patch Loader" }), _jsxs(ModalBody, { children: [_jsx(PanelLoadingIndicator, { isLoading: patchState.isLoadingChanges }), _jsx("div", { children: _jsx("input", { type: "file", name: "myFiles", onChange: onChange }) }), Boolean(patchState.overiddingChanges.length) && (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Overriding Changes" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "The following element changes will be overridden by the patch" }), _jsx("div", { className: "panel__content__form__section__list", children: _jsx("div", { className: "panel__content__form__section__list__items", children: patchState.overiddingChanges.map((value) => (_jsxs("div", { className: "panel__content__form__section__list__item", children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value.entityPath }), _jsx("div", { className: "panel__content__form__section__list__item__actions", children: _jsx("button", { title: "Remove change", className: "panel__content__form__section__list__item__remove-btn", onClick: () => deleteChange(value), tabIndex: -1, children: _jsx(TimesIcon, {}) }) })] }, value.entityPath))) }) })] }))] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { className: "blocking-alert__action--standard", text: "Apply Patch", onClick: upload, disabled: !patchState.changes?.length || !patchState.isValidPatch }) })] }) }));
47
48
  });
48
49
  export const LocalChanges = observer(() => {
49
50
  const editorStore = useEditorStore();