From e24fa0b76f6acc080101ae4cb6e2a13da8634454 Mon Sep 17 00:00:00 2001 From: Bakalov Vitaliy Date: Tue, 27 Aug 2024 22:04:46 +0700 Subject: [PATCH] Added the ability to switch years --- .../DatePicker/_subs/YearMonthSelector.vue | 128 +++++++++++++----- src/components/arrow_button.vue | 60 ++++++++ 2 files changed, 156 insertions(+), 32 deletions(-) create mode 100644 src/components/arrow_button.vue diff --git a/src/VueCtkDateTimePicker/_subs/PickersContainer/_subs/DatePicker/_subs/YearMonthSelector.vue b/src/VueCtkDateTimePicker/_subs/PickersContainer/_subs/DatePicker/_subs/YearMonthSelector.vue index 97743687..7458d0d1 100644 --- a/src/VueCtkDateTimePicker/_subs/PickersContainer/_subs/DatePicker/_subs/YearMonthSelector.vue +++ b/src/VueCtkDateTimePicker/_subs/PickersContainer/_subs/DatePicker/_subs/YearMonthSelector.vue @@ -3,49 +3,61 @@ class="year-month-selector flex flex-direction-column" :class="{'dark': dark}" > -
+
+
+ + +
+
-
- - {{ m }} - - - {{ year }} - -
+ +
+ + {{ m }} + + + {{ year }} + +
+
+ +