- 新增全局 loading:自定义 apps/web-antd/loading.html 覆盖 inject-app-loading 的默认模板,Vue 挂载前就能播放品牌动画 - 新增 LottieLoading 组件,用于 SSO 回调等"白屏时间偏长"的运行时场景 - 换色方案:Lottie JSON 里原本 5 档硬编码绿色,按当前主题 colorPrimary 生成 5 档 HSL 亮度做指纹替换。挂载前从 localStorage preferences 读色, 挂载后读 CSS 变量 --primary,两条路径共用 public/lottie-theme-patch.js 一份 classic-JS 源,window.__LottieThemePatch__ 上暴露 - vite 插件:启动/构建时从 node_modules 把 lottie_light.min.js 拷到 public/ 供 loading.html <script> 加载;.gitignore 排除该产物 - LottieLoading 复用 loading.html 已经挂好的 window.lottie,不再把 ~170KB 播放器再打进 Vue 产物 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
76 lines
2.2 KiB
JSON
76 lines
2.2 KiB
JSON
{
|
|
"name": "@vben/web-antd",
|
|
"version": "5.5.9",
|
|
"homepage": "https://vben.pro",
|
|
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
|
|
"directory": "apps/web-antd"
|
|
},
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "vben",
|
|
"email": "ann.vben@gmail.com",
|
|
"url": "https://github.com/anncwb"
|
|
},
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "pnpm vite build --mode production",
|
|
"build:analyze": "pnpm vite build --mode analyze",
|
|
"dev": "pnpm vite --mode development",
|
|
"preview": "vite preview",
|
|
"typecheck": "vue-tsc --noEmit --skipLibCheck"
|
|
},
|
|
"imports": {
|
|
"#/*": "./src/*"
|
|
},
|
|
"dependencies": {
|
|
"@form-create/ant-design-vue": "catalog:",
|
|
"@form-create/antd-designer": "catalog:",
|
|
"@tinymce/tinymce-vue": "catalog:",
|
|
"@types/qrcode": "catalog:",
|
|
"@vben/access": "workspace:*",
|
|
"@vben/common-ui": "workspace:*",
|
|
"@vben/constants": "workspace:*",
|
|
"@vben/hooks": "workspace:*",
|
|
"@vben/icons": "workspace:*",
|
|
"@vben/layouts": "workspace:*",
|
|
"@vben/locales": "workspace:*",
|
|
"@vben/plugins": "workspace:*",
|
|
"@vben/preferences": "workspace:*",
|
|
"@vben/request": "workspace:*",
|
|
"@vben/stores": "workspace:*",
|
|
"@vben/styles": "workspace:*",
|
|
"@vben/types": "workspace:*",
|
|
"@vben/utils": "workspace:*",
|
|
"@videojs-player/vue": "catalog:",
|
|
"@vueuse/core": "catalog:",
|
|
"@vueuse/integrations": "catalog:",
|
|
"ant-design-vue": "catalog:",
|
|
"benz-amr-recorder": "catalog:",
|
|
"bpmn-js": "catalog:",
|
|
"bpmn-js-properties-panel": "catalog:",
|
|
"bpmn-js-token-simulation": "catalog:",
|
|
"camunda-bpmn-moddle": "catalog:",
|
|
"cropperjs": "catalog:",
|
|
"dayjs": "catalog:",
|
|
"diagram-js": "catalog:",
|
|
"fast-xml-parser": "catalog:",
|
|
"highlight.js": "catalog:",
|
|
"jszip": "catalog:",
|
|
"lottie-web": "^5.13.0",
|
|
"pinia": "catalog:",
|
|
"qrcode": "catalog:",
|
|
"steady-xml": "catalog:",
|
|
"tinymce": "catalog:",
|
|
"video.js": "catalog:",
|
|
"vue": "catalog:",
|
|
"vue-dompurify-html": "catalog:",
|
|
"vue-router": "catalog:",
|
|
"vue3-print-nb": "catalog:",
|
|
"vue3-signature": "catalog:",
|
|
"vuedraggable": "catalog:"
|
|
}
|
|
}
|