mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 15:37:33 +08:00
upgrade third party dependencies
This commit is contained in:
@@ -1,24 +1,21 @@
|
||||
<template>
|
||||
<vue-date-picker ref="datetimepicker"
|
||||
inline auto-apply
|
||||
enable-seconds
|
||||
six-weeks="center"
|
||||
:class="`datetime-picker ${showAlternateDates && alternateCalendarType ? 'datetime-picker-with-alternate-date' : ''} ${datetimePickerClass}`"
|
||||
:config="noSwipeAndScroll ? { noSwipe: true } : undefined"
|
||||
:config="{ noSwipe: !!noSwipeAndScroll, monthChangeOnScroll: !noSwipeAndScroll }"
|
||||
:time-config="{ enableTimePicker: enableTimePicker, enableSeconds: true, is24: is24Hour }"
|
||||
:input-attrs="{ clearable: !!clearable }"
|
||||
:dark="isDarkMode"
|
||||
:vertical="vertical"
|
||||
:enable-time-picker="enableTimePicker"
|
||||
:disable-year-select="disableYearSelect"
|
||||
:clearable="!!clearable"
|
||||
:year-range="yearRange"
|
||||
:day-names="dayNames"
|
||||
:week-start="firstDayOfWeek"
|
||||
:year-first="isYearFirst"
|
||||
:is24="is24Hour"
|
||||
:min-date="minDate"
|
||||
:max-date="maxDate"
|
||||
:disabled-dates="disabledDates"
|
||||
:month-change-on-scroll="!noSwipeAndScroll"
|
||||
:range="isDateRange ? { partialRange: false } : undefined"
|
||||
:preset-dates="presetRanges"
|
||||
v-model="dateTime">
|
||||
@@ -48,7 +45,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, useTemplateRef } from 'vue';
|
||||
import VueDatePicker, { type MenuView } from '@vuepic/vue-datepicker';
|
||||
import { type MenuView, VueDatePicker } from '@vuepic/vue-datepicker';
|
||||
|
||||
import { useI18n } from '@/locales/helpers.ts';
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<vue-date-picker inline auto-apply
|
||||
month-picker
|
||||
:class="monthPickerClass"
|
||||
:input-attrs="{ clearable: !!clearable }"
|
||||
:dark="isDarkMode"
|
||||
:clearable="!!clearable"
|
||||
:year-range="yearRange"
|
||||
:year-first="isYearFirst"
|
||||
:range="isDateRange ? { partialRange: false } : undefined"
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import VueDatePicker from '@vuepic/vue-datepicker';
|
||||
import { VueDatePicker } from '@vuepic/vue-datepicker';
|
||||
|
||||
import { useI18n } from '@/locales/helpers.ts';
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<vue-date-picker inline auto-apply
|
||||
model-type="yyyy-MM-dd"
|
||||
:class="`transaction-calendar ${alternateDates ? 'transaction-calendar-with-alternate-date' : ''} ${calendarClass}`"
|
||||
:config="{ noSwipe: true }"
|
||||
:config="{ noSwipe: true, monthChangeOnArrows: false, monthChangeOnScroll: false }"
|
||||
:time-config="{ enableTimePicker: false }"
|
||||
:input-attrs="{ clearable: false }"
|
||||
:readonly="readonly"
|
||||
:dark="isDarkMode"
|
||||
:enable-time-picker="false"
|
||||
:clearable="false"
|
||||
:day-names="dayNames"
|
||||
:week-start="firstDayOfWeek"
|
||||
:min-date="minDate"
|
||||
@@ -14,9 +14,7 @@
|
||||
:disabled-dates="noTransactionInMonthDay"
|
||||
:prevent-min-max-navigation="true"
|
||||
:hide-offset-dates="true"
|
||||
:disable-month-year-select="true"
|
||||
:month-change-on-scroll="false"
|
||||
:month-change-on-arrows="false"
|
||||
:hide-month-year-select="true"
|
||||
v-model="dateTime">
|
||||
<template #day="{ day, date }">
|
||||
<div class="transaction-calendar-daily-amounts">
|
||||
|
||||
Reference in New Issue
Block a user