diff --git a/frontend/src/components/codeeditor.svelte b/frontend/src/components/editors/codeeditor.svelte similarity index 100% rename from frontend/src/components/codeeditor.svelte rename to frontend/src/components/editors/codeeditor.svelte diff --git a/frontend/src/components/datepicker.svelte b/frontend/src/components/editors/datepicker.svelte similarity index 97% rename from frontend/src/components/datepicker.svelte rename to frontend/src/components/editors/datepicker.svelte index c4659d8..12f30e0 100644 --- a/frontend/src/components/datepicker.svelte +++ b/frontend/src/components/editors/datepicker.svelte @@ -2,9 +2,9 @@ import { daysAbbr, months } from '$lib/constants'; import { addDays, getWeek, isDate, isSameDay, startOfWeek } from 'date-fns'; import { onMount } from 'svelte'; - import Clock from './clock.svelte'; - import Icon from './icon.svelte'; - import Modal from './modal.svelte'; + import Clock from '../clock.svelte'; + import Icon from '../icon.svelte'; + import Modal from '../modal.svelte'; export let value; export let show = false; diff --git a/frontend/src/components/directorychooser.svelte b/frontend/src/components/editors/directorychooser.svelte similarity index 100% rename from frontend/src/components/directorychooser.svelte rename to frontend/src/components/editors/directorychooser.svelte diff --git a/frontend/src/components/forminput.svelte b/frontend/src/components/editors/forminput.svelte similarity index 99% rename from frontend/src/components/forminput.svelte rename to frontend/src/components/editors/forminput.svelte index 9d2498a..6e0d9f1 100644 --- a/frontend/src/components/forminput.svelte +++ b/frontend/src/components/editors/forminput.svelte @@ -4,7 +4,7 @@ import { ObjectId } from 'bson'; import { onMount } from 'svelte'; import Datepicker from './datepicker.svelte'; - import Icon from './icon.svelte'; + import Icon from '../icon.svelte'; export let column = {}; export let value = undefined; diff --git a/frontend/src/components/objecteditor.svelte b/frontend/src/components/editors/objecteditor.svelte similarity index 95% rename from frontend/src/components/objecteditor.svelte rename to frontend/src/components/editors/objecteditor.svelte index 4a6b4db..4b446ca 100644 --- a/frontend/src/components/objecteditor.svelte +++ b/frontend/src/components/editors/objecteditor.svelte @@ -22,7 +22,8 @@ }); - import { onDestroy } from 'svelte'; - import BlankState from './blankstate.svelte'; + import BlankState from '../blankstate.svelte'; import GridItems from './grid-items.svelte'; - import Icon from './icon.svelte'; + import Icon from '../icon.svelte'; export let columns = []; export let items = []; diff --git a/frontend/src/components/objectgrid.svelte b/frontend/src/components/grid/objectgrid.svelte similarity index 100% rename from frontend/src/components/objectgrid.svelte rename to frontend/src/components/grid/objectgrid.svelte diff --git a/frontend/src/components/objectviewer.svelte b/frontend/src/components/objectviewer.svelte index 41b62fa..4063111 100644 --- a/frontend/src/components/objectviewer.svelte +++ b/frontend/src/components/objectviewer.svelte @@ -4,7 +4,7 @@ import { createEventDispatcher, onDestroy } from 'svelte'; import Icon from './icon.svelte'; import Modal from './modal.svelte'; - import ObjectEditor from './objecteditor.svelte'; + import ObjectEditor from './editors/objecteditor.svelte'; export let data; export let readonly = false; diff --git a/frontend/src/dialogs/settings/index.svelte b/frontend/src/dialogs/settings/index.svelte index c203330..a1a148d 100644 --- a/frontend/src/dialogs/settings/index.svelte +++ b/frontend/src/dialogs/settings/index.svelte @@ -1,5 +1,5 @@