From 3357295d986267796c6eb3d596653e803f51e092 Mon Sep 17 00:00:00 2001 From: "SPRINX0\\prochazka" Date: Tue, 17 Sep 2024 15:19:45 +0200 Subject: [PATCH] removed ImportExportModal --- .../src/appobj/ArchiveFileAppObject.svelte | 1 - .../web/src/appobj/DatabaseAppObject.svelte | 1 - .../src/appobj/DatabaseObjectAppObject.svelte | 1 - packages/web/src/commands/stdCommands.ts | 1 - .../datagrid/CollectionDataGridCore.svelte | 2 - .../web/src/datagrid/JslDataGridCore.svelte | 4 - .../web/src/datagrid/SqlDataGridCore.svelte | 3 - .../web/src/modals/ImportExportModal.svelte | 203 ------------------ packages/web/src/tabs/ShellTab.svelte | 2 - packages/web/src/utility/openElectronFile.ts | 1 - packages/web/src/utility/uploadFiles.ts | 1 - 11 files changed, 220 deletions(-) delete mode 100644 packages/web/src/modals/ImportExportModal.svelte diff --git a/packages/web/src/appobj/ArchiveFileAppObject.svelte b/packages/web/src/appobj/ArchiveFileAppObject.svelte index 71b84c8e..97874510 100644 --- a/packages/web/src/appobj/ArchiveFileAppObject.svelte +++ b/packages/web/src/appobj/ArchiveFileAppObject.svelte @@ -65,7 +65,6 @@ - - - - - Import/Export - {#if busy} - - {/if} - - - -
- - - {#if busy} - - {/if} -
- - - - - - - - - - - - - - - - - - -
- - -
- {#if busy} - Stop - {:else} - Run - {/if} - Generate script - - Close -
-
-
-
- - diff --git a/packages/web/src/tabs/ShellTab.svelte b/packages/web/src/tabs/ShellTab.svelte index 1e865a47..e8bba0bc 100644 --- a/packages/web/src/tabs/ShellTab.svelte +++ b/packages/web/src/tabs/ShellTab.svelte @@ -47,8 +47,6 @@ import { registerFileCommands } from '../commands/stdCommands'; import VerticalSplitter from '../elements/VerticalSplitter.svelte'; - import ImportExportModal from '../modals/ImportExportModal.svelte'; - import { showModal } from '../modals/modalTools'; import AceEditor from '../query/AceEditor.svelte'; import RunnerOutputPane from '../query/RunnerOutputPane.svelte'; import useEditorData from '../query/useEditorData'; diff --git a/packages/web/src/utility/openElectronFile.ts b/packages/web/src/utility/openElectronFile.ts index a07782e7..c4e0b09d 100644 --- a/packages/web/src/utility/openElectronFile.ts +++ b/packages/web/src/utility/openElectronFile.ts @@ -1,7 +1,6 @@ import { showModal } from '../modals/modalTools'; import { get } from 'svelte/store'; import newQuery from '../query/newQuery'; -import ImportExportModal from '../modals/ImportExportModal.svelte'; import getElectron from './getElectron'; import { currentDatabase, extensions, getCurrentDatabase } from '../stores'; import { getUploadListener } from './uploadFiles'; diff --git a/packages/web/src/utility/uploadFiles.ts b/packages/web/src/utility/uploadFiles.ts index 7fe245df..ddbcfa50 100644 --- a/packages/web/src/utility/uploadFiles.ts +++ b/packages/web/src/utility/uploadFiles.ts @@ -5,7 +5,6 @@ import getElectron from './getElectron'; import resolveApi, { resolveApiHeaders } from './resolveApi'; import { findFileFormat } from '../plugins/fileformats'; import { showModal } from '../modals/modalTools'; -import ImportExportModal from '../modals/ImportExportModal.svelte'; import ErrorMessageModal from '../modals/ErrorMessageModal.svelte'; import openNewTab from './openNewTab'; import { openImportExportTab } from './importExportTools';