mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 15:48:05 +08:00
更新依赖
This commit is contained in:
+21
-21
@@ -22,8 +22,8 @@
|
||||
"@antv/g2plot": "^2.4.33",
|
||||
"@bytemd/plugin-gfm": "^1.22.0",
|
||||
"@bytemd/vue-next": "^1.22.0",
|
||||
"@tinymce/tinymce-vue": "^6.1.0",
|
||||
"@vee-validate/zod": "^4.15.0",
|
||||
"@tinymce/tinymce-vue": "^6.2.0",
|
||||
"@vee-validate/zod": "^4.15.1",
|
||||
"@visactor/vchart": "^1.13.11",
|
||||
"@vue-office/docx": "^1.6.3",
|
||||
"@vue-office/excel": "^1.7.14",
|
||||
@@ -40,20 +40,20 @@
|
||||
"defu": "^6.1.4",
|
||||
"disable-devtool": "^0.3.8",
|
||||
"echarts": "^5.6.0",
|
||||
"element-plus": "^2.9.11",
|
||||
"element-plus": "^2.10.1",
|
||||
"eruda": "^3.4.1",
|
||||
"es-toolkit": "^1.38.0",
|
||||
"es-toolkit": "^1.39.3",
|
||||
"hotkeys-js": "^3.13.10",
|
||||
"lucide-vue-next": "^0.511.0",
|
||||
"lucide-vue-next": "^0.513.0",
|
||||
"mitt": "^3.0.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"path-browserify": "^1.0.1",
|
||||
"path-to-regexp": "^8.2.0",
|
||||
"pinia": "^3.0.2",
|
||||
"pinia": "^3.0.3",
|
||||
"print-js": "^1.6.0",
|
||||
"qrcode": "^1.5.4",
|
||||
"qs": "^6.14.0",
|
||||
"reka-ui": "^2.3.0",
|
||||
"reka-ui": "^2.3.1",
|
||||
"scule": "^1.3.0",
|
||||
"splitpanes": "^4.0.4",
|
||||
"swiper": "^11.2.8",
|
||||
@@ -61,23 +61,23 @@
|
||||
"tinymce": "^7.9.1",
|
||||
"ua-parser-js": "^2.0.3",
|
||||
"vconsole": "^3.15.1",
|
||||
"vee-validate": "^4.15.0",
|
||||
"vee-validate": "^4.15.1",
|
||||
"vue": "^3.5.16",
|
||||
"vue-currency-input": "^3.2.1",
|
||||
"vue-data-ui": "^2.9.6",
|
||||
"vue-data-ui": "^2.10.0",
|
||||
"vue-esign": "^1.1.4",
|
||||
"vue-hooks-plus": "^2.3.1",
|
||||
"vue-hooks-plus": "^2.4.0",
|
||||
"vue-router": "^4.5.1",
|
||||
"vue-sonner": "^2.0.0",
|
||||
"vxe-table": "^4.13.32",
|
||||
"xe-utils": "^3.7.4",
|
||||
"zod": "^3.25.49"
|
||||
"vxe-table": "^4.13.35",
|
||||
"xe-utils": "^3.7.5",
|
||||
"zod": "^3.25.56"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^4.13.2",
|
||||
"@antfu/eslint-config": "^4.14.1",
|
||||
"@clack/prompts": "^0.11.0",
|
||||
"@faker-js/faker": "^9.8.0",
|
||||
"@iconify/json": "^2.2.345",
|
||||
"@iconify/json": "^2.2.346",
|
||||
"@iconify/vue": "^5.0.0",
|
||||
"@stylistic/stylelint-config": "^2.0.0",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
@@ -85,8 +85,8 @@
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@types/qs": "^6.14.0",
|
||||
"@types/splitpanes": "^2.2.6",
|
||||
"@unocss/eslint-plugin": "^66.1.3",
|
||||
"@unocss/preset-legacy-compat": "^66.1.3",
|
||||
"@unocss/eslint-plugin": "^66.1.4",
|
||||
"@unocss/preset-legacy-compat": "^66.1.4",
|
||||
"@vitejs/plugin-legacy": "^6.1.1",
|
||||
"@vitejs/plugin-vue": "^5.2.4",
|
||||
"@vitejs/plugin-vue-jsx": "^4.2.0",
|
||||
@@ -113,16 +113,16 @@
|
||||
"taze": "^19.1.0",
|
||||
"tsx": "^4.19.4",
|
||||
"typescript": "^5.8.3",
|
||||
"unocss": "^66.1.3",
|
||||
"unocss": "^66.1.4",
|
||||
"unocss-preset-animations": "^1.2.1",
|
||||
"unplugin-auto-import": "^19.3.0",
|
||||
"unplugin-turbo-console": "^2.1.3",
|
||||
"unplugin-vue-components": "^28.7.0",
|
||||
"vite": "^6.3.5",
|
||||
"vite-plugin-app-loading": "^0.3.1",
|
||||
"vite-plugin-archiver": "^0.1.2",
|
||||
"vite-plugin-app-loading": "^0.4.0",
|
||||
"vite-plugin-archiver": "^0.2.0",
|
||||
"vite-plugin-banner": "^0.8.1",
|
||||
"vite-plugin-compression2": "^1.4.0",
|
||||
"vite-plugin-compression2": "^2.0.1",
|
||||
"vite-plugin-env-parse": "^1.0.15",
|
||||
"vite-plugin-fake-server": "^2.2.0",
|
||||
"vite-plugin-pages": "^0.33.0",
|
||||
|
||||
Generated
+1718
-2578
File diff suppressed because it is too large
Load Diff
+7
-7
@@ -1,12 +1,12 @@
|
||||
import { pascalCase } from 'scule'
|
||||
|
||||
type Slots =
|
||||
'header-start' | 'header-after-logo' | 'header-after-menu' | 'header-end' |
|
||||
'main-sidebar-top' | 'main-sidebar-after-logo' | 'main-sidebar-after-menu' | 'main-sidebar-bottom' |
|
||||
'sub-sidebar-top' | 'sub-sidebar-after-logo' | 'sub-sidebar-after-menu' | 'sub-sidebar-bottom' |
|
||||
'tabbar-start' | 'tabbar-end' |
|
||||
'toolbar-start' | 'toolbar-end' |
|
||||
'free-position'
|
||||
type Slots
|
||||
= 'header-start' | 'header-after-logo' | 'header-after-menu' | 'header-end'
|
||||
| 'main-sidebar-top' | 'main-sidebar-after-logo' | 'main-sidebar-after-menu' | 'main-sidebar-bottom'
|
||||
| 'sub-sidebar-top' | 'sub-sidebar-after-logo' | 'sub-sidebar-after-menu' | 'sub-sidebar-bottom'
|
||||
| 'tabbar-start' | 'tabbar-end'
|
||||
| 'toolbar-start' | 'toolbar-end'
|
||||
| 'free-position'
|
||||
|
||||
function tryLoadComponent(name: Slots) {
|
||||
const componentMap = import.meta.glob('./*/index.vue', { eager: true })
|
||||
|
||||
@@ -131,7 +131,7 @@ const useRouteStore = defineStore(
|
||||
})
|
||||
routesMatcher.value = createRouterMatcher(routes, {})
|
||||
isGenerate.value = true
|
||||
}).catch(() => {})
|
||||
})
|
||||
}
|
||||
// 生成路由(文件系统生成)
|
||||
function generateRoutesAtFilesystem(asyncRoutes: RouteRecordRaw[]) {
|
||||
|
||||
@@ -5,10 +5,10 @@ import { computed, ref } from 'vue'
|
||||
const TOAST_LIMIT = 1
|
||||
const TOAST_REMOVE_DELAY = 1000000
|
||||
|
||||
export type StringOrVNode =
|
||||
| string
|
||||
| VNode
|
||||
| (() => VNode)
|
||||
export type StringOrVNode
|
||||
= | string
|
||||
| VNode
|
||||
| (() => VNode)
|
||||
|
||||
type ToasterToast = ToastProps & {
|
||||
id: string
|
||||
@@ -33,8 +33,8 @@ function genId() {
|
||||
|
||||
type ActionType = typeof actionTypes
|
||||
|
||||
type Action =
|
||||
| {
|
||||
type Action
|
||||
= | {
|
||||
type: ActionType['ADD_TOAST']
|
||||
toast: ToasterToast
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ function handleCollaspe() {
|
||||
}"
|
||||
>
|
||||
<slot />
|
||||
<FaButton v-if="collaspe" variant="link" size="icon" class="group-hover/pagemain-opacity-100 absolute inset-b-0 inset-s-1/2 opacity-0 transition-all -translate-x-1/2" :class="{ 'rotate-x-180': !isCollaspe }" @click="handleCollaspe">
|
||||
<FaButton v-if="collaspe" variant="link" size="icon" class="absolute inset-b-0 inset-s-1/2 opacity-0 transition-all -translate-x-1/2 group-hover/pagemain:opacity-100" :class="{ 'rotate-x-180': !isCollaspe }" @click="handleCollaspe">
|
||||
<FaIcon name="i-ep:arrow-down" class="text-xl" />
|
||||
</FaButton>
|
||||
</div>
|
||||
|
||||
+5
-3
@@ -98,10 +98,12 @@ export default function createVitePlugins(mode: string, isBuild = false) {
|
||||
}),
|
||||
|
||||
// https://github.com/nonzzz/vite-plugin-compression
|
||||
viteEnv.VITE_BUILD_COMPRESS?.split(',').includes('gzip') && compression(),
|
||||
viteEnv.VITE_BUILD_COMPRESS?.split(',').includes('brotli') && compression({
|
||||
viteEnv.VITE_BUILD_COMPRESS && compression({
|
||||
exclude: [/\.(br)$/, /\.(gz)$/],
|
||||
algorithm: 'brotliCompress',
|
||||
algorithms: viteEnv.VITE_BUILD_COMPRESS.split(',').map((item: string) => ({
|
||||
gzip: 'gzip',
|
||||
brotli: 'brotliCompress',
|
||||
}[item])),
|
||||
}),
|
||||
|
||||
viteEnv.VITE_BUILD_ARCHIVE && Archiver({
|
||||
|
||||
Reference in New Issue
Block a user