WEB/package.json
yin f41b37aa54 feat(tab-order): 统一标签排序与默认页签配置,构建按需引入 Element Plus/ECharts
- 新增 useTabOrder、tab-order 工具与 tab-order-registry 注册表,按模块集中登记
  页面标签并懒加载默认标签;新增 TabOrderSettingsDialog、TabOrderDragList,
  支持拖拽排序、设置默认页签与重置,SortSettingDialog / TabArea 迁移到同一套实现
- 用户偏好存储新增「用户级」globalMap(不随仓库隔离),tabOrder 写入用户级 scope,
  旧 scope 一次性迁移并对齐回退读取;各页面 config 接入统一注册表,
  移除页面内自写的排序与默认页签逻辑
- 新增 tbyc-config 统一配置文件与分区注册表,UpperTable 的配置导出/导入
  升级为 tbyc-config.json(字段列、标签排序、界面显示、快捷键),
  兼容旧版「全局字段配置」与 tabOrders 文件
- Element Plus 改为 unplugin-vue-components 按需自动引入,移除
  app.use(ElementPlus)、dts 生成与强制 vendor-element-plus 分包
- ECharts 改为按需注册(折线/饼图 + 所需组件),dashboard 图表统一走
  @/utils/echarts;移除 three.js 及 overlookControls / threeScene / threeUtils,
  同步清理依赖、manualChunks 与 optimizeDeps
- vue-devtools 支持 VITE_VUE_DEVTOOLS=off 关闭;抽离 wavePrintPayload 供订单、
  复核页面复用,scanFields 承接批量搜索操作符与「包含商品」筛选项
- 补充标签排序与默认页签统一方案、tbyc-config 说明文档,
  更新标签页性能测量结论与用户偏好保存方案
2026-11-07 18:00:11 +08:00

89 lines
3.1 KiB
JSON

{
"name": "newproject",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build",
"update": "node ./workflows/api-doc-sync/update.mjs",
"apiconfig": "node ./workflows/api-doc-system/scripts/update.mjs",
"apiconfig:clear-pending": "node ./workflows/api-doc-system/scripts/clear-pending.mjs",
"apiconfig:api-list-update": "node ./workflows/api-doc-system/api-list-update.mjs",
"apiconfig:api-interface-update": "node ./workflows/api-doc-system/api-interface-update.mjs",
"apiconfig:api-interface-clean": "node ./workflows/api-doc-system/api-interface-clean.mjs",
"apiconfig:apidata": "node ./workflows/api-doc-system/scripts/apidata.mjs",
"apiconfig:apidata:quick": "node ./workflows/api-doc-system/scripts/apidata.mjs -- --quick",
"apiconfig:apidata:clear": "node ./workflows/api-doc-system/scripts/apidata.mjs -- --clear",
"apiconfig:apidata:help": "node ./workflows/api-doc-system/scripts/apidata.mjs -- --help",
"apiagent": "node ./workflows/api-doc-system/scripts/agent/run.mjs",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"format": "prettier . --write",
"format:check": "prettier . --check",
"deploy": "node ./scripts/deploy.mjs",
"rollback": "node ./scripts/rollback.mjs"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.2",
"@types/nprogress": "^0.2.3",
"@vueuse/core": "^14.2.1",
"axios": "^1.13.6",
"china-division": "^2.7.0",
"dayjs": "^1.11.19",
"echarts": "^6.0.0",
"element-plus": "^2.13.3",
"file-saver": "^2.0.5",
"js-cookie": "^3.0.5",
"jsbarcode": "^3.12.3",
"nprogress": "^0.2.0",
"path-browserify": "^1.0.1",
"path-to-regexp": "^8.3.0",
"pinia": "^3.0.4",
"qrcode": "^1.5.4",
"sortablejs": "^1.15.7",
"spark-md5": "^3.0.2",
"uuid": "^13.0.0",
"vue": "^3.5.29",
"vue-draggable-plus": "^0.6.1",
"vue-i18n": "^11.2.8",
"vue-router": "^5.0.3",
"vue-virtual-scroller": "^3.0.2",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tsconfig/node24": "^24.0.4",
"@types/js-cookie": "^3.0.6",
"@types/node": "^24.11.0",
"@types/path-browserify": "^1.0.3",
"@types/qrcode": "^1.5.6",
"@types/sortablejs": "^1.15.9",
"@types/spark-md5": "^3.0.5",
"@vitejs/plugin-vue": "^6.0.4",
"@vue/tsconfig": "^0.8.1",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-vue": "^10.8.0",
"fast-glob": "^3.3.3",
"npm-run-all2": "^8.0.4",
"prettier": "^3.8.2",
"sass": "^1.97.3",
"typescript": "~5.9.3",
"typescript-eslint": "^8.58.2",
"unplugin-auto-import": "^21.1.0",
"unplugin-vue-components": "^32.1.0",
"vite": "^7.3.1",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-devtools": "^8.0.6",
"vue-eslint-parser": "^10.4.0",
"vue-tsc": "^3.2.5"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
}
}