Commit 9cb50f35fe89ab7c3d0ae8a9e5bc8dc5d4e119a4
Committed by
GitHub
Merge pull request #3116 from Xotic750/revert_code_from_prs
Revert early Select periphery code.
Showing
15 changed files
with
75 additions
and
223 deletions
Show diff stats
package-lock.json
... | ... | @@ -52,9 +52,9 @@ |
52 | 52 | } |
53 | 53 | }, |
54 | 54 | "acorn": { |
55 | - "version": "5.5.0", | |
56 | - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.5.0.tgz", | |
57 | - "integrity": "sha512-arn53F07VXmls4o4pUhSzBa4fvaagPRe7AVZ8l7NHxFWUie2DsuFSBMMNAkgzRlOhEhzAnxeKyaWVzOH4xqp/g==", | |
55 | + "version": "5.5.1", | |
56 | + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.5.1.tgz", | |
57 | + "integrity": "sha512-D/KGiCpM/VOtTMDS+wfjywEth926WUrArrzYov4N4SI7t+3y8747dPpCmmAvrm/Z3ygqMHnyPxvYYO0yTdn/nQ==", | |
58 | 58 | "dev": true |
59 | 59 | }, |
60 | 60 | "acorn-dynamic-import": { |
... | ... | @@ -463,7 +463,7 @@ |
463 | 463 | "babel-register": "6.26.0", |
464 | 464 | "babel-runtime": "6.26.0", |
465 | 465 | "chokidar": "1.7.0", |
466 | - "commander": "2.14.1", | |
466 | + "commander": "2.15.0", | |
467 | 467 | "convert-source-map": "1.5.1", |
468 | 468 | "fs-readdir-recursive": "1.1.0", |
469 | 469 | "glob": "7.1.2", |
... | ... | @@ -673,9 +673,9 @@ |
673 | 673 | } |
674 | 674 | }, |
675 | 675 | "babel-loader": { |
676 | - "version": "7.1.3", | |
677 | - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.3.tgz", | |
678 | - "integrity": "sha512-PeN29YvOynPMvNk7QCzsHqxpmfXwKAC+uxkiSNFQsmXBBVltzEkVWmv/Ip3tx7yk149dQUwk497bTXNu+DZjLA==", | |
676 | + "version": "7.1.4", | |
677 | + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.4.tgz", | |
678 | + "integrity": "sha512-/hbyEvPzBJuGpk9o80R0ZyTej6heEOr59GoEUtn8qFKbnx4cJm9FWES6J/iv644sYgrtVw9JJQkjaLW/bqb5gw==", | |
679 | 679 | "dev": true, |
680 | 680 | "requires": { |
681 | 681 | "find-cache-dir": "1.0.0", |
... | ... | @@ -1967,9 +1967,9 @@ |
1967 | 1967 | } |
1968 | 1968 | }, |
1969 | 1969 | "clean-css": { |
1970 | - "version": "4.1.10", | |
1971 | - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.1.10.tgz", | |
1972 | - "integrity": "sha1-PfwsJWnV8DwUtB2HWtm8yuCcuJ4=", | |
1970 | + "version": "4.1.11", | |
1971 | + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.1.11.tgz", | |
1972 | + "integrity": "sha1-Ls3xRaujj1R0DybO/Q/z4D4SXWo=", | |
1973 | 1973 | "dev": true, |
1974 | 1974 | "requires": { |
1975 | 1975 | "source-map": "0.5.7" |
... | ... | @@ -2129,9 +2129,9 @@ |
2129 | 2129 | } |
2130 | 2130 | }, |
2131 | 2131 | "commander": { |
2132 | - "version": "2.14.1", | |
2133 | - "resolved": "https://registry.npmjs.org/commander/-/commander-2.14.1.tgz", | |
2134 | - "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw==", | |
2132 | + "version": "2.15.0", | |
2133 | + "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.0.tgz", | |
2134 | + "integrity": "sha512-7B1ilBwtYSbetCgTY1NJFg+gVpestg0fdA1MhC1Vs4ssyfSXnCAjFr+QcQM9/RedXC0EaUx1sG8Smgw2VfgKEg==", | |
2135 | 2135 | "dev": true |
2136 | 2136 | }, |
2137 | 2137 | "commondir": { |
... | ... | @@ -2744,6 +2744,7 @@ |
2744 | 2744 | "version": "1.1.2", |
2745 | 2745 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", |
2746 | 2746 | "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", |
2747 | + "dev": true, | |
2747 | 2748 | "requires": { |
2748 | 2749 | "foreach": "2.0.5", |
2749 | 2750 | "object-keys": "1.0.11" |
... | ... | @@ -3254,6 +3255,7 @@ |
3254 | 3255 | "version": "1.10.0", |
3255 | 3256 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.10.0.tgz", |
3256 | 3257 | "integrity": "sha512-/uh/DhdqIOSkAWifU+8nG78vlQxdLckUdI/sPgy0VhuXi2qJ7T8czBmqIYtLQVpCIFYafChnsRsB5pyb1JdmCQ==", |
3258 | + "dev": true, | |
3257 | 3259 | "requires": { |
3258 | 3260 | "es-to-primitive": "1.1.1", |
3259 | 3261 | "function-bind": "1.1.1", |
... | ... | @@ -3266,6 +3268,7 @@ |
3266 | 3268 | "version": "1.1.1", |
3267 | 3269 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", |
3268 | 3270 | "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", |
3271 | + "dev": true, | |
3269 | 3272 | "requires": { |
3270 | 3273 | "is-callable": "1.1.3", |
3271 | 3274 | "is-date-object": "1.0.1", |
... | ... | @@ -3499,7 +3502,7 @@ |
3499 | 3502 | "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", |
3500 | 3503 | "dev": true, |
3501 | 3504 | "requires": { |
3502 | - "acorn": "5.5.0", | |
3505 | + "acorn": "5.5.1", | |
3503 | 3506 | "acorn-jsx": "3.0.1" |
3504 | 3507 | } |
3505 | 3508 | }, |
... | ... | @@ -4398,7 +4401,8 @@ |
4398 | 4401 | "foreach": { |
4399 | 4402 | "version": "2.0.5", |
4400 | 4403 | "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", |
4401 | - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=" | |
4404 | + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", | |
4405 | + "dev": true | |
4402 | 4406 | }, |
4403 | 4407 | "forever-agent": { |
4404 | 4408 | "version": "0.6.1", |
... | ... | @@ -5410,7 +5414,8 @@ |
5410 | 5414 | "function-bind": { |
5411 | 5415 | "version": "1.1.1", |
5412 | 5416 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", |
5413 | - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" | |
5417 | + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", | |
5418 | + "dev": true | |
5414 | 5419 | }, |
5415 | 5420 | "gaze": { |
5416 | 5421 | "version": "0.5.2", |
... | ... | @@ -5792,7 +5797,7 @@ |
5792 | 5797 | "integrity": "sha1-KuSBCf6DzMln/1rVPARJSaSGOzY=", |
5793 | 5798 | "dev": true, |
5794 | 5799 | "requires": { |
5795 | - "clean-css": "4.1.10", | |
5800 | + "clean-css": "4.1.11", | |
5796 | 5801 | "gulp-util": "3.0.8", |
5797 | 5802 | "object-assign": "4.1.1", |
5798 | 5803 | "through2": "2.0.3", |
... | ... | @@ -5934,6 +5939,7 @@ |
5934 | 5939 | "version": "1.0.1", |
5935 | 5940 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz", |
5936 | 5941 | "integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=", |
5942 | + "dev": true, | |
5937 | 5943 | "requires": { |
5938 | 5944 | "function-bind": "1.1.1" |
5939 | 5945 | } |
... | ... | @@ -6136,9 +6142,9 @@ |
6136 | 6142 | } |
6137 | 6143 | }, |
6138 | 6144 | "hosted-git-info": { |
6139 | - "version": "2.5.0", | |
6140 | - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", | |
6141 | - "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==", | |
6145 | + "version": "2.6.0", | |
6146 | + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz", | |
6147 | + "integrity": "sha512-lIbgIIQA3lz5XaB6vxakj6sDHADJiZadYEJB+FgA+C4nubM1NwcuvUr9EJPmnH1skZqpqUzWborWo8EIUi0Sdw==", | |
6142 | 6148 | "dev": true |
6143 | 6149 | }, |
6144 | 6150 | "hpack.js": { |
... | ... | @@ -6198,7 +6204,7 @@ |
6198 | 6204 | "dev": true, |
6199 | 6205 | "requires": { |
6200 | 6206 | "camel-case": "3.0.0", |
6201 | - "clean-css": "4.1.10", | |
6207 | + "clean-css": "4.1.11", | |
6202 | 6208 | "commander": "2.14.1", |
6203 | 6209 | "he": "1.1.1", |
6204 | 6210 | "ncname": "1.0.0", |
... | ... | @@ -6207,6 +6213,12 @@ |
6207 | 6213 | "uglify-js": "3.3.13" |
6208 | 6214 | }, |
6209 | 6215 | "dependencies": { |
6216 | + "commander": { | |
6217 | + "version": "2.14.1", | |
6218 | + "resolved": "https://registry.npmjs.org/commander/-/commander-2.14.1.tgz", | |
6219 | + "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw==", | |
6220 | + "dev": true | |
6221 | + }, | |
6210 | 6222 | "source-map": { |
6211 | 6223 | "version": "0.6.1", |
6212 | 6224 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", |
... | ... | @@ -6280,9 +6292,9 @@ |
6280 | 6292 | } |
6281 | 6293 | }, |
6282 | 6294 | "http-parser-js": { |
6283 | - "version": "0.4.10", | |
6284 | - "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.10.tgz", | |
6285 | - "integrity": "sha1-ksnBN0w1CF912zWexWzCV8u5P6Q=", | |
6295 | + "version": "0.4.11", | |
6296 | + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.11.tgz", | |
6297 | + "integrity": "sha512-QCR5O2AjjMW8Mo4HyI1ctFcv+O99j/0g367V3YoVnrNw5hkDvAWZD0lWGcc+F4yN3V55USPCVix4efb75HxFfA==", | |
6286 | 6298 | "dev": true |
6287 | 6299 | }, |
6288 | 6300 | "http-proxy": { |
... | ... | @@ -6636,7 +6648,8 @@ |
6636 | 6648 | "is-callable": { |
6637 | 6649 | "version": "1.1.3", |
6638 | 6650 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz", |
6639 | - "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=" | |
6651 | + "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=", | |
6652 | + "dev": true | |
6640 | 6653 | }, |
6641 | 6654 | "is-data-descriptor": { |
6642 | 6655 | "version": "1.0.0", |
... | ... | @@ -6658,7 +6671,8 @@ |
6658 | 6671 | "is-date-object": { |
6659 | 6672 | "version": "1.0.1", |
6660 | 6673 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", |
6661 | - "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=" | |
6674 | + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", | |
6675 | + "dev": true | |
6662 | 6676 | }, |
6663 | 6677 | "is-descriptor": { |
6664 | 6678 | "version": "1.0.2", |
... | ... | @@ -6862,6 +6876,7 @@ |
6862 | 6876 | "version": "1.0.4", |
6863 | 6877 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", |
6864 | 6878 | "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", |
6879 | + "dev": true, | |
6865 | 6880 | "requires": { |
6866 | 6881 | "has": "1.0.1" |
6867 | 6882 | } |
... | ... | @@ -6899,7 +6914,8 @@ |
6899 | 6914 | "is-symbol": { |
6900 | 6915 | "version": "1.0.1", |
6901 | 6916 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz", |
6902 | - "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=" | |
6917 | + "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=", | |
6918 | + "dev": true | |
6903 | 6919 | }, |
6904 | 6920 | "is-typedarray": { |
6905 | 6921 | "version": "1.0.0", |
... | ... | @@ -8421,7 +8437,7 @@ |
8421 | 8437 | "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", |
8422 | 8438 | "dev": true, |
8423 | 8439 | "requires": { |
8424 | - "hosted-git-info": "2.5.0", | |
8440 | + "hosted-git-info": "2.6.0", | |
8425 | 8441 | "is-builtin-module": "1.0.0", |
8426 | 8442 | "semver": "5.5.0", |
8427 | 8443 | "validate-npm-package-license": "3.0.3" |
... | ... | @@ -8571,7 +8587,8 @@ |
8571 | 8587 | "object-keys": { |
8572 | 8588 | "version": "1.0.11", |
8573 | 8589 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", |
8574 | - "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=" | |
8590 | + "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=", | |
8591 | + "dev": true | |
8575 | 8592 | }, |
8576 | 8593 | "object-visit": { |
8577 | 8594 | "version": "1.0.1", |
... | ... | @@ -10321,16 +10338,6 @@ |
10321 | 10338 | "safe-regex": "1.1.0" |
10322 | 10339 | } |
10323 | 10340 | }, |
10324 | - "regexp.escape": { | |
10325 | - "version": "1.0.2", | |
10326 | - "resolved": "https://registry.npmjs.org/regexp.escape/-/regexp.escape-1.0.2.tgz", | |
10327 | - "integrity": "sha1-vLtv/pSQrYG5726WcqGPKgG6QaA=", | |
10328 | - "requires": { | |
10329 | - "define-properties": "1.1.2", | |
10330 | - "es-abstract": "1.10.0", | |
10331 | - "function-bind": "1.1.1" | |
10332 | - } | |
10333 | - }, | |
10334 | 10341 | "regexpu-core": { |
10335 | 10342 | "version": "2.0.0", |
10336 | 10343 | "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", |
... | ... | @@ -12506,11 +12513,6 @@ |
12506 | 12513 | "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==", |
12507 | 12514 | "dev": true |
12508 | 12515 | }, |
12509 | - "v-click-outside-x": { | |
12510 | - "version": "2.0.0", | |
12511 | - "resolved": "https://registry.npmjs.org/v-click-outside-x/-/v-click-outside-x-2.0.0.tgz", | |
12512 | - "integrity": "sha512-EDT3lcAObcC/1xBy8mbnwsP3UGmpxyOIFmteglGqRsAatmwsZnKOajbUIAzKESSXzjQhtfmAcIv5FEQqNg657Q==" | |
12513 | - }, | |
12514 | 12516 | "v8flags": { |
12515 | 12517 | "version": "2.1.1", |
12516 | 12518 | "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz", |
... | ... | @@ -13309,7 +13311,7 @@ |
13309 | 13311 | "integrity": "sha512-3kOFejWqj5ISpJk4Qj/V7w98h9Vl52wak3CLiw/cDOfbVTq7FeoZ0SdoHHY9PYlHr50ZS42OfvzE2vB4nncKQg==", |
13310 | 13312 | "dev": true, |
13311 | 13313 | "requires": { |
13312 | - "acorn": "5.5.0", | |
13314 | + "acorn": "5.5.1", | |
13313 | 13315 | "acorn-dynamic-import": "2.0.2", |
13314 | 13316 | "ajv": "6.2.1", |
13315 | 13317 | "ajv-keywords": "3.1.0", |
... | ... | @@ -14065,7 +14067,7 @@ |
14065 | 14067 | "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", |
14066 | 14068 | "dev": true, |
14067 | 14069 | "requires": { |
14068 | - "http-parser-js": "0.4.10", | |
14070 | + "http-parser-js": "0.4.11", | |
14069 | 14071 | "websocket-extensions": "0.1.3" |
14070 | 14072 | } |
14071 | 14073 | }, | ... | ... |
package.json
... | ... | @@ -46,9 +46,7 @@ |
46 | 46 | "js-calendar": "^1.2.3", |
47 | 47 | "lodash.throttle": "^4.1.1", |
48 | 48 | "popper.js": "^0.6.4", |
49 | - "regexp.escape": "^1.0.2", | |
50 | - "tinycolor2": "^1.4.1", | |
51 | - "v-click-outside-x": "^2.0.0" | |
49 | + "tinycolor2": "^1.4.1" | |
52 | 50 | }, |
53 | 51 | "peerDependencies": { |
54 | 52 | "vue": "^2.5.2" | ... | ... |
src/components/form/formItemName.js deleted
1 | -export default 'FormItem'; |
src/components/form/formName.js deleted
1 | -export default 'iForm'; |
src/components/select/dropdownName.js deleted
1 | -export default 'Drop'; |
src/components/select/optionGroupName.js deleted
1 | -export default 'OptionGroup'; |
src/components/select/optionName.js deleted
1 | -export default 'iOption'; |
src/components/select/prefixCls.js deleted
src/components/select/selectName.js deleted
1 | -export default 'iSelect'; |
src/utils/assist.js
src/utils/constants.js deleted
1 | -export const ARROW = 'arrow'; | |
2 | -export const APPEND = 'append'; | |
3 | -export const AUTO = 'auto'; | |
4 | -export const BODY = 'body'; | |
5 | -export const BOTTOM = 'bottom'; | |
6 | -export const CHANGE = 'change'; | |
7 | -export const CLEAR = 'clear'; | |
8 | -export const CLOSE = 'close'; | |
9 | -export const COMPLETE = 'complete'; | |
10 | -export const DEFAULT = 'default'; | |
11 | -export const DESTROY = 'destroy'; | |
12 | -export const DISABLED = 'disabled'; | |
13 | -export const DOWN = 'down'; | |
14 | -export const DROPDOWN = 'dropdown'; | |
15 | -export const EMPTY_STRING = ''; | |
16 | -export const FOCUS = 'focus'; | |
17 | -export const FOCUSED = 'focused'; | |
18 | -export const FORM = 'form'; | |
19 | -export const FOUND = 'found'; | |
20 | -export const GROUP = 'group'; | |
21 | -export const INPUT = 'input'; | |
22 | -export const ITEM = 'item'; | |
23 | -export const IVU = 'ivu'; | |
24 | -export const LARGE = 'large'; | |
25 | -export const LIST = 'list'; | |
26 | -export const LOADING = 'loading'; | |
27 | -export const MULTIPLE = 'multiple'; | |
28 | -export const NEXT = 'next'; | |
29 | -export const NONE = 'none'; | |
30 | -export const NOT = 'not'; | |
31 | -export const ON = 'on'; | |
32 | -export const PLACEHOLDER = 'placeholder'; | |
33 | -export const POPPER = 'popper'; | |
34 | -export const PREV = 'prev'; | |
35 | -export const QUERY = 'query'; | |
36 | -export const REMOVE = 'remove'; | |
37 | -export const SELECT = 'select'; | |
38 | -export const SELECTED = 'selected'; | |
39 | -export const SELECTION = 'selection'; | |
40 | -export const SHOW = 'show'; | |
41 | -export const SINGLE = 'single'; | |
42 | -export const SLIDE = 'slide'; | |
43 | -export const SMALL = 'small'; | |
44 | -export const START = 'start'; | |
45 | -export const TITLE = 'title'; | |
46 | -export const TOP = 'top'; | |
47 | -export const TRANSFER = 'transfer'; | |
48 | -export const UP = 'up'; | |
49 | -export const UPDATE = 'update'; | |
50 | -export const VALUE = 'value'; | |
51 | -export const VISIBLE = 'visible'; | |
52 | -export const WIDTH = 'width'; | |
53 | -export const WRAP = 'wrap'; |
src/utils/enums.js deleted
1 | -import { | |
2 | - BOTTOM, | |
3 | - DEFAULT, | |
4 | - LARGE, | |
5 | - SMALL, | |
6 | - TOP | |
7 | -} from './constants'; | |
8 | -import { | |
9 | - ALT, | |
10 | - ARROWLEFT, | |
11 | - ARROWRIGHT, | |
12 | - CAPSLOCK, | |
13 | - CONTROL, | |
14 | - ENTER, | |
15 | - META, | |
16 | - SHIFT, | |
17 | - TAB, | |
18 | -} from './kbEventKeys'; | |
19 | - | |
20 | -export const PLACEMENT_LIST = Object.freeze([BOTTOM, TOP]); | |
21 | -export const PLACEMENT_MAP = Object.freeze({ | |
22 | - [BOTTOM]: TOP, | |
23 | - [TOP]: BOTTOM, | |
24 | -}); | |
25 | - | |
26 | -export const SMALL_LARGE_DEFAULT_LIST = Object.freeze([SMALL, LARGE, DEFAULT]); | |
27 | -export const STRING_NUMBER_LIST = Object.freeze([String, Number]); | |
28 | -export const STRING_NUMBER_ARRAY_LIST = Object.freeze([String, Number, Array]); | |
29 | - | |
30 | -export const IGNORE_KEY_LIST = Object.freeze([ | |
31 | - ALT, | |
32 | - ARROWLEFT, | |
33 | - ARROWRIGHT, | |
34 | - CAPSLOCK, | |
35 | - CONTROL, | |
36 | - ENTER, | |
37 | - META, | |
38 | - SHIFT, | |
39 | - TAB, | |
40 | -]); |
src/utils/eventNames.js deleted
1 | -import { | |
2 | - APPEND, | |
3 | - CHANGE, | |
4 | - CLOSE, | |
5 | - DESTROY, | |
6 | - FORM, | |
7 | - ON, | |
8 | - POPPER, | |
9 | - QUERY, | |
10 | - REMOVE, | |
11 | - SELECT, | |
12 | - SELECTED, | |
13 | - UPDATE, | |
14 | -} from './constants'; | |
15 | -import { | |
16 | - kebabJoin, | |
17 | -} from './assist'; | |
18 | - | |
19 | -export const EVENT_APPEND = kebabJoin(APPEND); | |
20 | -export const EVENT_ON_CHANGE = kebabJoin(ON, CHANGE); | |
21 | -export const EVENT_ON_DESTROY_POPPER = kebabJoin(ON, DESTROY, POPPER); | |
22 | -export const EVENT_ON_FORM_CHANGE = kebabJoin(ON, FORM, CHANGE); | |
23 | -export const EVENT_ON_QUERY_CHANGE = kebabJoin(ON, QUERY, CHANGE); | |
24 | -export const EVENT_ON_SELECT_CLOSE = kebabJoin(ON, SELECT, CLOSE); | |
25 | -export const EVENT_ON_SELECT_SELECTED = kebabJoin(ON, SELECT, SELECTED); | |
26 | -export const EVENT_ON_UPDATE_POPPER = kebabJoin(ON, UPDATE, POPPER); | |
27 | -export const EVENT_REMOVE = kebabJoin(REMOVE); |
src/utils/kbEventKeys.js deleted
1 | -export const ALT = 'Alt'; | |
2 | -export const ARROWLEFT = 'ArrowLeft'; | |
3 | -export const ARROWRIGHT = 'ArrowRight'; | |
4 | -export const CAPSLOCK = 'CapsLock'; | |
5 | -export const CONTROL = 'Control'; | |
6 | -export const ENTER = 'Enter'; | |
7 | -export const META = 'Meta'; | |
8 | -export const SHIFT = 'Shift'; | |
9 | -export const TAB = 'Tab'; |
yarn.lock
... | ... | @@ -70,8 +70,8 @@ acorn@^4.0.3: |
70 | 70 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" |
71 | 71 | |
72 | 72 | acorn@^5.0.0, acorn@^5.5.0: |
73 | - version "5.5.0" | |
74 | - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.0.tgz#1abb587fbf051f94e3de20e6b26ef910b1828298" | |
73 | + version "5.5.1" | |
74 | + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.1.tgz#84e05a9ea0acbe131227da50301e62464dc9c1d8" | |
75 | 75 | |
76 | 76 | after@0.8.2: |
77 | 77 | version "0.8.2" |
... | ... | @@ -576,8 +576,8 @@ babel-helpers@^6.24.1: |
576 | 576 | babel-template "^6.24.1" |
577 | 577 | |
578 | 578 | babel-loader@^7.1.3: |
579 | - version "7.1.3" | |
580 | - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.3.tgz#ff5b440da716e9153abb946251a9ab7670037b16" | |
579 | + version "7.1.4" | |
580 | + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.4.tgz#e3463938bd4e6d55d1c174c5485d406a188ed015" | |
581 | 581 | dependencies: |
582 | 582 | find-cache-dir "^1.0.0" |
583 | 583 | loader-utils "^1.0.2" |
... | ... | @@ -1483,8 +1483,8 @@ clean-css@3.4.x: |
1483 | 1483 | source-map "0.4.x" |
1484 | 1484 | |
1485 | 1485 | clean-css@4.1.x, clean-css@^4.0.4: |
1486 | - version "4.1.10" | |
1487 | - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.1.10.tgz#3dfc2c2569d5f03c14b41d875ad9bccae09cb89e" | |
1486 | + version "4.1.11" | |
1487 | + resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.1.11.tgz#2ecdf145aba38f54740f26cefd0ff3e03e125d6a" | |
1488 | 1488 | dependencies: |
1489 | 1489 | source-map "0.5.x" |
1490 | 1490 | |
... | ... | @@ -1611,7 +1611,7 @@ combined-stream@^1.0.5, combined-stream@~1.0.5: |
1611 | 1611 | dependencies: |
1612 | 1612 | delayed-stream "~1.0.0" |
1613 | 1613 | |
1614 | -commander@2.14.x, commander@^2.11.0, commander@~2.14.1: | |
1614 | +commander@2.14.x, commander@~2.14.1: | |
1615 | 1615 | version "2.14.1" |
1616 | 1616 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.14.1.tgz#2235123e37af8ca3c65df45b026dbd357b01b9aa" |
1617 | 1617 | |
... | ... | @@ -1627,6 +1627,10 @@ commander@2.9.0, commander@2.9.x: |
1627 | 1627 | dependencies: |
1628 | 1628 | graceful-readlink ">= 1.0.0" |
1629 | 1629 | |
1630 | +commander@^2.11.0: | |
1631 | + version "2.15.0" | |
1632 | + resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.0.tgz#ad2a23a1c3b036e392469b8012cec6b33b4c1322" | |
1633 | + | |
1630 | 1634 | commondir@^1.0.1: |
1631 | 1635 | version "1.0.1" |
1632 | 1636 | resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" |
... | ... | @@ -2061,7 +2065,7 @@ defaults@^1.0.0: |
2061 | 2065 | dependencies: |
2062 | 2066 | clone "^1.0.2" |
2063 | 2067 | |
2064 | -define-properties@^1.1.1, define-properties@^1.1.2: | |
2068 | +define-properties@^1.1.2: | |
2065 | 2069 | version "1.1.2" |
2066 | 2070 | resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" |
2067 | 2071 | dependencies: |
... | ... | @@ -2425,7 +2429,7 @@ error-stack-parser@^2.0.0: |
2425 | 2429 | dependencies: |
2426 | 2430 | stackframe "^1.0.3" |
2427 | 2431 | |
2428 | -es-abstract@^1.2.1, es-abstract@^1.7.0: | |
2432 | +es-abstract@^1.7.0: | |
2429 | 2433 | version "1.10.0" |
2430 | 2434 | resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" |
2431 | 2435 | dependencies: |
... | ... | @@ -3592,8 +3596,8 @@ homedir-polyfill@^1.0.1: |
3592 | 3596 | parse-passwd "^1.0.0" |
3593 | 3597 | |
3594 | 3598 | hosted-git-info@^2.1.4: |
3595 | - version "2.5.0" | |
3596 | - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" | |
3599 | + version "2.6.0" | |
3600 | + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.6.0.tgz#23235b29ab230c576aab0d4f13fc046b0b038222" | |
3597 | 3601 | |
3598 | 3602 | hpack.js@^2.1.6: |
3599 | 3603 | version "2.1.6" |
... | ... | @@ -3692,8 +3696,8 @@ http-errors@1.6.2, http-errors@~1.6.2: |
3692 | 3696 | statuses ">= 1.3.1 < 2" |
3693 | 3697 | |
3694 | 3698 | http-parser-js@>=0.4.0: |
3695 | - version "0.4.10" | |
3696 | - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4" | |
3699 | + version "0.4.11" | |
3700 | + resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.11.tgz#5b720849c650903c27e521633d94696ee95f3529" | |
3697 | 3701 | |
3698 | 3702 | http-proxy-middleware@~0.17.4: |
3699 | 3703 | version "0.17.4" |
... | ... | @@ -6270,14 +6274,6 @@ regex-not@^1.0.0, regex-not@^1.0.2: |
6270 | 6274 | extend-shallow "^3.0.2" |
6271 | 6275 | safe-regex "^1.1.0" |
6272 | 6276 | |
6273 | -regexp.escape@^1.0.2: | |
6274 | - version "1.0.2" | |
6275 | - resolved "https://registry.yarnpkg.com/regexp.escape/-/regexp.escape-1.0.2.tgz#bcbb6ffe9490ad81b9ef6e9672a18f2a01ba41a0" | |
6276 | - dependencies: | |
6277 | - define-properties "^1.1.1" | |
6278 | - es-abstract "^1.2.1" | |
6279 | - function-bind "^1.0.2" | |
6280 | - | |
6281 | 6277 | regexpu-core@^1.0.0: |
6282 | 6278 | version "1.0.0" |
6283 | 6279 | resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-1.0.0.tgz#86a763f58ee4d7c2f6b102e4764050de7ed90c6b" |
... | ... | @@ -6997,9 +6993,9 @@ string-width@^2.0.0: |
6997 | 6993 | is-fullwidth-code-point "^2.0.0" |
6998 | 6994 | strip-ansi "^4.0.0" |
6999 | 6995 | |
7000 | -string_decoder@^1.0.0, string_decoder@~1.0.3: | |
7001 | - version "1.0.3" | |
7002 | - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" | |
6996 | +string_decoder@^1.0.0: | |
6997 | + version "1.1.0" | |
6998 | + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.0.tgz#384f322ee8a848e500effde99901bba849c5d403" | |
7003 | 6999 | dependencies: |
7004 | 7000 | safe-buffer "~5.1.0" |
7005 | 7001 | |
... | ... | @@ -7007,6 +7003,12 @@ string_decoder@~0.10.x: |
7007 | 7003 | version "0.10.31" |
7008 | 7004 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" |
7009 | 7005 | |
7006 | +string_decoder@~1.0.3: | |
7007 | + version "1.0.3" | |
7008 | + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" | |
7009 | + dependencies: | |
7010 | + safe-buffer "~5.1.0" | |
7011 | + | |
7010 | 7012 | stringstream@~0.0.4: |
7011 | 7013 | version "0.0.5" |
7012 | 7014 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" |
... | ... | @@ -7525,10 +7527,6 @@ uuid@^3.0.0, uuid@^3.0.1: |
7525 | 7527 | version "3.2.1" |
7526 | 7528 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" |
7527 | 7529 | |
7528 | -v-click-outside-x@^2.0.0: | |
7529 | - version "2.0.0" | |
7530 | - resolved "https://registry.yarnpkg.com/v-click-outside-x/-/v-click-outside-x-2.0.0.tgz#5fe7dfca255d4153b568f9b4b2993889e6b3da01" | |
7531 | - | |
7532 | 7530 | v8flags@^2.0.2, v8flags@^2.1.1: |
7533 | 7531 | version "2.1.1" |
7534 | 7532 | resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" | ... | ... |