mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-02 10:57:24 +08:00
chore: 升级element-plus
至最新版,相关兼容处理
This commit is contained in:
parent
6be410a03c
commit
59319aac8b
@ -72,7 +72,7 @@
|
||||
"deep-chat": "^2.1.1",
|
||||
"echarts": "^5.6.0",
|
||||
"el-table-infinite-scroll": "^3.0.6",
|
||||
"element-plus": "^2.9.7",
|
||||
"element-plus": "^2.9.8",
|
||||
"highlight.js": "^11.11.1",
|
||||
"intro.js": "^7.2.0",
|
||||
"js-cookie": "^3.0.5",
|
||||
@ -117,7 +117,7 @@
|
||||
"@commitlint/cli": "^19.8.0",
|
||||
"@commitlint/config-conventional": "^19.8.0",
|
||||
"@commitlint/types": "^19.8.0",
|
||||
"@eslint/js": "^9.24.0",
|
||||
"@eslint/js": "^9.25.0",
|
||||
"@faker-js/faker": "^9.7.0",
|
||||
"@iconify/json": "^2.2.329",
|
||||
"@iconify/vue": "4.2.0",
|
||||
@ -136,10 +136,10 @@
|
||||
"@vitejs/plugin-vue": "^5.2.3",
|
||||
"@vitejs/plugin-vue-jsx": "^4.1.2",
|
||||
"boxen": "^8.0.1",
|
||||
"code-inspector-plugin": "^0.20.9",
|
||||
"code-inspector-plugin": "^0.20.10",
|
||||
"cssnano": "^7.0.6",
|
||||
"dagre": "^0.8.5",
|
||||
"eslint": "^9.24.0",
|
||||
"eslint": "^9.25.0",
|
||||
"eslint-config-prettier": "^10.1.2",
|
||||
"eslint-plugin-prettier": "^5.2.6",
|
||||
"eslint-plugin-vue": "^10.0.0",
|
||||
|
218
pnpm-lock.yaml
generated
218
pnpm-lock.yaml
generated
@ -25,10 +25,10 @@ importers:
|
||||
version: 1.2.28
|
||||
'@pureadmin/descriptions':
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1(echarts@5.6.0)(element-plus@2.9.7(vue@3.5.13(typescript@5.8.3)))(typescript@5.8.3)
|
||||
version: 1.2.1(echarts@5.6.0)(element-plus@2.9.8(vue@3.5.13(typescript@5.8.3)))(typescript@5.8.3)
|
||||
'@pureadmin/table':
|
||||
specifier: ^3.2.1
|
||||
version: 3.2.1(element-plus@2.9.7(vue@3.5.13(typescript@5.8.3)))(typescript@5.8.3)
|
||||
version: 3.2.1(element-plus@2.9.8(vue@3.5.13(typescript@5.8.3)))(typescript@5.8.3)
|
||||
'@pureadmin/utils':
|
||||
specifier: ^2.6.0
|
||||
version: 2.6.0(echarts@5.6.0)(vue@3.5.13(typescript@5.8.3))
|
||||
@ -84,8 +84,8 @@ importers:
|
||||
specifier: ^3.0.6
|
||||
version: 3.0.6(typescript@5.8.3)
|
||||
element-plus:
|
||||
specifier: ^2.9.7
|
||||
version: 2.9.7(vue@3.5.13(typescript@5.8.3))
|
||||
specifier: ^2.9.8
|
||||
version: 2.9.8(vue@3.5.13(typescript@5.8.3))
|
||||
highlight.js:
|
||||
specifier: ^11.11.1
|
||||
version: 11.11.1
|
||||
@ -124,7 +124,7 @@ importers:
|
||||
version: 3.26.0
|
||||
plus-pro-components:
|
||||
specifier: ^0.1.22
|
||||
version: 0.1.22(element-plus@2.9.7(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3))
|
||||
version: 0.1.22(element-plus@2.9.8(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3))
|
||||
qrcode:
|
||||
specifier: ^1.5.4
|
||||
version: 1.5.4
|
||||
@ -214,8 +214,8 @@ importers:
|
||||
specifier: ^19.8.0
|
||||
version: 19.8.0
|
||||
'@eslint/js':
|
||||
specifier: ^9.24.0
|
||||
version: 9.24.0
|
||||
specifier: ^9.25.0
|
||||
version: 9.25.0
|
||||
'@faker-js/faker':
|
||||
specifier: ^9.7.0
|
||||
version: 9.7.0
|
||||
@ -227,7 +227,7 @@ importers:
|
||||
version: 4.2.0(vue@3.5.13(typescript@5.8.3))
|
||||
'@intlify/unplugin-vue-i18n':
|
||||
specifier: ^6.0.5
|
||||
version: 6.0.5(@vue/compiler-dom@3.5.13)(eslint@9.24.0(jiti@2.4.2))(rollup@4.40.0)(typescript@5.8.3)(vue-i18n@11.1.3(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3))
|
||||
version: 6.0.5(@vue/compiler-dom@3.5.13)(eslint@9.25.0(jiti@2.4.2))(rollup@4.40.0)(typescript@5.8.3)(vue-i18n@11.1.3(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3))
|
||||
'@tailwindcss/vite':
|
||||
specifier: ^4.1.4
|
||||
version: 4.1.4(vite@6.3.2(@types/node@20.17.30)(jiti@2.4.2)(lightningcss@1.29.2)(sass@1.86.3)(yaml@2.7.1))
|
||||
@ -271,8 +271,8 @@ importers:
|
||||
specifier: ^8.0.1
|
||||
version: 8.0.1
|
||||
code-inspector-plugin:
|
||||
specifier: ^0.20.9
|
||||
version: 0.20.9
|
||||
specifier: ^0.20.10
|
||||
version: 0.20.10
|
||||
cssnano:
|
||||
specifier: ^7.0.6
|
||||
version: 7.0.6(postcss@8.5.3)
|
||||
@ -280,17 +280,17 @@ importers:
|
||||
specifier: ^0.8.5
|
||||
version: 0.8.5
|
||||
eslint:
|
||||
specifier: ^9.24.0
|
||||
version: 9.24.0(jiti@2.4.2)
|
||||
specifier: ^9.25.0
|
||||
version: 9.25.0(jiti@2.4.2)
|
||||
eslint-config-prettier:
|
||||
specifier: ^10.1.2
|
||||
version: 10.1.2(eslint@9.24.0(jiti@2.4.2))
|
||||
version: 10.1.2(eslint@9.25.0(jiti@2.4.2))
|
||||
eslint-plugin-prettier:
|
||||
specifier: ^5.2.6
|
||||
version: 5.2.6(eslint-config-prettier@10.1.2(eslint@9.24.0(jiti@2.4.2)))(eslint@9.24.0(jiti@2.4.2))(prettier@3.5.3)
|
||||
version: 5.2.6(eslint-config-prettier@10.1.2(eslint@9.25.0(jiti@2.4.2)))(eslint@9.25.0(jiti@2.4.2))(prettier@3.5.3)
|
||||
eslint-plugin-vue:
|
||||
specifier: ^10.0.0
|
||||
version: 10.0.0(eslint@9.24.0(jiti@2.4.2))(vue-eslint-parser@10.1.3(eslint@9.24.0(jiti@2.4.2)))
|
||||
version: 10.0.0(eslint@9.25.0(jiti@2.4.2))(vue-eslint-parser@10.1.3(eslint@9.25.0(jiti@2.4.2)))
|
||||
gradient-string:
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
@ -350,7 +350,7 @@ importers:
|
||||
version: 5.8.3
|
||||
typescript-eslint:
|
||||
specifier: ^8.30.1
|
||||
version: 8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
version: 8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
unplugin-icons:
|
||||
specifier: ^22.1.0
|
||||
version: 22.1.0(@vue/compiler-sfc@3.5.13)
|
||||
@ -377,7 +377,7 @@ importers:
|
||||
version: 5.1.0(vue@3.5.13(typescript@5.8.3))
|
||||
vue-eslint-parser:
|
||||
specifier: ^10.1.3
|
||||
version: 10.1.3(eslint@9.24.0(jiti@2.4.2))
|
||||
version: 10.1.3(eslint@9.25.0(jiti@2.4.2))
|
||||
vue-tsc:
|
||||
specifier: ^2.2.8
|
||||
version: 2.2.8(typescript@5.8.3)
|
||||
@ -1018,10 +1018,6 @@ packages:
|
||||
resolution: {integrity: sha512-RI17tsD2frtDu/3dmI7QRrD4bedNKPM08ziRYaC5AhkGrzIAJelm9kJU1TznK+apx6V+cqRz8tfpEeG3oIyjxw==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@eslint/core@0.12.0':
|
||||
resolution: {integrity: sha512-cmrR6pytBuSMTaBweKoGMwu3EiHiEC+DoyupPmlZ0HxBJBtIxwe+j/E4XPIKNx+Q74c8lXKPwYawBf5glsTkHg==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@eslint/core@0.13.0':
|
||||
resolution: {integrity: sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
@ -1030,8 +1026,8 @@ packages:
|
||||
resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@eslint/js@9.24.0':
|
||||
resolution: {integrity: sha512-uIY/y3z0uvOGX8cp1C2fiC4+ZmBhp6yZWkojtHL1YEMnRt1Y63HB9TM17proGEmeG7HeUY+UP36F0aknKYTpYA==}
|
||||
'@eslint/js@9.25.0':
|
||||
resolution: {integrity: sha512-iWhsUS8Wgxz9AXNfvfOPFSW4VfMXdVhp1hjkZVhXCrpgh/aLcc45rX6MPu+tIVUWDw0HfNwth7O28M1xDxNf9w==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@eslint/object-schema@2.1.6':
|
||||
@ -2388,11 +2384,11 @@ packages:
|
||||
resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==}
|
||||
engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'}
|
||||
|
||||
code-inspector-core@0.20.9:
|
||||
resolution: {integrity: sha512-oX6rJqcE/L62vnBdhE+UMTeZrE6R7LPX7wqE0BMSanut8qtcxFixeh4Da87JsdjsCvUGGbJ++QcfRqQbny6ZKA==}
|
||||
code-inspector-core@0.20.10:
|
||||
resolution: {integrity: sha512-nSIn1nKJ58BIKhrr4Kiv39ZyIOFKVD1oxVZVf98CSuKz559llCjcyY0DjI8MzZG6iimw5/myemOxhYrV9jUvDQ==}
|
||||
|
||||
code-inspector-plugin@0.20.9:
|
||||
resolution: {integrity: sha512-q+U8khSQDo/t/GHACnJIl6UMRca+nbyxBRZfJIW1sSdHVuyiWpA12orelRZkuiOq+IGWPByvzabbO8TsgoLyWg==}
|
||||
code-inspector-plugin@0.20.10:
|
||||
resolution: {integrity: sha512-G3aQ+t65N+rJlydPRUoG4vegjQb3seitCXCuNICUMhkDLetdVONLTASePVPCADv+fXl0vyW0hnZzAAxb9UnwOQ==}
|
||||
|
||||
codemirror-editor-vue3@2.8.0:
|
||||
resolution: {integrity: sha512-ebYGNhBpLmQNLguXzNyMMkn6K8v3lcS5/Ncvdn6YS4bLGEHE67MfsJIS/WV0L7I6WavUuFlY/Rs/AJKChIwSwg==}
|
||||
@ -2772,11 +2768,11 @@ packages:
|
||||
el-table-infinite-scroll@3.0.6:
|
||||
resolution: {integrity: sha512-rdrEBcSMYpkD0s0jl28KcGZpiIbWzVR2OAf7hBB+c+c08G89jb9d6rOn+y2DuhE1iI1C0pEOlC5/lrP3QceOXg==}
|
||||
|
||||
electron-to-chromium@1.5.138:
|
||||
resolution: {integrity: sha512-FWlQc52z1dXqm+9cCJ2uyFgJkESd+16j6dBEjsgDNuHjBpuIzL8/lRc0uvh1k8RNI6waGo6tcy2DvwkTBJOLDg==}
|
||||
electron-to-chromium@1.5.139:
|
||||
resolution: {integrity: sha512-GGnRYOTdN5LYpwbIr0rwP/ZHOQSvAF6TG0LSzp28uCBb9JiXHJGmaaKw29qjNJc5bGnnp6kXJqRnGMQoELwi5w==}
|
||||
|
||||
element-plus@2.9.7:
|
||||
resolution: {integrity: sha512-6vjZh5SXBncLhUwJGTVKS5oDljfgGMh6J4zVTeAZK3YdMUN76FgpvHkwwFXocpJpMbii6rDYU3sgie64FyPerQ==}
|
||||
element-plus@2.9.8:
|
||||
resolution: {integrity: sha512-srViUaUdfblBKGMeuEPiXxxKlH5aUmKqEwmhb/At9Sj91DbU6od/jYN1955cTnzt3wTSA7GfnZF7UiRX9sdRHg==}
|
||||
peerDependencies:
|
||||
vue: ^3.2.0
|
||||
|
||||
@ -2848,8 +2844,8 @@ packages:
|
||||
resolution: {integrity: sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==}
|
||||
engines: {node: '>=0.12'}
|
||||
|
||||
esbuild-code-inspector-plugin@0.20.9:
|
||||
resolution: {integrity: sha512-O9bgUWGocA4MJyJ9d/EfFvtfLuuHQ+cVYb1GRwUTvtW2504ML/Vy6glulrYyJjRTptcnbAOzr6JR+i4dj7snGA==}
|
||||
esbuild-code-inspector-plugin@0.20.10:
|
||||
resolution: {integrity: sha512-sYedVx+EjEnIEvomYJdW93wm5vPLuXer0cwj7kmNA1nnsz1hqF5XVrBheqVAMGMj7kM7erKu0hMLJUz0znpzWQ==}
|
||||
|
||||
esbuild@0.24.2:
|
||||
resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==}
|
||||
@ -2924,8 +2920,8 @@ packages:
|
||||
resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
eslint@9.24.0:
|
||||
resolution: {integrity: sha512-eh/jxIEJyZrvbWRe4XuVclLPDYSYYYgLy5zXGGxD6j8zjSAxFEzI2fL/8xNq6O2yKqVt+eF2YhV+hxjV6UKXwQ==}
|
||||
eslint@9.25.0:
|
||||
resolution: {integrity: sha512-MsBdObhM4cEwkzCiraDv7A6txFXEqtNXOb877TsSp2FCkBNl8JfVQrmiuDqC1IkejT6JLPzYBXx/xAiYhyzgGA==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
@ -2998,8 +2994,8 @@ packages:
|
||||
resolution: {integrity: sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==}
|
||||
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
|
||||
|
||||
exsolve@1.0.4:
|
||||
resolution: {integrity: sha512-xsZH6PXaER4XoV+NiT7JHp1bJodJVT+cxeSH1G0f0tlT0lJqYuHUP3bUx2HtfTDvOagMINYp8rsqusxud3RXhw==}
|
||||
exsolve@1.0.5:
|
||||
resolution: {integrity: sha512-pz5dvkYYKQ1AHVrgOzBKWeP4u4FRb3a6DNK2ucr0OoNwYIU4QWsJ+NM36LLzORT+z845MzKHHhpXiUF5nvQoJg==}
|
||||
|
||||
ext@1.7.0:
|
||||
resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==}
|
||||
@ -3715,8 +3711,8 @@ packages:
|
||||
kolorist@1.8.0:
|
||||
resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==}
|
||||
|
||||
launch-ide@1.0.6:
|
||||
resolution: {integrity: sha512-qIH8dQRWyc/CtSdTvakFnMohAcIb8xxyZVDz7LK718opC36sqmULWcyWBKeiH+Hv+dlc1dNPKN2CekYd6Uqsmg==}
|
||||
launch-ide@1.0.7:
|
||||
resolution: {integrity: sha512-wJMTq6U2sVYqxrlp544KQxtl8cHoXFfQa2ivDtKJ6ock2ARneiEHqUFce/NQsnNP1aZNg4OXB6g00oFRvni1/Q==}
|
||||
|
||||
leven@2.1.0:
|
||||
resolution: {integrity: sha512-nvVPLpIHUxCUoRLrFqTgSxXJ614d8AgQoWl7zPe/2VadE8+1dpU3LBhowRuBAcuwruWtOdD8oYC9jDNJjXDPyA==}
|
||||
@ -5251,8 +5247,8 @@ packages:
|
||||
resolution: {integrity: sha512-YTQ7zMq7UuMfNpC/DxP+d+hlhLeDEFFi1dmWGiYXsDA8x4mN1X/NQuPPdOsUjh1UG/owWNjdTQhSqJyWxwrQeQ==}
|
||||
hasBin: true
|
||||
|
||||
vite-code-inspector-plugin@0.20.9:
|
||||
resolution: {integrity: sha512-1YjjhJMezQSL0PQG4jxUz6AfQQR9vu5ZOxzvYMvwETz/E9YNnUsuvmfcVdfWfDlUAbMlyjHJJvEoUHYGq1e4Cg==}
|
||||
vite-code-inspector-plugin@0.20.10:
|
||||
resolution: {integrity: sha512-uE5nwooHTi3j1+ZWD4bYydiLGjtY8Nn/be2OEnHyXC0UQv4vM5fsB8V3glszWaQ+ip0yJw+VLtfgf1mVpvf7Mg==}
|
||||
|
||||
vite-plugin-cdn-import@1.0.1:
|
||||
resolution: {integrity: sha512-lgjLxgwFSKvJLbqjVBirUZ0rQo00GpUGJzRpgQu8RyBw9LA7jaqG6fUMQzBC9qWmTGabPC3iOzwCcoi7PseRAQ==}
|
||||
@ -5450,8 +5446,8 @@ packages:
|
||||
resolution: {integrity: sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==}
|
||||
engines: {node: '>=10.4'}
|
||||
|
||||
webpack-code-inspector-plugin@0.20.9:
|
||||
resolution: {integrity: sha512-JjbrlHmA2fl7DSAIelayq+UVtMQwGc9a6NiVEKWbho9IM1Hdt2/Hg27y0+eWAzkNfM5xFta+KnxLvDRkC9VTew==}
|
||||
webpack-code-inspector-plugin@0.20.10:
|
||||
resolution: {integrity: sha512-I8mSEVbwMtQ1SSdb9pLK7VHqykobdrLvAgbZSKzrGQUGsmTbLmpVTJVs6EJgV1rsl5aoi1BKgmdr77CqaDSnfA==}
|
||||
|
||||
webpack-virtual-modules@0.6.2:
|
||||
resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==}
|
||||
@ -6169,9 +6165,9 @@ snapshots:
|
||||
'@esbuild/win32-x64@0.25.2':
|
||||
optional: true
|
||||
|
||||
'@eslint-community/eslint-utils@4.6.1(eslint@9.24.0(jiti@2.4.2))':
|
||||
'@eslint-community/eslint-utils@4.6.1(eslint@9.25.0(jiti@2.4.2))':
|
||||
dependencies:
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
eslint-visitor-keys: 3.4.3
|
||||
|
||||
'@eslint-community/regexpp@4.12.1': {}
|
||||
@ -6186,10 +6182,6 @@ snapshots:
|
||||
|
||||
'@eslint/config-helpers@0.2.1': {}
|
||||
|
||||
'@eslint/core@0.12.0':
|
||||
dependencies:
|
||||
'@types/json-schema': 7.0.15
|
||||
|
||||
'@eslint/core@0.13.0':
|
||||
dependencies:
|
||||
'@types/json-schema': 7.0.15
|
||||
@ -6208,7 +6200,7 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@eslint/js@9.24.0': {}
|
||||
'@eslint/js@9.25.0': {}
|
||||
|
||||
'@eslint/object-schema@2.1.6': {}
|
||||
|
||||
@ -6306,9 +6298,9 @@ snapshots:
|
||||
|
||||
'@intlify/shared@11.1.3': {}
|
||||
|
||||
'@intlify/unplugin-vue-i18n@6.0.5(@vue/compiler-dom@3.5.13)(eslint@9.24.0(jiti@2.4.2))(rollup@4.40.0)(typescript@5.8.3)(vue-i18n@11.1.3(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3))':
|
||||
'@intlify/unplugin-vue-i18n@6.0.5(@vue/compiler-dom@3.5.13)(eslint@9.25.0(jiti@2.4.2))(rollup@4.40.0)(typescript@5.8.3)(vue-i18n@11.1.3(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3))':
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.6.1(eslint@9.24.0(jiti@2.4.2))
|
||||
'@eslint-community/eslint-utils': 4.6.1(eslint@9.25.0(jiti@2.4.2))
|
||||
'@intlify/bundle-utils': 10.0.1(vue-i18n@11.1.3(vue@3.5.13(typescript@5.8.3)))
|
||||
'@intlify/shared': 11.1.3
|
||||
'@intlify/vue-i18n-extensions': 8.0.0(@intlify/shared@11.1.3)(@vue/compiler-dom@3.5.13)(vue-i18n@11.1.3(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3))
|
||||
@ -6615,7 +6607,7 @@ snapshots:
|
||||
defu: 6.1.4
|
||||
destr: 2.0.5
|
||||
errx: 0.1.0
|
||||
exsolve: 1.0.4
|
||||
exsolve: 1.0.5
|
||||
globby: 14.1.0
|
||||
ignore: 7.0.3
|
||||
jiti: 2.4.2
|
||||
@ -6701,19 +6693,19 @@ snapshots:
|
||||
|
||||
'@popperjs/core@2.11.8': {}
|
||||
|
||||
'@pureadmin/descriptions@1.2.1(echarts@5.6.0)(element-plus@2.9.7(vue@3.5.13(typescript@5.8.3)))(typescript@5.8.3)':
|
||||
'@pureadmin/descriptions@1.2.1(echarts@5.6.0)(element-plus@2.9.8(vue@3.5.13(typescript@5.8.3)))(typescript@5.8.3)':
|
||||
dependencies:
|
||||
'@element-plus/icons-vue': 2.3.1(vue@3.5.13(typescript@5.8.3))
|
||||
'@pureadmin/utils': 2.6.0(echarts@5.6.0)(vue@3.5.13(typescript@5.8.3))
|
||||
element-plus: 2.9.7(vue@3.5.13(typescript@5.8.3))
|
||||
element-plus: 2.9.8(vue@3.5.13(typescript@5.8.3))
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
transitivePeerDependencies:
|
||||
- echarts
|
||||
- typescript
|
||||
|
||||
'@pureadmin/table@3.2.1(element-plus@2.9.7(vue@3.5.13(typescript@5.8.3)))(typescript@5.8.3)':
|
||||
'@pureadmin/table@3.2.1(element-plus@2.9.8(vue@3.5.13(typescript@5.8.3)))(typescript@5.8.3)':
|
||||
dependencies:
|
||||
element-plus: 2.9.7(vue@3.5.13(typescript@5.8.3))
|
||||
element-plus: 2.9.8(vue@3.5.13(typescript@5.8.3))
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
transitivePeerDependencies:
|
||||
- typescript
|
||||
@ -6978,15 +6970,15 @@ snapshots:
|
||||
dependencies:
|
||||
'@types/yargs-parser': 21.0.3
|
||||
|
||||
'@typescript-eslint/eslint-plugin@8.30.1(@typescript-eslint/parser@8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3))(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)':
|
||||
'@typescript-eslint/eslint-plugin@8.30.1(@typescript-eslint/parser@8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3))(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)':
|
||||
dependencies:
|
||||
'@eslint-community/regexpp': 4.12.1
|
||||
'@typescript-eslint/parser': 8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/parser': 8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/scope-manager': 8.30.1
|
||||
'@typescript-eslint/type-utils': 8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/utils': 8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/type-utils': 8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/utils': 8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/visitor-keys': 8.30.1
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
graphemer: 1.4.0
|
||||
ignore: 5.3.2
|
||||
natural-compare: 1.4.0
|
||||
@ -6995,14 +6987,14 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/parser@8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)':
|
||||
'@typescript-eslint/parser@8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)':
|
||||
dependencies:
|
||||
'@typescript-eslint/scope-manager': 8.30.1
|
||||
'@typescript-eslint/types': 8.30.1
|
||||
'@typescript-eslint/typescript-estree': 8.30.1(typescript@5.8.3)
|
||||
'@typescript-eslint/visitor-keys': 8.30.1
|
||||
debug: 4.4.0
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
typescript: 5.8.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
@ -7012,12 +7004,12 @@ snapshots:
|
||||
'@typescript-eslint/types': 8.30.1
|
||||
'@typescript-eslint/visitor-keys': 8.30.1
|
||||
|
||||
'@typescript-eslint/type-utils@8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)':
|
||||
'@typescript-eslint/type-utils@8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)':
|
||||
dependencies:
|
||||
'@typescript-eslint/typescript-estree': 8.30.1(typescript@5.8.3)
|
||||
'@typescript-eslint/utils': 8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/utils': 8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
debug: 4.4.0
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
ts-api-utils: 2.1.0(typescript@5.8.3)
|
||||
typescript: 5.8.3
|
||||
transitivePeerDependencies:
|
||||
@ -7039,13 +7031,13 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/utils@8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)':
|
||||
'@typescript-eslint/utils@8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)':
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.6.1(eslint@9.24.0(jiti@2.4.2))
|
||||
'@eslint-community/eslint-utils': 4.6.1(eslint@9.25.0(jiti@2.4.2))
|
||||
'@typescript-eslint/scope-manager': 8.30.1
|
||||
'@typescript-eslint/types': 8.30.1
|
||||
'@typescript-eslint/typescript-estree': 8.30.1(typescript@5.8.3)
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
typescript: 5.8.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
@ -7632,7 +7624,7 @@ snapshots:
|
||||
browserslist@4.24.4:
|
||||
dependencies:
|
||||
caniuse-lite: 1.0.30001714
|
||||
electron-to-chromium: 1.5.138
|
||||
electron-to-chromium: 1.5.139
|
||||
node-releases: 2.0.19
|
||||
update-browserslist-db: 1.1.3(browserslist@4.24.4)
|
||||
|
||||
@ -7663,7 +7655,7 @@ snapshots:
|
||||
confbox: 0.2.2
|
||||
defu: 6.1.4
|
||||
dotenv: 16.5.0
|
||||
exsolve: 1.0.4
|
||||
exsolve: 1.0.5
|
||||
giget: 2.0.0
|
||||
jiti: 2.4.2
|
||||
ohash: 2.0.11
|
||||
@ -7770,24 +7762,24 @@ snapshots:
|
||||
|
||||
co@4.6.0: {}
|
||||
|
||||
code-inspector-core@0.20.9:
|
||||
code-inspector-core@0.20.10:
|
||||
dependencies:
|
||||
'@vue/compiler-dom': 3.5.13
|
||||
chalk: 4.1.1
|
||||
dotenv: 16.5.0
|
||||
launch-ide: 1.0.6
|
||||
launch-ide: 1.0.7
|
||||
portfinder: 1.0.36
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
code-inspector-plugin@0.20.9:
|
||||
code-inspector-plugin@0.20.10:
|
||||
dependencies:
|
||||
chalk: 4.1.1
|
||||
code-inspector-core: 0.20.9
|
||||
code-inspector-core: 0.20.10
|
||||
dotenv: 16.5.0
|
||||
esbuild-code-inspector-plugin: 0.20.9
|
||||
vite-code-inspector-plugin: 0.20.9
|
||||
webpack-code-inspector-plugin: 0.20.9
|
||||
esbuild-code-inspector-plugin: 0.20.10
|
||||
vite-code-inspector-plugin: 0.20.10
|
||||
webpack-code-inspector-plugin: 0.20.10
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@ -8160,15 +8152,15 @@ snapshots:
|
||||
el-table-infinite-scroll@3.0.6(typescript@5.8.3):
|
||||
dependencies:
|
||||
core-js: 3.41.0
|
||||
element-plus: 2.9.7(vue@3.5.13(typescript@5.8.3))
|
||||
element-plus: 2.9.8(vue@3.5.13(typescript@5.8.3))
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
transitivePeerDependencies:
|
||||
- '@vue/composition-api'
|
||||
- typescript
|
||||
|
||||
electron-to-chromium@1.5.138: {}
|
||||
electron-to-chromium@1.5.139: {}
|
||||
|
||||
element-plus@2.9.7(vue@3.5.13(typescript@5.8.3)):
|
||||
element-plus@2.9.8(vue@3.5.13(typescript@5.8.3)):
|
||||
dependencies:
|
||||
'@ctrl/tinycolor': 3.6.1
|
||||
'@element-plus/icons-vue': 2.3.1(vue@3.5.13(typescript@5.8.3))
|
||||
@ -8254,9 +8246,9 @@ snapshots:
|
||||
d: 1.0.2
|
||||
ext: 1.7.0
|
||||
|
||||
esbuild-code-inspector-plugin@0.20.9:
|
||||
esbuild-code-inspector-plugin@0.20.10:
|
||||
dependencies:
|
||||
code-inspector-core: 0.20.9
|
||||
code-inspector-core: 0.20.10
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@ -8335,28 +8327,28 @@ snapshots:
|
||||
optionalDependencies:
|
||||
source-map: 0.6.1
|
||||
|
||||
eslint-config-prettier@10.1.2(eslint@9.24.0(jiti@2.4.2)):
|
||||
eslint-config-prettier@10.1.2(eslint@9.25.0(jiti@2.4.2)):
|
||||
dependencies:
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
|
||||
eslint-plugin-prettier@5.2.6(eslint-config-prettier@10.1.2(eslint@9.24.0(jiti@2.4.2)))(eslint@9.24.0(jiti@2.4.2))(prettier@3.5.3):
|
||||
eslint-plugin-prettier@5.2.6(eslint-config-prettier@10.1.2(eslint@9.25.0(jiti@2.4.2)))(eslint@9.25.0(jiti@2.4.2))(prettier@3.5.3):
|
||||
dependencies:
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
prettier: 3.5.3
|
||||
prettier-linter-helpers: 1.0.0
|
||||
synckit: 0.11.4
|
||||
optionalDependencies:
|
||||
eslint-config-prettier: 10.1.2(eslint@9.24.0(jiti@2.4.2))
|
||||
eslint-config-prettier: 10.1.2(eslint@9.25.0(jiti@2.4.2))
|
||||
|
||||
eslint-plugin-vue@10.0.0(eslint@9.24.0(jiti@2.4.2))(vue-eslint-parser@10.1.3(eslint@9.24.0(jiti@2.4.2))):
|
||||
eslint-plugin-vue@10.0.0(eslint@9.25.0(jiti@2.4.2))(vue-eslint-parser@10.1.3(eslint@9.25.0(jiti@2.4.2))):
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.6.1(eslint@9.24.0(jiti@2.4.2))
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
'@eslint-community/eslint-utils': 4.6.1(eslint@9.25.0(jiti@2.4.2))
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
natural-compare: 1.4.0
|
||||
nth-check: 2.1.1
|
||||
postcss-selector-parser: 6.1.2
|
||||
semver: 7.7.1
|
||||
vue-eslint-parser: 10.1.3(eslint@9.24.0(jiti@2.4.2))
|
||||
vue-eslint-parser: 10.1.3(eslint@9.25.0(jiti@2.4.2))
|
||||
xml-name-validator: 4.0.0
|
||||
|
||||
eslint-scope@8.3.0:
|
||||
@ -8368,15 +8360,15 @@ snapshots:
|
||||
|
||||
eslint-visitor-keys@4.2.0: {}
|
||||
|
||||
eslint@9.24.0(jiti@2.4.2):
|
||||
eslint@9.25.0(jiti@2.4.2):
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.6.1(eslint@9.24.0(jiti@2.4.2))
|
||||
'@eslint-community/eslint-utils': 4.6.1(eslint@9.25.0(jiti@2.4.2))
|
||||
'@eslint-community/regexpp': 4.12.1
|
||||
'@eslint/config-array': 0.20.0
|
||||
'@eslint/config-helpers': 0.2.1
|
||||
'@eslint/core': 0.12.0
|
||||
'@eslint/core': 0.13.0
|
||||
'@eslint/eslintrc': 3.3.1
|
||||
'@eslint/js': 9.24.0
|
||||
'@eslint/js': 9.25.0
|
||||
'@eslint/plugin-kit': 0.2.8
|
||||
'@humanfs/node': 0.16.6
|
||||
'@humanwhocodes/module-importer': 1.0.1
|
||||
@ -8491,7 +8483,7 @@ snapshots:
|
||||
jest-matcher-utils: 27.5.1
|
||||
jest-message-util: 27.5.1
|
||||
|
||||
exsolve@1.0.4: {}
|
||||
exsolve@1.0.5: {}
|
||||
|
||||
ext@1.7.0:
|
||||
dependencies:
|
||||
@ -9415,7 +9407,7 @@ snapshots:
|
||||
|
||||
kolorist@1.8.0: {}
|
||||
|
||||
launch-ide@1.0.6:
|
||||
launch-ide@1.0.7:
|
||||
dependencies:
|
||||
chalk: 4.1.1
|
||||
dotenv: 16.5.0
|
||||
@ -9919,13 +9911,13 @@ snapshots:
|
||||
pkg-types@2.1.0:
|
||||
dependencies:
|
||||
confbox: 0.2.2
|
||||
exsolve: 1.0.4
|
||||
exsolve: 1.0.5
|
||||
pathe: 2.0.3
|
||||
|
||||
plus-pro-components@0.1.22(element-plus@2.9.7(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3)):
|
||||
plus-pro-components@0.1.22(element-plus@2.9.8(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3)):
|
||||
dependencies:
|
||||
'@element-plus/icons-vue': 2.3.1(vue@3.5.13(typescript@5.8.3))
|
||||
element-plus: 2.9.7(vue@3.5.13(typescript@5.8.3))
|
||||
element-plus: 2.9.8(vue@3.5.13(typescript@5.8.3))
|
||||
lodash-es: 4.17.21
|
||||
sortablejs: 1.15.6
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
@ -10787,12 +10779,12 @@ snapshots:
|
||||
dependencies:
|
||||
'@types/web-animations-js': 2.2.16
|
||||
|
||||
typescript-eslint@8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3):
|
||||
typescript-eslint@8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3):
|
||||
dependencies:
|
||||
'@typescript-eslint/eslint-plugin': 8.30.1(@typescript-eslint/parser@8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3))(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/parser': 8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/utils': 8.30.1(eslint@9.24.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
'@typescript-eslint/eslint-plugin': 8.30.1(@typescript-eslint/parser@8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3))(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/parser': 8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@typescript-eslint/utils': 8.30.1(eslint@9.25.0(jiti@2.4.2))(typescript@5.8.3)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
typescript: 5.8.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
@ -10916,9 +10908,9 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- debug
|
||||
|
||||
vite-code-inspector-plugin@0.20.9:
|
||||
vite-code-inspector-plugin@0.20.10:
|
||||
dependencies:
|
||||
code-inspector-core: 0.20.9
|
||||
code-inspector-core: 0.20.10
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@ -10986,10 +10978,10 @@ snapshots:
|
||||
dependencies:
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
|
||||
vue-eslint-parser@10.1.3(eslint@9.24.0(jiti@2.4.2)):
|
||||
vue-eslint-parser@10.1.3(eslint@9.25.0(jiti@2.4.2)):
|
||||
dependencies:
|
||||
debug: 4.4.0
|
||||
eslint: 9.24.0(jiti@2.4.2)
|
||||
eslint: 9.25.0(jiti@2.4.2)
|
||||
eslint-scope: 8.3.0
|
||||
eslint-visitor-keys: 4.2.0
|
||||
espree: 10.3.0
|
||||
@ -11097,9 +11089,9 @@ snapshots:
|
||||
|
||||
webidl-conversions@6.1.0: {}
|
||||
|
||||
webpack-code-inspector-plugin@0.20.9:
|
||||
webpack-code-inspector-plugin@0.20.10:
|
||||
dependencies:
|
||||
code-inspector-core: 0.20.9
|
||||
code-inspector-core: 0.20.10
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
|
@ -8,6 +8,8 @@ type messageTypes = "info" | "success" | "warning" | "error";
|
||||
interface MessageParams {
|
||||
/** 消息类型,可选 `info` 、`success` 、`warning` 、`error` ,默认 `info` */
|
||||
type?: messageTypes;
|
||||
/** 是否纯色,默认 `false` */
|
||||
plain?: boolean;
|
||||
/** 自定义图标,该属性会覆盖 `type` 的图标 */
|
||||
icon?: any;
|
||||
/** 是否将 `message` 属性作为 `HTML` 片段处理,默认 `false` */
|
||||
@ -18,14 +20,14 @@ interface MessageParams {
|
||||
duration?: number;
|
||||
/** 是否显示关闭按钮,默认值 `false` */
|
||||
showClose?: boolean;
|
||||
/** 文字是否居中,默认值 `false` */
|
||||
center?: boolean;
|
||||
/** `Message` 距离窗口顶部的偏移量,默认 `20` */
|
||||
/** `Message` 距离窗口顶部的偏移量,默认 `16` */
|
||||
offset?: number;
|
||||
/** 设置组件的根元素,默认 `document.body` */
|
||||
appendTo?: string | HTMLElement;
|
||||
/** 合并内容相同的消息,不支持 `VNode` 类型的消息,默认值 `false` */
|
||||
grouping?: boolean;
|
||||
/** 重复次数,类似于 `Badge` 。当和 `grouping` 属性一起使用时作为初始数量使用,默认值 `1` */
|
||||
repeatNum?: number;
|
||||
/** 关闭时的回调函数, 参数为被关闭的 `message` 实例 */
|
||||
onClose?: Function | null;
|
||||
}
|
||||
@ -48,28 +50,30 @@ const message = (
|
||||
const {
|
||||
icon,
|
||||
type = "info",
|
||||
plain = false,
|
||||
dangerouslyUseHTMLString = false,
|
||||
customClass = "antd",
|
||||
duration = 2000,
|
||||
showClose = false,
|
||||
center = false,
|
||||
offset = 20,
|
||||
offset = 16,
|
||||
appendTo = document.body,
|
||||
grouping = false,
|
||||
repeatNum = 1,
|
||||
onClose
|
||||
} = params;
|
||||
|
||||
return ElMessage({
|
||||
message,
|
||||
type,
|
||||
icon,
|
||||
type,
|
||||
plain,
|
||||
dangerouslyUseHTMLString,
|
||||
duration,
|
||||
showClose,
|
||||
center,
|
||||
offset,
|
||||
appendTo,
|
||||
grouping,
|
||||
repeatNum,
|
||||
// 全局搜 pure-message 即可知道该类的样式位置
|
||||
customClass: customClass === "antd" ? "pure-message" : "",
|
||||
onClose: () => (isFunction(onClose) ? onClose() : null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user