upgrade third party dependencies

This commit is contained in:
MaysWind
2025-11-29 21:46:43 +08:00
parent 516e3a5613
commit 608411feab
9 changed files with 900 additions and 956 deletions

1795
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -20,8 +20,8 @@
}, },
"dependencies": { "dependencies": {
"@mdi/js": "^7.4.47", "@mdi/js": "^7.4.47",
"@vuepic/vue-datepicker": "^11.0.3", "@vuepic/vue-datepicker": "^12.0.5",
"axios": "^1.12.2", "axios": "^1.13.2",
"cbor-js": "^0.1.0", "cbor-js": "^0.1.0",
"clipboard": "^2.0.11", "clipboard": "^2.0.11",
"crypto-js": "^4.2.0", "crypto-js": "^4.2.0",
@@ -35,18 +35,18 @@
"line-awesome": "^1.3.0", "line-awesome": "^1.3.0",
"moment": "^2.30.1", "moment": "^2.30.1",
"moment-timezone": "^0.6.0", "moment-timezone": "^0.6.0",
"pinia": "^3.0.3", "pinia": "^3.0.4",
"register-service-worker": "^1.7.2", "register-service-worker": "^1.7.2",
"skeleton-elements": "^4.0.1", "skeleton-elements": "^4.0.1",
"swiper": "^10.2.0", "swiper": "^10.2.0",
"ua-parser-js": "^1.0.39", "ua-parser-js": "^1.0.39",
"vue": "^3.5.22", "vue": "^3.5.25",
"vue-echarts": "^8.0.1", "vue-echarts": "^8.0.1",
"vue-i18n": "^11.1.12", "vue-i18n": "^11.2.2",
"vue-router": "^4.6.3", "vue-router": "^4.6.3",
"vue3-perfect-scrollbar": "^2.0.0", "vue3-perfect-scrollbar": "^2.0.0",
"vuedraggable": "^4.1.0", "vuedraggable": "^4.1.0",
"vuetify": "^3.10.7" "vuetify": "^3.11.0"
}, },
"devDependencies": { "devDependencies": {
"@jest/globals": "^30.2.0", "@jest/globals": "^30.2.0",

View File

@@ -1,24 +1,21 @@
<template> <template>
<vue-date-picker ref="datetimepicker" <vue-date-picker ref="datetimepicker"
inline auto-apply inline auto-apply
enable-seconds
six-weeks="center" six-weeks="center"
:class="`datetime-picker ${showAlternateDates && alternateCalendarType ? 'datetime-picker-with-alternate-date' : ''} ${datetimePickerClass}`" :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" :dark="isDarkMode"
:vertical="vertical" :vertical="vertical"
:enable-time-picker="enableTimePicker"
:disable-year-select="disableYearSelect" :disable-year-select="disableYearSelect"
:clearable="!!clearable"
:year-range="yearRange" :year-range="yearRange"
:day-names="dayNames" :day-names="dayNames"
:week-start="firstDayOfWeek" :week-start="firstDayOfWeek"
:year-first="isYearFirst" :year-first="isYearFirst"
:is24="is24Hour"
:min-date="minDate" :min-date="minDate"
:max-date="maxDate" :max-date="maxDate"
:disabled-dates="disabledDates" :disabled-dates="disabledDates"
:month-change-on-scroll="!noSwipeAndScroll"
:range="isDateRange ? { partialRange: false } : undefined" :range="isDateRange ? { partialRange: false } : undefined"
:preset-dates="presetRanges" :preset-dates="presetRanges"
v-model="dateTime"> v-model="dateTime">
@@ -48,7 +45,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { computed, useTemplateRef } from 'vue'; 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'; import { useI18n } from '@/locales/helpers.ts';

View File

@@ -2,8 +2,8 @@
<vue-date-picker inline auto-apply <vue-date-picker inline auto-apply
month-picker month-picker
:class="monthPickerClass" :class="monthPickerClass"
:input-attrs="{ clearable: !!clearable }"
:dark="isDarkMode" :dark="isDarkMode"
:clearable="!!clearable"
:year-range="yearRange" :year-range="yearRange"
:year-first="isYearFirst" :year-first="isYearFirst"
:range="isDateRange ? { partialRange: false } : undefined" :range="isDateRange ? { partialRange: false } : undefined"
@@ -25,7 +25,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { computed } from 'vue'; import { computed } from 'vue';
import VueDatePicker from '@vuepic/vue-datepicker'; import { VueDatePicker } from '@vuepic/vue-datepicker';
import { useI18n } from '@/locales/helpers.ts'; import { useI18n } from '@/locales/helpers.ts';

View File

@@ -2,11 +2,11 @@
<vue-date-picker inline auto-apply <vue-date-picker inline auto-apply
model-type="yyyy-MM-dd" model-type="yyyy-MM-dd"
:class="`transaction-calendar ${alternateDates ? 'transaction-calendar-with-alternate-date' : ''} ${calendarClass}`" :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" :readonly="readonly"
:dark="isDarkMode" :dark="isDarkMode"
:enable-time-picker="false"
:clearable="false"
:day-names="dayNames" :day-names="dayNames"
:week-start="firstDayOfWeek" :week-start="firstDayOfWeek"
:min-date="minDate" :min-date="minDate"
@@ -14,9 +14,7 @@
:disabled-dates="noTransactionInMonthDay" :disabled-dates="noTransactionInMonthDay"
:prevent-min-max-navigation="true" :prevent-min-max-navigation="true"
:hide-offset-dates="true" :hide-offset-dates="true"
:disable-month-year-select="true" :hide-month-year-select="true"
:month-change-on-scroll="false"
:month-change-on-arrows="false"
v-model="dateTime"> v-model="dateTime">
<template #day="{ day, date }"> <template #day="{ day, date }">
<div class="transaction-calendar-daily-amounts"> <div class="transaction-calendar-daily-amounts">

View File

@@ -64,7 +64,7 @@ import 'line-awesome/dist/line-awesome/css/line-awesome.css';
import { PerfectScrollbar } from 'vue3-perfect-scrollbar'; import { PerfectScrollbar } from 'vue3-perfect-scrollbar';
import VueDatePicker from '@vuepic/vue-datepicker'; import { VueDatePicker } from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css'; import '@vuepic/vue-datepicker/dist/main.css';
import draggable from 'vuedraggable'; import draggable from 'vuedraggable';

View File

@@ -402,7 +402,7 @@ class MomentDateTime implements DateTime {
} }
} }
export function getAllowedYearRange(): number[] { export function getAllowedYearRange(): [number, number] {
return [2000, moment().year() + 1]; return [2000, moment().year() + 1];
} }

