diff --git a/components/calendar/PreviewCard.vue b/components/calendar/PreviewCard.vue index 5c16733..281facd 100644 --- a/components/calendar/PreviewCard.vue +++ b/components/calendar/PreviewCard.vue @@ -1,5 +1,5 @@ diff --git a/components/calendar/dialog/Update.vue b/components/calendar/dialog/Update.vue new file mode 100644 index 0000000..4132e47 --- /dev/null +++ b/components/calendar/dialog/Update.vue @@ -0,0 +1,49 @@ + + + diff --git a/components/calendar/form/Create.vue b/components/calendar/form/Create.vue index f570051..fa7c625 100644 --- a/components/calendar/form/Create.vue +++ b/components/calendar/form/Create.vue @@ -2,7 +2,7 @@ import type { Calendar } from "~/models/CalendarConfig"; import { PhAlarm, PhCalendarDots, PhCircleNotch, PhWrench } from "@phosphor-icons/vue"; -const defaultSkeleton: Calendar = { name: "", today: { day: 1, month: 0, year: 0 }, months: [], events: [], state: "draft" } +const defaultSkeleton: Calendar = { name: "", today: { day: 1, month: 0, year: 0 }, months: [], events: [], state: "draft", color: "white" } const calendarSkeleton = ref({ ...defaultSkeleton }) onMounted(() => { @@ -79,25 +79,25 @@ function handleFormCancel() {
- {{ $t('entity.calendar.createDialog.tabs.general.title') }} + {{ $t('entity.calendar.actionDialog.tabs.general.title') }}
- {{ $t('entity.calendar.createDialog.tabs.months.title') }} + {{ $t('entity.calendar.actionDialog.tabs.months.title') }}
- {{ $t('entity.calendar.createDialog.tabs.today.title') }} + {{ $t('entity.calendar.actionDialog.tabs.today.title') }}
- + + +
+ + {{ $t('ui.contentState.label') }} + + + +
+ +
+ + {{ $t('ui.colors.label') }} + + + +
diff --git a/components/calendar/form/Update.vue b/components/calendar/form/Update.vue new file mode 100644 index 0000000..dc5d74e --- /dev/null +++ b/components/calendar/form/Update.vue @@ -0,0 +1,147 @@ + + + diff --git a/components/global/AddCard.vue b/components/global/AddCard.vue index 7b716c0..835b4aa 100644 --- a/components/global/AddCard.vue +++ b/components/global/AddCard.vue @@ -6,7 +6,7 @@ const emit = defineEmits(["on-click"])