{{ props.day.toFormat('ccc').toUpperCase() }}
-
{{ props.day.day }}
+
{{ props.day.day }}
+
{{ props.day.day }}
@@ -109,7 +120,8 @@ function dragDrop(_: DragEvent) {
:style="{ height: `${height}px`, top: `${top}px` }">
()
const visible = ref(true)
@@ -42,10 +44,31 @@ function dragStart(e: DragEvent) {
-
-
{{ event.event.from.toFormat('HH:mm') }} - {{ event.event.to.toFormat('HH:mm') }}
-
{{ event.event.title }}
-
+
+
+
{{ event.event.from.toFormat('HH:mm') }} - {{ event.event.to.toFormat('HH:mm') }}
+
{{ event.event.title }}
+
+
+
+
+
+
{{ event.event.title }}
+
+
+
+
+ {{ event.event.from.toFormat('HH:mm') }} - {{ event.event.to.toFormat('HH:mm') }}
+
+ {{ event.event.description }}
+
+
+
+
+
diff --git a/web/package.json b/web/package.json
index 6e42479..ab2d123 100644
--- a/web/package.json
+++ b/web/package.json
@@ -26,6 +26,7 @@
"nuxt-app": "file:",
"typescript": "^5.6.3",
"vue": "^3.5.13",
- "vue-router": "^4.5.1"
+ "vue-router": "^4.5.1",
+ "zod": "^3.25.64"
}
}
diff --git a/web/utils/event.ts b/web/utils/event.ts
index 7d407c3..6c73275 100644
--- a/web/utils/event.ts
+++ b/web/utils/event.ts
@@ -29,6 +29,15 @@ export class Event {
}
}
+ updateWithSimple(simple: SimpleEvent): Event {
+ this.title = simple.title
+ this.from = simple.from
+ this.to = simple.to
+ this.description = simple.description
+
+ return this
+ }
+
static fromSimple(event: SimpleEvent): Event {
return new Event(event.title, event.from, event.to, event.description)
}