From 5e80e8019e24d65c5af860b04dd9d91d25dca664 Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Wed, 1 Jul 2020 14:13:03 +0800 Subject: [PATCH] chore: update vue to 3.0 beta17 --- components/vc-select/Select.jsx | 15 -- package.json | 430 ++++++++++++++++---------------- 2 files changed, 215 insertions(+), 230 deletions(-) diff --git a/components/vc-select/Select.jsx b/components/vc-select/Select.jsx index a5bcd6941..3666ab23c 100644 --- a/components/vc-select/Select.jsx +++ b/components/vc-select/Select.jsx @@ -881,21 +881,6 @@ const Select = { if (fireSearch) { this.$emit('search', inputValue); } - } else { - // TODO - // https://github.com/vuejs/vue-next/issues/1471 - this.setState( - { - _inputValue: `${inputValue} `, - }, - ); - this.$nextTick(()=>{ - this.setState( - { - _inputValue: inputValue, - }, - ); - }); } }, getValueByInput(str) { diff --git a/package.json b/package.json index ba1338f13..fdc181fd2 100644 --- a/package.json +++ b/package.json @@ -1,217 +1,217 @@ { - "name": "ant-design-vue", - "version": "1.6.2", - "title": "Ant Design Vue", - "description": "An enterprise-class UI design language and Vue-based implementation", - "keywords": [ - "ant", - "design", - "antd", - "vue", - "vueComponent", - "component", - "components", - "ui", - "framework", - "frontend" - ], - "main": "lib/index.js", - "module": "es/index.js", - "typings": "types/index.d.ts", - "files": [ - "dist", - "lib", - "es", - "types", - "scripts" - ], - "scripts": { - "dev": "webpack-dev-server", - "start": "cross-env NODE_ENV=development webpack-dev-server --config webpack.config.js", - "test": "cross-env NODE_ENV=test jest --config .jest.js", - "compile": "node antd-tools/cli/run.js compile", - "pub": "node antd-tools/cli/run.js pub", - "pub-with-ci": "node antd-tools/cli/run.js pub-with-ci", - "prepublish": "node antd-tools/cli/run.js guard", - "pre-publish": "node ./scripts/prepub", - "prettier": "prettier -c --write '**/*'", - "pretty-quick": "pretty-quick", - "dist": "node antd-tools/cli/run.js dist", - "lint": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./components", - "lint:site": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./antdv-demo", - "lint:docs": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue,.md ./antdv-demo/docs/**/demo/**", - "lint:style": "stylelint \"{site,components}/**/*.less\" --syntax less", - "codecov": "codecov", - "postinstall": "node scripts/postinstall || echo \"ignore\"" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/vueComponent/ant-design-vue.git" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/vueComponent/ant-design-vue/issues" - }, - "homepage": "https://www.antdv.com/", - "peerDependencies": { - "vue": ">=2.6.0", - "vue-template-compiler": ">=2.6.0" - }, - "devDependencies": { - "@ant-design-vue/babel-plugin-jsx": "^1.0.0-alpha.6", - "@babel/cli": "^7.8.4", - "@babel/core": "^7.9.6", - "@babel/plugin-proposal-class-properties": "^7.8.3", - "@babel/plugin-proposal-export-default-from": "^7.8.3", - "@babel/plugin-proposal-object-rest-spread": "^7.9.6", - "@babel/plugin-proposal-optional-chaining": "^7.10.1", - "@babel/plugin-transform-member-expression-literals": "^7.8.3", - "@babel/plugin-transform-object-assign": "^7.8.3", - "@babel/plugin-transform-property-literals": "^7.8.3", - "@babel/plugin-transform-template-literals": "^7.8.3", - "@babel/polyfill": "^7.8.7", - "@babel/preset-env": "^7.9.6", - "@babel/runtime": "^7.10.1", - "@commitlint/cli": "^8.0.0", - "@commitlint/config-conventional": "^8.0.0", - "@octokit/rest": "^16.0.0", - "@vue/cli-plugin-eslint": "^4.0.0", - "@vue/compiler-sfc": "^3.0.0-beta.14", - "@vue/server-test-utils": "1.0.0-beta.16", - "@vue/test-utils": "^2.0.0-alpha.6", - "acorn": "^7.0.0", - "autoprefixer": "^9.6.0", - "axios": "^0.19.0", - "babel-core": "~7.0.0-bridge.0", - "babel-eslint": "^10.0.1", - "babel-jest": "^23.6.0", - "babel-loader": "^8.0.0", - "babel-plugin-import": "^1.1.1", - "babel-plugin-inline-import-data-uri": "^1.0.1", - "babel-plugin-istanbul": "^6.0.0", - "babel-plugin-syntax-dynamic-import": "^6.18.0", - "babel-preset-env": "^1.6.1", - "case-sensitive-paths-webpack-plugin": "^2.1.2", - "chalk": "^3.0.0", - "cheerio": "^1.0.0-rc.2", - "codecov": "^3.0.0", - "colorful": "^2.1.0", - "commander": "^4.0.0", - "compare-versions": "^3.3.0", - "cross-env": "^7.0.0", - "css-loader": "^3.0.0", - "deep-assign": "^2.0.0", - "enquire-js": "^0.2.1", - "eslint": "^6.8.0", - "eslint-config-prettier": "^6.10.1", - "eslint-plugin-html": "^6.0.0", - "eslint-plugin-markdown": "^2.0.0-alpha.0", - "eslint-plugin-vue": "^6.2.2", - "fetch-jsonp": "^1.1.3", - "fs-extra": "^8.0.0", - "glob": "^7.1.2", - "gulp": "^4.0.1", - "gulp-babel": "^8.0.0", - "gulp-strip-code": "^0.1.4", - "html-webpack-plugin": "^3.2.0", - "husky": "^4.0.0", - "istanbul-instrumenter-loader": "^3.0.0", - "jest": "^25.4.0", - "jest-serializer-vue": "^2.0.0", - "jest-transform-stub": "^2.0.0", - "js-base64": "^2.4.8", - "json-templater": "^1.2.0", - "jsonp": "^0.2.1", - "less": "^3.9.0", - "less-loader": "^6.0.0", - "less-plugin-npm-import": "^2.1.0", - "lint-staged": "^10.0.0", - "marked": "0.3.18", - "merge2": "^1.2.1", - "mini-css-extract-plugin": "^0.9.0", - "minimist": "^1.2.0", - "mkdirp": "^0.5.1", - "mockdate": "^2.0.2", - "nprogress": "^0.2.0", - "optimize-css-assets-webpack-plugin": "^5.0.1", - "postcss": "^7.0.6", - "postcss-loader": "^3.0.0", - "prettier": "^1.18.2", - "pretty-quick": "^2.0.0", - "querystring": "^0.2.0", - "raw-loader": "^4.0.0", - "reqwest": "^2.0.5", - "rimraf": "^3.0.0", - "rucksack-css": "^1.0.2", - "selenium-server": "^3.0.1", - "semver": "^7.0.0", - "style-loader": "^1.0.0", - "stylelint": "^13.0.0", - "stylelint-config-prettier": "^8.0.0", - "stylelint-config-standard": "^19.0.0", - "terser-webpack-plugin": "^3.0.3", - "through2": "^3.0.0", - "url-loader": "^3.0.0", - "vue": "^3.0.0-beta.15", - "vue-antd-md-loader": "^1.1.0", - "vue-clipboard2": "0.3.1", - "vue-draggable-resizable": "^2.1.0", - "vue-eslint-parser": "^7.0.0", - "vue-i18n": "^8.3.2", - "vue-infinite-scroll": "^2.0.2", - "vue-jest": "^3.0.5", - "vue-loader": "^16.0.0-beta.4", - "vue-router": "^4.0.0-alpha.12", - "vue-server-renderer": "^2.6.11", - "vue-virtual-scroller": "^1.0.0", - "vuex": "^4.0.0-beta.2", - "webpack": "^4.28.4", - "webpack-cli": "^3.2.1", - "webpack-dev-server": "^3.1.14", - "webpack-merge": "^4.1.1", - "webpackbar": "^4.0.0", - "xhr-mock": "^2.5.1" - }, - "dependencies": { - "@ant-design-vue/babel-helper-vue-compatible-props": "^1.0.0", - "@ant-design/icons-vue": "^5.0.0-beta.0", - "add-dom-event-listener": "^1.0.2", - "array-tree-filter": "^2.1.0", - "async-validator": "^3.0.3", - "babel-helper-vue-jsx-merge-props": "^2.0.3", - "babel-runtime": "6.x", - "classnames": "^2.2.5", - "component-classes": "^1.2.6", - "dom-align": "^1.10.4", - "dom-closest": "^0.2.0", - "dom-scroll-into-view": "^2.0.0", - "enquire.js": "^2.1.6", - "intersperse": "^1.0.0", - "is-mobile": "^2.2.1", - "is-negative-zero": "^2.0.0", - "ismobilejs": "^1.0.0", - "json2mq": "^0.2.0", - "lodash": "^4.17.5", - "moment": "^2.21.0", - "mutationobserver-shim": "^0.3.2", - "node-emoji": "^1.10.0", - "omit.js": "^1.0.0", - "raf": "^3.4.0", - "resize-observer-polyfill": "^1.5.1", - "shallow-equal": "^1.0.0", - "shallowequal": "^1.0.2", - "vue-ref": "^2.0.0", - "warning": "^4.0.0" - }, - "sideEffects": [ - "site/*", - "components/style.js", - "components/**/style/*", - "*.vue", - "*.md", - "dist/*", - "es/**/style/*", - "lib/**/style/*", - "*.less" - ] + "name": "ant-design-vue", + "version": "1.6.2", + "title": "Ant Design Vue", + "description": "An enterprise-class UI design language and Vue-based implementation", + "keywords": [ + "ant", + "design", + "antd", + "vue", + "vueComponent", + "component", + "components", + "ui", + "framework", + "frontend" + ], + "main": "lib/index.js", + "module": "es/index.js", + "typings": "types/index.d.ts", + "files": [ + "dist", + "lib", + "es", + "types", + "scripts" + ], + "scripts": { + "dev": "webpack-dev-server", + "start": "cross-env NODE_ENV=development webpack-dev-server --config webpack.config.js", + "test": "cross-env NODE_ENV=test jest --config .jest.js", + "compile": "node antd-tools/cli/run.js compile", + "pub": "node antd-tools/cli/run.js pub", + "pub-with-ci": "node antd-tools/cli/run.js pub-with-ci", + "prepublish": "node antd-tools/cli/run.js guard", + "pre-publish": "node ./scripts/prepub", + "prettier": "prettier -c --write '**/*'", + "pretty-quick": "pretty-quick", + "dist": "node antd-tools/cli/run.js dist", + "lint": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./components", + "lint:site": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./antdv-demo", + "lint:docs": "eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue,.md ./antdv-demo/docs/**/demo/**", + "lint:style": "stylelint \"{site,components}/**/*.less\" --syntax less", + "codecov": "codecov", + "postinstall": "node scripts/postinstall || echo \"ignore\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/vueComponent/ant-design-vue.git" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/vueComponent/ant-design-vue/issues" + }, + "homepage": "https://www.antdv.com/", + "peerDependencies": { + "vue": ">=2.6.0", + "vue-template-compiler": ">=2.6.0" + }, + "devDependencies": { + "@ant-design-vue/babel-plugin-jsx": "^1.0.0-alpha.6", + "@babel/cli": "^7.8.4", + "@babel/core": "^7.9.6", + "@babel/plugin-proposal-class-properties": "^7.8.3", + "@babel/plugin-proposal-export-default-from": "^7.8.3", + "@babel/plugin-proposal-object-rest-spread": "^7.9.6", + "@babel/plugin-proposal-optional-chaining": "^7.10.1", + "@babel/plugin-transform-member-expression-literals": "^7.8.3", + "@babel/plugin-transform-object-assign": "^7.8.3", + "@babel/plugin-transform-property-literals": "^7.8.3", + "@babel/plugin-transform-template-literals": "^7.8.3", + "@babel/polyfill": "^7.8.7", + "@babel/preset-env": "^7.9.6", + "@babel/runtime": "^7.10.1", + "@commitlint/cli": "^8.0.0", + "@commitlint/config-conventional": "^8.0.0", + "@octokit/rest": "^16.0.0", + "@vue/cli-plugin-eslint": "^4.0.0", + "@vue/compiler-sfc": "^3.0.0-beta.14", + "@vue/server-test-utils": "1.0.0-beta.16", + "@vue/test-utils": "^2.0.0-alpha.6", + "acorn": "^7.0.0", + "autoprefixer": "^9.6.0", + "axios": "^0.19.0", + "babel-core": "~7.0.0-bridge.0", + "babel-eslint": "^10.0.1", + "babel-jest": "^23.6.0", + "babel-loader": "^8.0.0", + "babel-plugin-import": "^1.1.1", + "babel-plugin-inline-import-data-uri": "^1.0.1", + "babel-plugin-istanbul": "^6.0.0", + "babel-plugin-syntax-dynamic-import": "^6.18.0", + "babel-preset-env": "^1.6.1", + "case-sensitive-paths-webpack-plugin": "^2.1.2", + "chalk": "^3.0.0", + "cheerio": "^1.0.0-rc.2", + "codecov": "^3.0.0", + "colorful": "^2.1.0", + "commander": "^4.0.0", + "compare-versions": "^3.3.0", + "cross-env": "^7.0.0", + "css-loader": "^3.0.0", + "deep-assign": "^2.0.0", + "enquire-js": "^0.2.1", + "eslint": "^6.8.0", + "eslint-config-prettier": "^6.10.1", + "eslint-plugin-html": "^6.0.0", + "eslint-plugin-markdown": "^2.0.0-alpha.0", + "eslint-plugin-vue": "^6.2.2", + "fetch-jsonp": "^1.1.3", + "fs-extra": "^8.0.0", + "glob": "^7.1.2", + "gulp": "^4.0.1", + "gulp-babel": "^8.0.0", + "gulp-strip-code": "^0.1.4", + "html-webpack-plugin": "^3.2.0", + "husky": "^4.0.0", + "istanbul-instrumenter-loader": "^3.0.0", + "jest": "^25.4.0", + "jest-serializer-vue": "^2.0.0", + "jest-transform-stub": "^2.0.0", + "js-base64": "^2.4.8", + "json-templater": "^1.2.0", + "jsonp": "^0.2.1", + "less": "^3.9.0", + "less-loader": "^6.0.0", + "less-plugin-npm-import": "^2.1.0", + "lint-staged": "^10.0.0", + "marked": "0.3.18", + "merge2": "^1.2.1", + "mini-css-extract-plugin": "^0.9.0", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "mockdate": "^2.0.2", + "nprogress": "^0.2.0", + "optimize-css-assets-webpack-plugin": "^5.0.1", + "postcss": "^7.0.6", + "postcss-loader": "^3.0.0", + "prettier": "^1.18.2", + "pretty-quick": "^2.0.0", + "querystring": "^0.2.0", + "raw-loader": "^4.0.0", + "reqwest": "^2.0.5", + "rimraf": "^3.0.0", + "rucksack-css": "^1.0.2", + "selenium-server": "^3.0.1", + "semver": "^7.0.0", + "style-loader": "^1.0.0", + "stylelint": "^13.0.0", + "stylelint-config-prettier": "^8.0.0", + "stylelint-config-standard": "^19.0.0", + "terser-webpack-plugin": "^3.0.3", + "through2": "^3.0.0", + "url-loader": "^3.0.0", + "vue": "^3.0.0-beta.17", + "vue-antd-md-loader": "^1.1.0", + "vue-clipboard2": "0.3.1", + "vue-draggable-resizable": "^2.1.0", + "vue-eslint-parser": "^7.0.0", + "vue-i18n": "^8.3.2", + "vue-infinite-scroll": "^2.0.2", + "vue-jest": "^3.0.5", + "vue-loader": "^16.0.0-beta.4", + "vue-router": "^4.0.0-alpha.12", + "vue-server-renderer": "^2.6.11", + "vue-virtual-scroller": "^1.0.0", + "vuex": "^4.0.0-beta.2", + "webpack": "^4.28.4", + "webpack-cli": "^3.2.1", + "webpack-dev-server": "^3.1.14", + "webpack-merge": "^4.1.1", + "webpackbar": "^4.0.0", + "xhr-mock": "^2.5.1" + }, + "dependencies": { + "@ant-design-vue/babel-helper-vue-compatible-props": "^1.0.0", + "@ant-design/icons-vue": "^5.0.0-beta.0", + "add-dom-event-listener": "^1.0.2", + "array-tree-filter": "^2.1.0", + "async-validator": "^3.0.3", + "babel-helper-vue-jsx-merge-props": "^2.0.3", + "babel-runtime": "6.x", + "classnames": "^2.2.5", + "component-classes": "^1.2.6", + "dom-align": "^1.10.4", + "dom-closest": "^0.2.0", + "dom-scroll-into-view": "^2.0.0", + "enquire.js": "^2.1.6", + "intersperse": "^1.0.0", + "is-mobile": "^2.2.1", + "is-negative-zero": "^2.0.0", + "ismobilejs": "^1.0.0", + "json2mq": "^0.2.0", + "lodash": "^4.17.5", + "moment": "^2.21.0", + "mutationobserver-shim": "^0.3.2", + "node-emoji": "^1.10.0", + "omit.js": "^1.0.0", + "raf": "^3.4.0", + "resize-observer-polyfill": "^1.5.1", + "shallow-equal": "^1.0.0", + "shallowequal": "^1.0.2", + "vue-ref": "^2.0.0", + "warning": "^4.0.0" + }, + "sideEffects": [ + "site/*", + "components/style.js", + "components/**/style/*", + "*.vue", + "*.md", + "dist/*", + "es/**/style/*", + "lib/**/style/*", + "*.less" + ] }