From 7b2a688b6e2e22129183b66524f7fceabfec2445 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 9 Jun 2023 12:07:23 +0200 Subject: [PATCH] feat(datepicker): separate datepicker popup and datepicker logic in different components --- src/components/input/datepicker.vue | 174 +---------------- src/components/input/datepickerInline.vue | 223 ++++++++++++++++++++++ 2 files changed, 229 insertions(+), 168 deletions(-) create mode 100644 src/components/input/datepickerInline.vue diff --git a/src/components/input/datepicker.vue b/src/components/input/datepicker.vue index 1e3839307..f36f6480e 100644 --- a/src/components/input/datepicker.vue +++ b/src/components/input/datepicker.vue @@ -7,72 +7,9 @@
- - - - {{ $t('input.datepicker.today') }} - {{ getWeekdayFromStringInterval('today') }} - - - - - - {{ $t('input.datepicker.tomorrow') }} - {{ getWeekdayFromStringInterval('tomorrow') }} - - - - - - {{ $t('input.datepicker.nextMonday') }} - {{ getWeekdayFromStringInterval('nextMonday') }} - - - - - - {{ $t('input.datepicker.thisWeekend') }} - {{ getWeekdayFromStringInterval('thisWeekend') }} - - - - - - {{ $t('input.datepicker.laterThisWeek') }} - {{ getWeekdayFromStringInterval('laterThisWeek') }} - - - - - - {{ $t('input.datepicker.nextWeek') }} - {{ getWeekdayFromStringInterval('nextWeek') }} - - - -