View File

@@ -42,7 +42,7 @@ import Framework7Vue, { registerComponents } from 'framework7-vue/bundle';
import 'framework7-icons'; import 'framework7-icons';
import 'line-awesome/dist/line-awesome/css/line-awesome.css'; import 'line-awesome/dist/line-awesome/css/line-awesome.css';
import VueDatePicker from '@vuepic/vue-datepicker'; import { VueDatePicker } from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css'; import '@vuepic/vue-datepicker/dist/main.css';
import { getI18nOptions } from '@/locales/helpers.ts'; import { getI18nOptions } from '@/locales/helpers.ts';

View File

@@ -173,13 +173,13 @@
"name": "vuejs/core", "name": "vuejs/core",
"copyright": "Copyright (c) 2018-present, Yuxi (Evan) You and Vue contributors", "copyright": "Copyright (c) 2018-present, Yuxi (Evan) You and Vue contributors",
"url": "https://github.com/vuejs/core", "url": "https://github.com/vuejs/core",
"licenseUrl": "https://github.com/vuejs/core/blob/v3.5.22/LICENSE" "licenseUrl": "https://github.com/vuejs/core/blob/v3.5.25/LICENSE"
}, },
{ {
"name": "Pinia", "name": "Pinia",
"copyright": "Copyright (c) 2019-present Eduardo San Martin Morote", "copyright": "Copyright (c) 2019-present Eduardo San Martin Morote",
"url": "https://github.com/vuejs/pinia", "url": "https://github.com/vuejs/pinia",
"licenseUrl": "https://github.com/vuejs/pinia/blob/v3.0.3/LICENSE" "licenseUrl": "https://github.com/vuejs/pinia/blob/v3.0.4/LICENSE"
}, },
{ {
"name": "vue-router", "name": "vue-router",
@@ -191,13 +191,13 @@
"name": "vue-i18n", "name": "vue-i18n",
"copyright": "Copyright (c) 2016 kazuya kawaguchi", "copyright": "Copyright (c) 2016 kazuya kawaguchi",
"url": "https://github.com/intlify/vue-i18n-next", "url": "https://github.com/intlify/vue-i18n-next",
"licenseUrl": "https://github.com/intlify/vue-i18n-next/blob/v11.1.12/LICENSE" "licenseUrl": "https://github.com/intlify/vue-i18n-next/blob/v11.2.2/LICENSE"
}, },
{ {
"name": "vuetify", "name": "vuetify",
"copyright": "Copyright (c) 2016-now Vuetify, LLC", "copyright": "Copyright (c) 2016-now Vuetify, LLC",
"url": "https://vuetifyjs.com", "url": "https://vuetifyjs.com",
"licenseUrl": "https://github.com/vuetifyjs/vuetify/blob/v3.10.7/packages/vuetify/LICENSE.md" "licenseUrl": "https://github.com/vuetifyjs/vuetify/blob/v3.11.0/packages/vuetify/LICENSE.md"
}, },
{ {
"name": "register-service-worker", "name": "register-service-worker",
@@ -209,13 +209,13 @@
"name": "Framework7", "name": "Framework7",
"copyright": "Copyright (c) 2014 Vladimir Kharlampidi", "copyright": "Copyright (c) 2014 Vladimir Kharlampidi",
"url": "https://framework7.io/", "url": "https://framework7.io/",
"licenseUrl": "https://github.com/framework7io/framework7/blob/v8.3.4/LICENSE" "licenseUrl": "https://github.com/framework7io/framework7/blob/v9.0.1/LICENSE"
}, },
{ {
"name": "Framework7-vue", "name": "Framework7-vue",
"copyright": "Copyright (c) 2014 Vladimir Kharlampidi", "copyright": "Copyright (c) 2014 Vladimir Kharlampidi",
"url": "https://framework7.io/vue/", "url": "https://framework7.io/vue/",
"licenseUrl": "https://github.com/framework7io/framework7/blob/v8.3.4/LICENSE" "licenseUrl": "https://github.com/framework7io/framework7/blob/v9.0.1/LICENSE"
}, },
{ {
"name": "Framework7-icons", "name": "Framework7-icons",
@@ -233,7 +233,7 @@
"name": "Swiper", "name": "Swiper",
"copyright": "Copyright (c) 2019 Vladimir Kharlampidi", "copyright": "Copyright (c) 2019 Vladimir Kharlampidi",
"url": "https://swiperjs.com", "url": "https://swiperjs.com",
"licenseUrl": "https://github.com/nolimits4web/swiper/blob/v10.2.0/LICENSE" "licenseUrl": "https://github.com/nolimits4web/swiper/blob/v12.0.3/LICENSE"
}, },
{ {
"name": "Skeleton Elements", "name": "Skeleton Elements",
@@ -263,13 +263,13 @@
"name": "@vuepic/vue-datepicker", "name": "@vuepic/vue-datepicker",
"copyright": "Copyright (c) 2021-present Vuepic", "copyright": "Copyright (c) 2021-present Vuepic",
"url": "https://vue3datepicker.com/", "url": "https://vue3datepicker.com/",
"licenseUrl": "https://github.com/Vuepic/vue-datepicker/blob/v11.0.3/LICENSE" "licenseUrl": "https://github.com/Vuepic/vue-datepicker/blob/v12.0.5/LICENSE"
}, },
{ {
"name": "axios", "name": "axios",
"copyright": "Copyright (c) 2014-present Matt Zabriskie & Collaborators", "copyright": "Copyright (c) 2014-present Matt Zabriskie & Collaborators",
"url": "https://axios-http.com", "url": "https://axios-http.com",
"licenseUrl": "https://github.com/axios/axios/blob/v1.12.2/LICENSE" "licenseUrl": "https://github.com/axios/axios/blob/v1.13.2/LICENSE"
}, },
{ {
"name": "Moment.js", "name": "Moment.js",