diff --git a/.env.development b/.env.development index c05393b..0891a69 100644 --- a/.env.development +++ b/.env.development @@ -9,7 +9,7 @@ VITE_APP_ENV='development' VITE_APP_BASE_API='/dev-api' # 本机环境 -VITE_LOCALHOUSET=true +VITE_LOCALHOST=false # 本地开发环境 VITE_BASE_API='http://192.168.0.212:8082' #VITE_BASE_API='http://192.168.0.212:8082' diff --git a/package.json b/package.json index fda8452..17c8bad 100644 --- a/package.json +++ b/package.json @@ -56,15 +56,19 @@ "@vitejs/plugin-vue": "^6.0.8", "@vue/compiler-sfc": "3.5.42", "autoprefixer": "10.5.5", + "esbuild": "0.28.1", + "lightningcss": "^1.33.0", "oxfmt": "^0.67.0", "oxlint": "^1.82.0", "sass": "1.104.0", + "terser": "^5.51.2", "typescript": "^6.0.3", "unocss": "66.10.1", "unplugin-auto-import": "21.1.0", "unplugin-vue-components": "32.1.0", "unplugin-vue-setup-extend-plus": "1.0.1", "vite": "^8.2.2", + "vite-plugin-lightningcss": "^0.0.5", "vite-plugin-svg-icons-ng": "^1.9.3", "vitest": "4.1.11", "vue-tsc": "^3.3.11" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ad926f7..218e06a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -76,7 +76,7 @@ importers: version: 2.6.0(vue@3.5.42(typescript@6.0.3)) vue-router: specifier: 5.3.1 - version: 5.3.1(@vue/compiler-sfc@3.5.42)(pinia@4.0.3(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 5.3.1(@vue/compiler-sfc@3.5.42)(esbuild@0.28.1)(pinia@4.0.3(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) vue-types: specifier: 7.0.0 version: 7.0.0(vue@3.5.42(typescript@6.0.3)) @@ -101,13 +101,19 @@ importers: version: 66.10.1 '@vitejs/plugin-vue': specifier: ^6.0.8 - version: 6.0.8(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 6.0.8(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) '@vue/compiler-sfc': specifier: 3.5.42 version: 3.5.42 autoprefixer: specifier: 10.5.5 version: 10.5.5(postcss@8.5.28) + esbuild: + specifier: 0.28.1 + version: 0.28.1 + lightningcss: + specifier: ^1.33.0 + version: 1.33.0 oxfmt: specifier: ^0.67.0 version: 0.67.0 @@ -117,30 +123,36 @@ importers: sass: specifier: 1.104.0 version: 1.104.0 + terser: + specifier: ^5.51.2 + version: 5.51.2 typescript: specifier: ^6.0.3 version: 6.0.3 unocss: specifier: 66.10.1 - version: 66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(rolldown@1.2.8)(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + version: 66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(rolldown@1.2.8)(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) unplugin-auto-import: specifier: 21.1.0 - version: 21.1.0(@vueuse/core@14.4.0(vue@3.5.42(typescript@6.0.3)))(oxc-parser@0.131.0)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + version: 21.1.0(@vueuse/core@14.4.0(vue@3.5.42(typescript@6.0.3)))(esbuild@0.28.1)(oxc-parser@0.131.0)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) unplugin-vue-components: specifier: 32.1.0 - version: 32.1.0(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 32.1.0(esbuild@0.28.1)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) unplugin-vue-setup-extend-plus: specifier: 1.0.1 version: 1.0.1 vite: specifier: ^8.2.2 - version: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + version: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) + vite-plugin-lightningcss: + specifier: ^0.0.5 + version: 0.0.5 vite-plugin-svg-icons-ng: specifier: ^1.9.3 - version: 1.9.3(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + version: 1.9.3(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) vitest: specifier: 4.1.11 - version: 4.1.11(@types/node@26.1.1)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + version: 4.1.11(@types/node@26.1.1)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) vue-tsc: specifier: ^3.3.11 version: 3.3.11(typescript@6.0.3) @@ -223,6 +235,162 @@ packages: '@emnapi/wasi-threads@1.2.1': resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==} + '@esbuild/aix-ppc64@0.28.1': + resolution: {integrity: sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.28.1': + resolution: {integrity: sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.28.1': + resolution: {integrity: sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.28.1': + resolution: {integrity: sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.28.1': + resolution: {integrity: sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.28.1': + resolution: {integrity: sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.28.1': + resolution: {integrity: sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.28.1': + resolution: {integrity: sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.28.1': + resolution: {integrity: sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.28.1': + resolution: {integrity: sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.28.1': + resolution: {integrity: sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.28.1': + resolution: {integrity: sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.28.1': + resolution: {integrity: sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.28.1': + resolution: {integrity: sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.28.1': + resolution: {integrity: sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.28.1': + resolution: {integrity: sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.28.1': + resolution: {integrity: sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.28.1': + resolution: {integrity: sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.28.1': + resolution: {integrity: sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.28.1': + resolution: {integrity: sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.28.1': + resolution: {integrity: sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.28.1': + resolution: {integrity: sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.28.1': + resolution: {integrity: sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.28.1': + resolution: {integrity: sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.28.1': + resolution: {integrity: sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.28.1': + resolution: {integrity: sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + '@floating-ui/core@1.8.0': resolution: {integrity: sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==} @@ -275,6 +443,9 @@ packages: resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} + '@jridgewell/source-map@0.3.11': + resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==} + '@jridgewell/sourcemap-codec@1.5.5': resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} @@ -1332,6 +1503,9 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + cac@7.0.0: resolution: {integrity: sha512-tixWYgm5ZoOD+3g6UTea91eow5z6AAHaho3g0V9CNSNb45gM8SmflpAc+GRd1InC4AqN/07Unrgp56Y94N9hJQ==} engines: {node: '>=20.19.0'} @@ -1377,6 +1551,9 @@ packages: resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==} engines: {node: '>=16'} + commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + compute-scroll-into-view@3.1.1: resolution: {integrity: sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==} @@ -1547,6 +1724,11 @@ packages: resolution: {integrity: sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==} engines: {node: '>=0.12'} + esbuild@0.28.1: + resolution: {integrity: sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==} + engines: {node: '>=18'} + hasBin: true + escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} @@ -2146,6 +2328,13 @@ packages: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} + source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + sourcemap-codec@1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} deprecated: Please use @jridgewell/sourcemap-codec instead @@ -2185,6 +2374,11 @@ packages: engines: {node: '>=16'} hasBin: true + terser@5.51.2: + resolution: {integrity: sha512-bWnjSNscmuI+GJze6ZupnHP8G/cTcsJF+bXCeQknk2SHQsgbNJnLrqiH9jZ2W4STPVXH2mDKKRX3iwPhc9Cn/Q==} + engines: {node: '>=10'} + hasBin: true + tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} @@ -2359,6 +2553,9 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} + vite-plugin-lightningcss@0.0.5: + resolution: {integrity: sha512-lhz5GkXeRT/k09A7qEqmoL3CwdJDHgODPeGVlWGU1UxuGPEKfvSpKnDXza8nawKvxvc0eawJEsKjBzQP4AeGHw==} + vite-plugin-svg-icons-ng@1.9.3: resolution: {integrity: sha512-hrMOB7jx/xjtKgC2oZbz/HCOD0gjFEpowZmzeOn10W3Jt6XQfk3YEHZteuNEWFhvwYF7y1GPjQCQrCuqXC7MnQ==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} @@ -2605,13 +2802,13 @@ snapshots: devframe: 0.9.18(cac@7.0.0)(srvx@1.0.4) shiki: 4.4.3 - '@devframes/vite@0.9.18(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4))(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))': + '@devframes/vite@0.9.18(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4))(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))': dependencies: devframe: 0.9.18(cac@7.0.0)(srvx@1.0.4) pathe: 2.0.3 optionalDependencies: '@devframes/hub': 0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)) - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) '@element-plus/icons-vue@2.3.2(vue@3.5.42(typescript@6.0.3))': dependencies: @@ -2633,6 +2830,84 @@ snapshots: tslib: 2.8.1 optional: true + '@esbuild/aix-ppc64@0.28.1': + optional: true + + '@esbuild/android-arm64@0.28.1': + optional: true + + '@esbuild/android-arm@0.28.1': + optional: true + + '@esbuild/android-x64@0.28.1': + optional: true + + '@esbuild/darwin-arm64@0.28.1': + optional: true + + '@esbuild/darwin-x64@0.28.1': + optional: true + + '@esbuild/freebsd-arm64@0.28.1': + optional: true + + '@esbuild/freebsd-x64@0.28.1': + optional: true + + '@esbuild/linux-arm64@0.28.1': + optional: true + + '@esbuild/linux-arm@0.28.1': + optional: true + + '@esbuild/linux-ia32@0.28.1': + optional: true + + '@esbuild/linux-loong64@0.28.1': + optional: true + + '@esbuild/linux-mips64el@0.28.1': + optional: true + + '@esbuild/linux-ppc64@0.28.1': + optional: true + + '@esbuild/linux-riscv64@0.28.1': + optional: true + + '@esbuild/linux-s390x@0.28.1': + optional: true + + '@esbuild/linux-x64@0.28.1': + optional: true + + '@esbuild/netbsd-arm64@0.28.1': + optional: true + + '@esbuild/netbsd-x64@0.28.1': + optional: true + + '@esbuild/openbsd-arm64@0.28.1': + optional: true + + '@esbuild/openbsd-x64@0.28.1': + optional: true + + '@esbuild/openharmony-arm64@0.28.1': + optional: true + + '@esbuild/sunos-x64@0.28.1': + optional: true + + '@esbuild/win32-arm64@0.28.1': + optional: true + + '@esbuild/win32-ia32@0.28.1': + optional: true + + '@esbuild/win32-x64@0.28.1': + optional: true + '@floating-ui/core@1.8.0': dependencies: '@floating-ui/utils': 0.2.12 @@ -2692,6 +2967,11 @@ snapshots: '@jridgewell/resolve-uri@3.1.2': {} + '@jridgewell/source-map@0.3.11': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + '@jridgewell/sourcemap-codec@1.5.5': {} '@jridgewell/sourcemap-codec@1.6.0': {} @@ -3136,14 +3416,14 @@ snapshots: dependencies: '@unocss/core': 66.10.1 - '@unocss/inspector@66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))': + '@unocss/inspector@66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))': dependencies: '@devframes/service-shiki': 0.9.18(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)) - '@devframes/vite': 0.9.18(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4))(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + '@devframes/vite': 0.9.18(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4))(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) '@unocss/config': 66.10.1 '@unocss/core': 66.10.1 '@unocss/rule-utils': 66.10.1 - '@vitejs/devtools-kit': 0.7.3(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + '@vitejs/devtools-kit': 0.7.3(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) colorette: 2.0.20 devframe: 0.9.18(cac@7.0.0)(srvx@1.0.4) tinyglobby: 0.2.17 @@ -3248,18 +3528,18 @@ snapshots: dependencies: '@unocss/core': 66.10.1 - '@unocss/vite@66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))': + '@unocss/vite@66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))': dependencies: '@jridgewell/remapping': 2.3.5 '@unocss/config': 66.10.1 '@unocss/core': 66.10.1 - '@unocss/inspector': 66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + '@unocss/inspector': 66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) chokidar: 5.0.0 magic-string: 1.3.1 pathe: 2.0.3 tinyglobby: 0.2.17 unplugin-utils: 0.3.2 - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) transitivePeerDependencies: - '@devframes/hub' - '@devframes/hub-ui' @@ -3308,7 +3588,7 @@ snapshots: transitivePeerDependencies: - preact-render-to-string - '@vitejs/devtools-kit@0.7.3(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))': + '@vitejs/devtools-kit@0.7.3(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))': dependencies: '@devframes/hub': 0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)) '@devframes/json-render': 0.9.18(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)) @@ -3317,7 +3597,7 @@ snapshots: mlly: 1.8.2 nostics: 1.2.0 nypm: 0.6.10 - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) transitivePeerDependencies: - '@modelcontextprotocol/client' - cac @@ -3325,10 +3605,10 @@ snapshots: - ocache - srvx - '@vitejs/plugin-vue@6.0.8(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3))': + '@vitejs/plugin-vue@6.0.8(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3))': dependencies: '@rolldown/pluginutils': 1.0.1 - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) vue: 3.5.42(typescript@6.0.3) '@vitest/expect@4.1.11': @@ -3340,13 +3620,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.1 - '@vitest/mocker@4.1.11(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))': + '@vitest/mocker@4.1.11(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))': dependencies: '@vitest/spy': 4.1.11 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) '@vitest/pretty-format@4.1.11': dependencies: @@ -3670,6 +3950,8 @@ snapshots: node-releases: 2.0.55 update-browserslist-db: 1.3.2(browserslist@4.28.9) + buffer-from@1.1.2: {} + cac@7.0.0: {} call-bind-apply-helpers@1.0.2: @@ -3703,6 +3985,8 @@ snapshots: commander@11.1.0: {} + commander@2.20.3: {} + compute-scroll-into-view@3.1.1: {} confbox@0.1.8: {} @@ -3882,6 +4166,35 @@ snapshots: d: 1.0.2 ext: 1.7.0 + esbuild@0.28.1: + optionalDependencies: + '@esbuild/aix-ppc64': 0.28.1 + '@esbuild/android-arm': 0.28.1 + '@esbuild/android-arm64': 0.28.1 + '@esbuild/android-x64': 0.28.1 + '@esbuild/darwin-arm64': 0.28.1 + '@esbuild/darwin-x64': 0.28.1 + '@esbuild/freebsd-arm64': 0.28.1 + '@esbuild/freebsd-x64': 0.28.1 + '@esbuild/linux-arm': 0.28.1 + '@esbuild/linux-arm64': 0.28.1 + '@esbuild/linux-ia32': 0.28.1 + '@esbuild/linux-loong64': 0.28.1 + '@esbuild/linux-mips64el': 0.28.1 + '@esbuild/linux-ppc64': 0.28.1 + '@esbuild/linux-riscv64': 0.28.1 + '@esbuild/linux-s390x': 0.28.1 + '@esbuild/linux-x64': 0.28.1 + '@esbuild/netbsd-arm64': 0.28.1 + '@esbuild/netbsd-x64': 0.28.1 + '@esbuild/openbsd-arm64': 0.28.1 + '@esbuild/openbsd-x64': 0.28.1 + '@esbuild/openharmony-arm64': 0.28.1 + '@esbuild/sunos-x64': 0.28.1 + '@esbuild/win32-arm64': 0.28.1 + '@esbuild/win32-ia32': 0.28.1 + '@esbuild/win32-x64': 0.28.1 + escalade@3.2.0: {} escape-string-regexp@5.0.0: {} @@ -4483,6 +4796,13 @@ snapshots: source-map-js@1.2.1: {} + source-map-support@0.5.21: + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + + source-map@0.6.1: {} + sourcemap-codec@1.4.8: {} space-separated-tokens@2.0.2: {} @@ -4525,6 +4845,13 @@ snapshots: picocolors: 1.1.1 sax: 1.6.1 + terser@5.51.2: + dependencies: + '@jridgewell/source-map': 0.3.11 + acorn: 8.18.0 + commander: 2.20.3 + source-map-support: 0.5.21 + tinybench@2.9.0: {} tinyexec@1.3.1: {} @@ -4568,7 +4895,7 @@ snapshots: undici-types@8.3.0: {} - unimport@6.5.0(oxc-parser@0.131.0)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)): + unimport@6.5.0(esbuild@0.28.1)(oxc-parser@0.131.0)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)): dependencies: acorn: 8.18.0 escape-string-regexp: 5.0.0 @@ -4582,7 +4909,7 @@ snapshots: scule: 1.3.0 strip-literal: 4.0.0 tinyglobby: 0.2.17 - unplugin: 3.3.0(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + unplugin: 3.3.0(esbuild@0.28.1)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) unplugin-utils: 0.3.2 optionalDependencies: oxc-parser: 0.131.0 @@ -4620,7 +4947,7 @@ snapshots: unist-util-is: 6.0.1 unist-util-visit-parents: 6.0.2 - unocss@66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(rolldown@1.2.8)(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)): + unocss@66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(rolldown@1.2.8)(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)): dependencies: '@unocss/cli': 66.10.1 '@unocss/core': 66.10.1 @@ -4639,7 +4966,7 @@ snapshots: '@unocss/transformer-compile-class': 66.10.1 '@unocss/transformer-directives': 66.10.1 '@unocss/transformer-variant-group': 66.10.1 - '@unocss/vite': 66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + '@unocss/vite': 66.10.1(@devframes/hub@0.9.18(crossws@0.4.12(srvx@1.0.4))(devframe@0.9.18(cac@7.0.0)(srvx@1.0.4)))(cac@7.0.0)(crossws@0.4.12(srvx@1.0.4))(srvx@1.0.4)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) transitivePeerDependencies: - '@devframes/hub' - '@devframes/hub-ui' @@ -4652,13 +4979,13 @@ snapshots: - srvx - vite - unplugin-auto-import@21.1.0(@vueuse/core@14.4.0(vue@3.5.42(typescript@6.0.3)))(oxc-parser@0.131.0)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)): + unplugin-auto-import@21.1.0(@vueuse/core@14.4.0(vue@3.5.42(typescript@6.0.3)))(esbuild@0.28.1)(oxc-parser@0.131.0)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)): dependencies: local-pkg: 1.2.1 magic-string: 1.3.1 picomatch: 4.0.7 - unimport: 6.5.0(oxc-parser@0.131.0)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) - unplugin: 3.3.0(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + unimport: 6.5.0(esbuild@0.28.1)(oxc-parser@0.131.0)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) + unplugin: 3.3.0(esbuild@0.28.1)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) unplugin-utils: 0.3.2 optionalDependencies: '@vueuse/core': 14.4.0(vue@3.5.42(typescript@6.0.3)) @@ -4679,7 +5006,7 @@ snapshots: pathe: 2.0.3 picomatch: 4.0.5 - unplugin-vue-components@32.1.0(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)): + unplugin-vue-components@32.1.0(esbuild@0.28.1)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)): dependencies: chokidar: 5.0.0 local-pkg: 1.2.1 @@ -4688,7 +5015,7 @@ snapshots: obug: 2.1.4 picomatch: 4.0.5 tinyglobby: 0.2.17 - unplugin: 3.3.0(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + unplugin: 3.3.0(esbuild@0.28.1)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) unplugin-utils: 0.3.2 vue: 3.5.42(typescript@6.0.3) transitivePeerDependencies: @@ -4720,14 +5047,15 @@ snapshots: picomatch: 4.0.7 webpack-virtual-modules: 0.6.2 - unplugin@3.3.0(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)): + unplugin@3.3.0(esbuild@0.28.1)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)): dependencies: '@jridgewell/remapping': 2.3.5 picomatch: 4.0.5 webpack-virtual-modules: 0.6.2 optionalDependencies: + esbuild: 0.28.1 rolldown: 1.2.8 - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) update-browserslist-db@1.3.2(browserslist@4.28.9): dependencies: @@ -4745,13 +5073,18 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite-plugin-svg-icons-ng@1.9.3(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)): + vite-plugin-lightningcss@0.0.5: + dependencies: + browserslist: 4.28.9 + lightningcss: 1.33.0 + + vite-plugin-svg-icons-ng@1.9.3(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)): dependencies: svg-icon-baker: 2.1.1 tinyglobby: 0.2.17 - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) - vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0): + vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0): dependencies: lightningcss: 1.33.0 picomatch: 4.0.7 @@ -4760,15 +5093,17 @@ snapshots: tinyglobby: 0.2.17 optionalDependencies: '@types/node': 26.1.1 + esbuild: 0.28.1 fsevents: 2.3.3 jiti: 2.7.0 sass: 1.104.0 + terser: 5.51.2 yaml: 2.9.0 - vitest@4.1.11(@types/node@26.1.1)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)): + vitest@4.1.11(@types/node@26.1.1)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)): dependencies: '@vitest/expect': 4.1.11 - '@vitest/mocker': 4.1.11(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + '@vitest/mocker': 4.1.11(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) '@vitest/pretty-format': 4.1.11 '@vitest/runner': 4.1.11 '@vitest/snapshot': 4.1.11 @@ -4785,7 +5120,7 @@ snapshots: tinyexec: 1.3.1 tinyglobby: 0.2.17 tinyrainbow: 3.1.1 - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 26.1.1 @@ -4810,7 +5145,7 @@ snapshots: dependencies: vue: 3.5.42(typescript@6.0.3) - vue-router@5.3.1(@vue/compiler-sfc@3.5.42)(pinia@4.0.3(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)): + vue-router@5.3.1(@vue/compiler-sfc@3.5.42)(esbuild@0.28.1)(pinia@4.0.3(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)): dependencies: '@vue-macros/common': 3.1.4(vue@3.5.42(typescript@6.0.3)) '@vue/devtools-api': 8.2.1 @@ -4826,13 +5161,13 @@ snapshots: picomatch: 4.0.7 scule: 1.3.0 tinyglobby: 0.2.17 - unplugin: 3.3.0(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0)) + unplugin: 3.3.0(esbuild@0.28.1)(rolldown@1.2.8)(vite@8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0)) unplugin-utils: 0.3.2 vue: 3.5.42(typescript@6.0.3) optionalDependencies: '@vue/compiler-sfc': 3.5.42 pinia: 4.0.3(@vue/devtools-api@8.2.1)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)) - vite: 8.2.2(@types/node@26.1.1)(jiti@2.7.0)(sass@1.104.0)(yaml@2.9.0) + vite: 8.2.2(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(sass@1.104.0)(terser@5.51.2)(yaml@2.9.0) transitivePeerDependencies: - '@farmfe/core' - '@rspack/core' diff --git a/src/api/system/agreement/index.ts b/src/api/system/agreement/index.ts index 238aaf9..8f0aa60 100644 --- a/src/api/system/agreement/index.ts +++ b/src/api/system/agreement/index.ts @@ -20,7 +20,7 @@ export const listAgreement = (query?: AgreementQuery): AxiosPromise => { +export const getAgreement = (agreementId: string): AxiosPromise => { return request({ url: '/system/agreement/' + agreementId, method: 'get' diff --git a/src/api/system/agreement/types.ts b/src/api/system/agreement/types.ts index 9f66d52..c43d4e2 100644 --- a/src/api/system/agreement/types.ts +++ b/src/api/system/agreement/types.ts @@ -2,7 +2,7 @@ export interface AgreementVO { /** * 主键(雪花) */ - agreementId: string | number; + agreementId: string; /** * 协议编号 */ @@ -26,7 +26,7 @@ export interface AgreementVO { /** * 状态(0草稿 1已生效 2停用) */ - status: boolean; + status: string; /** * 生效时间 */ @@ -41,7 +41,7 @@ export interface AgreementForm extends BaseEntity { /** * 主键(雪花) */ - agreementId?: string | number; + agreementId?: string; /** * 协议编号 */ @@ -65,7 +65,7 @@ export interface AgreementForm extends BaseEntity { /** * 状态(0草稿 1已生效 2停用) */ - status?: boolean; + status?: string; /** * 生效时间 */ diff --git a/src/api/system/conversation/index.ts b/src/api/system/conversation/index.ts index 0f94170..75b5d9a 100644 --- a/src/api/system/conversation/index.ts +++ b/src/api/system/conversation/index.ts @@ -72,3 +72,22 @@ export const closeCsSession = (sessionId: string) => { method: 'delete' }); }; + + +type overView = { + "statuses": { + "count": number, + "status": string, + "statusName": string + }[], + "total": number +} +/** + * 查看客服会话状态统计 + */ +export const overViewCsSession = (): AxiosPromise => { + return request({ + url: '/cs/session/statusCount', + method: 'get', + }); +}; diff --git a/src/api/system/csSession/index.ts b/src/api/system/csSession/index.ts index 73f9fa4..68d1f37 100644 --- a/src/api/system/csSession/index.ts +++ b/src/api/system/csSession/index.ts @@ -2,10 +2,11 @@ import request from '@/utils/request'; import {deskSessionType, listUserType} from "@/api/system/csSession/type"; import type {AxiosPromise} from '@/utils/api-types'; +export type UserListType = 'all' | 'queue' | 'recentEnded' | 'serving' /** * 查询客服负责用户列表 */ -export const csAgentDesk = (userType) => { +export const csAgentDesk = (userType: UserListType) => { return request({ url: '/cs/agent/desk', method: 'get', @@ -41,10 +42,24 @@ export const getDeskCsAgentHistory = (sessionId: string, afterSeq: number = 0, e } }); }; + + +export type AgentPresenceType = { + activeSessionCount: number; + agentId: string; + loginDate: string; + nickName: string; + onlineStatus: string; + onlineStatusName: string; + phone: string; + status: string; + userName: string; +} + /** * 查询可以转接的客服列表 */ -export const getAgentPresence = () => { +export const getAgentPresence = (): AxiosPromise => { return request({ url: `/cs/agent/presence`, method: 'get', diff --git a/src/api/system/csSession/type.ts b/src/api/system/csSession/type.ts index a5a274a..94225b3 100644 --- a/src/api/system/csSession/type.ts +++ b/src/api/system/csSession/type.ts @@ -24,8 +24,9 @@ export type Device = { } export type Session = { - agentId: null; - agentName: null; + agentId: string; + latestSeq: number; + agentName: string; queueNo: number; sessionId: string; startTime: string; diff --git a/src/api/system/user/types.ts b/src/api/system/user/types.ts index c060d87..f440b67 100644 --- a/src/api/system/user/types.ts +++ b/src/api/system/user/types.ts @@ -1,5 +1,5 @@ -import type { PostVO } from '@/api/system/post/types'; -import type { RoleVO } from '@/api/system/role/types'; +import type {PostVO} from '@/api/system/post/types'; +import type {RoleVO} from '@/api/system/role/types'; /** * 用户信息 @@ -69,7 +69,7 @@ export interface UserForm { status: string; remark?: string; avatar?: string | number; - postIds: string[]; + postIds?: string[]; roleIds: string[]; } diff --git a/src/assets/images/noSession.png b/src/assets/images/noSession.png new file mode 100644 index 0000000..e5bdf52 Binary files /dev/null and b/src/assets/images/noSession.png differ diff --git a/src/assets/styles/vendors/element-plus/_index.scss b/src/assets/styles/vendors/element-plus/_index.scss index 5955cb0..0af5d1c 100644 --- a/src/assets/styles/vendors/element-plus/_index.scss +++ b/src/assets/styles/vendors/element-plus/_index.scss @@ -1,4 +1,6 @@ -@use 'element-plus/dist/index.css'; +// Element Plus 全量 CSS 已移除,改为通过 unplugin-vue-components + ElementPlusResolver +// 按需引入组件 SCSS(importStyle: 'sass'),仅打包实际使用到的组件样式 +// 下方保留项目对 Element Plus 组件的样式覆盖层(_overrides / _dialog 等) @use 'overrides'; @use './misc'; @use './dialog'; diff --git a/src/components/FormItemTip/index.vue b/src/components/FormItemTip/index.vue index e403a5e..bf0b4aa 100644 --- a/src/components/FormItemTip/index.vue +++ b/src/components/FormItemTip/index.vue @@ -260,7 +260,11 @@ watch( ([type, val]) => { if (type === 'uploadUserAvatar') { const str = val as string - imageUrl.value = str.trim() === '' ? defaultImag : str + if (str) { + imageUrl.value = str.trim() === '' ? defaultImag : str + } else { + imageUrl.value = defaultImag + } } }, {immediate: true} diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index aab70fa..82eeed3 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -10,7 +10,7 @@ /> - logo + logo