From c4181dc5f876f0251e9b4e6c488108586feb766d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sun, 10 Sep 2023 01:59:19 +0000 Subject: [PATCH] move stuff around --- ui/src/components/DoorMapEditor.vue | 6 +++--- ui/src/components/{calendar => }/editor/DoorChooser.vue | 2 +- ui/src/components/{calendar => }/editor/DoorPlacer.vue | 0 ui/src/components/{calendar => }/editor/PreviewDoor.vue | 2 +- ui/src/components/{calendar => }/editor/RectangleCanvas.vue | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) rename ui/src/components/{calendar => }/editor/DoorChooser.vue (95%) rename ui/src/components/{calendar => }/editor/DoorPlacer.vue (100%) rename ui/src/components/{calendar => }/editor/PreviewDoor.vue (98%) rename ui/src/components/{calendar => }/editor/RectangleCanvas.vue (97%) diff --git a/ui/src/components/DoorMapEditor.vue b/ui/src/components/DoorMapEditor.vue index 64ea966..6c7ff1b 100644 --- a/ui/src/components/DoorMapEditor.vue +++ b/ui/src/components/DoorMapEditor.vue @@ -55,12 +55,12 @@ div.panel-block.is-flex button { import { Door, DoorsSaved } from "@/lib/door"; import { Options, Vue } from "vue-class-component"; +import Calendar from "./Calendar.vue"; import BulmaBreadcrumbs, { Step } from "./bulma/Breadcrumbs.vue"; import BulmaButton from "./bulma/Button.vue"; import BulmaDrawer from "./bulma/Drawer.vue"; -import Calendar from "./Calendar.vue"; -import DoorChooser from "./calendar/editor/DoorChooser.vue"; -import DoorPlacer from "./calendar/editor/DoorPlacer.vue"; +import DoorChooser from "./editor/DoorChooser.vue"; +import DoorPlacer from "./editor/DoorPlacer.vue"; @Options({ components: { diff --git a/ui/src/components/calendar/editor/DoorChooser.vue b/ui/src/components/editor/DoorChooser.vue similarity index 95% rename from ui/src/components/calendar/editor/DoorChooser.vue rename to ui/src/components/editor/DoorChooser.vue index 3ac5028..80c6d52 100644 --- a/ui/src/components/calendar/editor/DoorChooser.vue +++ b/ui/src/components/editor/DoorChooser.vue @@ -27,7 +27,7 @@ import { Door } from "@/lib/door"; import { Options, Vue } from "vue-class-component"; -import ThouCanvas from "../ThouCanvas.vue"; +import ThouCanvas from "../calendar/ThouCanvas.vue"; import PreviewDoor from "./PreviewDoor.vue"; @Options({ diff --git a/ui/src/components/calendar/editor/DoorPlacer.vue b/ui/src/components/editor/DoorPlacer.vue similarity index 100% rename from ui/src/components/calendar/editor/DoorPlacer.vue rename to ui/src/components/editor/DoorPlacer.vue diff --git a/ui/src/components/calendar/editor/PreviewDoor.vue b/ui/src/components/editor/PreviewDoor.vue similarity index 98% rename from ui/src/components/calendar/editor/PreviewDoor.vue rename to ui/src/components/editor/PreviewDoor.vue index 0e06163..74a7e1e 100644 --- a/ui/src/components/calendar/editor/PreviewDoor.vue +++ b/ui/src/components/editor/PreviewDoor.vue @@ -33,7 +33,7 @@ import { Door } from "@/lib/door"; import { Options, Vue } from "vue-class-component"; -import SVGRect from "../SVGRect.vue"; +import SVGRect from "../calendar/SVGRect.vue"; @Options({ components: { diff --git a/ui/src/components/calendar/editor/RectangleCanvas.vue b/ui/src/components/editor/RectangleCanvas.vue similarity index 97% rename from ui/src/components/calendar/editor/RectangleCanvas.vue rename to ui/src/components/editor/RectangleCanvas.vue index 3e55538..220a30f 100644 --- a/ui/src/components/calendar/editor/RectangleCanvas.vue +++ b/ui/src/components/editor/RectangleCanvas.vue @@ -22,8 +22,8 @@ import { Rectangle } from "@/lib/rectangle"; import { Vector2D } from "@/lib/vector2d"; import { Options, Vue } from "vue-class-component"; -import SVGRect from "../SVGRect.vue"; -import ThouCanvas from "../ThouCanvas.vue"; +import SVGRect from "../calendar/SVGRect.vue"; +import ThouCanvas from "../calendar/ThouCanvas.vue"; enum CanvasState { Idle,