mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 02:08:12 +08:00
fix(project): fix/upgrade-to-vue-3-1-1-and-with-bug-fix (#2220)
- Upgrade Vue to 3.1.1 and fix the bug alone with the upgrade
This commit is contained in:
parent
d3c1e8eac7
commit
8206e34a66
@ -30,7 +30,7 @@
|
|||||||
"fast-build": "sh ./scripts/build.sh"
|
"fast-build": "sh ./scripts/build.sh"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.12.1",
|
"@babel/cli": "^7.12.1",
|
||||||
@ -49,7 +49,7 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^3.10.1",
|
"@typescript-eslint/eslint-plugin": "^3.10.1",
|
||||||
"@typescript-eslint/parser": "^3.10.1",
|
"@typescript-eslint/parser": "^3.10.1",
|
||||||
"@vue/babel-plugin-jsx": "^1.0.0",
|
"@vue/babel-plugin-jsx": "^1.0.0",
|
||||||
"@vue/compiler-sfc": "^3.0.9",
|
"@vue/compiler-sfc": "^3.1.1",
|
||||||
"@vue/component-compiler-utils": "^3.2.0",
|
"@vue/component-compiler-utils": "^3.2.0",
|
||||||
"algoliasearch": "^4.4.0",
|
"algoliasearch": "^4.4.0",
|
||||||
"babel-jest": "^26.3.0",
|
"babel-jest": "^26.3.0",
|
||||||
@ -99,7 +99,7 @@
|
|||||||
"ts-loader": "^8.0.3",
|
"ts-loader": "^8.0.3",
|
||||||
"typescript": "^4.0.2",
|
"typescript": "^4.0.2",
|
||||||
"url-loader": "^4.1.0",
|
"url-loader": "^4.1.0",
|
||||||
"vue": "^3.0.9",
|
"vue": "3.1.1",
|
||||||
"vue-jest": "5.0.0-alpha.5",
|
"vue-jest": "5.0.0-alpha.5",
|
||||||
"vue-loader": "^16.1.2",
|
"vue-loader": "^16.1.2",
|
||||||
"vue-router": "^4.0.2",
|
"vue-router": "^4.0.2",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@element-plus/button": "^0.0.0",
|
"@element-plus/button": "^0.0.0",
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"@element-plus/utils": "^0.0.0"
|
"@element-plus/utils": "^0.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, Fragment, createTextVNode, renderSlot, toDisplayString, createCommentVNode, withDirectives, Teleport, createVNode } from 'vue'
|
import { defineComponent, Fragment, createTextVNode, renderSlot, toDisplayString, createCommentVNode, withDirectives, Teleport, h } from 'vue'
|
||||||
import ElPopper from '@element-plus/popper'
|
import ElPopper from '@element-plus/popper'
|
||||||
import { defaultProps, Effect } from '@element-plus/popper'
|
import { defaultProps, Effect } from '@element-plus/popper'
|
||||||
import { renderPopper, renderTrigger, renderArrow } from '@element-plus/popper'
|
import { renderPopper, renderTrigger, renderArrow } from '@element-plus/popper'
|
||||||
import { ClickOutside } from '@element-plus/directives'
|
import { ClickOutside } from '@element-plus/directives'
|
||||||
import { warn } from '@element-plus/utils/error'
|
import { warn } from '@element-plus/utils/error'
|
||||||
import { renderBlock, renderIf, PatchFlags } from '@element-plus/utils/vnode'
|
import { renderIf, PatchFlags } from '@element-plus/utils/vnode'
|
||||||
import usePopover, { SHOW_EVENT, HIDE_EVENT } from './usePopover'
|
import usePopover, { SHOW_EVENT, HIDE_EVENT } from './usePopover'
|
||||||
|
|
||||||
import type { PropType } from 'vue'
|
import type { PropType } from 'vue'
|
||||||
import type { TriggerType } from '@element-plus/popper'
|
import type { TriggerType } from '@element-plus/popper'
|
||||||
|
|
||||||
const emits = ['update:visible', 'after-enter', 'after-leave', SHOW_EVENT, HIDE_EVENT ]
|
const emits = ['update:visible', 'after-enter', 'after-leave', SHOW_EVENT, HIDE_EVENT]
|
||||||
const NAME = 'ElPopover'
|
const NAME = 'ElPopover'
|
||||||
|
|
||||||
const _hoist = { key: 0, class: 'el-popover__title', role: 'title' }
|
const _hoist = { key: 0, class: 'el-popover__title', role: 'title' }
|
||||||
@ -116,14 +116,14 @@ export default defineComponent({
|
|||||||
...events,
|
...events,
|
||||||
}) : createCommentVNode('v-if', true)
|
}) : createCommentVNode('v-if', true)
|
||||||
|
|
||||||
return renderBlock(Fragment, null, [
|
return h(Fragment, null, [
|
||||||
this.trigger === 'click'
|
this.trigger === 'click'
|
||||||
? withDirectives(_trigger, [[ClickOutside, this.hide]])
|
? withDirectives(_trigger, [[ClickOutside, this.hide]])
|
||||||
: _trigger,
|
: _trigger,
|
||||||
createVNode(Teleport as any, {
|
h(Teleport as any, {
|
||||||
disabled: !this.appendToBody,
|
disabled: !this.appendToBody,
|
||||||
to: 'body',
|
to: 'body',
|
||||||
}, [popover], PatchFlags.PROPS, ['disabled']),
|
}, [popover]),
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {
|
import {
|
||||||
createVNode,
|
|
||||||
defineComponent,
|
defineComponent,
|
||||||
Fragment,
|
Fragment,
|
||||||
Teleport,
|
Teleport,
|
||||||
@ -11,10 +10,10 @@ import {
|
|||||||
renderSlot,
|
renderSlot,
|
||||||
toDisplayString,
|
toDisplayString,
|
||||||
withDirectives,
|
withDirectives,
|
||||||
|
h,
|
||||||
} from 'vue'
|
} from 'vue'
|
||||||
|
|
||||||
import throwError from '@element-plus/utils/error'
|
import throwError from '@element-plus/utils/error'
|
||||||
import { PatchFlags, renderBlock } from '@element-plus/utils/vnode'
|
|
||||||
|
|
||||||
import usePopper from './use-popper/index'
|
import usePopper from './use-popper/index'
|
||||||
import defaultProps from './use-popper/defaults'
|
import defaultProps from './use-popper/defaults'
|
||||||
@ -113,17 +112,15 @@ export default defineComponent({
|
|||||||
? renderTrigger(_t, triggerProps)
|
? renderTrigger(_t, triggerProps)
|
||||||
: withDirectives(renderTrigger(_t, triggerProps), [[ClickOutside, hide]])
|
: withDirectives(renderTrigger(_t, triggerProps), [[ClickOutside, hide]])
|
||||||
|
|
||||||
return renderBlock(Fragment, null, [
|
return h(Fragment, null, [
|
||||||
trigger,
|
trigger,
|
||||||
createVNode(
|
h(
|
||||||
Teleport as any, // Vue did not support createVNode for Teleport
|
Teleport as any, // Vue did not support createVNode for Teleport
|
||||||
{
|
{
|
||||||
to: 'body',
|
to: 'body',
|
||||||
disabled: !appendToBody,
|
disabled: !appendToBody,
|
||||||
},
|
},
|
||||||
[popper],
|
[popper],
|
||||||
PatchFlags.PROPS,
|
|
||||||
['disabled'],
|
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
import { openBlock, createBlock, Comment } from 'vue'
|
import { Comment, h } from 'vue'
|
||||||
import { PatchFlags } from '@element-plus/utils/vnode'
|
|
||||||
|
|
||||||
export default function renderArrow(showArrow: boolean) {
|
export default function renderArrow(showArrow: boolean) {
|
||||||
return showArrow
|
return showArrow
|
||||||
? (openBlock(),
|
? h(
|
||||||
createBlock(
|
|
||||||
'div',
|
'div',
|
||||||
{
|
{
|
||||||
ref: 'arrowRef',
|
ref: 'arrowRef',
|
||||||
@ -12,7 +10,6 @@ export default function renderArrow(showArrow: boolean) {
|
|||||||
'data-popper-arrow': '',
|
'data-popper-arrow': '',
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
PatchFlags.NEED_PATCH,
|
)
|
||||||
))
|
: h(Comment, null, '')
|
||||||
: (openBlock(), createBlock(Comment, null, ''))
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import { withDirectives, Transition, vShow, withCtx, createVNode } from 'vue'
|
import { withDirectives, Transition, vShow, withCtx, h } from 'vue'
|
||||||
import { NOOP } from '@vue/shared'
|
import { NOOP } from '@vue/shared'
|
||||||
import { PatchFlags } from '@element-plus/utils/vnode'
|
|
||||||
import { stop } from '@element-plus/utils/dom'
|
import { stop } from '@element-plus/utils/dom'
|
||||||
|
|
||||||
import type { VNode, Ref } from 'vue'
|
import type { VNode, Ref } from 'vue'
|
||||||
@ -62,7 +61,7 @@ export default function renderPopper(
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const mouseUpAndDown = stopPopperMouseEvent ? stop : NOOP
|
const mouseUpAndDown = stopPopperMouseEvent ? stop : NOOP
|
||||||
return createVNode(
|
return h(
|
||||||
Transition,
|
Transition,
|
||||||
{
|
{
|
||||||
name,
|
name,
|
||||||
@ -73,7 +72,7 @@ export default function renderPopper(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
default: withCtx(() => [withDirectives(
|
default: withCtx(() => [withDirectives(
|
||||||
createVNode(
|
h(
|
||||||
'div',
|
'div',
|
||||||
{
|
{
|
||||||
'aria-hidden': String(!visibility),
|
'aria-hidden': String(!visibility),
|
||||||
@ -89,20 +88,9 @@ export default function renderPopper(
|
|||||||
onMouseup: mouseUpAndDown,
|
onMouseup: mouseUpAndDown,
|
||||||
},
|
},
|
||||||
children,
|
children,
|
||||||
PatchFlags.CLASS | PatchFlags.STYLE | PatchFlags.PROPS | PatchFlags.HYDRATE_EVENTS,
|
|
||||||
[
|
|
||||||
'aria-hidden',
|
|
||||||
'onMouseenter',
|
|
||||||
'onMouseleave',
|
|
||||||
'onMousedown',
|
|
||||||
'onMouseup',
|
|
||||||
'onClick',
|
|
||||||
'id',
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
[[vShow, visibility]],
|
[[vShow, visibility]],
|
||||||
)]),
|
)]),
|
||||||
},
|
},
|
||||||
PatchFlags.PROPS, ['name', 'onAfterEnter', 'onAfterLeave', 'onBeforeEnter', 'onBeforeLeave'],
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ export type IPopperOptions = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const DEFAULT_TRIGGER = 'hover'
|
export const DEFAULT_TRIGGER = 'hover'
|
||||||
const DEFAULT_FALLBACK_PLACEMENTS = ['auto']
|
const DEFAULT_FALLBACK_PLACEMENTS = []
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
// the arrow size is an equailateral triangle with 10px side length, the 3rd side length ~ 14.1px
|
// the arrow size is an equailateral triangle with 10px side length, the 3rd side length ~ 14.1px
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
placement="bottom-start"
|
placement="bottom-start"
|
||||||
:append-to-body="popperAppendToBody"
|
:append-to-body="popperAppendToBody"
|
||||||
:popper-class="`el-select__popper ${popperClass}`"
|
:popper-class="`el-select__popper ${popperClass}`"
|
||||||
|
:fallback-placements="['auto']"
|
||||||
manual-mode
|
manual-mode
|
||||||
effect="light"
|
effect="light"
|
||||||
pure
|
pure
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^3.0.9",
|
"vue": "3.1.1",
|
||||||
"@vue/test-utils": "^2.0.0-beta.3"
|
"@vue/test-utils": "^2.0.0-beta.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "^3.0.9"
|
"vue": "3.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/test-utils": "^2.0.0-beta.0"
|
"@vue/test-utils": "^2.0.0-beta.0"
|
||||||
|
@ -276,6 +276,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const formatToString = value => {
|
const formatToString = value => {
|
||||||
|
console.log(value, props.format)
|
||||||
if (!value) return null
|
if (!value) return null
|
||||||
if (Array.isArray(value)) {
|
if (Array.isArray(value)) {
|
||||||
return value.map(_=> _.format(props.format))
|
return value.map(_=> _.format(props.format))
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user