mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-23 15:52:49 +08:00
fix: 修改 pnpm7.x 版本打包时的类型错误
This commit is contained in:
parent
88073e97af
commit
68512206f7
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "go-view",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"scripts": {
|
||||
"dev": "vite --host",
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
|
@ -1,4 +1,4 @@
|
||||
lockfileVersion: 5.3
|
||||
lockfileVersion: 5.4
|
||||
|
||||
specifiers:
|
||||
'@types/color': ^3.0.3
|
||||
@ -64,19 +64,19 @@ dependencies:
|
||||
html2canvas: 1.4.1
|
||||
keymaster: 1.6.2
|
||||
naive-ui: 2.28.2_vue@3.2.31
|
||||
pinia: 2.0.13_typescript@4.6.3+vue@3.2.31
|
||||
pinia: 2.0.13_hhks2xcoho7x4jrwn5stbz36vy
|
||||
screenfull: 6.0.1
|
||||
vue: 3.2.31
|
||||
vue-i18n: 9.1.9_vue@3.2.31
|
||||
vue-router: 4.0.12_vue@3.2.31
|
||||
vue3-lazyload: 0.2.5-beta_4f726de02e89ff745196f225ebb1bbcf
|
||||
vue3-lazyload: 0.2.5-beta_j5zg3yborh7xiumw6is6xmn3z4
|
||||
vue3-sketch-ruler: 1.3.3_vue@3.2.31
|
||||
vuedraggable: 4.1.0_vue@3.2.31
|
||||
|
||||
devDependencies:
|
||||
'@types/node': 16.11.26
|
||||
'@typescript-eslint/eslint-plugin': 5.18.0_a07dca3bdfc4bfa60f4dda0c1f9e3287
|
||||
'@typescript-eslint/parser': 5.18.0_eslint@8.12.0+typescript@4.6.3
|
||||
'@typescript-eslint/eslint-plugin': 5.18.0_ub64uo67ys72md2n3igb7hrsq4
|
||||
'@typescript-eslint/parser': 5.18.0_thk3xo4exzjr5rl6cnexo7v6re
|
||||
'@vicons/carbon': 0.12.0
|
||||
'@vicons/ionicons5': 0.11.0
|
||||
'@vitejs/plugin-vue': 1.10.2_vite@2.9.5
|
||||
@ -87,8 +87,8 @@ devDependencies:
|
||||
echarts: 5.3.2
|
||||
eslint: 8.12.0
|
||||
eslint-config-prettier: 8.5.0_eslint@8.12.0
|
||||
eslint-plugin-import: 2.26.0_eslint@8.12.0
|
||||
eslint-plugin-prettier: 4.0.0_f2c91d0f54113167d2bd9214a5ab5a36
|
||||
eslint-plugin-import: 2.26.0_mzojdsoryzqztjvqj5t7e5xqmq
|
||||
eslint-plugin-prettier: 4.0.0_6ler2d2uceywpuv5sikklk22gy
|
||||
eslint-plugin-vue: 8.5.0_eslint@8.12.0
|
||||
lodash: 4.17.21
|
||||
mockjs: 1.1.0
|
||||
@ -297,7 +297,6 @@ packages:
|
||||
/@babel/helper-validator-identifier/7.16.7:
|
||||
resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
dev: true
|
||||
|
||||
/@babel/helper-validator-option/7.16.7:
|
||||
resolution: {integrity: sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==}
|
||||
@ -328,6 +327,8 @@ packages:
|
||||
resolution: {integrity: sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@babel/types': 7.17.0
|
||||
|
||||
/@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.17.8:
|
||||
resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==}
|
||||
@ -412,7 +413,6 @@ packages:
|
||||
dependencies:
|
||||
'@babel/helper-validator-identifier': 7.16.7
|
||||
to-fast-properties: 2.0.0
|
||||
dev: true
|
||||
|
||||
/@css-render/plugin-bem/0.15.9_css-render@0.15.9:
|
||||
resolution: {integrity: sha512-xASEmYIX91Pow7YPzpAZ0eyrRNINVX7j9ITNbLt88gJHRLap3P1dv3hTSLtUZTxYXVHTklZ/SfJQ9FIO3jRahg==}
|
||||
@ -706,7 +706,7 @@ packages:
|
||||
'@types/node': 17.0.23
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/eslint-plugin/5.18.0_a07dca3bdfc4bfa60f4dda0c1f9e3287:
|
||||
/@typescript-eslint/eslint-plugin/5.18.0_ub64uo67ys72md2n3igb7hrsq4:
|
||||
resolution: {integrity: sha512-tzrmdGMJI/uii9/V6lurMo4/o+dMTKDH82LkNjhJ3adCW22YQydoRs5MwTiqxGF9CSYxPxQ7EYb4jLNlIs+E+A==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
@ -717,10 +717,10 @@ packages:
|
||||
typescript:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/parser': 5.18.0_eslint@8.12.0+typescript@4.6.3
|
||||
'@typescript-eslint/parser': 5.18.0_thk3xo4exzjr5rl6cnexo7v6re
|
||||
'@typescript-eslint/scope-manager': 5.18.0
|
||||
'@typescript-eslint/type-utils': 5.18.0_eslint@8.12.0+typescript@4.6.3
|
||||
'@typescript-eslint/utils': 5.18.0_eslint@8.12.0+typescript@4.6.3
|
||||
'@typescript-eslint/type-utils': 5.18.0_thk3xo4exzjr5rl6cnexo7v6re
|
||||
'@typescript-eslint/utils': 5.18.0_thk3xo4exzjr5rl6cnexo7v6re
|
||||
debug: 4.3.4
|
||||
eslint: 8.12.0
|
||||
functional-red-black-tree: 1.0.1
|
||||
@ -733,7 +733,7 @@ packages:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/parser/5.18.0_eslint@8.12.0+typescript@4.6.3:
|
||||
/@typescript-eslint/parser/5.18.0_thk3xo4exzjr5rl6cnexo7v6re:
|
||||
resolution: {integrity: sha512-+08nYfurBzSSPndngnHvFw/fniWYJ5ymOrn/63oMIbgomVQOvIDhBoJmYZ9lwQOCnQV9xHGvf88ze3jFGUYooQ==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
@ -761,7 +761,7 @@ packages:
|
||||
'@typescript-eslint/visitor-keys': 5.18.0
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/type-utils/5.18.0_eslint@8.12.0+typescript@4.6.3:
|
||||
/@typescript-eslint/type-utils/5.18.0_thk3xo4exzjr5rl6cnexo7v6re:
|
||||
resolution: {integrity: sha512-vcn9/6J5D6jtHxpEJrgK8FhaM8r6J1/ZiNu70ZUJN554Y3D9t3iovi6u7JF8l/e7FcBIxeuTEidZDR70UuCIfA==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
@ -771,7 +771,7 @@ packages:
|
||||
typescript:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/utils': 5.18.0_eslint@8.12.0+typescript@4.6.3
|
||||
'@typescript-eslint/utils': 5.18.0_thk3xo4exzjr5rl6cnexo7v6re
|
||||
debug: 4.3.4
|
||||
eslint: 8.12.0
|
||||
tsutils: 3.21.0_typescript@4.6.3
|
||||
@ -806,7 +806,7 @@ packages:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/utils/5.18.0_eslint@8.12.0+typescript@4.6.3:
|
||||
/@typescript-eslint/utils/5.18.0_thk3xo4exzjr5rl6cnexo7v6re:
|
||||
resolution: {integrity: sha512-+hFGWUMMri7OFY26TsOlGa+zgjEy1ssEipxpLjtl4wSll8zy85x0GrUSju/FHdKfVorZPYJLkF3I4XPtnCTewA==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
@ -1467,6 +1467,8 @@ packages:
|
||||
finalhandler: 1.1.2
|
||||
parseurl: 1.3.3
|
||||
utils-merge: 1.0.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/constant-case/3.0.4:
|
||||
@ -1540,12 +1542,22 @@ packages:
|
||||
|
||||
/debug/2.6.9:
|
||||
resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}
|
||||
peerDependencies:
|
||||
supports-color: '*'
|
||||
peerDependenciesMeta:
|
||||
supports-color:
|
||||
optional: true
|
||||
dependencies:
|
||||
ms: 2.0.0
|
||||
dev: true
|
||||
|
||||
/debug/3.2.7:
|
||||
resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}
|
||||
peerDependencies:
|
||||
supports-color: '*'
|
||||
peerDependenciesMeta:
|
||||
supports-color:
|
||||
optional: true
|
||||
dependencies:
|
||||
ms: 2.1.3
|
||||
dev: true
|
||||
@ -2001,29 +2013,54 @@ packages:
|
||||
dependencies:
|
||||
debug: 3.2.7
|
||||
resolve: 1.22.0
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/eslint-module-utils/2.7.3:
|
||||
/eslint-module-utils/2.7.3_gshgus2jxs3picixh7dqkggb4y:
|
||||
resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==}
|
||||
engines: {node: '>=4'}
|
||||
peerDependencies:
|
||||
'@typescript-eslint/parser': '*'
|
||||
eslint-import-resolver-node: '*'
|
||||
eslint-import-resolver-typescript: '*'
|
||||
eslint-import-resolver-webpack: '*'
|
||||
peerDependenciesMeta:
|
||||
'@typescript-eslint/parser':
|
||||
optional: true
|
||||
eslint-import-resolver-node:
|
||||
optional: true
|
||||
eslint-import-resolver-typescript:
|
||||
optional: true
|
||||
eslint-import-resolver-webpack:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/parser': 5.18.0_thk3xo4exzjr5rl6cnexo7v6re
|
||||
debug: 3.2.7
|
||||
eslint-import-resolver-node: 0.3.6
|
||||
find-up: 2.1.0
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-import/2.26.0_eslint@8.12.0:
|
||||
/eslint-plugin-import/2.26.0_mzojdsoryzqztjvqj5t7e5xqmq:
|
||||
resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==}
|
||||
engines: {node: '>=4'}
|
||||
peerDependencies:
|
||||
'@typescript-eslint/parser': '*'
|
||||
eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
|
||||
peerDependenciesMeta:
|
||||
'@typescript-eslint/parser':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/parser': 5.18.0_thk3xo4exzjr5rl6cnexo7v6re
|
||||
array-includes: 3.1.4
|
||||
array.prototype.flat: 1.2.5
|
||||
debug: 2.6.9
|
||||
doctrine: 2.1.0
|
||||
eslint: 8.12.0
|
||||
eslint-import-resolver-node: 0.3.6
|
||||
eslint-module-utils: 2.7.3
|
||||
eslint-module-utils: 2.7.3_gshgus2jxs3picixh7dqkggb4y
|
||||
has: 1.0.3
|
||||
is-core-module: 2.8.1
|
||||
is-glob: 4.0.3
|
||||
@ -2031,9 +2068,13 @@ packages:
|
||||
object.values: 1.1.5
|
||||
resolve: 1.22.0
|
||||
tsconfig-paths: 3.14.1
|
||||
transitivePeerDependencies:
|
||||
- eslint-import-resolver-typescript
|
||||
- eslint-import-resolver-webpack
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-prettier/4.0.0_f2c91d0f54113167d2bd9214a5ab5a36:
|
||||
/eslint-plugin-prettier/4.0.0_6ler2d2uceywpuv5sikklk22gy:
|
||||
resolution: {integrity: sha512-98MqmCJ7vJodoQK359bqQWaxOE0CS8paAz/GgjaZLyex4TTk3g9HugoO89EqWCrFiOqn9EVvcoo7gZzONCWVwQ==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
peerDependencies:
|
||||
@ -2279,6 +2320,8 @@ packages:
|
||||
parseurl: 1.3.3
|
||||
statuses: 1.5.0
|
||||
unpipe: 1.0.0
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/find-up/2.1.0:
|
||||
@ -3435,7 +3478,7 @@ packages:
|
||||
engines: {node: '>=8.6'}
|
||||
dev: true
|
||||
|
||||
/pinia/2.0.13_typescript@4.6.3+vue@3.2.31:
|
||||
/pinia/2.0.13_hhks2xcoho7x4jrwn5stbz36vy:
|
||||
resolution: {integrity: sha512-B7rSqm1xNpwcPMnqns8/gVBfbbi7lWTByzS6aPZ4JOXSJD4Y531rZHDCoYWBwLyHY/8hWnXljgiXp6rRyrofcw==}
|
||||
peerDependencies:
|
||||
'@vue/composition-api': ^1.4.0
|
||||
@ -3983,7 +4026,6 @@ packages:
|
||||
/to-fast-properties/2.0.0:
|
||||
resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
|
||||
engines: {node: '>=4'}
|
||||
dev: true
|
||||
|
||||
/to-regex-range/5.0.1:
|
||||
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
|
||||
@ -4442,7 +4484,7 @@ packages:
|
||||
'@vue/shared': 3.2.31
|
||||
dev: false
|
||||
|
||||
/vue3-lazyload/0.2.5-beta_4f726de02e89ff745196f225ebb1bbcf:
|
||||
/vue3-lazyload/0.2.5-beta_j5zg3yborh7xiumw6is6xmn3z4:
|
||||
resolution: {integrity: sha512-GVhJfL9Hcu+AvWsYmUwODivvt+gzpT0ztgAzZaUduoiTaGCv/qzhr0VwAQXfjGF3XFYFyOJsHlAi3/WE0P8XTQ==}
|
||||
peerDependencies:
|
||||
'@vue/compiler-sfc': '>=3.0.0'
|
||||
|
@ -152,7 +152,7 @@ watch(() => targetData.value?.option?.dataset, (newData: {
|
||||
source: any,
|
||||
dimensions: any
|
||||
} | null) => {
|
||||
if (isObject(newData)) {
|
||||
if (newData && isObject(newData)) {
|
||||
// 只有 Echarts 数据才有对应的格式
|
||||
source.value = isCharts.value ? newData.source : newData
|
||||
if (isCharts.value) {
|
||||
|
@ -94,7 +94,7 @@ const canvasPositionList = computed(() => {
|
||||
// * 监听鼠标移动
|
||||
watch(
|
||||
() => chartEditStore.getMousePosition,
|
||||
throttle(e => {
|
||||
throttle((e: MouseEvent) => {
|
||||
if (!isComputedLine.value) return
|
||||
// 获取目标组件数据
|
||||
|
||||
|
2
types/shims-vue.d.ts
vendored
2
types/shims-vue.d.ts
vendored
@ -4,4 +4,4 @@ declare module '*.vue' {
|
||||
export default component
|
||||
}
|
||||
|
||||
declare module 'lodash'
|
||||
declare module 'lodash/*'
|
Loading…
Reference in New Issue
Block a user