mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-06 03:57:49 +08:00
version: 4.6.4-beta1.0
This commit is contained in:
parent
3fa9478ee4
commit
9a4e2e723d
26
CHANGELOG.md
26
CHANGELOG.md
@ -1,5 +1,31 @@
|
|||||||
# CHANGE LOG
|
# CHANGE LOG
|
||||||
|
|
||||||
|
## 4.6.4-beta1.0
|
||||||
|
|
||||||
|
更新了核心依赖插件:`vite`, `vue`。
|
||||||
|
|
||||||
|
新增 `__ray-template` 包,用于模板启动时的一些检查或者其他钩子的启动。
|
||||||
|
|
||||||
|
## Feats
|
||||||
|
|
||||||
|
- 更新了一些注释
|
||||||
|
- 更新 `vue` 版本至 `3.4.19`
|
||||||
|
- 更新 `vite` 版本至 `5.1.3`;最新版本 `vite` 优化了 `HMR` 逻辑
|
||||||
|
- 新增检查器功能(存于 `__ray-template` 包),用于在模板启动后,做一些检查工作
|
||||||
|
- 使用 `checkRightClose`, `checkLeftClose` 方法替换原有检查关闭按钮禁用逻辑
|
||||||
|
- `useDevice` 方法返回属性 `isTabletOrSmaller` 使用 `readonly` 方法包裹
|
||||||
|
- `RChart` 组件相关
|
||||||
|
- 移除 `animation` 配置项,该配置项在使用的时候可能会有潜在的性能问题
|
||||||
|
- 新增 `nextTick` 配置项,是否将渲染图标内容放置到下一个队列中
|
||||||
|
> 该配置项启用后,会先渲染一个空的图表,然后在下一个队列中渲染图表内容。这样做的好处是,可以避免一些图表渲染的性能问题,但是会导致图表渲染的时候会有一个空白的过程。
|
||||||
|
- 修改 `registerTheme` 方法调用时机,并且该方法仅会执行一次
|
||||||
|
- 预设 `Card` 风格的下载功能下拉框预留字段由 `downloadChart` 更名为 `__DOWN_LOAD_CHART__`
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- 修复更新主题色时 `preset` 没有被正确更新问题。现在在更新主题色后,会正确的更新 `primaryColorPressed`
|
||||||
|
- 修复 `README.md` 描述文件中的一些错误描述
|
||||||
|
|
||||||
## 4.6.3
|
## 4.6.3
|
||||||
|
|
||||||
## Feats
|
## Feats
|
||||||
|
22
README.commit.md
Normal file
22
README.commit.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# commit 规范
|
||||||
|
|
||||||
|
## commit message 格式
|
||||||
|
|
||||||
|
在提交代码时,`commit message` 遵循以下格式:
|
||||||
|
|
||||||
|
- feat: 新功能`(feature)`
|
||||||
|
- fix: 修补 `bug`
|
||||||
|
- update: 更新代码
|
||||||
|
- docs: 文档(documentation)
|
||||||
|
- style: 格式(不影响代码运行的变动)
|
||||||
|
- refactor: 重构(即不是新增功能,也不是修改bug的代码变动)
|
||||||
|
- test: 增加测试
|
||||||
|
- chore: 构建过程或辅助工具的变动
|
||||||
|
- revert: 撤销
|
||||||
|
- merge: 合并分支
|
||||||
|
- perf: 优化相关,比如提升性能、体验
|
||||||
|
- build: 构建
|
||||||
|
- plugin: 插件更新
|
||||||
|
- publish: 发布
|
||||||
|
|
||||||
|
当你需要定制化自己的`commit message`格式时,可以在`commitlint.config.cjs`文件中进行配置。
|
@ -74,7 +74,7 @@ A `completely free`, `efficient`, `feature complete` and based on vite5. x & ts(
|
|||||||
- [Vue3](https://v3.vuejs.org/) - familiar with Vue basic syntax
|
- [Vue3](https://v3.vuejs.org/) - familiar with Vue basic syntax
|
||||||
- [TypeScript](https://www.typescriptlang.org/) - familiar with TypeScript basic syntax
|
- [TypeScript](https://www.typescriptlang.org/) - familiar with TypeScript basic syntax
|
||||||
- [ES6+](http://es6.ruanyifeng.com/) - familiar with es6 basic syntax
|
- [ES6+](http://es6.ruanyifeng.com/) - familiar with es6 basic syntax
|
||||||
- [Vue-Hooks-Plus] - familiar with vue-hooks-plus useRequest method basic use
|
- [Vue-Hooks-Plus](https://inhiblabcore.github.io/docs/hooks/) - familiar with vue-hooks-plus useRequest method basic use
|
||||||
- [Vue-Router-Next](https://next.router.vuejs.org/) - familiar with vue-router4.x basic use
|
- [Vue-Router-Next](https://next.router.vuejs.org/) - familiar with vue-router4.x basic use
|
||||||
- [Naive-UI](https://www.naiveui.com) - naive ui basic use
|
- [Naive-UI](https://www.naiveui.com) - naive ui basic use
|
||||||
- [Mock.js](https://github.com/nuysoft/Mock) - mockjs basic syntax
|
- [Mock.js](https://github.com/nuysoft/Mock) - mockjs basic syntax
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
- [Vue3](https://v3.vuejs.org/) - 熟悉 Vue 基础语法
|
- [Vue3](https://v3.vuejs.org/) - 熟悉 Vue 基础语法
|
||||||
- [TypeScript](https://www.typescriptlang.org/) - 熟悉 TypeScript 基本语法
|
- [TypeScript](https://www.typescriptlang.org/) - 熟悉 TypeScript 基本语法
|
||||||
- [ES6+](http://es6.ruanyifeng.com/) - 熟悉 es6 基本语法
|
- [ES6+](http://es6.ruanyifeng.com/) - 熟悉 es6 基本语法
|
||||||
- [Vue-Hooks-Plus] - 熟悉 vue-hooks-plus useRequest 方法的基本使用
|
- [Vue-Hooks-Plus](https://inhiblabcore.github.io/docs/hooks/) - 熟悉 vue-hooks-plus useRequest 方法的基本使用
|
||||||
- [Vue-Router-Next](https://next.router.vuejs.org/) - 熟悉 vue-router4.x 基本使用
|
- [Vue-Router-Next](https://next.router.vuejs.org/) - 熟悉 vue-router4.x 基本使用
|
||||||
- [Naive-UI](https://www.naiveui.com) - naive ui 基本使用
|
- [Naive-UI](https://www.naiveui.com) - naive ui 基本使用
|
||||||
- [Mock.js](https://github.com/nuysoft/Mock) - mockjs 基本语法
|
- [Mock.js](https://github.com/nuysoft/Mock) - mockjs 基本语法
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ray-template",
|
"name": "ray-template",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "4.6.3",
|
"version": "4.6.4-beta1.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.0.0 || >=20.0.0",
|
"node": "^18.0.0 || >=20.0.0",
|
||||||
@ -48,7 +48,7 @@
|
|||||||
"pinia": "^2.1.7",
|
"pinia": "^2.1.7",
|
||||||
"pinia-plugin-persistedstate": "^3.2.0",
|
"pinia-plugin-persistedstate": "^3.2.0",
|
||||||
"print-js": "^1.6.0",
|
"print-js": "^1.6.0",
|
||||||
"vue": "^3.4.15",
|
"vue": "^3.4.19",
|
||||||
"vue-hooks-plus": "1.8.5",
|
"vue-hooks-plus": "1.8.5",
|
||||||
"vue-i18n": "^9.9.0",
|
"vue-i18n": "^9.9.0",
|
||||||
"vue-router": "^4.2.5",
|
"vue-router": "^4.2.5",
|
||||||
@ -93,7 +93,7 @@
|
|||||||
"typescript": "^5.2.2",
|
"typescript": "^5.2.2",
|
||||||
"unplugin-auto-import": "^0.16.6",
|
"unplugin-auto-import": "^0.16.6",
|
||||||
"unplugin-vue-components": "^0.25.2",
|
"unplugin-vue-components": "^0.25.2",
|
||||||
"vite": "^5.0.11",
|
"vite": "^5.1.3",
|
||||||
"vite-plugin-cdn2": "0.15.2",
|
"vite-plugin-cdn2": "0.15.2",
|
||||||
"vite-plugin-compression": "^0.5.1",
|
"vite-plugin-compression": "^0.5.1",
|
||||||
"vite-plugin-ejs": "^1.7.0",
|
"vite-plugin-ejs": "^1.7.0",
|
||||||
|
279
pnpm-lock.yaml
generated
279
pnpm-lock.yaml
generated
@ -7,7 +7,7 @@ settings:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@vueuse/core':
|
'@vueuse/core':
|
||||||
specifier: ^10.7.1
|
specifier: ^10.7.1
|
||||||
version: 10.7.1(vue@3.4.15)
|
version: 10.7.1(vue@3.4.19)
|
||||||
awesome-qr:
|
awesome-qr:
|
||||||
specifier: 2.1.5-rc.0
|
specifier: 2.1.5-rc.0
|
||||||
version: 2.1.5-rc.0
|
version: 2.1.5-rc.0
|
||||||
@ -43,10 +43,10 @@ dependencies:
|
|||||||
version: 1.1.0
|
version: 1.1.0
|
||||||
naive-ui:
|
naive-ui:
|
||||||
specifier: ^2.37.3
|
specifier: ^2.37.3
|
||||||
version: 2.37.3(vue@3.4.15)
|
version: 2.37.3(vue@3.4.19)
|
||||||
pinia:
|
pinia:
|
||||||
specifier: ^2.1.7
|
specifier: ^2.1.7
|
||||||
version: 2.1.7(typescript@5.2.2)(vue@3.4.15)
|
version: 2.1.7(typescript@5.2.2)(vue@3.4.19)
|
||||||
pinia-plugin-persistedstate:
|
pinia-plugin-persistedstate:
|
||||||
specifier: ^3.2.0
|
specifier: ^3.2.0
|
||||||
version: 3.2.0(pinia@2.1.7)
|
version: 3.2.0(pinia@2.1.7)
|
||||||
@ -54,17 +54,17 @@ dependencies:
|
|||||||
specifier: ^1.6.0
|
specifier: ^1.6.0
|
||||||
version: 1.6.0
|
version: 1.6.0
|
||||||
vue:
|
vue:
|
||||||
specifier: ^3.4.15
|
specifier: ^3.4.19
|
||||||
version: 3.4.15(typescript@5.2.2)
|
version: 3.4.19(typescript@5.2.2)
|
||||||
vue-hooks-plus:
|
vue-hooks-plus:
|
||||||
specifier: 1.8.5
|
specifier: 1.8.5
|
||||||
version: 1.8.5(vue@3.4.15)
|
version: 1.8.5(vue@3.4.19)
|
||||||
vue-i18n:
|
vue-i18n:
|
||||||
specifier: ^9.9.0
|
specifier: ^9.9.0
|
||||||
version: 9.9.0(vue@3.4.15)
|
version: 9.9.0(vue@3.4.19)
|
||||||
vue-router:
|
vue-router:
|
||||||
specifier: ^4.2.5
|
specifier: ^4.2.5
|
||||||
version: 4.2.5(vue@3.4.15)
|
version: 4.2.5(vue@3.4.19)
|
||||||
xlsx:
|
xlsx:
|
||||||
specifier: ^0.18.5
|
specifier: ^0.18.5
|
||||||
version: 0.18.5
|
version: 0.18.5
|
||||||
@ -108,10 +108,10 @@ devDependencies:
|
|||||||
version: 6.5.0(eslint@8.52.0)(typescript@5.2.2)
|
version: 6.5.0(eslint@8.52.0)(typescript@5.2.2)
|
||||||
'@vitejs/plugin-vue':
|
'@vitejs/plugin-vue':
|
||||||
specifier: ^5.0.3
|
specifier: ^5.0.3
|
||||||
version: 5.0.3(vite@5.0.11)(vue@3.4.15)
|
version: 5.0.3(vite@5.1.3)(vue@3.4.19)
|
||||||
'@vitejs/plugin-vue-jsx':
|
'@vitejs/plugin-vue-jsx':
|
||||||
specifier: ^3.1.0
|
specifier: ^3.1.0
|
||||||
version: 3.1.0(vite@5.0.11)(vue@3.4.15)
|
version: 3.1.0(vite@5.1.3)(vue@3.4.19)
|
||||||
'@vue-hooks-plus/resolvers':
|
'@vue-hooks-plus/resolvers':
|
||||||
specifier: 1.2.4
|
specifier: 1.2.4
|
||||||
version: 1.2.4(vue-hooks-plus@1.8.5)
|
version: 1.2.4(vue-hooks-plus@1.8.5)
|
||||||
@ -183,34 +183,34 @@ devDependencies:
|
|||||||
version: 0.16.6(@vueuse/core@10.7.1)
|
version: 0.16.6(@vueuse/core@10.7.1)
|
||||||
unplugin-vue-components:
|
unplugin-vue-components:
|
||||||
specifier: ^0.25.2
|
specifier: ^0.25.2
|
||||||
version: 0.25.2(vue@3.4.15)
|
version: 0.25.2(vue@3.4.19)
|
||||||
vite:
|
vite:
|
||||||
specifier: ^5.0.11
|
specifier: ^5.1.3
|
||||||
version: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
version: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
vite-plugin-cdn2:
|
vite-plugin-cdn2:
|
||||||
specifier: 0.15.2
|
specifier: 0.15.2
|
||||||
version: 0.15.2
|
version: 0.15.2
|
||||||
vite-plugin-compression:
|
vite-plugin-compression:
|
||||||
specifier: ^0.5.1
|
specifier: ^0.5.1
|
||||||
version: 0.5.1(vite@5.0.11)
|
version: 0.5.1(vite@5.1.3)
|
||||||
vite-plugin-ejs:
|
vite-plugin-ejs:
|
||||||
specifier: ^1.7.0
|
specifier: ^1.7.0
|
||||||
version: 1.7.0(vite@5.0.11)
|
version: 1.7.0(vite@5.1.3)
|
||||||
vite-plugin-eslint:
|
vite-plugin-eslint:
|
||||||
specifier: 1.8.1
|
specifier: 1.8.1
|
||||||
version: 1.8.1(eslint@8.52.0)(vite@5.0.11)
|
version: 1.8.1(eslint@8.52.0)(vite@5.1.3)
|
||||||
vite-plugin-imp:
|
vite-plugin-imp:
|
||||||
specifier: ^2.4.0
|
specifier: ^2.4.0
|
||||||
version: 2.4.0(vite@5.0.11)
|
version: 2.4.0(vite@5.1.3)
|
||||||
vite-plugin-inspect:
|
vite-plugin-inspect:
|
||||||
specifier: ^0.7.38
|
specifier: ^0.7.38
|
||||||
version: 0.7.38(vite@5.0.11)
|
version: 0.7.38(vite@5.1.3)
|
||||||
vite-plugin-mock-dev-server:
|
vite-plugin-mock-dev-server:
|
||||||
specifier: 1.3.4
|
specifier: 1.3.4
|
||||||
version: 1.3.4(vite@5.0.11)
|
version: 1.3.4(vite@5.1.3)
|
||||||
vite-plugin-svg-icons:
|
vite-plugin-svg-icons:
|
||||||
specifier: ^2.0.1
|
specifier: ^2.0.1
|
||||||
version: 2.0.1(vite@5.0.11)
|
version: 2.0.1(vite@5.1.3)
|
||||||
vite-svg-loader:
|
vite-svg-loader:
|
||||||
specifier: ^4.0.0
|
specifier: ^4.0.0
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
@ -605,6 +605,14 @@ packages:
|
|||||||
hasBin: true
|
hasBin: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/types': 7.23.6
|
'@babel/types': 7.23.6
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@babel/parser@7.23.9:
|
||||||
|
resolution: {integrity: sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==}
|
||||||
|
engines: {node: '>=6.0.0'}
|
||||||
|
hasBin: true
|
||||||
|
dependencies:
|
||||||
|
'@babel/types': 7.23.6
|
||||||
|
|
||||||
/@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.6):
|
/@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.6):
|
||||||
resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==}
|
resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==}
|
||||||
@ -927,12 +935,12 @@ packages:
|
|||||||
css-render: 0.15.12
|
css-render: 0.15.12
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@css-render/vue3-ssr@0.15.12(vue@3.4.15):
|
/@css-render/vue3-ssr@0.15.12(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-AQLGhhaE0F+rwybRCkKUdzBdTEM/5PZBYy+fSYe1T9z9+yxMuV/k7ZRqa4M69X+EI1W8pa4kc9Iq2VjQkZx4rg==}
|
resolution: {integrity: sha512-AQLGhhaE0F+rwybRCkKUdzBdTEM/5PZBYy+fSYe1T9z9+yxMuV/k7ZRqa4M69X+EI1W8pa4kc9Iq2VjQkZx4rg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.0.11
|
vue: ^3.0.11
|
||||||
dependencies:
|
dependencies:
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@emotion/hash@0.8.0:
|
/@emotion/hash@0.8.0:
|
||||||
@ -1430,7 +1438,7 @@ packages:
|
|||||||
magic-string: 0.30.5
|
magic-string: 0.30.5
|
||||||
mlly: 1.4.1
|
mlly: 1.4.1
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
vue-i18n: 9.9.0(vue@3.4.15)
|
vue-i18n: 9.9.0(vue@3.4.19)
|
||||||
yaml-eslint-parser: 1.2.2
|
yaml-eslint-parser: 1.2.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
@ -1492,7 +1500,7 @@ packages:
|
|||||||
picocolors: 1.0.0
|
picocolors: 1.0.0
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
unplugin: 1.4.0
|
unplugin: 1.4.0
|
||||||
vue-i18n: 9.9.0(vue@3.4.15)
|
vue-i18n: 9.9.0(vue@3.4.19)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -2111,7 +2119,7 @@ packages:
|
|||||||
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
|
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vitejs/plugin-vue-jsx@3.1.0(vite@5.0.11)(vue@3.4.15):
|
/@vitejs/plugin-vue-jsx@3.1.0(vite@5.1.3)(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==}
|
resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==}
|
||||||
engines: {node: ^14.18.0 || >=16.0.0}
|
engines: {node: ^14.18.0 || >=16.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -2121,21 +2129,21 @@ packages:
|
|||||||
'@babel/core': 7.23.6
|
'@babel/core': 7.23.6
|
||||||
'@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.6)
|
'@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.6)
|
||||||
'@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.23.6)
|
'@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.23.6)
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vitejs/plugin-vue@5.0.3(vite@5.0.11)(vue@3.4.15):
|
/@vitejs/plugin-vue@5.0.3(vite@5.1.3)(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-b8S5dVS40rgHdDrw+DQi/xOM9ed+kSRZzfm1T74bMmBDCd8XO87NKlFYInzCtwvtWwXZvo1QxE2OSspTATWrbA==}
|
resolution: {integrity: sha512-b8S5dVS40rgHdDrw+DQi/xOM9ed+kSRZzfm1T74bMmBDCd8XO87NKlFYInzCtwvtWwXZvo1QxE2OSspTATWrbA==}
|
||||||
engines: {node: ^18.0.0 || >=20.0.0}
|
engines: {node: ^18.0.0 || >=20.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^5.0.0
|
vite: ^5.0.0
|
||||||
vue: ^3.2.25
|
vue: ^3.2.25
|
||||||
dependencies:
|
dependencies:
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@volar/language-core@1.10.1:
|
/@volar/language-core@1.10.1:
|
||||||
@ -2163,7 +2171,7 @@ packages:
|
|||||||
vue-hooks-plus: ^1.5.2
|
vue-hooks-plus: ^1.5.2
|
||||||
dependencies:
|
dependencies:
|
||||||
local-pkg: 0.4.3
|
local-pkg: 0.4.3
|
||||||
vue-hooks-plus: 1.8.5(vue@3.4.15)
|
vue-hooks-plus: 1.8.5(vue@3.4.19)
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vue/babel-helper-vue-transform-on@1.1.5:
|
/@vue/babel-helper-vue-transform-on@1.1.5:
|
||||||
@ -2207,11 +2215,11 @@ packages:
|
|||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vue/compiler-core@3.4.15:
|
/@vue/compiler-core@3.4.19:
|
||||||
resolution: {integrity: sha512-XcJQVOaxTKCnth1vCxEChteGuwG6wqnUHxAm1DO3gCz0+uXKaJNx8/digSz4dLALCy8n2lKq24jSUs8segoqIw==}
|
resolution: {integrity: sha512-gj81785z0JNzRcU0Mq98E56e4ltO1yf8k5PQ+tV/7YHnbZkrM0fyFyuttnN8ngJZjbpofWE/m4qjKBiLl8Ju4w==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/parser': 7.23.6
|
'@babel/parser': 7.23.9
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
entities: 4.5.0
|
entities: 4.5.0
|
||||||
estree-walker: 2.0.2
|
estree-walker: 2.0.2
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
@ -2230,11 +2238,11 @@ packages:
|
|||||||
'@vue/shared': 3.3.8
|
'@vue/shared': 3.3.8
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vue/compiler-dom@3.4.15:
|
/@vue/compiler-dom@3.4.19:
|
||||||
resolution: {integrity: sha512-wox0aasVV74zoXyblarOM3AZQz/Z+OunYcIHe1OsGclCHt8RsRm04DObjefaI82u6XDzv+qGWZ24tIsRAIi5MQ==}
|
resolution: {integrity: sha512-vm6+cogWrshjqEHTzIDCp72DKtea8Ry/QVpQRYoyTIg9k7QZDX6D8+HGURjtmatfgM8xgCFtJJaOlCaRYRK3QA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/compiler-core': 3.4.15
|
'@vue/compiler-core': 3.4.19
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
|
|
||||||
/@vue/compiler-sfc@3.3.8:
|
/@vue/compiler-sfc@3.3.8:
|
||||||
resolution: {integrity: sha512-WMzbUrlTjfYF8joyT84HfwwXo+8WPALuPxhy+BZ6R4Aafls+jDBnSz8PDz60uFhuqFbl3HxRfxvDzrUf3THwpA==}
|
resolution: {integrity: sha512-WMzbUrlTjfYF8joyT84HfwwXo+8WPALuPxhy+BZ6R4Aafls+jDBnSz8PDz60uFhuqFbl3HxRfxvDzrUf3THwpA==}
|
||||||
@ -2251,17 +2259,17 @@ packages:
|
|||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vue/compiler-sfc@3.4.15:
|
/@vue/compiler-sfc@3.4.19:
|
||||||
resolution: {integrity: sha512-LCn5M6QpkpFsh3GQvs2mJUOAlBQcCco8D60Bcqmf3O3w5a+KWS5GvYbrrJBkgvL1BDnTp+e8q0lXCLgHhKguBA==}
|
resolution: {integrity: sha512-LQ3U4SN0DlvV0xhr1lUsgLCYlwQfUfetyPxkKYu7dkfvx7g3ojrGAkw0AERLOKYXuAGnqFsEuytkdcComei3Yg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/parser': 7.23.6
|
'@babel/parser': 7.23.9
|
||||||
'@vue/compiler-core': 3.4.15
|
'@vue/compiler-core': 3.4.19
|
||||||
'@vue/compiler-dom': 3.4.15
|
'@vue/compiler-dom': 3.4.19
|
||||||
'@vue/compiler-ssr': 3.4.15
|
'@vue/compiler-ssr': 3.4.19
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
estree-walker: 2.0.2
|
estree-walker: 2.0.2
|
||||||
magic-string: 0.30.5
|
magic-string: 0.30.7
|
||||||
postcss: 8.4.33
|
postcss: 8.4.35
|
||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
|
|
||||||
/@vue/compiler-ssr@3.3.8:
|
/@vue/compiler-ssr@3.3.8:
|
||||||
@ -2271,11 +2279,11 @@ packages:
|
|||||||
'@vue/shared': 3.3.8
|
'@vue/shared': 3.3.8
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vue/compiler-ssr@3.4.15:
|
/@vue/compiler-ssr@3.4.19:
|
||||||
resolution: {integrity: sha512-1jdeQyiGznr8gjFDadVmOJqZiLNSsMa5ZgqavkPZ8O2wjHv0tVuAEsw5hTdUoUW4232vpBbL/wJhzVW/JwY1Uw==}
|
resolution: {integrity: sha512-P0PLKC4+u4OMJ8sinba/5Z/iDT84uMRRlrWzadgLA69opCpI1gG4N55qDSC+dedwq2fJtzmGald05LWR5TFfLw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/compiler-dom': 3.4.15
|
'@vue/compiler-dom': 3.4.19
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
|
|
||||||
/@vue/devtools-api@6.5.1:
|
/@vue/devtools-api@6.5.1:
|
||||||
resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==}
|
resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==}
|
||||||
@ -2350,32 +2358,32 @@ packages:
|
|||||||
'@vue/shared': 3.3.8
|
'@vue/shared': 3.3.8
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vue/reactivity@3.4.15:
|
/@vue/reactivity@3.4.19:
|
||||||
resolution: {integrity: sha512-55yJh2bsff20K5O84MxSvXKPHHt17I2EomHznvFiJCAZpJTNW8IuLj1xZWMLELRhBK3kkFV/1ErZGHJfah7i7w==}
|
resolution: {integrity: sha512-+VcwrQvLZgEclGZRHx4O2XhyEEcKaBi50WbxdVItEezUf4fqRh838Ix6amWTdX0CNb/b6t3Gkz3eOebfcSt+UA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
|
|
||||||
/@vue/runtime-core@3.4.15:
|
/@vue/runtime-core@3.4.19:
|
||||||
resolution: {integrity: sha512-6E3by5m6v1AkW0McCeAyhHTw+3y17YCOKG0U0HDKDscV4Hs0kgNT5G+GCHak16jKgcCDHpI9xe5NKb8sdLCLdw==}
|
resolution: {integrity: sha512-/Z3tFwOrerJB/oyutmJGoYbuoadphDcJAd5jOuJE86THNZji9pYjZroQ2NFsZkTxOq0GJbb+s2kxTYToDiyZzw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/reactivity': 3.4.15
|
'@vue/reactivity': 3.4.19
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
|
|
||||||
/@vue/runtime-dom@3.4.15:
|
/@vue/runtime-dom@3.4.19:
|
||||||
resolution: {integrity: sha512-EVW8D6vfFVq3V/yDKNPBFkZKGMFSvZrUQmx196o/v2tHKdwWdiZjYUBS+0Ez3+ohRyF8Njwy/6FH5gYJ75liUw==}
|
resolution: {integrity: sha512-IyZzIDqfNCF0OyZOauL+F4yzjMPN2rPd8nhqPP2N1lBn3kYqJpPHHru+83Rkvo2lHz5mW+rEeIMEF9qY3PB94g==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/runtime-core': 3.4.15
|
'@vue/runtime-core': 3.4.19
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
csstype: 3.1.3
|
csstype: 3.1.3
|
||||||
|
|
||||||
/@vue/server-renderer@3.4.15(vue@3.4.15):
|
/@vue/server-renderer@3.4.19(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-3HYzaidu9cHjrT+qGUuDhFYvF/j643bHC6uUN9BgM11DVy+pM6ATsG6uPBLnkwOgs7BpJABReLmpL3ZPAsUaqw==}
|
resolution: {integrity: sha512-eAj2p0c429RZyyhtMRnttjcSToch+kTWxFPHlzGMkR28ZbF1PDlTcmGmlDxccBuqNd9iOQ7xPRPAGgPVj+YpQw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: 3.4.15
|
vue: 3.4.19
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/compiler-ssr': 3.4.15
|
'@vue/compiler-ssr': 3.4.19
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
|
|
||||||
/@vue/shared@3.3.13:
|
/@vue/shared@3.3.13:
|
||||||
resolution: {integrity: sha512-/zYUwiHD8j7gKx2argXEMCUXVST6q/21DFU0sTfNX0URJroCe3b1UF6vLJ3lQDfLNIiiRl2ONp7Nh5UVWS6QnA==}
|
resolution: {integrity: sha512-/zYUwiHD8j7gKx2argXEMCUXVST6q/21DFU0sTfNX0URJroCe3b1UF6vLJ3lQDfLNIiiRl2ONp7Nh5UVWS6QnA==}
|
||||||
@ -2385,8 +2393,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-8PGwybFwM4x8pcfgqEQFy70NaQxASvOC5DJwLQfpArw1UDfUXrJkdxD3BhVTMS+0Lef/TU7YO0Jvr0jJY8T+mw==}
|
resolution: {integrity: sha512-8PGwybFwM4x8pcfgqEQFy70NaQxASvOC5DJwLQfpArw1UDfUXrJkdxD3BhVTMS+0Lef/TU7YO0Jvr0jJY8T+mw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vue/shared@3.4.15:
|
/@vue/shared@3.4.19:
|
||||||
resolution: {integrity: sha512-KzfPTxVaWfB+eGcGdbSf4CWdaXcGDqckoeXUh7SB3fZdEtzPCK2Vq9B/lRRL3yutax/LWITz+SwvgyOxz5V75g==}
|
resolution: {integrity: sha512-/KliRRHMF6LoiThEy+4c1Z4KB/gbPrGjWwJR+crg2otgrf/egKzRaCPvJ51S5oetgsgXLfc4Rm5ZgrKHZrtMSw==}
|
||||||
|
|
||||||
/@vue/typescript@1.8.8(typescript@5.2.2):
|
/@vue/typescript@1.8.8(typescript@5.2.2):
|
||||||
resolution: {integrity: sha512-jUnmMB6egu5wl342eaUH236v8tdcEPXXkPgj+eI/F6JwW/lb+yAU6U07ZbQ3MVabZRlupIlPESB7ajgAGixhow==}
|
resolution: {integrity: sha512-jUnmMB6egu5wl342eaUH236v8tdcEPXXkPgj+eI/F6JwW/lb+yAU6U07ZbQ3MVabZRlupIlPESB7ajgAGixhow==}
|
||||||
@ -2397,13 +2405,13 @@ packages:
|
|||||||
- typescript
|
- typescript
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@vueuse/core@10.7.1(vue@3.4.15):
|
/@vueuse/core@10.7.1(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-74mWHlaesJSWGp1ihg76vAnfVq9NTv1YT0SYhAQ6zwFNdBkkP+CKKJmVOEHcdSnLXCXYiL5e7MaewblfiYLP7g==}
|
resolution: {integrity: sha512-74mWHlaesJSWGp1ihg76vAnfVq9NTv1YT0SYhAQ6zwFNdBkkP+CKKJmVOEHcdSnLXCXYiL5e7MaewblfiYLP7g==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/web-bluetooth': 0.0.20
|
'@types/web-bluetooth': 0.0.20
|
||||||
'@vueuse/metadata': 10.7.1
|
'@vueuse/metadata': 10.7.1
|
||||||
'@vueuse/shared': 10.7.1(vue@3.4.15)
|
'@vueuse/shared': 10.7.1(vue@3.4.19)
|
||||||
vue-demi: 0.14.6(vue@3.4.15)
|
vue-demi: 0.14.6(vue@3.4.19)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@vue/composition-api'
|
- '@vue/composition-api'
|
||||||
- vue
|
- vue
|
||||||
@ -2411,10 +2419,10 @@ packages:
|
|||||||
/@vueuse/metadata@10.7.1:
|
/@vueuse/metadata@10.7.1:
|
||||||
resolution: {integrity: sha512-jX8MbX5UX067DYVsbtrmKn6eG6KMcXxLRLlurGkZku5ZYT3vxgBjui2zajvUZ18QLIjrgBkFRsu7CqTAg18QFw==}
|
resolution: {integrity: sha512-jX8MbX5UX067DYVsbtrmKn6eG6KMcXxLRLlurGkZku5ZYT3vxgBjui2zajvUZ18QLIjrgBkFRsu7CqTAg18QFw==}
|
||||||
|
|
||||||
/@vueuse/shared@10.7.1(vue@3.4.15):
|
/@vueuse/shared@10.7.1(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-v0jbRR31LSgRY/C5i5X279A/WQjD6/JsMzGa+eqt658oJ75IvQXAeONmwvEMrvJQKnRElq/frzBR7fhmWY5uLw==}
|
resolution: {integrity: sha512-v0jbRR31LSgRY/C5i5X279A/WQjD6/JsMzGa+eqt658oJ75IvQXAeONmwvEMrvJQKnRElq/frzBR7fhmWY5uLw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
vue-demi: 0.14.6(vue@3.4.15)
|
vue-demi: 0.14.6(vue@3.4.19)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@vue/composition-api'
|
- '@vue/composition-api'
|
||||||
- vue
|
- vue
|
||||||
@ -5718,6 +5726,13 @@ packages:
|
|||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@jridgewell/sourcemap-codec': 1.4.15
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/magic-string@0.30.7:
|
||||||
|
resolution: {integrity: sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
|
|
||||||
/make-dir@3.1.0:
|
/make-dir@3.1.0:
|
||||||
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
|
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
|
||||||
@ -5978,13 +5993,13 @@ packages:
|
|||||||
minimatch: 3.1.2
|
minimatch: 3.1.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/naive-ui@2.37.3(vue@3.4.15):
|
/naive-ui@2.37.3(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-aUkHFXVIluSi8Me+npbcsdv1NYhVMj5t9YaruoCESlqmfqspj+R2QHEVXkTtUI1kQwVrABMCtAGq/wountqjZA==}
|
resolution: {integrity: sha512-aUkHFXVIluSi8Me+npbcsdv1NYhVMj5t9YaruoCESlqmfqspj+R2QHEVXkTtUI1kQwVrABMCtAGq/wountqjZA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.0.0
|
vue: ^3.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@css-render/plugin-bem': 0.15.12(css-render@0.15.12)
|
'@css-render/plugin-bem': 0.15.12(css-render@0.15.12)
|
||||||
'@css-render/vue3-ssr': 0.15.12(vue@3.4.15)
|
'@css-render/vue3-ssr': 0.15.12(vue@3.4.19)
|
||||||
'@types/katex': 0.16.7
|
'@types/katex': 0.16.7
|
||||||
'@types/lodash': 4.14.202
|
'@types/lodash': 4.14.202
|
||||||
'@types/lodash-es': 4.17.11
|
'@types/lodash-es': 4.17.11
|
||||||
@ -5999,10 +6014,10 @@ packages:
|
|||||||
lodash-es: 4.17.21
|
lodash-es: 4.17.21
|
||||||
seemly: 0.3.8
|
seemly: 0.3.8
|
||||||
treemate: 0.3.11
|
treemate: 0.3.11
|
||||||
vdirs: 0.1.8(vue@3.4.15)
|
vdirs: 0.1.8(vue@3.4.19)
|
||||||
vooks: 0.2.12(vue@3.4.15)
|
vooks: 0.2.12(vue@3.4.19)
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
vueuc: 0.4.58(vue@3.4.15)
|
vueuc: 0.4.58(vue@3.4.19)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/nan@2.17.0:
|
/nan@2.17.0:
|
||||||
@ -6389,10 +6404,10 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
pinia: ^2.0.0
|
pinia: ^2.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
pinia: 2.1.7(typescript@5.2.2)(vue@3.4.15)
|
pinia: 2.1.7(typescript@5.2.2)(vue@3.4.19)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/pinia@2.1.7(typescript@5.2.2)(vue@3.4.15):
|
/pinia@2.1.7(typescript@5.2.2)(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==}
|
resolution: {integrity: sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@vue/composition-api': ^1.4.0
|
'@vue/composition-api': ^1.4.0
|
||||||
@ -6406,8 +6421,8 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@vue/devtools-api': 6.5.1
|
'@vue/devtools-api': 6.5.1
|
||||||
typescript: 5.2.2
|
typescript: 5.2.2
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
vue-demi: 0.14.6(vue@3.4.15)
|
vue-demi: 0.14.6(vue@3.4.19)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/pkg-types@1.0.3:
|
/pkg-types@1.0.3:
|
||||||
@ -6474,8 +6489,8 @@ packages:
|
|||||||
source-map-js: 1.0.2
|
source-map-js: 1.0.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/postcss@8.4.33:
|
/postcss@8.4.35:
|
||||||
resolution: {integrity: sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==}
|
resolution: {integrity: sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==}
|
||||||
engines: {node: ^10 || ^12 || >=14}
|
engines: {node: ^10 || ^12 || >=14}
|
||||||
dependencies:
|
dependencies:
|
||||||
nanoid: 3.3.7
|
nanoid: 3.3.7
|
||||||
@ -7680,7 +7695,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@antfu/utils': 0.7.6
|
'@antfu/utils': 0.7.6
|
||||||
'@rollup/pluginutils': 5.0.4
|
'@rollup/pluginutils': 5.0.4
|
||||||
'@vueuse/core': 10.7.1(vue@3.4.15)
|
'@vueuse/core': 10.7.1(vue@3.4.19)
|
||||||
fast-glob: 3.3.1
|
fast-glob: 3.3.1
|
||||||
local-pkg: 0.4.3
|
local-pkg: 0.4.3
|
||||||
magic-string: 0.30.5
|
magic-string: 0.30.5
|
||||||
@ -7691,7 +7706,7 @@ packages:
|
|||||||
- rollup
|
- rollup
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/unplugin-vue-components@0.25.2(vue@3.4.15):
|
/unplugin-vue-components@0.25.2(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-OVmLFqILH6w+eM8fyt/d/eoJT9A6WO51NZLf1vC5c1FZ4rmq2bbGxTy8WP2Jm7xwFdukaIdv819+UI7RClPyCA==}
|
resolution: {integrity: sha512-OVmLFqILH6w+eM8fyt/d/eoJT9A6WO51NZLf1vC5c1FZ4rmq2bbGxTy8WP2Jm7xwFdukaIdv819+UI7RClPyCA==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -7714,7 +7729,7 @@ packages:
|
|||||||
minimatch: 9.0.3
|
minimatch: 9.0.3
|
||||||
resolve: 1.22.5
|
resolve: 1.22.5
|
||||||
unplugin: 1.4.0
|
unplugin: 1.4.0
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -7805,13 +7820,13 @@ packages:
|
|||||||
engines: {node: '>= 0.8'}
|
engines: {node: '>= 0.8'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vdirs@0.1.8(vue@3.4.15):
|
/vdirs@0.1.8(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-H9V1zGRLQZg9b+GdMk8MXDN2Lva0zx72MPahDKc30v+DtwKjfyOSXWRIX4t2mhDubM1H09gPhWeth/BJWPHGUw==}
|
resolution: {integrity: sha512-H9V1zGRLQZg9b+GdMk8MXDN2Lva0zx72MPahDKc30v+DtwKjfyOSXWRIX4t2mhDubM1H09gPhWeth/BJWPHGUw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.0.11
|
vue: ^3.0.11
|
||||||
dependencies:
|
dependencies:
|
||||||
evtd: 0.2.4
|
evtd: 0.2.4
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vite-plugin-cdn2@0.15.2:
|
/vite-plugin-cdn2@0.15.2:
|
||||||
@ -7827,7 +7842,7 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite-plugin-compression@0.5.1(vite@5.0.11):
|
/vite-plugin-compression@0.5.1(vite@5.1.3):
|
||||||
resolution: {integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==}
|
resolution: {integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: '>=2.0.0'
|
vite: '>=2.0.0'
|
||||||
@ -7835,21 +7850,21 @@ packages:
|
|||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
debug: 4.3.4
|
debug: 4.3.4
|
||||||
fs-extra: 10.1.0
|
fs-extra: 10.1.0
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite-plugin-ejs@1.7.0(vite@5.0.11):
|
/vite-plugin-ejs@1.7.0(vite@5.1.3):
|
||||||
resolution: {integrity: sha512-JNP3zQDC4mSbfoJ3G73s5mmZITD8NGjUmLkq4swxyahy/W0xuokK9U9IJGXw7KCggq6UucT6hJ0p+tQrNtqTZw==}
|
resolution: {integrity: sha512-JNP3zQDC4mSbfoJ3G73s5mmZITD8NGjUmLkq4swxyahy/W0xuokK9U9IJGXw7KCggq6UucT6hJ0p+tQrNtqTZw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: '>=5.0.0'
|
vite: '>=5.0.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
ejs: 3.1.9
|
ejs: 3.1.9
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite-plugin-eslint@1.8.1(eslint@8.52.0)(vite@5.0.11):
|
/vite-plugin-eslint@1.8.1(eslint@8.52.0)(vite@5.1.3):
|
||||||
resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==}
|
resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: '>=7'
|
eslint: '>=7'
|
||||||
@ -7859,10 +7874,10 @@ packages:
|
|||||||
'@types/eslint': 8.44.2
|
'@types/eslint': 8.44.2
|
||||||
eslint: 8.52.0
|
eslint: 8.52.0
|
||||||
rollup: 2.79.1
|
rollup: 2.79.1
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite-plugin-imp@2.4.0(vite@5.0.11):
|
/vite-plugin-imp@2.4.0(vite@5.1.3):
|
||||||
resolution: {integrity: sha512-L/6/nvOw+MyNh4UxAlCZHsmKd5MitmHamqqAWB15sbUgVIEz/OQ8jpKr6kkQU0eA/AIe8fkCVbQBlP81ajrqWg==}
|
resolution: {integrity: sha512-L/6/nvOw+MyNh4UxAlCZHsmKd5MitmHamqqAWB15sbUgVIEz/OQ8jpKr6kkQU0eA/AIe8fkCVbQBlP81ajrqWg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: '>= 2.0.0-beta.5'
|
vite: '>= 2.0.0-beta.5'
|
||||||
@ -7874,12 +7889,12 @@ packages:
|
|||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
param-case: 3.0.4
|
param-case: 3.0.4
|
||||||
pascal-case: 3.1.2
|
pascal-case: 3.1.2
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite-plugin-inspect@0.7.38(vite@5.0.11):
|
/vite-plugin-inspect@0.7.38(vite@5.1.3):
|
||||||
resolution: {integrity: sha512-+p6pJVtBOLGv+RBrcKAFUdx+euizg0bjL35HhPyM0MjtKlqoC5V9xkCmO9Ctc8JrTyXqODbHqiLWJKumu5zJ7g==}
|
resolution: {integrity: sha512-+p6pJVtBOLGv+RBrcKAFUdx+euizg0bjL35HhPyM0MjtKlqoC5V9xkCmO9Ctc8JrTyXqODbHqiLWJKumu5zJ7g==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -7897,13 +7912,13 @@ packages:
|
|||||||
open: 9.1.0
|
open: 9.1.0
|
||||||
picocolors: 1.0.0
|
picocolors: 1.0.0
|
||||||
sirv: 2.0.3
|
sirv: 2.0.3
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite-plugin-mock-dev-server@1.3.4(vite@5.0.11):
|
/vite-plugin-mock-dev-server@1.3.4(vite@5.1.3):
|
||||||
resolution: {integrity: sha512-50biXarRPdKYxR/q9an4vHMh2cbwFlEWHfLJdXg6gpS63CMMrCo9XQWYIkdytZNSEs/5AwykGB5Xo0ORMMttgQ==}
|
resolution: {integrity: sha512-50biXarRPdKYxR/q9an4vHMh2cbwFlEWHfLJdXg6gpS63CMMrCo9XQWYIkdytZNSEs/5AwykGB5Xo0ORMMttgQ==}
|
||||||
engines: {node: ^14.18.0 || >=16}
|
engines: {node: ^14.18.0 || >=16}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -7924,7 +7939,7 @@ packages:
|
|||||||
mime-types: 2.1.35
|
mime-types: 2.1.35
|
||||||
path-to-regexp: 6.2.1
|
path-to-regexp: 6.2.1
|
||||||
picocolors: 1.0.0
|
picocolors: 1.0.0
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
ws: 8.13.0
|
ws: 8.13.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- bufferutil
|
- bufferutil
|
||||||
@ -7932,7 +7947,7 @@ packages:
|
|||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite-plugin-svg-icons@2.0.1(vite@5.0.11):
|
/vite-plugin-svg-icons@2.0.1(vite@5.1.3):
|
||||||
resolution: {integrity: sha512-6ktD+DhV6Rz3VtedYvBKKVA2eXF+sAQVaKkKLDSqGUfnhqXl3bj5PPkVTl3VexfTuZy66PmINi8Q6eFnVfRUmA==}
|
resolution: {integrity: sha512-6ktD+DhV6Rz3VtedYvBKKVA2eXF+sAQVaKkKLDSqGUfnhqXl3bj5PPkVTl3VexfTuZy66PmINi8Q6eFnVfRUmA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: '>=2.0.0'
|
vite: '>=2.0.0'
|
||||||
@ -7945,7 +7960,7 @@ packages:
|
|||||||
pathe: 0.2.0
|
pathe: 0.2.0
|
||||||
svg-baker: 1.7.0
|
svg-baker: 1.7.0
|
||||||
svgo: 2.8.0
|
svgo: 2.8.0
|
||||||
vite: 5.0.11(@types/node@20.4.7)(sass@1.69.5)
|
vite: 5.1.3(@types/node@20.4.7)(sass@1.69.5)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
@ -7957,8 +7972,8 @@ packages:
|
|||||||
svgo: 3.0.2
|
svgo: 3.0.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite@5.0.11(@types/node@20.4.7)(sass@1.69.5):
|
/vite@5.1.3(@types/node@20.4.7)(sass@1.69.5):
|
||||||
resolution: {integrity: sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==}
|
resolution: {integrity: sha512-UfmUD36DKkqhi/F75RrxvPpry+9+tTkrXfMNZD+SboZqBCMsxKtO52XeGzzuh7ioz+Eo/SYDBbdb0Z7vgcDJew==}
|
||||||
engines: {node: ^18.0.0 || >=20.0.0}
|
engines: {node: ^18.0.0 || >=20.0.0}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -7987,23 +8002,23 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 20.4.7
|
'@types/node': 20.4.7
|
||||||
esbuild: 0.19.10
|
esbuild: 0.19.10
|
||||||
postcss: 8.4.33
|
postcss: 8.4.35
|
||||||
rollup: 4.9.1
|
rollup: 4.9.1
|
||||||
sass: 1.69.5
|
sass: 1.69.5
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents: 2.3.3
|
fsevents: 2.3.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vooks@0.2.12(vue@3.4.15):
|
/vooks@0.2.12(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-iox0I3RZzxtKlcgYaStQYKEzWWGAduMmq+jS7OrNdQo1FgGfPMubGL3uGHOU9n97NIvfFDBGnpSvkWyb/NSn/Q==}
|
resolution: {integrity: sha512-iox0I3RZzxtKlcgYaStQYKEzWWGAduMmq+jS7OrNdQo1FgGfPMubGL3uGHOU9n97NIvfFDBGnpSvkWyb/NSn/Q==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.0.0
|
vue: ^3.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
evtd: 0.2.4
|
evtd: 0.2.4
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vue-demi@0.14.6(vue@3.4.15):
|
/vue-demi@0.14.6(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==}
|
resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
@ -8015,7 +8030,7 @@ packages:
|
|||||||
'@vue/composition-api':
|
'@vue/composition-api':
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
|
|
||||||
/vue-eslint-parser@9.3.1(eslint@8.52.0):
|
/vue-eslint-parser@9.3.1(eslint@8.52.0):
|
||||||
resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==}
|
resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==}
|
||||||
@ -8035,7 +8050,7 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vue-hooks-plus@1.8.5(vue@3.4.15):
|
/vue-hooks-plus@1.8.5(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-cIatTWz6QQcoSCDn7jadQ3zMr799FmNiHyb59yUvR7Ws5KDJ/KdIMHHx/b0XDKzbGhQ61kcJ78zJKAKhOV0pWw==}
|
resolution: {integrity: sha512-cIatTWz6QQcoSCDn7jadQ3zMr799FmNiHyb59yUvR7Ws5KDJ/KdIMHHx/b0XDKzbGhQ61kcJ78zJKAKhOV0pWw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.2.25
|
vue: ^3.2.25
|
||||||
@ -8047,9 +8062,9 @@ packages:
|
|||||||
qs: 6.11.2
|
qs: 6.11.2
|
||||||
query-string: 7.1.3
|
query-string: 7.1.3
|
||||||
screenfull: 5.2.0
|
screenfull: 5.2.0
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
|
|
||||||
/vue-i18n@9.9.0(vue@3.4.15):
|
/vue-i18n@9.9.0(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-xQ5SxszUAqK5n84N+uUyHH/PiQl9xZ24FOxyAaNonmOQgXeN+rD9z/6DStOpOxNFQn4Cgcquot05gZc+CdOujA==}
|
resolution: {integrity: sha512-xQ5SxszUAqK5n84N+uUyHH/PiQl9xZ24FOxyAaNonmOQgXeN+rD9z/6DStOpOxNFQn4Cgcquot05gZc+CdOujA==}
|
||||||
engines: {node: '>= 16'}
|
engines: {node: '>= 16'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -8058,15 +8073,15 @@ packages:
|
|||||||
'@intlify/core-base': 9.9.0
|
'@intlify/core-base': 9.9.0
|
||||||
'@intlify/shared': 9.9.0
|
'@intlify/shared': 9.9.0
|
||||||
'@vue/devtools-api': 6.5.1
|
'@vue/devtools-api': 6.5.1
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
|
|
||||||
/vue-router@4.2.5(vue@3.4.15):
|
/vue-router@4.2.5(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==}
|
resolution: {integrity: sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.2.0
|
vue: ^3.2.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/devtools-api': 6.5.1
|
'@vue/devtools-api': 6.5.1
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/vue-template-compiler@2.7.14:
|
/vue-template-compiler@2.7.14:
|
||||||
@ -8088,34 +8103,34 @@ packages:
|
|||||||
typescript: 5.2.2
|
typescript: 5.2.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vue@3.4.15(typescript@5.2.2):
|
/vue@3.4.19(typescript@5.2.2):
|
||||||
resolution: {integrity: sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==}
|
resolution: {integrity: sha512-W/7Fc9KUkajFU8dBeDluM4sRGc/aa4YJnOYck8dkjgZoXtVsn3OeTGni66FV1l3+nvPA7VBFYtPioaGKUmEADw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: '*'
|
typescript: '*'
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vue/compiler-dom': 3.4.15
|
'@vue/compiler-dom': 3.4.19
|
||||||
'@vue/compiler-sfc': 3.4.15
|
'@vue/compiler-sfc': 3.4.19
|
||||||
'@vue/runtime-dom': 3.4.15
|
'@vue/runtime-dom': 3.4.19
|
||||||
'@vue/server-renderer': 3.4.15(vue@3.4.15)
|
'@vue/server-renderer': 3.4.19(vue@3.4.19)
|
||||||
'@vue/shared': 3.4.15
|
'@vue/shared': 3.4.19
|
||||||
typescript: 5.2.2
|
typescript: 5.2.2
|
||||||
|
|
||||||
/vueuc@0.4.58(vue@3.4.15):
|
/vueuc@0.4.58(vue@3.4.19):
|
||||||
resolution: {integrity: sha512-Wnj/N8WbPRSxSt+9ji1jtDHPzda5h2OH/0sFBhvdxDRuyCZbjGg3/cKMaKqEoe+dErTexG2R+i6Q8S/Toq1MYg==}
|
resolution: {integrity: sha512-Wnj/N8WbPRSxSt+9ji1jtDHPzda5h2OH/0sFBhvdxDRuyCZbjGg3/cKMaKqEoe+dErTexG2R+i6Q8S/Toq1MYg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.0.11
|
vue: ^3.0.11
|
||||||
dependencies:
|
dependencies:
|
||||||
'@css-render/vue3-ssr': 0.15.12(vue@3.4.15)
|
'@css-render/vue3-ssr': 0.15.12(vue@3.4.19)
|
||||||
'@juggle/resize-observer': 3.4.0
|
'@juggle/resize-observer': 3.4.0
|
||||||
css-render: 0.15.12
|
css-render: 0.15.12
|
||||||
evtd: 0.2.4
|
evtd: 0.2.4
|
||||||
seemly: 0.3.8
|
seemly: 0.3.8
|
||||||
vdirs: 0.1.8(vue@3.4.15)
|
vdirs: 0.1.8(vue@3.4.19)
|
||||||
vooks: 0.2.12(vue@3.4.15)
|
vooks: 0.2.12(vue@3.4.19)
|
||||||
vue: 3.4.15(typescript@5.2.2)
|
vue: 3.4.19(typescript@5.2.2)
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/webidl-conversions@3.0.1:
|
/webidl-conversions@3.0.1:
|
||||||
|
6
src/__ray-template/README.md
Normal file
6
src/__ray-template/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# \_\_ray-template
|
||||||
|
|
||||||
|
该包用于管理一些模板的管理,例如:
|
||||||
|
|
||||||
|
- validAppRootPath: 检查模板 `appRootPath` 是否配置正确
|
||||||
|
- validLocal: 检查模板 `localConfig` 是否配置正确
|
2
src/__ray-template/index.ts
Normal file
2
src/__ray-template/index.ts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export * from './valid/validAppRootPath'
|
||||||
|
export * from './valid/validLocal'
|
28
src/__ray-template/valid/validAppRootPath.ts
Normal file
28
src/__ray-template/valid/validAppRootPath.ts
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
import { useSettingGetters } from '@/store'
|
||||||
|
import { useVueRouter } from '@/hooks'
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 检查 appRootRoute.path 是否存配置正确。如果配置错误,将抛出错误。
|
||||||
|
*
|
||||||
|
* 如果配置错误可以检查: [src/store/modules/setting/index.ts] 中的 appRootRoute 配置。
|
||||||
|
*
|
||||||
|
* 该方法会通过调用 getRoutes 方法获取所有路由,也就意味着检查的路由格式是铺开之后的格式。当你的路由是嵌套路由时,需要注意检查完整的路径。
|
||||||
|
*/
|
||||||
|
export const validAppRootPath = async () => {
|
||||||
|
const { getAppRootRoute } = useSettingGetters()
|
||||||
|
const {
|
||||||
|
router: { getRoutes },
|
||||||
|
} = useVueRouter()
|
||||||
|
|
||||||
|
const find = getRoutes().find(
|
||||||
|
(curr) => curr.path === getAppRootRoute.value.path,
|
||||||
|
)
|
||||||
|
|
||||||
|
if (!find) {
|
||||||
|
throw new Error(
|
||||||
|
`[validAppRootPath]: 'store setting appRootRoute path: ' '${getAppRootRoute.value.path}' not found in router, please check the 'appRootRoute' setting in the store setting module.`,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
99
src/__ray-template/valid/validLocal.ts
Normal file
99
src/__ray-template/valid/validLocal.ts
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
import {
|
||||||
|
LOCAL_OPTIONS,
|
||||||
|
SYSTEM_DEFAULT_LOCAL,
|
||||||
|
SYSTEM_FALLBACK_LOCALE,
|
||||||
|
DAYJS_LOCAL_MAP,
|
||||||
|
DEFAULT_DAYJS_LOCAL,
|
||||||
|
} from '@/app-config'
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 获取所有的 LOCAL_OPTIONS 的 key。
|
||||||
|
*/
|
||||||
|
const getLocalOptionKeys = () => {
|
||||||
|
return LOCAL_OPTIONS.map((curr) => curr.key)
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 验证 SYSTEM_DEFAULT_LOCAL 是否在 LOCAL_OPTIONS 中。
|
||||||
|
*/
|
||||||
|
const validSystemDefaultLocal = () => {
|
||||||
|
const localOptionKeys = getLocalOptionKeys()
|
||||||
|
|
||||||
|
if (!localOptionKeys.includes(SYSTEM_DEFAULT_LOCAL)) {
|
||||||
|
throw new Error(
|
||||||
|
`[validLocal validSystemDefaultLocal:] SYSTEM_DEFAULT_LOCAL: '${SYSTEM_DEFAULT_LOCAL}' is not in LOCAL_OPTIONS: [${localOptionKeys.join(
|
||||||
|
', ',
|
||||||
|
)}]`,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 验证 SYSTEM_FALLBACK_LOCALE 是否在 LOCAL_OPTIONS 中。
|
||||||
|
*/
|
||||||
|
const validSystemFallbackLocale = () => {
|
||||||
|
const localOptionKeys = getLocalOptionKeys()
|
||||||
|
|
||||||
|
if (!localOptionKeys.includes(SYSTEM_FALLBACK_LOCALE)) {
|
||||||
|
throw new Error(
|
||||||
|
`[validLocal validSystemFallbackLocale:] SYSTEM_FALLBACK_LOCALE: '${SYSTEM_FALLBACK_LOCALE}' is not in LOCAL_OPTIONS: [${localOptionKeys.join(
|
||||||
|
', ',
|
||||||
|
)}]`,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 验证 DAYJS_LOCAL_MAP 是否在 LOCAL_OPTIONS 中。
|
||||||
|
*/
|
||||||
|
const validDayjsLocalMap = () => {
|
||||||
|
const localOptionKeys = getLocalOptionKeys() as string[]
|
||||||
|
const dayjsLocalKeys = Object.keys(DAYJS_LOCAL_MAP)
|
||||||
|
|
||||||
|
dayjsLocalKeys.forEach((key) => {
|
||||||
|
if (!localOptionKeys.includes(key)) {
|
||||||
|
throw new Error(
|
||||||
|
`[validLocal validDayjsLocalMap:] DAYJS_LOCAL_MAP: '${key}' is not in LOCAL_OPTIONS: [${localOptionKeys.join(
|
||||||
|
', ',
|
||||||
|
)}]`,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 验证 DEFAULT_DAYJS_LOCAL 是否在 DAYJS_LOCAL_MAP 中。
|
||||||
|
*/
|
||||||
|
const validDefaultDayjsLocal = () => {
|
||||||
|
const dayjsLocalKeys = Object.values(DAYJS_LOCAL_MAP)
|
||||||
|
|
||||||
|
if (!dayjsLocalKeys.includes(DEFAULT_DAYJS_LOCAL)) {
|
||||||
|
throw new Error(
|
||||||
|
`[validLocal validDefaultDayjsLocal:] DEFAULT_DAYJS_LOCAL: '${DEFAULT_DAYJS_LOCAL}' is not in DAYJS_LOCAL_MAP: [${dayjsLocalKeys.join(
|
||||||
|
', ',
|
||||||
|
)}]`,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 验证所有的 localConfig 相关的配置。
|
||||||
|
*/
|
||||||
|
export const validLocal = async () => {
|
||||||
|
validSystemDefaultLocal()
|
||||||
|
validSystemFallbackLocale()
|
||||||
|
validDayjsLocalMap()
|
||||||
|
validDefaultDayjsLocal()
|
||||||
|
}
|
@ -33,8 +33,8 @@ import type { AppRawRequestConfig } from '@/axios/type'
|
|||||||
* @param option useRequest 配置项
|
* @param option useRequest 配置项
|
||||||
*
|
*
|
||||||
* @description
|
* @description
|
||||||
* 该方法有一定的局限性,仅可在 effect 作用域中使用
|
* 该方法有一定的局限性,仅可在 effect 作用域中使用,
|
||||||
* 如果在非 vue effect scope 中使用,会抛出一些警告
|
* 如果在非 vue effect scope 中使用,会抛出一些警告。
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* // 请求函数
|
* // 请求函数
|
||||||
|
@ -17,6 +17,7 @@ import type {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @description
|
||||||
* 自动注册所有主题
|
* 自动注册所有主题
|
||||||
*
|
*
|
||||||
* 默认以文件名当作主题名称
|
* 默认以文件名当作主题名称
|
||||||
@ -26,7 +27,7 @@ import type {
|
|||||||
* 1. 配置、选择主题
|
* 1. 配置、选择主题
|
||||||
* 2. 点击下载主题
|
* 2. 点击下载主题
|
||||||
* 3. 选择 json 类型,然后复制
|
* 3. 选择 json 类型,然后复制
|
||||||
* 4. 在 @/echart-themes 包中创建对应的 json 文件,文件名为主题名称
|
* 4. 在 echart-themes 包中创建对应的 json 文件,文件名为主题名称
|
||||||
*/
|
*/
|
||||||
export const setupChartTheme = () => {
|
export const setupChartTheme = () => {
|
||||||
// 获取所有主题
|
// 获取所有主题
|
||||||
@ -47,7 +48,7 @@ export const setupChartTheme = () => {
|
|||||||
|
|
||||||
return pre
|
return pre
|
||||||
} else {
|
} else {
|
||||||
throw new Error('theme name is not found')
|
throw new Error(`[RChart Theme Error]: name ${curr} is invalid!`)
|
||||||
}
|
}
|
||||||
}, [] as ChartThemeRawArray[])
|
}, [] as ChartThemeRawArray[])
|
||||||
|
|
||||||
@ -56,8 +57,7 @@ export const setupChartTheme = () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @returns LoadingOptions
|
* @description
|
||||||
*
|
|
||||||
* 为了方便使用加载动画, 写了此方法, 虽然没啥用
|
* 为了方便使用加载动画, 写了此方法, 虽然没啥用
|
||||||
*/
|
*/
|
||||||
export const loadingOptions = (options?: LoadingOptions) =>
|
export const loadingOptions = (options?: LoadingOptions) =>
|
||||||
|
@ -1,19 +1,3 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* 基于 `echarts` 的组件. 意在便捷的使用 `chart` 图
|
|
||||||
*
|
|
||||||
* 暂时不支持自动解析导入 `chart` 组件, 如果使用未注册的组件, 需要在顶部手动导入并且再使用 `use` 注册
|
|
||||||
*
|
|
||||||
* 预引入: 柱状图, 折线图, 饼图, k线图, 散点图等
|
|
||||||
* 预引入: 提示框, 标题, 直角坐标系, 数据集, 内置数据转换器等
|
|
||||||
*
|
|
||||||
* 如果需要大批量数据渲染, 可以通过获取实例后阶段性调用 `setOption` 方法注入数据
|
|
||||||
*
|
|
||||||
* 该组件会在卸载组件时, 自动释放资源
|
|
||||||
*
|
|
||||||
* 注意: 尽量别一次性倒入全部 `chart` 会造成打包体积异常大
|
|
||||||
*/
|
|
||||||
|
|
||||||
import './index.scss'
|
import './index.scss'
|
||||||
|
|
||||||
import * as echarts from 'echarts/core' // `echarts` 核心模块
|
import * as echarts from 'echarts/core' // `echarts` 核心模块
|
||||||
@ -63,6 +47,31 @@ const defaultChartOptions = {
|
|||||||
}
|
}
|
||||||
const echartThemes = setupChartTheme()
|
const echartThemes = setupChartTheme()
|
||||||
|
|
||||||
|
/** 注册主题 */
|
||||||
|
echartThemes.forEach((curr) => {
|
||||||
|
echarts.registerTheme(curr.name, curr.theme)
|
||||||
|
})
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 基于 echarts 的图表组件。
|
||||||
|
*
|
||||||
|
* 让你仅需要关注 echarts options 的配置管理,而不需要关心 echarts 的初始化、销毁、主题切换等操作。
|
||||||
|
*
|
||||||
|
* 如果需要拓展配置项,进需要在使用该组件的时候使用 use 方法注册对应 chart 组件即可。
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* <template>
|
||||||
|
* <RChart :options="options" />
|
||||||
|
* </template>
|
||||||
|
*
|
||||||
|
* <script setup>
|
||||||
|
* import { RChart } from '@/components'
|
||||||
|
* import { ref } from 'vue'
|
||||||
|
*
|
||||||
|
* const options = ref({ ... })
|
||||||
|
*/
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'RChart',
|
name: 'RChart',
|
||||||
props,
|
props,
|
||||||
@ -79,7 +88,7 @@ export default defineComponent({
|
|||||||
const moreDropDownOptions = computed<DropdownProps['options']>(() => [
|
const moreDropDownOptions = computed<DropdownProps['options']>(() => [
|
||||||
{
|
{
|
||||||
label: '下载图片',
|
label: '下载图片',
|
||||||
key: 'downloadChart',
|
key: '__DOWN_LOAD_CHART__',
|
||||||
disabled: !(
|
disabled: !(
|
||||||
echartInstanceRef.value && echartInstanceRef.value.getDom()
|
echartInstanceRef.value && echartInstanceRef.value.getDom()
|
||||||
),
|
),
|
||||||
@ -124,7 +133,7 @@ export default defineComponent({
|
|||||||
try {
|
try {
|
||||||
echarts.use(props.use?.filter(Boolean))
|
echarts.use(props.use?.filter(Boolean))
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('RChart register error: ', e)
|
console.error('[RChart register error]: ', e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -168,14 +177,7 @@ export default defineComponent({
|
|||||||
const combineChartOptions = (ops: EChartsCoreOption) => {
|
const combineChartOptions = (ops: EChartsCoreOption) => {
|
||||||
let options = unref(ops)
|
let options = unref(ops)
|
||||||
|
|
||||||
const assign = (opts: object) =>
|
const assign = (opts: object) => Object.assign({}, options, opts)
|
||||||
Object.assign(
|
|
||||||
{
|
|
||||||
animation: true,
|
|
||||||
},
|
|
||||||
options,
|
|
||||||
opts,
|
|
||||||
)
|
|
||||||
|
|
||||||
if (props.showAria) {
|
if (props.showAria) {
|
||||||
options = assign({
|
options = assign({
|
||||||
@ -208,11 +210,6 @@ export default defineComponent({
|
|||||||
const { onSuccess, onError } = props
|
const { onSuccess, onError } = props
|
||||||
|
|
||||||
try {
|
try {
|
||||||
/** 注册主题 */
|
|
||||||
echartThemes.forEach((curr) => {
|
|
||||||
echarts.registerTheme(curr.name, curr.theme)
|
|
||||||
})
|
|
||||||
|
|
||||||
/** 注册 chart */
|
/** 注册 chart */
|
||||||
echartInst = echarts.init(element, theme, {
|
echartInst = echarts.init(element, theme, {
|
||||||
/** 如果款度为 0, 则以 200px 填充 */
|
/** 如果款度为 0, 则以 200px 填充 */
|
||||||
@ -223,10 +220,10 @@ export default defineComponent({
|
|||||||
echartInstanceRef.value = echartInst
|
echartInstanceRef.value = echartInst
|
||||||
|
|
||||||
/** 设置 options 配置项 */
|
/** 设置 options 配置项 */
|
||||||
if (props.animation) {
|
if (props.nextTick) {
|
||||||
echartInst.setOption({})
|
echartInst.setOption({})
|
||||||
|
|
||||||
setTimeout(() => {
|
nextTick(() => {
|
||||||
options && echartInst?.setOption(options)
|
options && echartInst?.setOption(options)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@ -258,6 +255,7 @@ export default defineComponent({
|
|||||||
if (isDispose()) {
|
if (isDispose()) {
|
||||||
echartInst!.clear()
|
echartInst!.clear()
|
||||||
echartInst!.dispose()
|
echartInst!.dispose()
|
||||||
|
|
||||||
echartInstanceRef.value = void 0
|
echartInstanceRef.value = void 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -278,7 +276,7 @@ export default defineComponent({
|
|||||||
* 当前仅实现下载图片功能
|
* 当前仅实现下载图片功能
|
||||||
*/
|
*/
|
||||||
const dropdownSelect = (key: string | number, option: DropdownOption) => {
|
const dropdownSelect = (key: string | number, option: DropdownOption) => {
|
||||||
if (key === 'downloadChart' && isDispose()) {
|
if (key === '__DOWN_LOAD_CHART__' && isDispose()) {
|
||||||
const { filename, ...args } = props.downloadOptions
|
const { filename, ...args } = props.downloadOptions
|
||||||
|
|
||||||
downloadBase64File(
|
downloadBase64File(
|
||||||
|
@ -110,12 +110,8 @@ const props = {
|
|||||||
},
|
},
|
||||||
onSuccess: {
|
onSuccess: {
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* 返回 chart 实例
|
|
||||||
*
|
*
|
||||||
* 渲染成功回调函数
|
* 渲染成功回调函数
|
||||||
*
|
|
||||||
* () => ECharts
|
|
||||||
*/
|
*/
|
||||||
type: [Function, Array] as PropType<MaybeArray<(e: ECharts) => void>>,
|
type: [Function, Array] as PropType<MaybeArray<(e: ECharts) => void>>,
|
||||||
default: null,
|
default: null,
|
||||||
@ -124,8 +120,6 @@ const props = {
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 渲染失败回调函数
|
* 渲染失败回调函数
|
||||||
*
|
|
||||||
* () => void
|
|
||||||
*/
|
*/
|
||||||
type: [Function, Array] as PropType<MaybeArray<() => void>>,
|
type: [Function, Array] as PropType<MaybeArray<() => void>>,
|
||||||
default: null,
|
default: null,
|
||||||
@ -190,8 +184,11 @@ const props = {
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: 500,
|
default: 500,
|
||||||
},
|
},
|
||||||
animation: {
|
nextTick: {
|
||||||
/** 是否强制启用渲染动画 */
|
/**
|
||||||
|
*
|
||||||
|
* 是否将渲染放置下一个队列
|
||||||
|
*/
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
|
@ -13,17 +13,17 @@ import { NFlex, NCard, NInput, NInputGroup, NButton, NSwitch } from 'naive-ui'
|
|||||||
const Demo = defineComponent({
|
const Demo = defineComponent({
|
||||||
name: 'Demo',
|
name: 'Demo',
|
||||||
setup() {
|
setup() {
|
||||||
const dmeoCopyValue = ref('hello copy')
|
const demoCopyValue = ref('hello copy')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
dmeoCopyValue,
|
demoCopyValue,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<NInputGroup>
|
<NInputGroup>
|
||||||
<NInput v-model:value={this.dmeoCopyValue} />
|
<NInput v-model:value={this.demoCopyValue} />
|
||||||
<NButton v-copy={this.dmeoCopyValue}>复制</NButton>
|
<NButton v-copy={this.demoCopyValue}>复制</NButton>
|
||||||
</NInputGroup>
|
</NInputGroup>
|
||||||
)
|
)
|
||||||
},
|
},
|
@ -11,10 +11,9 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 存放全局响应式变量,脱离 pinia 使用的变量
|
* @description
|
||||||
* 简单的全局变量,并不需要复杂的控制流程
|
* 存放全局响应式变量,脱离 pinia 使用的变量。
|
||||||
*
|
* 简单的全局变量,并不需要复杂的控制流程。
|
||||||
* 使用方法
|
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* 获取响应式变量
|
* 获取响应式变量
|
||||||
@ -31,12 +30,11 @@ import type { AnyFC } from '@/types'
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 全局响应式变量
|
* @description
|
||||||
* 不推荐直接访问、设置该 state。并且更不建议在组件中直接使用该 state
|
* 全局响应式变量。
|
||||||
* 请使用 `getVariable`、`getVariableToRefs`、`setVariable` 方法进行操作
|
|
||||||
*
|
*
|
||||||
* 为什么会有该变量存在,是因为在有时候你希望在 vue 声明之后就调用该变量,但是又不想使用 pinia
|
* 不推荐直接访问、设置该 state不建议在组件中直接使用该 state,
|
||||||
* 你可以使用该变量,但是请注意,该变量不会被 pinia 管理,所以你需要自己手动管理
|
* 请使用 `getVariable`、`getVariableToRefs`、`setVariable` 方法进行操作。
|
||||||
*/
|
*/
|
||||||
const variableState = reactive({
|
const variableState = reactive({
|
||||||
globalSpinning: false, // 全局加载控制器
|
globalSpinning: false, // 全局加载控制器
|
||||||
@ -79,7 +77,7 @@ export function setVariable<T extends VariableStateKey, FC extends AnyFC>(
|
|||||||
* 返回目标值的响应式 ref
|
* 返回目标值的响应式 ref
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* getVariableToRefs('globalSpinning') // 返回 ref<boolean>
|
* getVariableToRefs('globalSpinning') // 返回 Ref<boolean>
|
||||||
*/
|
*/
|
||||||
export function getVariableToRefs<K extends VariableStateKey>(key: K) {
|
export function getVariableToRefs<K extends VariableStateKey>(key: K) {
|
||||||
return readonly(toRef<VariableState, K>(variableState, key))
|
return readonly(toRef<VariableState, K>(variableState, key))
|
||||||
|
@ -38,6 +38,7 @@ const setThemeOverrides = (theme: boolean) => {
|
|||||||
export const useTheme = () => {
|
export const useTheme = () => {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @description
|
||||||
* 获取当前主题色与主题色描述
|
* 获取当前主题色与主题色描述
|
||||||
* 并且描述会根据当前语言环境自动切换
|
* 并且描述会根据当前语言环境自动切换
|
||||||
*
|
*
|
||||||
@ -59,6 +60,7 @@ export const useTheme = () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @description
|
||||||
* 切换至暗色主题
|
* 切换至暗色主题
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
@ -73,6 +75,7 @@ export const useTheme = () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @description
|
||||||
* 切换至明色主题
|
* 切换至明色主题
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
@ -89,6 +92,7 @@ export const useTheme = () => {
|
|||||||
*
|
*
|
||||||
* @param theme 当前主题色
|
* @param theme 当前主题色
|
||||||
*
|
*
|
||||||
|
* @description
|
||||||
* 当前主题有明暗两套
|
* 当前主题有明暗两套
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
|
@ -16,8 +16,9 @@ export const useWatermark = () => {
|
|||||||
*
|
*
|
||||||
* @param content 水印内容
|
* @param content 水印内容
|
||||||
*
|
*
|
||||||
* 设置水印内容
|
* @description
|
||||||
* 如果覆盖的水印内容为: '', undefined, null, 0, false, NaN,则会沿用上次一次的水印内容
|
* 设置水印内容。
|
||||||
|
* 如果覆盖的水印内容为: '', undefined, null, 0, false, NaN,则会沿用上次一次的水印内容。
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* setWatermarkContent('Ray Template Yes!')
|
* setWatermarkContent('Ray Template Yes!')
|
||||||
@ -36,10 +37,11 @@ export const useWatermark = () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 显示水印
|
* @description
|
||||||
|
* 显示水印。
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* showWatermark()
|
* showWatermark() // 水印切换至显示状态
|
||||||
*/
|
*/
|
||||||
const showWatermark = () => {
|
const showWatermark = () => {
|
||||||
const { updateSettingState } = useSettingActions()
|
const { updateSettingState } = useSettingActions()
|
||||||
@ -49,10 +51,11 @@ export const useWatermark = () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 隐藏水印
|
* @description
|
||||||
|
* 隐藏水印。
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* hiddenWatermark()
|
* hiddenWatermark() // 水印切换至隐藏状态
|
||||||
*/
|
*/
|
||||||
const hiddenWatermark = () => {
|
const hiddenWatermark = () => {
|
||||||
const { updateSettingState } = useSettingActions()
|
const { updateSettingState } = useSettingActions()
|
||||||
@ -64,7 +67,8 @@ export const useWatermark = () => {
|
|||||||
*
|
*
|
||||||
* @param value 是否显示水印
|
* @param value 是否显示水印
|
||||||
*
|
*
|
||||||
* 切换水印显示状态
|
* @description
|
||||||
|
* 切换水印显示状态。
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* 假设当前水印显示状态为隐藏
|
* 假设当前水印显示状态为隐藏
|
||||||
|
@ -45,7 +45,7 @@ export function useDevice(options?: UseDeviceOptions) {
|
|||||||
return {
|
return {
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
isTabletOrSmaller,
|
isTabletOrSmaller: readonly(isTabletOrSmaller),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,16 +182,18 @@ export const useElementFullscreen = (
|
|||||||
|
|
||||||
const stopWatch = watch(() => height.value, updateStyle)
|
const stopWatch = watch(() => height.value, updateStyle)
|
||||||
|
|
||||||
effectDispose(() => {
|
effectDispose({
|
||||||
const element = unrefElement(target) as HTMLElement | null
|
fc: () => {
|
||||||
|
const element = unrefElement(target) as HTMLElement | null
|
||||||
|
|
||||||
if (element) {
|
if (element) {
|
||||||
element.style.transition = cacheStyle.transition ?? ''
|
element.style.transition = cacheStyle.transition ?? ''
|
||||||
|
|
||||||
element.removeAttribute(ID_TAG)
|
element.removeAttribute(ID_TAG)
|
||||||
}
|
}
|
||||||
|
|
||||||
stopWatch()
|
stopWatch()
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -69,6 +69,8 @@ export default defineComponent({
|
|||||||
closeRight: $closeRight,
|
closeRight: $closeRight,
|
||||||
closeLeft: $closeLeft,
|
closeLeft: $closeLeft,
|
||||||
closeOther: $closeOther,
|
closeOther: $closeOther,
|
||||||
|
checkCloseLeft,
|
||||||
|
checkCloseRight,
|
||||||
} = useSiderBar()
|
} = useSiderBar()
|
||||||
|
|
||||||
const canDisabledOptions = [
|
const canDisabledOptions = [
|
||||||
@ -266,7 +268,6 @@ export default defineComponent({
|
|||||||
* 动态设置某些项禁用
|
* 动态设置某些项禁用
|
||||||
*/
|
*/
|
||||||
const setDisabledAccordionToIndex = () => {
|
const setDisabledAccordionToIndex = () => {
|
||||||
const length = getMenuTagOptions.value.length - 1
|
|
||||||
const { closeable } =
|
const { closeable } =
|
||||||
getMenuTagOptions.value[currentContextmenuIndex] ??
|
getMenuTagOptions.value[currentContextmenuIndex] ??
|
||||||
({} as MenuTagOptions)
|
({} as MenuTagOptions)
|
||||||
@ -275,18 +276,14 @@ export default defineComponent({
|
|||||||
setMoreOptionsDisabled('closeCurrentPage', !closeable ?? false)
|
setMoreOptionsDisabled('closeCurrentPage', !closeable ?? false)
|
||||||
|
|
||||||
// 是否需要禁用关闭右侧标签页
|
// 是否需要禁用关闭右侧标签页
|
||||||
if (currentContextmenuIndex === length) {
|
checkCloseRight(currentContextmenuIndex)
|
||||||
setMoreOptionsDisabled('closeRight', true)
|
? setMoreOptionsDisabled('closeRight', false)
|
||||||
} else if (currentContextmenuIndex < length) {
|
: setMoreOptionsDisabled('closeRight', true)
|
||||||
setMoreOptionsDisabled('closeRight', false)
|
|
||||||
}
|
|
||||||
|
|
||||||
// 是否需要禁用关闭左侧标签页
|
// 是否需要禁用关闭左侧标签页
|
||||||
if (currentContextmenuIndex === 0) {
|
checkCloseLeft(currentContextmenuIndex)
|
||||||
setMoreOptionsDisabled('closeLeft', true)
|
? setMoreOptionsDisabled('closeLeft', false)
|
||||||
} else if (currentContextmenuIndex > 0) {
|
: setMoreOptionsDisabled('closeLeft', true)
|
||||||
setMoreOptionsDisabled('closeLeft', false)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -63,7 +63,7 @@ const createI18nOptions = async () => {
|
|||||||
export const setupI18n = async (app: App<Element>) => {
|
export const setupI18n = async (app: App<Element>) => {
|
||||||
const i18nInstance = await createI18nOptions()
|
const i18nInstance = await createI18nOptions()
|
||||||
|
|
||||||
i18n = i18nInstance
|
|
||||||
|
|
||||||
app.use(i18nInstance)
|
app.use(i18nInstance)
|
||||||
|
|
||||||
|
i18n = i18nInstance
|
||||||
}
|
}
|
||||||
|
35
src/main.ts
35
src/main.ts
@ -1,7 +1,7 @@
|
|||||||
import App from './App'
|
import App from './App'
|
||||||
|
|
||||||
import '@/styles/base.scss'
|
import '@/styles/base.scss' // 初始化一些基础样式
|
||||||
import './app-components/provider/provider.scss'
|
import './app-components/provider/provider.scss' // 初始化 provider 包注入组件样式
|
||||||
|
|
||||||
import 'virtual:svg-icons-register' // vite-plugin-svg-icons 脚本,启用 svg 雪碧图
|
import 'virtual:svg-icons-register' // vite-plugin-svg-icons 脚本,启用 svg 雪碧图
|
||||||
|
|
||||||
@ -10,15 +10,28 @@ import { setupStore } from './store'
|
|||||||
import { setupI18n } from './locales'
|
import { setupI18n } from './locales'
|
||||||
import { setupDayjs } from './dayjs'
|
import { setupDayjs } from './dayjs'
|
||||||
import { setupDirectives } from './directives'
|
import { setupDirectives } from './directives'
|
||||||
|
import { validAppRootPath, validLocal } from './__ray-template'
|
||||||
|
|
||||||
import type { App as AppType } from 'vue'
|
import type { App as AppType } from 'vue'
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @description
|
||||||
|
* 该方法用于初始化 ray-template 配置。
|
||||||
|
*/
|
||||||
|
const setupRayTemplateCore = async () => {
|
||||||
|
await validAppRootPath()
|
||||||
|
await validLocal()
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param inst vue instance
|
* @param inst vue instance
|
||||||
*
|
*
|
||||||
* 该方法注册所有模板插件
|
* @description
|
||||||
* 注册时应该注意每个插件的加载顺序
|
* 该方法注册所有模板插件。
|
||||||
|
*
|
||||||
|
* 注册时应该注意每个插件的加载顺序。
|
||||||
*/
|
*/
|
||||||
const setupPlugins = async (inst: AppType<Element>) => {
|
const setupPlugins = async (inst: AppType<Element>) => {
|
||||||
await setupI18n(inst)
|
await setupI18n(inst)
|
||||||
@ -30,19 +43,23 @@ const setupPlugins = async (inst: AppType<Element>) => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 普通应用注册方法
|
* @description
|
||||||
|
* 普通应用注册方法。
|
||||||
*/
|
*/
|
||||||
const setupTemplate = async () => {
|
const setupTemplate = async () => {
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
|
|
||||||
await setupPlugins(app)
|
await setupPlugins(app)
|
||||||
app.mount('#app')
|
app.mount('#app')
|
||||||
|
await setupRayTemplateCore()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 作为 wujie-micro 子应用注册应用方法
|
* @description
|
||||||
* 并且挂载一个 __WUJIE_MOUNT 实例
|
* 作为 wujie-micro 子应用注册应用方法。
|
||||||
|
*
|
||||||
|
* 并且挂载一个 __WUJIE_MOUNT 实例。
|
||||||
*/
|
*/
|
||||||
const setupWujieTemplate = async () => {
|
const setupWujieTemplate = async () => {
|
||||||
let instance: AppType<Element>
|
let instance: AppType<Element>
|
||||||
@ -52,6 +69,7 @@ const setupWujieTemplate = async () => {
|
|||||||
|
|
||||||
await setupPlugins(instance)
|
await setupPlugins(instance)
|
||||||
instance.mount('#app')
|
instance.mount('#app')
|
||||||
|
await setupRayTemplateCore()
|
||||||
}
|
}
|
||||||
|
|
||||||
window.__WUJIE_UNMOUNT = () => {
|
window.__WUJIE_UNMOUNT = () => {
|
||||||
@ -63,7 +81,8 @@ const setupWujieTemplate = async () => {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* 如果项目启用无界微服务, 会自动识别并且启动以无界微服务方法启动该项目
|
* @description
|
||||||
|
* 如果项目启用无界微服务, 会自动识别并且启动以无界微服务方法启动该项目。
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* 作为主应用
|
* 作为主应用
|
||||||
|
@ -202,15 +202,16 @@ export const piniaMenuStore = defineStore(
|
|||||||
* @param option 菜单当前 option 项
|
* @param option 菜单当前 option 项
|
||||||
* @param query 路由参数
|
* @param query 路由参数
|
||||||
*
|
*
|
||||||
* @remark 修改 `menu key` 后的回调函数
|
* @description
|
||||||
* @remark 修改后, 缓存当前选择 key 并且存储标签页与跳转页面(router push 操作)
|
* 修改 `menu key` 后的回调函数。
|
||||||
|
* 修改后,缓存当前选择 key 并且存储标签页与跳转页面(router push 操作)。
|
||||||
*
|
*
|
||||||
* 如果 windowOpen 存在, 则直接打开新窗口,不会更新当前菜单状态,也不会做其他的操作
|
* 如果 windowOpen 存在, 则直接打开新窗口,不会更新当前菜单状态,也不会做其他的操作。
|
||||||
* 如果 sameLevel 存在,则会追加一层面包屑,并不会触发菜单更新与标签页更新
|
* 如果 sameLevel 存在,则会追加一层面包屑,并不会触发菜单更新与标签页更新。
|
||||||
*
|
*
|
||||||
* 在执行更新操作后会做一些缓存操作
|
* 在执行更新操作后会做一些缓存操作。
|
||||||
*
|
*
|
||||||
* 该方法是整个模板的核心驱动: 菜单、标签页、面包屑、浏览器标题等等的更新方法
|
* 该方法是整个模板的核心驱动: 菜单、标签页、面包屑、浏览器标题等等的更新方法。
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* changeMenuModelValue('/dashboard',{ dashboard option }) // 跳转页面至 dashboard,并且更新菜单状态、标签页、面包屑、浏览器标题等等
|
* changeMenuModelValue('/dashboard',{ dashboard option }) // 跳转页面至 dashboard,并且更新菜单状态、标签页、面包屑、浏览器标题等等
|
||||||
@ -281,8 +282,8 @@ export const piniaMenuStore = defineStore(
|
|||||||
*
|
*
|
||||||
* @param path 路由地址
|
* @param path 路由地址
|
||||||
*
|
*
|
||||||
* @remark 监听路由地址变化更新菜单状态
|
* @description
|
||||||
* @remark 递归查找匹配项
|
* 监听路由地址变化更新菜单状态。
|
||||||
*/
|
*/
|
||||||
const updateMenuKeyWhenRouteUpdate = async (
|
const updateMenuKeyWhenRouteUpdate = async (
|
||||||
path: string,
|
path: string,
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { getAppDefaultLanguage } from '@/locales/helper'
|
import { getAppDefaultLanguage } from '@/locales/helper'
|
||||||
import { set } from 'lodash-es'
|
|
||||||
import { colorToRgba, setStorage } from '@/utils'
|
import { colorToRgba, setStorage } from '@/utils'
|
||||||
import { useI18n, useDayjs } from '@/hooks'
|
import { useI18n, useDayjs } from '@/hooks'
|
||||||
import { APP_CATCH_KEY } from '@/app-config'
|
import { APP_CATCH_KEY } from '@/app-config'
|
||||||
@ -25,6 +24,7 @@ export const piniaSettingStore = defineStore(
|
|||||||
common: {
|
common: {
|
||||||
primaryColor: primaryColor,
|
primaryColor: primaryColor,
|
||||||
primaryColorHover: primaryColor,
|
primaryColorHover: primaryColor,
|
||||||
|
primaryColorPressed: primaryColor,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
appTheme: false, // `true` 为黑夜主题, `false` 为白色主题
|
appTheme: false, // `true` 为黑夜主题, `false` 为白色主题
|
||||||
@ -70,6 +70,7 @@ export const piniaSettingStore = defineStore(
|
|||||||
const themeOverrides = {
|
const themeOverrides = {
|
||||||
primaryColor: value,
|
primaryColor: value,
|
||||||
primaryColorHover: value,
|
primaryColorHover: value,
|
||||||
|
primaryColorPressed: value,
|
||||||
}
|
}
|
||||||
|
|
||||||
settingState.primaryColorOverride.common = themeOverrides
|
settingState.primaryColorOverride.common = themeOverrides
|
||||||
@ -103,7 +104,7 @@ export const piniaSettingStore = defineStore(
|
|||||||
value: V[T],
|
value: V[T],
|
||||||
cb?: C,
|
cb?: C,
|
||||||
) => {
|
) => {
|
||||||
if (Object.hasOwn(settingState, key)) {
|
if (Reflect.has(settingState, key)) {
|
||||||
settingState[key] = value
|
settingState[key] = value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ export const setClass = (
|
|||||||
immediate: true,
|
immediate: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
effectDispose(watcher)
|
effectDispose({ fc: watcher })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -93,7 +93,7 @@ export const removeClass = (
|
|||||||
immediate: true,
|
immediate: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
effectDispose(watcher)
|
effectDispose({ fc: watcher })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -140,7 +140,7 @@ export const hasClass = (
|
|||||||
immediate: true,
|
immediate: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
effectDispose(watcher)
|
effectDispose({ fc: watcher })
|
||||||
|
|
||||||
return hasClassRef
|
return hasClassRef
|
||||||
}
|
}
|
||||||
@ -250,7 +250,7 @@ export const setStyle = (
|
|||||||
immediate: true,
|
immediate: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
effectDispose(watcher)
|
effectDispose({ fc: watcher })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -286,7 +286,7 @@ export const removeStyle = (
|
|||||||
immediate: true,
|
immediate: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
effectDispose(watcher)
|
effectDispose({ fc: watcher })
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,5 +34,5 @@ export function watchEffectWithTarget<T extends AnyFC>(
|
|||||||
) {
|
) {
|
||||||
const stop = watchEffect(fc, watchOptions)
|
const stop = watchEffect(fc, watchOptions)
|
||||||
|
|
||||||
effectDispose(stop)
|
effectDispose({ fc: stop })
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,14 @@
|
|||||||
* @remark 今天也是元气满满撸代码的一天
|
* @remark 今天也是元气满满撸代码的一天
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NButton, NCard, NFlex, NInput } from 'naive-ui'
|
import {
|
||||||
|
NButton,
|
||||||
|
NCard,
|
||||||
|
NFlex,
|
||||||
|
NInput,
|
||||||
|
NInputGroup,
|
||||||
|
NInputGroupLabel,
|
||||||
|
} from 'naive-ui'
|
||||||
|
|
||||||
import { getStorage, setStorage, removeStorage, hasStorage } from '@/utils'
|
import { getStorage, setStorage, removeStorage, hasStorage } from '@/utils'
|
||||||
|
|
||||||
@ -31,11 +38,20 @@ export default defineComponent({
|
|||||||
default: () => (
|
default: () => (
|
||||||
<NFlex vertical>
|
<NFlex vertical>
|
||||||
<h3>点击 setStorage 按钮,设置缓存示例</h3>
|
<h3>点击 setStorage 按钮,设置缓存示例</h3>
|
||||||
<NInput v-model:value={this.nameValue} placeholder="请输入姓名" />
|
<NInputGroup>
|
||||||
<NInput
|
<NInputGroupLabel>设置缓存内容</NInputGroupLabel>
|
||||||
v-model:value={this.currentPrefix}
|
<NInput
|
||||||
placeholder="请输入前缀"
|
v-model:value={this.nameValue}
|
||||||
/>
|
placeholder="请输入姓名"
|
||||||
|
/>
|
||||||
|
</NInputGroup>
|
||||||
|
<NInputGroup>
|
||||||
|
<NInputGroupLabel>设置前缀</NInputGroupLabel>
|
||||||
|
<NInput
|
||||||
|
v-model:value={this.currentPrefix}
|
||||||
|
placeholder="请输入前缀"
|
||||||
|
/>
|
||||||
|
</NInputGroup>
|
||||||
</NFlex>
|
</NFlex>
|
||||||
),
|
),
|
||||||
action: () => (
|
action: () => (
|
||||||
|
@ -231,67 +231,71 @@ const Echart = defineComponent({
|
|||||||
<h3>3. 默认启用 watchOptions,自动监听配置项变化</h3>
|
<h3>3. 默认启用 watchOptions,自动监听配置项变化</h3>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h3>4. 默认启用 animation,强制启用渲染过渡动画</h3>
|
<h3>4. 默认启用 nextTick,强制在下一队列渲染图标内容</h3>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<h3>5. 配置 setChartOptions 属性,可以定制化合并模式</h3>
|
<h3>5. 配置 setChartOptions 属性,可以定制化合并模式</h3>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</NCard>
|
</NCard>
|
||||||
<NH2>强制渲染过渡动画(animation),预设 card 风格图表</NH2>
|
<NCard title="预设 card 风格图表">
|
||||||
<NFlex style={['padding: 18px 0']}>
|
<NFlex style={['padding: 18px 0']}>
|
||||||
<NButton onClick={this.mountChart.bind(this)}>渲染</NButton>
|
<NButton onClick={this.mountChart.bind(this)}>渲染</NButton>
|
||||||
<NButton onClick={this.unmountChart.bind(this)}>卸载</NButton>
|
<NButton onClick={this.unmountChart.bind(this)}>卸载</NButton>
|
||||||
<NButton onClick={this.handleUpdateTitle.bind(this)}>
|
<NButton onClick={this.handleUpdateTitle.bind(this)}>
|
||||||
更新配置项
|
更新配置项
|
||||||
</NButton>
|
</NButton>
|
||||||
</NFlex>
|
</NFlex>
|
||||||
<div class="chart--container">
|
<div class="chart--container">
|
||||||
<RChart
|
<RChart
|
||||||
title="周销售量"
|
title="周销售量"
|
||||||
ref="baseChartRef"
|
ref="baseChartRef"
|
||||||
autoChangeTheme
|
autoChangeTheme
|
||||||
options={this.baseLineOptions}
|
options={this.baseLineOptions}
|
||||||
showAria={this.chartAria}
|
showAria={this.chartAria}
|
||||||
preset="card"
|
preset="card"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<NH2>不跟随主题切换的暗色主题可视化图,并且手动指定原始主题色</NH2>
|
</NCard>
|
||||||
<div class="chart--container">
|
<NCard title="不跟随主题切换的暗色主题可视化图,并且手动指定原始主题色">
|
||||||
<RChart
|
<div class="chart--container">
|
||||||
autoChangeTheme={false}
|
<RChart
|
||||||
theme="default"
|
autoChangeTheme={false}
|
||||||
options={this.baseOptions}
|
theme="default"
|
||||||
/>
|
options={this.baseOptions}
|
||||||
</div>
|
/>
|
||||||
<NH2>加载动画</NH2>
|
</div>
|
||||||
<NSwitch
|
</NCard>
|
||||||
v-model:value={this.chartLoading}
|
<NCard title="加载动画">
|
||||||
onUpdateValue={this.handleLoadingShow.bind(this)}
|
<NSwitch
|
||||||
style={['padding: 18px 0']}
|
v-model:value={this.chartLoading}
|
||||||
>
|
onUpdateValue={this.handleLoadingShow.bind(this)}
|
||||||
{{
|
style={['padding: 18px 0']}
|
||||||
checked: () => '隐藏加载动画',
|
>
|
||||||
unchecked: () => '显示加载动画',
|
{{
|
||||||
}}
|
checked: () => '隐藏加载动画',
|
||||||
</NSwitch>
|
unchecked: () => '显示加载动画',
|
||||||
<div class="chart--container">
|
}}
|
||||||
<RChart loading={this.loading} options={this.baseOptions} />
|
</NSwitch>
|
||||||
</div>
|
<div class="chart--container">
|
||||||
<NH2>贴画可视化图</NH2>
|
<RChart loading={this.loading} options={this.baseOptions} />
|
||||||
<NSwitch
|
</div>
|
||||||
v-model:value={this.chartAria}
|
</NCard>
|
||||||
onUpdateValue={this.handleAriaShow.bind(this)}
|
<NCard title="贴画可视化图">
|
||||||
style={['padding: 18px 0']}
|
<NSwitch
|
||||||
>
|
v-model:value={this.chartAria}
|
||||||
{{
|
onUpdateValue={this.handleAriaShow.bind(this)}
|
||||||
checked: () => '隐藏贴花',
|
style={['padding: 18px 0']}
|
||||||
unchecked: () => '显示贴花',
|
>
|
||||||
}}
|
{{
|
||||||
</NSwitch>
|
checked: () => '隐藏贴花',
|
||||||
<div class="chart--container">
|
unchecked: () => '显示贴花',
|
||||||
<RChart options={this.baseOptions} showAria={this.chartAria} />
|
}}
|
||||||
</div>
|
</NSwitch>
|
||||||
|
<div class="chart--container">
|
||||||
|
<RChart options={this.baseOptions} showAria={this.chartAria} />
|
||||||
|
</div>
|
||||||
|
</NCard>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user