From 07458fbe4405924a091d15a42f2eccc0e4431876 Mon Sep 17 00:00:00 2001 From: Cloyd Lau <31238760+cloydlau@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:23:03 +0800 Subject: [PATCH] release: v1.0.0-beta.0 --- demo/utils/useAdmateAdapter.js | 6 +- demo/vue2.6/Page.vue | 83 +++++--------- demo/vue2.6/index.ts | 6 +- demo/vue2.7/Page.vue | 83 +++++--------- demo/vue2.7/index.ts | 5 +- demo/vue3/Page.vue | 75 ++++--------- demo/vue3/index.ts | 4 + package.json | 6 +- pnpm-lock.yaml | 192 ++++++++++++++++----------------- vite.config.ts | 2 +- 10 files changed, 185 insertions(+), 277 deletions(-) diff --git a/demo/utils/useAdmateAdapter.js b/demo/utils/useAdmateAdapter.js index 510b71f..67c4972 100644 --- a/demo/utils/useAdmateAdapter.js +++ b/demo/utils/useAdmateAdapter.js @@ -56,7 +56,7 @@ export default ( // 可访问 this(组件实例) // this 判空原因:只有表单没有列表时,openForm 会在 setup 时执行 getElFormRefOfFormData = function () { - return this?.$refs.formRef + return this?.$refs.faFormDialogRef.$refs.elFormRef }, // 校验详情表单 @@ -104,7 +104,7 @@ export default ( // 列表筛选项的 ref const listFilterRef = ref() // 详情的 ref - const formRef = ref() + const faFormDialogRef = ref() // 初始化 admate const { list, form } = useAdmate( @@ -376,7 +376,7 @@ export default ( // 表单 form, // 详情的 ref - formRef, + faFormDialogRef, // 表单标题 formTitle: computed(() => formTitleMap[form.status]), // 表单标题字典 diff --git a/demo/vue2.6/Page.vue b/demo/vue2.6/Page.vue index 4bf3892..e9a3e55 100644 --- a/demo/vue2.6/Page.vue +++ b/demo/vue2.6/Page.vue @@ -6,73 +6,53 @@ const { list, listFilterRef, queryList, + resetList, form, - formRef, + faFormDialogRef, formTitle, } = useAdmateAdapter({ axiosConfig: { urlPrefix, }, - list: { - filter: { - name: '123', - }, - }, -}, { - getElFormRefOfFormData() { - return formRef.value - }, }) diff --git a/demo/vue2.6/index.ts b/demo/vue2.6/index.ts index af2b29c..162e036 100644 --- a/demo/vue2.6/index.ts +++ b/demo/vue2.6/index.ts @@ -4,15 +4,15 @@ import 'uno.css' import 'element-ui/lib/theme-chalk/index.css' import ElementUI from 'element-ui' - import { FaFormDialog, FaSelect } from 'faim' +import FaimLocale from 'faim/dist/locale/zh-cn.mjs' import App from './index.vue' import router from './router' Vue.use(ElementUI) -Vue.use(FaFormDialog) -Vue.use(FaSelect) +Vue.use(FaFormDialog, { locale: FaimLocale.FaFormDialog }) +Vue.use(FaSelect, { locale: FaimLocale.FaSelect }) new Vue({ render: h => h(App), diff --git a/demo/vue2.7/Page.vue b/demo/vue2.7/Page.vue index 4bf3892..e9a3e55 100644 --- a/demo/vue2.7/Page.vue +++ b/demo/vue2.7/Page.vue @@ -6,73 +6,53 @@ const { list, listFilterRef, queryList, + resetList, form, - formRef, + faFormDialogRef, formTitle, } = useAdmateAdapter({ axiosConfig: { urlPrefix, }, - list: { - filter: { - name: '123', - }, - }, -}, { - getElFormRefOfFormData() { - return formRef.value - }, }) diff --git a/demo/vue2.7/index.ts b/demo/vue2.7/index.ts index e366c38..162e036 100644 --- a/demo/vue2.7/index.ts +++ b/demo/vue2.7/index.ts @@ -5,13 +5,14 @@ import 'uno.css' import 'element-ui/lib/theme-chalk/index.css' import ElementUI from 'element-ui' import { FaFormDialog, FaSelect } from 'faim' +import FaimLocale from 'faim/dist/locale/zh-cn.mjs' import App from './index.vue' import router from './router' Vue.use(ElementUI) -Vue.use(FaFormDialog) -Vue.use(FaSelect) +Vue.use(FaFormDialog, { locale: FaimLocale.FaFormDialog }) +Vue.use(FaSelect, { locale: FaimLocale.FaSelect }) new Vue({ render: h => h(App), diff --git a/demo/vue3/Page.vue b/demo/vue3/Page.vue index 518fd7a..6be9f0e 100644 --- a/demo/vue3/Page.vue +++ b/demo/vue3/Page.vue @@ -6,17 +6,14 @@ const { list, listFilterRef, queryList, + resetList, form, - formRef, + faFormDialogRef, formTitle, } = useAdmateAdapter({ axiosConfig: { urlPrefix, }, -}, { - getElFormRefOfFormData() { - return formRef.value - }, }) @@ -27,28 +24,19 @@ const { :model="list.filter" inline > - + - - - + placeholder="状态" + :options="['停用', '启用']" + /> 查询 - + 重置 @@ -119,37 +103,22 @@ const { - - - - - - - - + + + diff --git a/demo/vue3/index.ts b/demo/vue3/index.ts index eca4963..e374343 100644 --- a/demo/vue3/index.ts +++ b/demo/vue3/index.ts @@ -4,6 +4,8 @@ import 'uno.css' import 'element-plus/dist/index.css' import ElementPlus from 'element-plus' +import { FaFormDialog, FaSelect } from 'faim' +import FaimLocale from 'faim/dist/locale/zh-cn.mjs' import App from './index.vue' import router from './router/vue-router' @@ -11,6 +13,8 @@ import router from './router/vue-router' const app = createApp(App) .use(router) .use(ElementPlus) + .use(FaFormDialog, { locale: FaimLocale.FaFormDialog }) + .use(FaSelect, { locale: FaimLocale.FaSelect }) app.config.globalProperties.console = console diff --git a/package.json b/package.json index 1ab88f1..cc4a6c8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "admate", "PascalCasedName": "Admate", - "version": "1.0.0-alpha.2", + "version": "1.0.0-beta.0", "private": false, "description": "Admin CRUD frontend meta framework for Vue 2.6/2.7/3, extremely concise without losing flexibility.", "author": { @@ -78,12 +78,12 @@ "@commitlint/config-conventional": "^19.2.2", "@element-plus/icons-vue": "latest", "@types/lodash-es": "^4.17.12", - "@types/node": "^22.2.0", + "@types/node": "^22.3.0", "@vitejs/plugin-vue": "latest", "@vue/compiler-sfc": "latest", "@vue/test-utils": "latest", "admate": "workspace:*", - "axios": "^1.7.3", + "axios": "^1.7.4", "case-police": "^0.6.1", "cross-spawn": "^7.0.3", "del": "^7.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c029d10..b1304db 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,7 +20,7 @@ importers: version: 2.25.1(@typescript-eslint/utils@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.4.37)(eslint-plugin-format@0.1.2(eslint@9.9.0(jiti@1.21.6)))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) '@commitlint/cli': specifier: ^19.4.0 - version: 19.4.0(@types/node@22.2.0)(typescript@5.5.4) + version: 19.4.0(@types/node@22.3.0)(typescript@5.5.4) '@commitlint/config-conventional': specifier: ^19.2.2 version: 19.2.2 @@ -31,11 +31,11 @@ importers: specifier: ^4.17.12 version: 4.17.12 '@types/node': - specifier: ^22.2.0 - version: 22.2.0 + specifier: ^22.3.0 + version: 22.3.0 '@vitejs/plugin-vue': specifier: latest - version: 5.1.2(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)) + version: 5.1.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)) '@vue/compiler-sfc': specifier: latest version: 3.4.37 @@ -46,8 +46,8 @@ importers: specifier: workspace:* version: 'link:' axios: - specifier: ^1.7.3 - version: 1.7.3 + specifier: ^1.7.4 + version: 1.7.4 case-police: specifier: ^0.6.1 version: 0.6.1 @@ -113,7 +113,7 @@ importers: version: 5.5.4 unocss: specifier: ~0.58.9 - version: 0.58.9(postcss@8.4.41)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)) + version: 0.58.9(postcss@8.4.41)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)) unplugin-auto-import: specifier: ^0.18.2 version: 0.18.2(@vueuse/core@10.11.1(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)))(rollup@4.20.0) @@ -122,16 +122,16 @@ importers: version: 0.27.4(@babel/parser@7.25.3)(rollup@4.20.0)(vue@3.4.37(typescript@5.5.4)) vite: specifier: ^5.4.0 - version: 5.4.0(@types/node@22.2.0)(sass@1.77.8) + version: 5.4.0(@types/node@22.3.0)(sass@1.77.8) vite-plugin-dts: specifier: 4.0.2 - version: 4.0.2(@types/node@22.2.0)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)) + version: 4.0.2(@types/node@22.3.0)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)) vite-plugin-mock: specifier: ^3.0.2 - version: 3.0.2(esbuild@0.23.0)(mockjs@1.1.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)) + version: 3.0.2(esbuild@0.23.0)(mockjs@1.1.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)) vitepress: specifier: ^1.3.2 - version: 1.3.2(@algolia/client-search@4.24.0)(@types/node@22.2.0)(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(async-validator@4.2.5)(axios@1.7.3)(postcss@8.4.41)(qrcode@1.5.4)(sass@1.77.8)(search-insights@2.16.2)(sortablejs@1.15.2)(typescript@5.5.4) + version: 1.3.2(@algolia/client-search@4.24.0)(@types/node@22.3.0)(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(async-validator@4.2.5)(axios@1.7.4)(postcss@8.4.41)(qrcode@1.5.4)(sass@1.77.8)(search-insights@2.16.3)(sortablejs@1.15.2)(typescript@5.5.4) vue: specifier: latest version: 3.4.37(typescript@5.5.4) @@ -526,8 +526,8 @@ packages: resolution: {integrity: sha512-I238eDtOolvCuvtxrnqtlBaw0BwdQuYqK7eA6XIonicMdOOOb75mqdIzkGDUbS04+1Di007rgm9snFRNeVrOog==} engines: {node: '>=16'} - '@es-joy/jsdoccomment@0.46.0': - resolution: {integrity: sha512-C3Axuq1xd/9VqFZpW4YAzOx5O9q/LP46uIQy/iNDpHG3fmPa6TBtvfglMCs3RBiBxAIi0Go97r8+jvTt55XMyQ==} + '@es-joy/jsdoccomment@0.48.0': + resolution: {integrity: sha512-G6QUWIcC+KvSwXNsJyDTHvqUdNoAVJPPgkc3+Uk4WBKqZvoXhlvazOgm9aL0HwihJLQf0l+tOE2UFzXBqCqgDw==} engines: {node: '>=16'} '@esbuild/aix-ppc64@0.21.5': @@ -1125,8 +1125,8 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@22.2.0': - resolution: {integrity: sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==} + '@types/node@22.3.0': + resolution: {integrity: sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1320,8 +1320,8 @@ packages: vite: ^5.0.0 vue: ^3.2.25 - '@vitest/eslint-plugin@1.0.1': - resolution: {integrity: sha512-albpL56cL9XMwHJWCWZqjDxkuDkBXBF3WpPGOv6q2WA3cipCP41cKEwfSGktoRNGmPN77wuX452O8pM+z+ApNw==} + '@vitest/eslint-plugin@1.0.2': + resolution: {integrity: sha512-lt7O8NTzDf7H8mbLuvsAdolnpibgv8lo8nRshRr2f2vNFONB3u2MEL9Jt12n9qDpLeT1Ap03Kf7RVH+PF71G1w==} peerDependencies: '@typescript-eslint/utils': '>= 8.0' eslint: '>= 8.57.0' @@ -1580,8 +1580,8 @@ packages: resolution: {integrity: sha512-zJAaP9zxTcvTHRlejau3ZOY4V7SRpiByf3/dxx2uyKxxor19tpmpV2QRsTKikckwhaPmr2dVpxxMr7jOCYVp5g==} engines: {node: '>=6.0.0'} - axios@1.7.3: - resolution: {integrity: sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw==} + axios@1.7.4: + resolution: {integrity: sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==} bail@2.0.2: resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} @@ -1946,8 +1946,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.5.6: - resolution: {integrity: sha512-jwXWsM5RPf6j9dPYzaorcBSUg6AiqocPEyMpkchkvntaH9HGfOOMZwxMJjDY/XEs3T5dM7uyH1VhRMkqUU9qVw==} + electron-to-chromium@1.5.7: + resolution: {integrity: sha512-6FTNWIWMxMy/ZY6799nBlPtF1DFDQ6VQJ7yyDP27SJNt5lwtQ5ufqVvHylb3fdQefvRcgA3fKcFMJi9OLwBRNw==} element-plus@2.8.0: resolution: {integrity: sha512-7ngapVlVlQAjocVqD4MUKvKXlBneT9DSDk2mmBOSLRFWNm/HLDT15ozmsvUBfy18sajnyUeSIHTtINE8gfrGMg==} @@ -2087,8 +2087,8 @@ packages: peerDependencies: eslint: ^8.56.0 || ^9.0.0-0 - eslint-plugin-jsdoc@50.0.1: - resolution: {integrity: sha512-UayhAysIk1Du8InV27WMbV4AMSJSu60+bekmeuGK2OUy4QJSFPr1srYT6AInykGkmMdRuHfDX6Q0tJEr8BtDtg==} + eslint-plugin-jsdoc@50.2.1: + resolution: {integrity: sha512-KbGhcct6JxzM0x1gjqH1hf4vvc+YNMag5JXyMuPFIPP9THWctRg3UgBUjNcI6a6Rw+1GdKeJ3vTmSICLVF0mtw==} engines: {node: '>=18'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -3503,8 +3503,8 @@ packages: scule@1.3.0: resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==} - search-insights@2.16.2: - resolution: {integrity: sha512-+KrS5rnYlyWgzoCNJGsNPw7Vv+47Y7Ze7KZ+/9Xls+5BUugEbU2yv1n9JsQOqv+MLKYfg3bxI5K6tYJxXZY8FA==} + search-insights@2.16.3: + resolution: {integrity: sha512-hSHy/s4Zk2xibhj9XTCACB+1PqS+CaJxepGNBhKc/OsHRpqvHAUAm5+uZ6kJJbGXn0pb3XqekHjg6JAqPExzqg==} semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} @@ -3797,8 +3797,8 @@ packages: unconfig@0.3.13: resolution: {integrity: sha512-N9Ph5NC4+sqtcOjPfHrRcHekBCadCXWTBzp2VYYbySOHW0PfD9XLCeXshTXjkPYwLrBr9AtSeU0CZmkYECJhng==} - undici-types@6.13.0: - resolution: {integrity: sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==} + undici-types@6.18.2: + resolution: {integrity: sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==} unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} @@ -4134,19 +4134,19 @@ packages: snapshots: - '@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.16.2)': + '@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.16.3)': dependencies: - '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.16.2) + '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.16.3) '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0) transitivePeerDependencies: - '@algolia/client-search' - algoliasearch - search-insights - '@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.16.2)': + '@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.16.3)': dependencies: '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0) - search-insights: 2.16.2 + search-insights: 2.16.3 transitivePeerDependencies: - '@algolia/client-search' - algoliasearch @@ -4250,7 +4250,7 @@ snapshots: '@stylistic/eslint-plugin': 2.6.2(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) '@typescript-eslint/eslint-plugin': 8.1.0(@typescript-eslint/parser@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) '@typescript-eslint/parser': 8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) - '@vitest/eslint-plugin': 1.0.1(@typescript-eslint/utils@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) + '@vitest/eslint-plugin': 1.0.2(@typescript-eslint/utils@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) eslint: 9.9.0(jiti@1.21.6) eslint-config-flat-gitignore: 0.1.8 eslint-flat-config-utils: 0.3.0 @@ -4259,7 +4259,7 @@ snapshots: eslint-plugin-command: 0.2.3(eslint@9.9.0(jiti@1.21.6)) eslint-plugin-eslint-comments: 3.2.0(eslint@9.9.0(jiti@1.21.6)) eslint-plugin-import-x: 3.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4) - eslint-plugin-jsdoc: 50.0.1(eslint@9.9.0(jiti@1.21.6)) + eslint-plugin-jsdoc: 50.2.1(eslint@9.9.0(jiti@1.21.6)) eslint-plugin-jsonc: 2.16.0(eslint@9.9.0(jiti@1.21.6)) eslint-plugin-markdown: 5.1.0(eslint@9.9.0(jiti@1.21.6)) eslint-plugin-n: 17.10.2(eslint@9.9.0(jiti@1.21.6)) @@ -4512,11 +4512,11 @@ snapshots: picocolors: 1.0.1 sisteransi: 1.0.5 - '@commitlint/cli@19.4.0(@types/node@22.2.0)(typescript@5.5.4)': + '@commitlint/cli@19.4.0(@types/node@22.3.0)(typescript@5.5.4)': dependencies: '@commitlint/format': 19.3.0 '@commitlint/lint': 19.2.2 - '@commitlint/load': 19.4.0(@types/node@22.2.0)(typescript@5.5.4) + '@commitlint/load': 19.4.0(@types/node@22.3.0)(typescript@5.5.4) '@commitlint/read': 19.4.0 '@commitlint/types': 19.0.3 execa: 8.0.1 @@ -4563,7 +4563,7 @@ snapshots: '@commitlint/rules': 19.0.3 '@commitlint/types': 19.0.3 - '@commitlint/load@19.4.0(@types/node@22.2.0)(typescript@5.5.4)': + '@commitlint/load@19.4.0(@types/node@22.3.0)(typescript@5.5.4)': dependencies: '@commitlint/config-validator': 19.0.3 '@commitlint/execute-rule': 19.0.0 @@ -4571,7 +4571,7 @@ snapshots: '@commitlint/types': 19.0.3 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.5.4) - cosmiconfig-typescript-loader: 5.0.0(@types/node@22.2.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.3.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -4627,9 +4627,9 @@ snapshots: '@docsearch/css@3.6.1': {} - '@docsearch/js@3.6.1(@algolia/client-search@4.24.0)(search-insights@2.16.2)': + '@docsearch/js@3.6.1(@algolia/client-search@4.24.0)(search-insights@2.16.3)': dependencies: - '@docsearch/react': 3.6.1(@algolia/client-search@4.24.0)(search-insights@2.16.2) + '@docsearch/react': 3.6.1(@algolia/client-search@4.24.0)(search-insights@2.16.3) preact: 10.23.2 transitivePeerDependencies: - '@algolia/client-search' @@ -4638,14 +4638,14 @@ snapshots: - react-dom - search-insights - '@docsearch/react@3.6.1(@algolia/client-search@4.24.0)(search-insights@2.16.2)': + '@docsearch/react@3.6.1(@algolia/client-search@4.24.0)(search-insights@2.16.3)': dependencies: - '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.16.2) + '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0)(search-insights@2.16.3) '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.24.0)(algoliasearch@4.24.0) '@docsearch/css': 3.6.1 algoliasearch: 4.24.0 optionalDependencies: - search-insights: 2.16.2 + search-insights: 2.16.3 transitivePeerDependencies: - '@algolia/client-search' @@ -4668,11 +4668,11 @@ snapshots: esquery: 1.6.0 jsdoc-type-pratt-parser: 4.0.0 - '@es-joy/jsdoccomment@0.46.0': + '@es-joy/jsdoccomment@0.48.0': dependencies: comment-parser: 1.4.1 esquery: 1.6.0 - jsdoc-type-pratt-parser: 4.0.0 + jsdoc-type-pratt-parser: 4.1.0 '@esbuild/aix-ppc64@0.21.5': optional: true @@ -4903,23 +4903,23 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 - '@microsoft/api-extractor-model@7.29.4(@types/node@22.2.0)': + '@microsoft/api-extractor-model@7.29.4(@types/node@22.3.0)': dependencies: '@microsoft/tsdoc': 0.15.0 '@microsoft/tsdoc-config': 0.17.0 - '@rushstack/node-core-library': 5.5.1(@types/node@22.2.0) + '@rushstack/node-core-library': 5.5.1(@types/node@22.3.0) transitivePeerDependencies: - '@types/node' - '@microsoft/api-extractor@7.47.4(@types/node@22.2.0)': + '@microsoft/api-extractor@7.47.4(@types/node@22.3.0)': dependencies: - '@microsoft/api-extractor-model': 7.29.4(@types/node@22.2.0) + '@microsoft/api-extractor-model': 7.29.4(@types/node@22.3.0) '@microsoft/tsdoc': 0.15.0 '@microsoft/tsdoc-config': 0.17.0 - '@rushstack/node-core-library': 5.5.1(@types/node@22.2.0) + '@rushstack/node-core-library': 5.5.1(@types/node@22.3.0) '@rushstack/rig-package': 0.5.3 - '@rushstack/terminal': 0.13.3(@types/node@22.2.0) - '@rushstack/ts-command-line': 4.22.3(@types/node@22.2.0) + '@rushstack/terminal': 0.13.3(@types/node@22.3.0) + '@rushstack/ts-command-line': 4.22.3(@types/node@22.3.0) lodash: 4.17.21 minimatch: 3.0.8 resolve: 1.22.8 @@ -5015,7 +5015,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.20.0': optional: true - '@rushstack/node-core-library@5.5.1(@types/node@22.2.0)': + '@rushstack/node-core-library@5.5.1(@types/node@22.3.0)': dependencies: ajv: 8.13.0 ajv-draft-04: 1.0.0(ajv@8.13.0) @@ -5026,23 +5026,23 @@ snapshots: resolve: 1.22.8 semver: 7.5.4 optionalDependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 '@rushstack/rig-package@0.5.3': dependencies: resolve: 1.22.8 strip-json-comments: 3.1.1 - '@rushstack/terminal@0.13.3(@types/node@22.2.0)': + '@rushstack/terminal@0.13.3(@types/node@22.3.0)': dependencies: - '@rushstack/node-core-library': 5.5.1(@types/node@22.2.0) + '@rushstack/node-core-library': 5.5.1(@types/node@22.3.0) supports-color: 8.1.1 optionalDependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 - '@rushstack/ts-command-line@4.22.3(@types/node@22.2.0)': + '@rushstack/ts-command-line@4.22.3(@types/node@22.3.0)': dependencies: - '@rushstack/terminal': 0.13.3(@types/node@22.2.0) + '@rushstack/terminal': 0.13.3(@types/node@22.3.0) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 @@ -5110,7 +5110,7 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 '@types/debug@4.1.12': dependencies: @@ -5155,9 +5155,9 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@22.2.0': + '@types/node@22.3.0': dependencies: - undici-types: 6.13.0 + undici-types: 6.18.2 '@types/normalize-package-data@2.4.4': {} @@ -5288,13 +5288,13 @@ snapshots: '@typescript-eslint/types': 8.1.0 eslint-visitor-keys: 3.4.3 - '@unocss/astro@0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8))': + '@unocss/astro@0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8))': dependencies: '@unocss/core': 0.58.9 '@unocss/reset': 0.58.9 - '@unocss/vite': 0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)) + '@unocss/vite': 0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)) optionalDependencies: - vite: 5.4.0(@types/node@22.2.0)(sass@1.77.8) + vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8) transitivePeerDependencies: - rollup @@ -5425,7 +5425,7 @@ snapshots: dependencies: '@unocss/core': 0.58.9 - '@unocss/vite@0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8))': + '@unocss/vite@0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8))': dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.20.0) @@ -5437,16 +5437,16 @@ snapshots: chokidar: 3.6.0 fast-glob: 3.3.2 magic-string: 0.30.11 - vite: 5.4.0(@types/node@22.2.0)(sass@1.77.8) + vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8) transitivePeerDependencies: - rollup - '@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4))': + '@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4))': dependencies: - vite: 5.4.0(@types/node@22.2.0)(sass@1.77.8) + vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8) vue: 3.4.37(typescript@5.5.4) - '@vitest/eslint-plugin@1.0.1(@typescript-eslint/utils@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': + '@vitest/eslint-plugin@1.0.2(@typescript-eslint/utils@8.1.0(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.0(jiti@1.21.6))(typescript@5.5.4)': dependencies: eslint: 9.9.0(jiti@1.21.6) optionalDependencies: @@ -5598,14 +5598,14 @@ snapshots: - '@vue/composition-api' - vue - '@vueuse/integrations@10.11.1(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(async-validator@4.2.5)(axios@1.7.3)(focus-trap@7.5.4)(qrcode@1.5.4)(sortablejs@1.15.2)(vue@3.4.37(typescript@5.5.4))': + '@vueuse/integrations@10.11.1(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(async-validator@4.2.5)(axios@1.7.4)(focus-trap@7.5.4)(qrcode@1.5.4)(sortablejs@1.15.2)(vue@3.4.37(typescript@5.5.4))': dependencies: '@vueuse/core': 10.11.1(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) '@vueuse/shared': 10.11.1(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) vue-demi: 0.14.10(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) optionalDependencies: async-validator: 4.2.5 - axios: 1.7.3 + axios: 1.7.4 focus-trap: 7.5.4 qrcode: 1.5.4 sortablejs: 1.15.2 @@ -5744,7 +5744,7 @@ snapshots: await-to-js@3.0.0: {} - axios@1.7.3: + axios@1.7.4: dependencies: follow-redirects: 1.15.6 form-data: 4.0.0 @@ -5778,7 +5778,7 @@ snapshots: browserslist@4.23.3: dependencies: caniuse-lite: 1.0.30001651 - electron-to-chromium: 1.5.6 + electron-to-chromium: 1.5.7 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) @@ -5960,9 +5960,9 @@ snapshots: dependencies: browserslist: 4.23.3 - cosmiconfig-typescript-loader@5.0.0(@types/node@22.2.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4): + cosmiconfig-typescript-loader@5.0.0(@types/node@22.3.0)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4): dependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 cosmiconfig: 9.0.0(typescript@5.5.4) jiti: 1.21.6 typescript: 5.5.4 @@ -6084,7 +6084,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.5.6: {} + electron-to-chromium@1.5.7: {} element-plus@2.8.0(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)): dependencies: @@ -6286,9 +6286,9 @@ snapshots: - supports-color - typescript - eslint-plugin-jsdoc@50.0.1(eslint@9.9.0(jiti@1.21.6)): + eslint-plugin-jsdoc@50.2.1(eslint@9.9.0(jiti@1.21.6)): dependencies: - '@es-joy/jsdoccomment': 0.46.0 + '@es-joy/jsdoccomment': 0.48.0 are-docs-informative: 0.0.2 comment-parser: 1.4.1 debug: 4.3.6 @@ -7894,7 +7894,7 @@ snapshots: scule@1.3.0: {} - search-insights@2.16.2: {} + search-insights@2.16.3: {} semver@5.7.2: {} @@ -8138,7 +8138,7 @@ snapshots: defu: 6.1.4 jiti: 1.21.6 - undici-types@6.13.0: {} + undici-types@6.18.2: {} unicorn-magic@0.1.0: {} @@ -8195,9 +8195,9 @@ snapshots: universalify@0.1.2: {} - unocss@0.58.9(postcss@8.4.41)(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)): + unocss@0.58.9(postcss@8.4.41)(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)): dependencies: - '@unocss/astro': 0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)) + '@unocss/astro': 0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)) '@unocss/cli': 0.58.9(rollup@4.20.0) '@unocss/core': 0.58.9 '@unocss/extractor-arbitrary-variants': 0.58.9 @@ -8216,9 +8216,9 @@ snapshots: '@unocss/transformer-compile-class': 0.58.9 '@unocss/transformer-directives': 0.58.9 '@unocss/transformer-variant-group': 0.58.9 - '@unocss/vite': 0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)) + '@unocss/vite': 0.58.9(rollup@4.20.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)) optionalDependencies: - vite: 5.4.0(@types/node@22.2.0)(sass@1.77.8) + vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8) transitivePeerDependencies: - postcss - rollup @@ -8315,9 +8315,9 @@ snapshots: viewerjs@1.11.6: {} - vite-plugin-dts@4.0.2(@types/node@22.2.0)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)): + vite-plugin-dts@4.0.2(@types/node@22.3.0)(rollup@4.20.0)(typescript@5.5.4)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)): dependencies: - '@microsoft/api-extractor': 7.47.4(@types/node@22.2.0) + '@microsoft/api-extractor': 7.47.4(@types/node@22.3.0) '@rollup/pluginutils': 5.1.0(rollup@4.20.0) '@volar/typescript': 2.3.4 '@vue/language-core': 2.0.29(typescript@5.5.4) @@ -8329,13 +8329,13 @@ snapshots: typescript: 5.5.4 vue-tsc: 2.0.29(typescript@5.5.4) optionalDependencies: - vite: 5.4.0(@types/node@22.2.0)(sass@1.77.8) + vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8) transitivePeerDependencies: - '@types/node' - rollup - supports-color - vite-plugin-mock@3.0.2(esbuild@0.23.0)(mockjs@1.1.0)(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8)): + vite-plugin-mock@3.0.2(esbuild@0.23.0)(mockjs@1.1.0)(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8)): dependencies: bundle-require: 4.2.1(esbuild@0.23.0) chokidar: 3.6.0 @@ -8346,37 +8346,37 @@ snapshots: mockjs: 1.1.0 path-to-regexp: 6.2.2 picocolors: 1.0.1 - vite: 5.4.0(@types/node@22.2.0)(sass@1.77.8) + vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8) transitivePeerDependencies: - supports-color - vite@5.4.0(@types/node@22.2.0)(sass@1.77.8): + vite@5.4.0(@types/node@22.3.0)(sass@1.77.8): dependencies: esbuild: 0.21.5 postcss: 8.4.41 rollup: 4.20.0 optionalDependencies: - '@types/node': 22.2.0 + '@types/node': 22.3.0 fsevents: 2.3.3 sass: 1.77.8 - vitepress@1.3.2(@algolia/client-search@4.24.0)(@types/node@22.2.0)(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(async-validator@4.2.5)(axios@1.7.3)(postcss@8.4.41)(qrcode@1.5.4)(sass@1.77.8)(search-insights@2.16.2)(sortablejs@1.15.2)(typescript@5.5.4): + vitepress@1.3.2(@algolia/client-search@4.24.0)(@types/node@22.3.0)(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(async-validator@4.2.5)(axios@1.7.4)(postcss@8.4.41)(qrcode@1.5.4)(sass@1.77.8)(search-insights@2.16.3)(sortablejs@1.15.2)(typescript@5.5.4): dependencies: '@docsearch/css': 3.6.1 - '@docsearch/js': 3.6.1(@algolia/client-search@4.24.0)(search-insights@2.16.2) + '@docsearch/js': 3.6.1(@algolia/client-search@4.24.0)(search-insights@2.16.3) '@shikijs/core': 1.12.1 '@shikijs/transformers': 1.12.1 '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.1.2(vite@5.4.0(@types/node@22.2.0)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)) + '@vitejs/plugin-vue': 5.1.2(vite@5.4.0(@types/node@22.3.0)(sass@1.77.8))(vue@3.4.37(typescript@5.5.4)) '@vue/devtools-api': 7.3.8 '@vue/shared': 3.4.37 '@vueuse/core': 10.11.1(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(vue@3.4.37(typescript@5.5.4)) - '@vueuse/integrations': 10.11.1(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(async-validator@4.2.5)(axios@1.7.3)(focus-trap@7.5.4)(qrcode@1.5.4)(sortablejs@1.15.2)(vue@3.4.37(typescript@5.5.4)) + '@vueuse/integrations': 10.11.1(@vue/composition-api@1.7.2(vue@3.4.37(typescript@5.5.4)))(async-validator@4.2.5)(axios@1.7.4)(focus-trap@7.5.4)(qrcode@1.5.4)(sortablejs@1.15.2)(vue@3.4.37(typescript@5.5.4)) focus-trap: 7.5.4 mark.js: 8.11.1 minisearch: 7.1.0 shiki: 1.12.1 - vite: 5.4.0(@types/node@22.2.0)(sass@1.77.8) + vite: 5.4.0(@types/node@22.3.0)(sass@1.77.8) vue: 3.4.37(typescript@5.5.4) optionalDependencies: postcss: 8.4.41 diff --git a/vite.config.ts b/vite.config.ts index 03a428e..eff0420 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -29,7 +29,7 @@ export default { alias, }, optimizeDeps: { - include: ['faim > mime', 'faim > qrcode', 'faim > sweetalert2', 'faim > upng-js'], + include: ['faim > qrcode', 'faim > sweetalert2', 'faim > upng-js'], exclude: ['vue-demi'], }, build: {