From 51eba2ea77c327e276e54862d328f2363f2264db Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 16 Apr 2024 09:28:48 -0300 Subject: [PATCH] Add calendar wrapper --- src/components/ui/QCalendarMonthWrapper.vue | 66 +++++++++++++++++++ .../Worker/Card/WorkerTimeControlCalendar.vue | 61 +++++++++-------- 2 files changed, 98 insertions(+), 29 deletions(-) create mode 100644 src/components/ui/QCalendarMonthWrapper.vue diff --git a/src/components/ui/QCalendarMonthWrapper.vue b/src/components/ui/QCalendarMonthWrapper.vue new file mode 100644 index 000000000..e87d9c4c9 --- /dev/null +++ b/src/components/ui/QCalendarMonthWrapper.vue @@ -0,0 +1,66 @@ + + + + + diff --git a/src/pages/Worker/Card/WorkerTimeControlCalendar.vue b/src/pages/Worker/Card/WorkerTimeControlCalendar.vue index 4b4edb90e..210bb2619 100644 --- a/src/pages/Worker/Card/WorkerTimeControlCalendar.vue +++ b/src/pages/Worker/Card/WorkerTimeControlCalendar.vue @@ -3,6 +3,7 @@ import { ref, computed, watch } from 'vue'; import { useI18n } from 'vue-i18n'; import { QCalendarMonth } from '@quasar/quasar-ui-qcalendar/src/index.js'; +import QCalendarMonthWrapper from 'src/components/ui/QCalendarMonthWrapper.vue'; const $props = defineProps({ modelValue: { @@ -121,29 +122,33 @@ const paintWorkWeeks = async () => {