From fd1a66ba25e4789af2411421e3300de82e39761f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 25 Dec 2025 19:56:25 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20ui:=20overall=20typescript=20com?= =?UTF-8?q?pliance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - reduce use of `as` in favor of Vue's `UnwrapRef` - add `wait_for` helper function ⚠️ known bug: PreviewDoor (DoorChooser) onClick not working --- ui/src/components/Calendar.vue | 6 ++--- ui/src/components/LoginModal.vue | 10 +++++--- ui/src/components/admin/DoorMapEditor.vue | 6 ++--- ui/src/components/calendar/CalendarDoor.vue | 5 ++-- ui/src/components/calendar/SVGRect.vue | 6 ++--- ui/src/components/editor/DoorCanvas.vue | 11 +++++---- ui/src/components/editor/DoorChooser.vue | 4 +-- ui/src/components/editor/DoorPlacer.vue | 4 +-- ui/src/components/editor/PreviewDoor.vue | 24 ++++++++---------- ui/src/lib/helpers.ts | 19 +++++++++++++++ ui/src/lib/rects/door.ts | 27 ++++++++++----------- ui/src/lib/rects/rectangle.ts | 3 --- 12 files changed, 70 insertions(+), 55 deletions(-) diff --git a/ui/src/components/Calendar.vue b/ui/src/components/Calendar.vue index c5e93af..2a1a441 100644 --- a/ui/src/components/Calendar.vue +++ b/ui/src/components/Calendar.vue @@ -49,9 +49,9 @@ diff --git a/ui/src/components/editor/DoorPlacer.vue b/ui/src/components/editor/DoorPlacer.vue index bc88680..9836491 100644 --- a/ui/src/components/editor/DoorPlacer.vue +++ b/ui/src/components/editor/DoorPlacer.vue @@ -16,12 +16,12 @@ diff --git a/ui/src/components/editor/PreviewDoor.vue b/ui/src/components/editor/PreviewDoor.vue index c29c8a3..5dcbfd8 100644 --- a/ui/src/components/editor/PreviewDoor.vue +++ b/ui/src/components/editor/PreviewDoor.vue @@ -24,11 +24,12 @@