├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── SECURITY.md ├── babel.config.js ├── img ├── 1.jpg └── 1.png ├── package-lock.json ├── package.json ├── rollup.config.js └── src ├── @icons ├── ArrowBack.svelte ├── ArrowForward.svelte ├── ArrowIosForward.svelte └── Checkmark.svelte ├── Calendar.svelte ├── Selector ├── FinishBtn.svelte ├── MonthTitle.svelte ├── Next.svelte ├── Prev.svelte └── Selector.svelte ├── body ├── CalendarBody.svelte ├── CalendarBodyDay.svelte ├── CalendarBodyHead.svelte ├── CalendarBodyMultiYears.svelte ├── CalendarBodyWeek.svelte └── CalendarBodyYear.svelte ├── calendar.js ├── fix-date.js ├── i18n ├── index.js └── noun.js └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist/ 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 1.1.6 2 | 3 | * Add Romanian language support 4 | 5 | ## 1.1.4 6 | 7 | * Now resume the use of reloadDisabled prop 8 | 9 | ## 1.1.3 10 | 11 | * There are many problems with reloadDisabled prop, temporarily disable it 12 | 13 | 14 | ## 1.1.1 15 | 16 | * Fix the issues of reloadDisabled prop when selecting year or month view to jump 17 | 18 | 19 | ## 1.1.0 20 | 21 | * Add `CHANGELOG.md` file. 22 | * Now you can use finishBtn prop to control whether finish button is displayed. [See more.](https://github.com/TIOvOIT/praecox-datepicker/pull/20) 23 | * Add `reloadDisabled` prop to bind external methods to change the disabled date [See more.](https://github.com/TIOvOIT/praecox-datepicker/pull/21) -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 Runningzs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Praecox-datepicker 2 | 3 | A date picker built with Svelte.Simple and flexible, supporting functions such as single selection, multiple selection, disabling, and marking. 4 | 5 | ## Screenshot 6 | 7 | Theme
8 | theme 9 | 10 | ## Demo 11 | 12 | [Preview](https://svelte.dev/repl/f153bee994974251b59041832a099427?version=3.29.0) 13 | [Multiple disabled](https://svelte.dev/repl/7fb09d23d741461b8e2c435c4c0d5ef1?version=3.29.0) 14 | [Custom styles](https://svelte.dev/repl/1ddc67726a734df7a47421959e48e38a?version=3.29.0) 15 | 16 | ## Install 17 | 18 | ```bash 19 | 20 | npm install --save praecox-datepicker 21 | 22 | ``` 23 | 24 | ## Usage 25 | 26 | ```javascript 27 | import Datepicker from "praecox-datepicker"; 28 | ``` 29 | 30 | ```html 31 | 32 | ``` 33 | 34 | ## Props 35 | 36 | | Props | Type | Default | Description | 37 | | ------------- | --------------------------------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | 38 | | nowDate | Date | new Date\(\) | Current date | 39 | | lang | "en" \| "zh" \| "ru" \| "ro" \|"es" \| "de" \| "it" \| "el" | "en" | Language | 40 | | viewDate | Date | nowDate | Current view date | 41 | | pickerRule | "single" \| "range" \| "free" | "single" | Date picker mode | 42 | | disabled | Date Array | \[\] | Disable date. When the value type is not an array, the length is not `2`, and a single disabled mode is adopted. If it is `2` and the first value is smaller than the second value, it is a range disabled mode; when the value of `Array[0]` is an array , Can be disabled multiple times | 43 | | selected | string | Array | \[\] | Selected date, supports two-way binding, can be used to bind external results [Issues](https://github.com/TIOvOIT/praecox-datepicker/issues/4) | 44 | | marked | Date Array | \[\] | Date marked | 45 | | weekNameMode | "weekShortAbbreviation" \| "weekAbbreviation" \| "weekFullName" | "weekAbbreviation" | | 46 | | monthNameMode | "monthAbbreviation" \| "monthFullName" | "monthFullName" | | 47 | | theme | "light" \| "dark" | "light" | | 48 | | reSelected | boolean | false | When the range is selected, the value can be reset [Issues](https://github.com/TIOvOIT/praecox-datepicker/issues/3) 49 | | finishBtn | boolean | true | Used to control whether finishBtn is displayed 50 | | reloadDisabled | function | undefined | External function that get used to reload the disabled array on Next/Prev action | 51 | | pickerDone | boolean | false | Binding with the `Finish` button to increase UE and facilitate control of the display, if finishBtn prop is false, do not use this prop. | 52 | 53 | ## Built-in function 54 | 55 | ```javascript 56 | import Datepicker, { 57 | formatDatestamp, 58 | getNextYearAndMonth, 59 | getPrevYearAndMonth, 60 | getThisMonthData, 61 | testDaysInTheMonth, 62 | testLeapYear, 63 | testSolarMonthOf31Days, 64 | thisMonthHasManyWeek, 65 | theDayOfTheWeek, 66 | } from "praecox-datepicker"; 67 | ``` 68 | 69 | ## Custom styles 70 | 71 | List of custom style variable names 72 | 73 | ```css 74 | --praecox-calendar-custom-width: 330px; 75 | --praecox-calendar-custom-height: 310px; 76 | --praecox-calendar-custom-inner-width: 310px; 77 | --praecox-calendar-custom-inner-height: 220px; 78 | --praecox-calendar-custom-head-height: 48px; 79 | --praecox-calendar-custom-icon-size: 20px; 80 | --praecox-calendar-custom-border-radius: 3px; 81 | --praecox-calendar-custom-font-family: sans-serif; 82 | --praecox-calendar-custom-number-font-family: "Open Sans", sans-serif; 83 | 84 | --praecox-calendar-custom-main-color: #0060df; 85 | --praecox-calendar-custom-main-color-hover: #0a84ff; 86 | --praecox-calendar-custom-main-color-active: #0060df; 87 | --praecox-calendar-custom-focused-color: #12bc00; 88 | --praecox-calendar-custom-adjunctive-color: rgba(0, 96, 223, 0.1); 89 | --praecox-calendar-custom-secondary-color: rgba(0, 96, 223, 0.2); 90 | --praecox-calendar-custom-selected-color: #002275; 91 | 92 | --praecox-calendar-custom-weekend-color: #f9f9fa; 93 | --praecox-calendar-custom-outsidemonth-color: #b1b1b3; 94 | --praecox-calendar-custom-overbackground-color: #f5f8ff; 95 | 96 | --praecox-calendar-custom-font-main-color: #181818; 97 | --praecox-calendar-custom-font-disabled-color: #d7d7db; 98 | --praecox-calendar-custom-font-secondary-color: #b1b1b3; 99 | 100 | --praecox-calendar-custom-background: #ffffff; 101 | --praecox-calendar-custom-background-hover: #f5f8ff; 102 | --praecox-calendar-custom-border: 1px solid #ededf0; 103 | --praecox-calendar-custom-boxshadow: 0px 1px solid #ededf0; 104 | ``` 105 | 106 | ## License 107 | 108 | [MIT](https://github.com/Runningzs/praecox-datepicker/blob/master/LICENSE) 109 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | Use this section to tell people about which versions of your project are 6 | currently being supported with security updates. 7 | 8 | | Version | Supported | 9 | | ------- | ------------------ | 10 | | 5.1.x | :white_check_mark: | 11 | | 5.0.x | :x: | 12 | | 4.0.x | :white_check_mark: | 13 | | < 4.0 | :x: | 14 | 15 | ## Reporting a Vulnerability 16 | 17 | Use this section to tell people how to report a vulnerability. 18 | 19 | Tell them where to go, how often they can expect to get an update on a 20 | reported vulnerability, what to expect if the vulnerability is accepted or 21 | declined, etc. 22 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | const exclude = [ 2 | '@babel/plugin-transform-async-to-generator', 3 | '@babel/plugin-transform-regenerator', 4 | '@babel/plugin-transform-typeof-symbol', 5 | ]; 6 | 7 | module.exports = { 8 | presets: [ 9 | [ 10 | '@babel/preset-env', { 11 | loose: true, 12 | modules: false, 13 | exclude, 14 | }, 15 | ], 16 | ], 17 | env: { 18 | test: { 19 | presets: [ 20 | [ 21 | '@babel/preset-env', { 22 | loose: true, 23 | exclude, 24 | }, 25 | ], 26 | ], 27 | }, 28 | }, 29 | }; 30 | -------------------------------------------------------------------------------- /img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIOvOIT/praecox-datepicker/82c82ff002b4e97d82ea0851818c9e804e15aa51/img/1.jpg -------------------------------------------------------------------------------- /img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIOvOIT/praecox-datepicker/82c82ff002b4e97d82ea0851818c9e804e15aa51/img/1.png -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "praecox-datepicker", 3 | "version": "1.1.6", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@babel/code-frame": { 8 | "version": "7.8.3", 9 | "resolved": "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.8.3.tgz?cache=0&sync_timestamp=1578953126105&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.8.3.tgz", 10 | "integrity": "sha1-M+JZA9dIEYFTThLsCiXxa2/PQZ4=", 11 | "dev": true, 12 | "requires": { 13 | "@babel/highlight": "^7.8.3" 14 | } 15 | }, 16 | "@babel/compat-data": { 17 | "version": "7.8.6", 18 | "resolved": "https://registry.npm.taobao.org/@babel/compat-data/download/@babel/compat-data-7.8.6.tgz", 19 | "integrity": "sha1-fuqg36F+UMfZwIMlFe7gm1bwTjU=", 20 | "dev": true, 21 | "requires": { 22 | "browserslist": "^4.8.5", 23 | "invariant": "^2.2.4", 24 | "semver": "^5.5.0" 25 | } 26 | }, 27 | "@babel/core": { 28 | "version": "7.8.7", 29 | "resolved": "https://registry.npm.taobao.org/@babel/core/download/@babel/core-7.8.7.tgz", 30 | "integrity": "sha1-tpAX0iHM3rIDFFrp2iadcs8QLzs=", 31 | "dev": true, 32 | "requires": { 33 | "@babel/code-frame": "^7.8.3", 34 | "@babel/generator": "^7.8.7", 35 | "@babel/helpers": "^7.8.4", 36 | "@babel/parser": "^7.8.7", 37 | "@babel/template": "^7.8.6", 38 | "@babel/traverse": "^7.8.6", 39 | "@babel/types": "^7.8.7", 40 | "convert-source-map": "^1.7.0", 41 | "debug": "^4.1.0", 42 | "gensync": "^1.0.0-beta.1", 43 | "json5": "^2.1.0", 44 | "lodash": "^4.17.13", 45 | "resolve": "^1.3.2", 46 | "semver": "^5.4.1", 47 | "source-map": "^0.5.0" 48 | } 49 | }, 50 | "@babel/generator": { 51 | "version": "7.8.7", 52 | "resolved": "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.8.7.tgz", 53 | "integrity": "sha1-hws895hPUpeZgVKvYlxPPjQUAPc=", 54 | "dev": true, 55 | "requires": { 56 | "@babel/types": "^7.8.7", 57 | "jsesc": "^2.5.1", 58 | "lodash": "^4.17.13", 59 | "source-map": "^0.5.0" 60 | } 61 | }, 62 | "@babel/helper-annotate-as-pure": { 63 | "version": "7.8.3", 64 | "resolved": "https://registry.npm.taobao.org/@babel/helper-annotate-as-pure/download/@babel/helper-annotate-as-pure-7.8.3.tgz", 65 | "integrity": "sha1-YLwLxlf2Ogkk/5pLSgskoTz03u4=", 66 | "dev": true, 67 | "requires": { 68 | "@babel/types": "^7.8.3" 69 | } 70 | }, 71 | "@babel/helper-builder-binary-assignment-operator-visitor": { 72 | "version": "7.8.3", 73 | "resolved": "https://registry.npm.taobao.org/@babel/helper-builder-binary-assignment-operator-visitor/download/@babel/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz", 74 | "integrity": "sha1-yECXpCegYaxWocMOv1S3si0kFQM=", 75 | "dev": true, 76 | "requires": { 77 | "@babel/helper-explode-assignable-expression": "^7.8.3", 78 | "@babel/types": "^7.8.3" 79 | } 80 | }, 81 | "@babel/helper-call-delegate": { 82 | "version": "7.8.7", 83 | "resolved": "https://registry.npm.taobao.org/@babel/helper-call-delegate/download/@babel/helper-call-delegate-7.8.7.tgz", 84 | "integrity": "sha1-KKJ5wubGIqYjPaVIEn+YB1EyTKs=", 85 | "dev": true, 86 | "requires": { 87 | "@babel/helper-hoist-variables": "^7.8.3", 88 | "@babel/traverse": "^7.8.3", 89 | "@babel/types": "^7.8.7" 90 | } 91 | }, 92 | "@babel/helper-compilation-targets": { 93 | "version": "7.8.7", 94 | "resolved": "https://registry.npm.taobao.org/@babel/helper-compilation-targets/download/@babel/helper-compilation-targets-7.8.7.tgz", 95 | "integrity": "sha1-2sHuoVnA5L1G4wm1obBKZrU8Hd4=", 96 | "dev": true, 97 | "requires": { 98 | "@babel/compat-data": "^7.8.6", 99 | "browserslist": "^4.9.1", 100 | "invariant": "^2.2.4", 101 | "levenary": "^1.1.1", 102 | "semver": "^5.5.0" 103 | } 104 | }, 105 | "@babel/helper-create-regexp-features-plugin": { 106 | "version": "7.8.6", 107 | "resolved": "https://registry.npm.taobao.org/@babel/helper-create-regexp-features-plugin/download/@babel/helper-create-regexp-features-plugin-7.8.6.tgz", 108 | "integrity": "sha1-f6BAyX+4rr4SR6XGRTMMMtCDBms=", 109 | "dev": true, 110 | "requires": { 111 | "@babel/helper-annotate-as-pure": "^7.8.3", 112 | "@babel/helper-regex": "^7.8.3", 113 | "regexpu-core": "^4.6.0" 114 | } 115 | }, 116 | "@babel/helper-define-map": { 117 | "version": "7.8.3", 118 | "resolved": "https://registry.npm.taobao.org/@babel/helper-define-map/download/@babel/helper-define-map-7.8.3.tgz", 119 | "integrity": "sha1-oGVcrVRRw3YLcm66h18c2PqgLBU=", 120 | "dev": true, 121 | "requires": { 122 | "@babel/helper-function-name": "^7.8.3", 123 | "@babel/types": "^7.8.3", 124 | "lodash": "^4.17.13" 125 | } 126 | }, 127 | "@babel/helper-explode-assignable-expression": { 128 | "version": "7.8.3", 129 | "resolved": "https://registry.npm.taobao.org/@babel/helper-explode-assignable-expression/download/@babel/helper-explode-assignable-expression-7.8.3.tgz", 130 | "integrity": "sha1-pyjcW06J4w/C38fQT6KKkwZT+YI=", 131 | "dev": true, 132 | "requires": { 133 | "@babel/traverse": "^7.8.3", 134 | "@babel/types": "^7.8.3" 135 | } 136 | }, 137 | "@babel/helper-function-name": { 138 | "version": "7.8.3", 139 | "resolved": "https://registry.npm.taobao.org/@babel/helper-function-name/download/@babel/helper-function-name-7.8.3.tgz", 140 | "integrity": "sha1-7utmWgGx8RBo6fuGrVahyxqCTMo=", 141 | "dev": true, 142 | "requires": { 143 | "@babel/helper-get-function-arity": "^7.8.3", 144 | "@babel/template": "^7.8.3", 145 | "@babel/types": "^7.8.3" 146 | } 147 | }, 148 | "@babel/helper-get-function-arity": { 149 | "version": "7.8.3", 150 | "resolved": "https://registry.npm.taobao.org/@babel/helper-get-function-arity/download/@babel/helper-get-function-arity-7.8.3.tgz?cache=0&sync_timestamp=1578951938166&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-get-function-arity%2Fdownload%2F%40babel%2Fhelper-get-function-arity-7.8.3.tgz", 151 | "integrity": "sha1-uJS5R70AQ4HOY+odufCFR+kgq9U=", 152 | "dev": true, 153 | "requires": { 154 | "@babel/types": "^7.8.3" 155 | } 156 | }, 157 | "@babel/helper-hoist-variables": { 158 | "version": "7.8.3", 159 | "resolved": "https://registry.npm.taobao.org/@babel/helper-hoist-variables/download/@babel/helper-hoist-variables-7.8.3.tgz", 160 | "integrity": "sha1-Hb6ba1XXjJtBg/yM3G4wzrg7cTQ=", 161 | "dev": true, 162 | "requires": { 163 | "@babel/types": "^7.8.3" 164 | } 165 | }, 166 | "@babel/helper-member-expression-to-functions": { 167 | "version": "7.8.3", 168 | "resolved": "https://registry.npm.taobao.org/@babel/helper-member-expression-to-functions/download/@babel/helper-member-expression-to-functions-7.8.3.tgz?cache=0&sync_timestamp=1578951939517&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-member-expression-to-functions%2Fdownload%2F%40babel%2Fhelper-member-expression-to-functions-7.8.3.tgz", 169 | "integrity": "sha1-ZZtxBJjqbB2ZB+DHPyBu7n2twkw=", 170 | "dev": true, 171 | "requires": { 172 | "@babel/types": "^7.8.3" 173 | } 174 | }, 175 | "@babel/helper-module-imports": { 176 | "version": "7.8.3", 177 | "resolved": "https://registry.npm.taobao.org/@babel/helper-module-imports/download/@babel/helper-module-imports-7.8.3.tgz", 178 | "integrity": "sha1-f+OVibOcAWMxtrjD9EHo8LFBlJg=", 179 | "dev": true, 180 | "requires": { 181 | "@babel/types": "^7.8.3" 182 | } 183 | }, 184 | "@babel/helper-module-transforms": { 185 | "version": "7.8.6", 186 | "resolved": "https://registry.npm.taobao.org/@babel/helper-module-transforms/download/@babel/helper-module-transforms-7.8.6.tgz", 187 | "integrity": "sha1-ahO17srcNWkgRwc6ZOQpd7l2VKQ=", 188 | "dev": true, 189 | "requires": { 190 | "@babel/helper-module-imports": "^7.8.3", 191 | "@babel/helper-replace-supers": "^7.8.6", 192 | "@babel/helper-simple-access": "^7.8.3", 193 | "@babel/helper-split-export-declaration": "^7.8.3", 194 | "@babel/template": "^7.8.6", 195 | "@babel/types": "^7.8.6", 196 | "lodash": "^4.17.13" 197 | } 198 | }, 199 | "@babel/helper-optimise-call-expression": { 200 | "version": "7.8.3", 201 | "resolved": "https://registry.npm.taobao.org/@babel/helper-optimise-call-expression/download/@babel/helper-optimise-call-expression-7.8.3.tgz?cache=0&sync_timestamp=1578951937431&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-optimise-call-expression%2Fdownload%2F%40babel%2Fhelper-optimise-call-expression-7.8.3.tgz", 202 | "integrity": "sha1-ftBxgT0Jx1KY708giVYAa2ER7Lk=", 203 | "dev": true, 204 | "requires": { 205 | "@babel/types": "^7.8.3" 206 | } 207 | }, 208 | "@babel/helper-plugin-utils": { 209 | "version": "7.8.3", 210 | "resolved": "https://registry.npm.taobao.org/@babel/helper-plugin-utils/download/@babel/helper-plugin-utils-7.8.3.tgz", 211 | "integrity": "sha1-nqKTvhm6vA9S/4yoizTDYRsghnA=", 212 | "dev": true 213 | }, 214 | "@babel/helper-regex": { 215 | "version": "7.8.3", 216 | "resolved": "https://registry.npm.taobao.org/@babel/helper-regex/download/@babel/helper-regex-7.8.3.tgz?cache=0&sync_timestamp=1578951938163&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-regex%2Fdownload%2F%40babel%2Fhelper-regex-7.8.3.tgz", 217 | "integrity": "sha1-E5dyYH1RuT8j7/5yEFsxnSpMaWU=", 218 | "dev": true, 219 | "requires": { 220 | "lodash": "^4.17.13" 221 | } 222 | }, 223 | "@babel/helper-remap-async-to-generator": { 224 | "version": "7.8.3", 225 | "resolved": "https://registry.npm.taobao.org/@babel/helper-remap-async-to-generator/download/@babel/helper-remap-async-to-generator-7.8.3.tgz", 226 | "integrity": "sha1-JzxgDYub9QBhQsHjWIfVVcEu3YY=", 227 | "dev": true, 228 | "requires": { 229 | "@babel/helper-annotate-as-pure": "^7.8.3", 230 | "@babel/helper-wrap-function": "^7.8.3", 231 | "@babel/template": "^7.8.3", 232 | "@babel/traverse": "^7.8.3", 233 | "@babel/types": "^7.8.3" 234 | } 235 | }, 236 | "@babel/helper-replace-supers": { 237 | "version": "7.8.6", 238 | "resolved": "https://registry.npm.taobao.org/@babel/helper-replace-supers/download/@babel/helper-replace-supers-7.8.6.tgz?cache=0&sync_timestamp=1582806117667&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelper-replace-supers%2Fdownload%2F%40babel%2Fhelper-replace-supers-7.8.6.tgz", 239 | "integrity": "sha1-Wtp0T9WtcyA78dZ0WaJ9y6Z+/8g=", 240 | "dev": true, 241 | "requires": { 242 | "@babel/helper-member-expression-to-functions": "^7.8.3", 243 | "@babel/helper-optimise-call-expression": "^7.8.3", 244 | "@babel/traverse": "^7.8.6", 245 | "@babel/types": "^7.8.6" 246 | } 247 | }, 248 | "@babel/helper-simple-access": { 249 | "version": "7.8.3", 250 | "resolved": "https://registry.npm.taobao.org/@babel/helper-simple-access/download/@babel/helper-simple-access-7.8.3.tgz", 251 | "integrity": "sha1-f4EJkotNq0ZUB2mGr1dSMd62Oa4=", 252 | "dev": true, 253 | "requires": { 254 | "@babel/template": "^7.8.3", 255 | "@babel/types": "^7.8.3" 256 | } 257 | }, 258 | "@babel/helper-split-export-declaration": { 259 | "version": "7.8.3", 260 | "resolved": "https://registry.npm.taobao.org/@babel/helper-split-export-declaration/download/@babel/helper-split-export-declaration-7.8.3.tgz", 261 | "integrity": "sha1-ManzAHD5E2inGCzwX4MXgQZfx6k=", 262 | "dev": true, 263 | "requires": { 264 | "@babel/types": "^7.8.3" 265 | } 266 | }, 267 | "@babel/helper-wrap-function": { 268 | "version": "7.8.3", 269 | "resolved": "https://registry.npm.taobao.org/@babel/helper-wrap-function/download/@babel/helper-wrap-function-7.8.3.tgz", 270 | "integrity": "sha1-nb2yu1XvFKqgH+jJm2Kb1TUthhA=", 271 | "dev": true, 272 | "requires": { 273 | "@babel/helper-function-name": "^7.8.3", 274 | "@babel/template": "^7.8.3", 275 | "@babel/traverse": "^7.8.3", 276 | "@babel/types": "^7.8.3" 277 | } 278 | }, 279 | "@babel/helpers": { 280 | "version": "7.8.4", 281 | "resolved": "https://registry.npm.taobao.org/@babel/helpers/download/@babel/helpers-7.8.4.tgz", 282 | "integrity": "sha1-dU6z7nJ8Fl4KJA1sIH3nxFXzb3M=", 283 | "dev": true, 284 | "requires": { 285 | "@babel/template": "^7.8.3", 286 | "@babel/traverse": "^7.8.4", 287 | "@babel/types": "^7.8.3" 288 | } 289 | }, 290 | "@babel/highlight": { 291 | "version": "7.8.3", 292 | "resolved": "https://registry.npm.taobao.org/@babel/highlight/download/@babel/highlight-7.8.3.tgz?cache=0&sync_timestamp=1578951935730&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhighlight%2Fdownload%2F%40babel%2Fhighlight-7.8.3.tgz", 293 | "integrity": "sha1-KPFz0EIj6qpZvB1Dmjg25tEmV5c=", 294 | "dev": true, 295 | "requires": { 296 | "chalk": "^2.0.0", 297 | "esutils": "^2.0.2", 298 | "js-tokens": "^4.0.0" 299 | } 300 | }, 301 | "@babel/parser": { 302 | "version": "7.8.7", 303 | "resolved": "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.8.7.tgz?cache=0&sync_timestamp=1583373406940&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.8.7.tgz", 304 | "integrity": "sha1-e4+s+V0l/vlTSq1RxP/s3hph4mo=", 305 | "dev": true 306 | }, 307 | "@babel/plugin-proposal-async-generator-functions": { 308 | "version": "7.8.3", 309 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-async-generator-functions/download/@babel/plugin-proposal-async-generator-functions-7.8.3.tgz", 310 | "integrity": "sha1-utMpxnCzgliXIbJ1QMfSiGAcbm8=", 311 | "dev": true, 312 | "requires": { 313 | "@babel/helper-plugin-utils": "^7.8.3", 314 | "@babel/helper-remap-async-to-generator": "^7.8.3", 315 | "@babel/plugin-syntax-async-generators": "^7.8.0" 316 | } 317 | }, 318 | "@babel/plugin-proposal-dynamic-import": { 319 | "version": "7.8.3", 320 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-dynamic-import/download/@babel/plugin-proposal-dynamic-import-7.8.3.tgz", 321 | "integrity": "sha1-OMT+VVdEgm6X4q6TCw+0zAfmYFQ=", 322 | "dev": true, 323 | "requires": { 324 | "@babel/helper-plugin-utils": "^7.8.3", 325 | "@babel/plugin-syntax-dynamic-import": "^7.8.0" 326 | } 327 | }, 328 | "@babel/plugin-proposal-json-strings": { 329 | "version": "7.8.3", 330 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-json-strings/download/@babel/plugin-proposal-json-strings-7.8.3.tgz", 331 | "integrity": "sha1-2lIWsjipi1ih4F1oUhBLEPmnDWs=", 332 | "dev": true, 333 | "requires": { 334 | "@babel/helper-plugin-utils": "^7.8.3", 335 | "@babel/plugin-syntax-json-strings": "^7.8.0" 336 | } 337 | }, 338 | "@babel/plugin-proposal-nullish-coalescing-operator": { 339 | "version": "7.8.3", 340 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-nullish-coalescing-operator/download/@babel/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz", 341 | "integrity": "sha1-5FciU/3u1lzd7s/as/kor+sv1dI=", 342 | "dev": true, 343 | "requires": { 344 | "@babel/helper-plugin-utils": "^7.8.3", 345 | "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0" 346 | } 347 | }, 348 | "@babel/plugin-proposal-object-rest-spread": { 349 | "version": "7.8.3", 350 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.8.3.tgz", 351 | "integrity": "sha1-61rjZhGN3KZ77Vg7U9dVTK2ZUbs=", 352 | "dev": true, 353 | "requires": { 354 | "@babel/helper-plugin-utils": "^7.8.3", 355 | "@babel/plugin-syntax-object-rest-spread": "^7.8.0" 356 | } 357 | }, 358 | "@babel/plugin-proposal-optional-catch-binding": { 359 | "version": "7.8.3", 360 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-catch-binding/download/@babel/plugin-proposal-optional-catch-binding-7.8.3.tgz", 361 | "integrity": "sha1-ne6WqxZQ7tiGRq6XNMoWesSpxck=", 362 | "dev": true, 363 | "requires": { 364 | "@babel/helper-plugin-utils": "^7.8.3", 365 | "@babel/plugin-syntax-optional-catch-binding": "^7.8.0" 366 | } 367 | }, 368 | "@babel/plugin-proposal-optional-chaining": { 369 | "version": "7.8.3", 370 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-optional-chaining/download/@babel/plugin-proposal-optional-chaining-7.8.3.tgz", 371 | "integrity": "sha1-rhCzIUyyX3rbHzvIe6QsoQt+JUM=", 372 | "dev": true, 373 | "requires": { 374 | "@babel/helper-plugin-utils": "^7.8.3", 375 | "@babel/plugin-syntax-optional-chaining": "^7.8.0" 376 | } 377 | }, 378 | "@babel/plugin-proposal-unicode-property-regex": { 379 | "version": "7.8.3", 380 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-unicode-property-regex/download/@babel/plugin-proposal-unicode-property-regex-7.8.3.tgz", 381 | "integrity": "sha1-tkbDrepfmIAMmrRRBaw00GzUpH8=", 382 | "dev": true, 383 | "requires": { 384 | "@babel/helper-create-regexp-features-plugin": "^7.8.3", 385 | "@babel/helper-plugin-utils": "^7.8.3" 386 | } 387 | }, 388 | "@babel/plugin-syntax-async-generators": { 389 | "version": "7.8.4", 390 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-syntax-async-generators/download/@babel/plugin-syntax-async-generators-7.8.4.tgz", 391 | "integrity": "sha1-qYP7Gusuw/btBCohD2QOkOeG/g0=", 392 | "dev": true, 393 | "requires": { 394 | "@babel/helper-plugin-utils": "^7.8.0" 395 | } 396 | }, 397 | "@babel/plugin-syntax-dynamic-import": { 398 | "version": "7.8.3", 399 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-syntax-dynamic-import/download/@babel/plugin-syntax-dynamic-import-7.8.3.tgz", 400 | "integrity": "sha1-Yr+Ysto80h1iYVT8lu5bPLaOrLM=", 401 | "dev": true, 402 | "requires": { 403 | "@babel/helper-plugin-utils": "^7.8.0" 404 | } 405 | }, 406 | "@babel/plugin-syntax-json-strings": { 407 | "version": "7.8.3", 408 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-syntax-json-strings/download/@babel/plugin-syntax-json-strings-7.8.3.tgz", 409 | "integrity": "sha1-AcohtmjNghjJ5kDLbdiMVBKyyWo=", 410 | "dev": true, 411 | "requires": { 412 | "@babel/helper-plugin-utils": "^7.8.0" 413 | } 414 | }, 415 | "@babel/plugin-syntax-nullish-coalescing-operator": { 416 | "version": "7.8.3", 417 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-syntax-nullish-coalescing-operator/download/@babel/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", 418 | "integrity": "sha1-Fn7XA2iIYIH3S1w2xlqIwDtm0ak=", 419 | "dev": true, 420 | "requires": { 421 | "@babel/helper-plugin-utils": "^7.8.0" 422 | } 423 | }, 424 | "@babel/plugin-syntax-object-rest-spread": { 425 | "version": "7.8.3", 426 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-syntax-object-rest-spread/download/@babel/plugin-syntax-object-rest-spread-7.8.3.tgz", 427 | "integrity": "sha1-YOIl7cvZimQDMqLnLdPmbxr1WHE=", 428 | "dev": true, 429 | "requires": { 430 | "@babel/helper-plugin-utils": "^7.8.0" 431 | } 432 | }, 433 | "@babel/plugin-syntax-optional-catch-binding": { 434 | "version": "7.8.3", 435 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-syntax-optional-catch-binding/download/@babel/plugin-syntax-optional-catch-binding-7.8.3.tgz", 436 | "integrity": "sha1-YRGiZbz7Ag6579D9/X0mQCue1sE=", 437 | "dev": true, 438 | "requires": { 439 | "@babel/helper-plugin-utils": "^7.8.0" 440 | } 441 | }, 442 | "@babel/plugin-syntax-optional-chaining": { 443 | "version": "7.8.3", 444 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-syntax-optional-chaining/download/@babel/plugin-syntax-optional-chaining-7.8.3.tgz", 445 | "integrity": "sha1-T2nCq5UWfgGAzVM2YT+MV4j31Io=", 446 | "dev": true, 447 | "requires": { 448 | "@babel/helper-plugin-utils": "^7.8.0" 449 | } 450 | }, 451 | "@babel/plugin-syntax-top-level-await": { 452 | "version": "7.8.3", 453 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-syntax-top-level-await/download/@babel/plugin-syntax-top-level-await-7.8.3.tgz?cache=0&sync_timestamp=1578951935611&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-syntax-top-level-await%2Fdownload%2F%40babel%2Fplugin-syntax-top-level-await-7.8.3.tgz", 454 | "integrity": "sha1-Os3s5pXmsTqvV/wpHRqACVDHE5E=", 455 | "dev": true, 456 | "requires": { 457 | "@babel/helper-plugin-utils": "^7.8.3" 458 | } 459 | }, 460 | "@babel/plugin-transform-arrow-functions": { 461 | "version": "7.8.3", 462 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-arrow-functions/download/@babel/plugin-transform-arrow-functions-7.8.3.tgz?cache=0&sync_timestamp=1578951935848&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-arrow-functions%2Fdownload%2F%40babel%2Fplugin-transform-arrow-functions-7.8.3.tgz", 463 | "integrity": "sha1-gndsLtDNnhpJlW2uuJYCTJRzuLY=", 464 | "dev": true, 465 | "requires": { 466 | "@babel/helper-plugin-utils": "^7.8.3" 467 | } 468 | }, 469 | "@babel/plugin-transform-async-to-generator": { 470 | "version": "7.8.3", 471 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-async-to-generator/download/@babel/plugin-transform-async-to-generator-7.8.3.tgz", 472 | "integrity": "sha1-Qwj60NlAnXHq+5sabuNfnWS2QIY=", 473 | "dev": true, 474 | "requires": { 475 | "@babel/helper-module-imports": "^7.8.3", 476 | "@babel/helper-plugin-utils": "^7.8.3", 477 | "@babel/helper-remap-async-to-generator": "^7.8.3" 478 | } 479 | }, 480 | "@babel/plugin-transform-block-scoped-functions": { 481 | "version": "7.8.3", 482 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoped-functions/download/@babel/plugin-transform-block-scoped-functions-7.8.3.tgz?cache=0&sync_timestamp=1578951934748&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-block-scoped-functions%2Fdownload%2F%40babel%2Fplugin-transform-block-scoped-functions-7.8.3.tgz", 483 | "integrity": "sha1-Q37sW3mbWFIHIISzrl72boNJ6KM=", 484 | "dev": true, 485 | "requires": { 486 | "@babel/helper-plugin-utils": "^7.8.3" 487 | } 488 | }, 489 | "@babel/plugin-transform-block-scoping": { 490 | "version": "7.8.3", 491 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoping/download/@babel/plugin-transform-block-scoping-7.8.3.tgz?cache=0&sync_timestamp=1578951934401&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-block-scoping%2Fdownload%2F%40babel%2Fplugin-transform-block-scoping-7.8.3.tgz", 492 | "integrity": "sha1-l9Ndq2aFekN8FmNYuR0JBQyGjzo=", 493 | "dev": true, 494 | "requires": { 495 | "@babel/helper-plugin-utils": "^7.8.3", 496 | "lodash": "^4.17.13" 497 | } 498 | }, 499 | "@babel/plugin-transform-classes": { 500 | "version": "7.8.6", 501 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-classes/download/@babel/plugin-transform-classes-7.8.6.tgz?cache=0&sync_timestamp=1582806124133&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-classes%2Fdownload%2F%40babel%2Fplugin-transform-classes-7.8.6.tgz", 502 | "integrity": "sha1-d1NER6R3y+WZWuSu4+OfvICQxG0=", 503 | "dev": true, 504 | "requires": { 505 | "@babel/helper-annotate-as-pure": "^7.8.3", 506 | "@babel/helper-define-map": "^7.8.3", 507 | "@babel/helper-function-name": "^7.8.3", 508 | "@babel/helper-optimise-call-expression": "^7.8.3", 509 | "@babel/helper-plugin-utils": "^7.8.3", 510 | "@babel/helper-replace-supers": "^7.8.6", 511 | "@babel/helper-split-export-declaration": "^7.8.3", 512 | "globals": "^11.1.0" 513 | } 514 | }, 515 | "@babel/plugin-transform-computed-properties": { 516 | "version": "7.8.3", 517 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-computed-properties/download/@babel/plugin-transform-computed-properties-7.8.3.tgz?cache=0&sync_timestamp=1578951933993&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-computed-properties%2Fdownload%2F%40babel%2Fplugin-transform-computed-properties-7.8.3.tgz", 518 | "integrity": "sha1-ltDSi3985OtbEguy4OlDNDyG+Bs=", 519 | "dev": true, 520 | "requires": { 521 | "@babel/helper-plugin-utils": "^7.8.3" 522 | } 523 | }, 524 | "@babel/plugin-transform-destructuring": { 525 | "version": "7.8.3", 526 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-destructuring/download/@babel/plugin-transform-destructuring-7.8.3.tgz?cache=0&sync_timestamp=1578951936021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-destructuring%2Fdownload%2F%40babel%2Fplugin-transform-destructuring-7.8.3.tgz", 527 | "integrity": "sha1-IN372eRnaQaxBW7mCviFkMx6qgs=", 528 | "dev": true, 529 | "requires": { 530 | "@babel/helper-plugin-utils": "^7.8.3" 531 | } 532 | }, 533 | "@babel/plugin-transform-dotall-regex": { 534 | "version": "7.8.3", 535 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-dotall-regex/download/@babel/plugin-transform-dotall-regex-7.8.3.tgz", 536 | "integrity": "sha1-w8bsXuYSXGmTxcvKINyGIanqem4=", 537 | "dev": true, 538 | "requires": { 539 | "@babel/helper-create-regexp-features-plugin": "^7.8.3", 540 | "@babel/helper-plugin-utils": "^7.8.3" 541 | } 542 | }, 543 | "@babel/plugin-transform-duplicate-keys": { 544 | "version": "7.8.3", 545 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-duplicate-keys/download/@babel/plugin-transform-duplicate-keys-7.8.3.tgz?cache=0&sync_timestamp=1578951935457&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-duplicate-keys%2Fdownload%2F%40babel%2Fplugin-transform-duplicate-keys-7.8.3.tgz", 546 | "integrity": "sha1-jRLfMJqlN/JyiZxWXqF2jihuIfE=", 547 | "dev": true, 548 | "requires": { 549 | "@babel/helper-plugin-utils": "^7.8.3" 550 | } 551 | }, 552 | "@babel/plugin-transform-exponentiation-operator": { 553 | "version": "7.8.3", 554 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-exponentiation-operator/download/@babel/plugin-transform-exponentiation-operator-7.8.3.tgz", 555 | "integrity": "sha1-WBptf1aXDga/UVYM1k9elHtw17c=", 556 | "dev": true, 557 | "requires": { 558 | "@babel/helper-builder-binary-assignment-operator-visitor": "^7.8.3", 559 | "@babel/helper-plugin-utils": "^7.8.3" 560 | } 561 | }, 562 | "@babel/plugin-transform-for-of": { 563 | "version": "7.8.6", 564 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-for-of/download/@babel/plugin-transform-for-of-7.8.6.tgz", 565 | "integrity": "sha1-oFG9G0AsYa+Xon/1G0aDIcfCoIU=", 566 | "dev": true, 567 | "requires": { 568 | "@babel/helper-plugin-utils": "^7.8.3" 569 | } 570 | }, 571 | "@babel/plugin-transform-function-name": { 572 | "version": "7.8.3", 573 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-function-name/download/@babel/plugin-transform-function-name-7.8.3.tgz", 574 | "integrity": "sha1-J5NzyycyKqrWfCaD53bfxHGW7Ys=", 575 | "dev": true, 576 | "requires": { 577 | "@babel/helper-function-name": "^7.8.3", 578 | "@babel/helper-plugin-utils": "^7.8.3" 579 | } 580 | }, 581 | "@babel/plugin-transform-literals": { 582 | "version": "7.8.3", 583 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-literals/download/@babel/plugin-transform-literals-7.8.3.tgz?cache=0&sync_timestamp=1578951935103&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-literals%2Fdownload%2F%40babel%2Fplugin-transform-literals-7.8.3.tgz", 584 | "integrity": "sha1-rvI5gj2RmU7Hto5VGTUl1229XcE=", 585 | "dev": true, 586 | "requires": { 587 | "@babel/helper-plugin-utils": "^7.8.3" 588 | } 589 | }, 590 | "@babel/plugin-transform-member-expression-literals": { 591 | "version": "7.8.3", 592 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-member-expression-literals/download/@babel/plugin-transform-member-expression-literals-7.8.3.tgz?cache=0&sync_timestamp=1578951935289&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-member-expression-literals%2Fdownload%2F%40babel%2Fplugin-transform-member-expression-literals-7.8.3.tgz", 593 | "integrity": "sha1-lj/tS2IKx8v2Apx1VCQCn6OkBBA=", 594 | "dev": true, 595 | "requires": { 596 | "@babel/helper-plugin-utils": "^7.8.3" 597 | } 598 | }, 599 | "@babel/plugin-transform-modules-amd": { 600 | "version": "7.8.3", 601 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-modules-amd/download/@babel/plugin-transform-modules-amd-7.8.3.tgz", 602 | "integrity": "sha1-ZWBtRGFrUCJedvVXjzPFaKC4dqU=", 603 | "dev": true, 604 | "requires": { 605 | "@babel/helper-module-transforms": "^7.8.3", 606 | "@babel/helper-plugin-utils": "^7.8.3", 607 | "babel-plugin-dynamic-import-node": "^2.3.0" 608 | } 609 | }, 610 | "@babel/plugin-transform-modules-commonjs": { 611 | "version": "7.8.3", 612 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-modules-commonjs/download/@babel/plugin-transform-modules-commonjs-7.8.3.tgz", 613 | "integrity": "sha1-3yUXBuwzG9BYo0vdcmE5FfgpKKU=", 614 | "dev": true, 615 | "requires": { 616 | "@babel/helper-module-transforms": "^7.8.3", 617 | "@babel/helper-plugin-utils": "^7.8.3", 618 | "@babel/helper-simple-access": "^7.8.3", 619 | "babel-plugin-dynamic-import-node": "^2.3.0" 620 | } 621 | }, 622 | "@babel/plugin-transform-modules-systemjs": { 623 | "version": "7.8.3", 624 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-modules-systemjs/download/@babel/plugin-transform-modules-systemjs-7.8.3.tgz", 625 | "integrity": "sha1-2LvyIsHb42YfRA8vAMFum7fQ1CA=", 626 | "dev": true, 627 | "requires": { 628 | "@babel/helper-hoist-variables": "^7.8.3", 629 | "@babel/helper-module-transforms": "^7.8.3", 630 | "@babel/helper-plugin-utils": "^7.8.3", 631 | "babel-plugin-dynamic-import-node": "^2.3.0" 632 | } 633 | }, 634 | "@babel/plugin-transform-modules-umd": { 635 | "version": "7.8.3", 636 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-modules-umd/download/@babel/plugin-transform-modules-umd-7.8.3.tgz", 637 | "integrity": "sha1-WS1XjOBsUvW5iwL5E9ZT/+lyZho=", 638 | "dev": true, 639 | "requires": { 640 | "@babel/helper-module-transforms": "^7.8.3", 641 | "@babel/helper-plugin-utils": "^7.8.3" 642 | } 643 | }, 644 | "@babel/plugin-transform-named-capturing-groups-regex": { 645 | "version": "7.8.3", 646 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-named-capturing-groups-regex/download/@babel/plugin-transform-named-capturing-groups-regex-7.8.3.tgz", 647 | "integrity": "sha1-oqcr/6ICrA4tBQav0JOcXsvEjGw=", 648 | "dev": true, 649 | "requires": { 650 | "@babel/helper-create-regexp-features-plugin": "^7.8.3" 651 | } 652 | }, 653 | "@babel/plugin-transform-new-target": { 654 | "version": "7.8.3", 655 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-new-target/download/@babel/plugin-transform-new-target-7.8.3.tgz", 656 | "integrity": "sha1-YMwq5m2FyVq1QOs0urtkNNTHDEM=", 657 | "dev": true, 658 | "requires": { 659 | "@babel/helper-plugin-utils": "^7.8.3" 660 | } 661 | }, 662 | "@babel/plugin-transform-object-super": { 663 | "version": "7.8.3", 664 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-object-super/download/@babel/plugin-transform-object-super-7.8.3.tgz?cache=0&sync_timestamp=1578960811276&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-object-super%2Fdownload%2F%40babel%2Fplugin-transform-object-super-7.8.3.tgz", 665 | "integrity": "sha1-67ah56hv+paFi9asAQLWWUQmFyU=", 666 | "dev": true, 667 | "requires": { 668 | "@babel/helper-plugin-utils": "^7.8.3", 669 | "@babel/helper-replace-supers": "^7.8.3" 670 | } 671 | }, 672 | "@babel/plugin-transform-parameters": { 673 | "version": "7.8.7", 674 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-parameters/download/@babel/plugin-transform-parameters-7.8.7.tgz", 675 | "integrity": "sha1-ZvovHeQSm04ER1CSI6xxvaSVU5U=", 676 | "dev": true, 677 | "requires": { 678 | "@babel/helper-call-delegate": "^7.8.7", 679 | "@babel/helper-get-function-arity": "^7.8.3", 680 | "@babel/helper-plugin-utils": "^7.8.3" 681 | } 682 | }, 683 | "@babel/plugin-transform-property-literals": { 684 | "version": "7.8.3", 685 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-property-literals/download/@babel/plugin-transform-property-literals-7.8.3.tgz", 686 | "integrity": "sha1-MxlDANhTnB7SjGKtUIe6OAe5gmM=", 687 | "dev": true, 688 | "requires": { 689 | "@babel/helper-plugin-utils": "^7.8.3" 690 | } 691 | }, 692 | "@babel/plugin-transform-regenerator": { 693 | "version": "7.8.7", 694 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-regenerator/download/@babel/plugin-transform-regenerator-7.8.7.tgz", 695 | "integrity": "sha1-Xkag3KK+4a2ChesFJ+arycN2cvg=", 696 | "dev": true, 697 | "requires": { 698 | "regenerator-transform": "^0.14.2" 699 | } 700 | }, 701 | "@babel/plugin-transform-reserved-words": { 702 | "version": "7.8.3", 703 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-reserved-words/download/@babel/plugin-transform-reserved-words-7.8.3.tgz?cache=0&sync_timestamp=1578951936369&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-reserved-words%2Fdownload%2F%40babel%2Fplugin-transform-reserved-words-7.8.3.tgz", 704 | "integrity": "sha1-mgY1rE5mXSmxYoN908xQdF398fU=", 705 | "dev": true, 706 | "requires": { 707 | "@babel/helper-plugin-utils": "^7.8.3" 708 | } 709 | }, 710 | "@babel/plugin-transform-shorthand-properties": { 711 | "version": "7.8.3", 712 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-shorthand-properties/download/@babel/plugin-transform-shorthand-properties-7.8.3.tgz?cache=0&sync_timestamp=1578951936720&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-shorthand-properties%2Fdownload%2F%40babel%2Fplugin-transform-shorthand-properties-7.8.3.tgz", 713 | "integrity": "sha1-KFRSFuAjqDLU06EYXtSSvP6sCMg=", 714 | "dev": true, 715 | "requires": { 716 | "@babel/helper-plugin-utils": "^7.8.3" 717 | } 718 | }, 719 | "@babel/plugin-transform-spread": { 720 | "version": "7.8.3", 721 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-spread/download/@babel/plugin-transform-spread-7.8.3.tgz", 722 | "integrity": "sha1-nI/+gXD9+4ixFOy5ILgvtulf5eg=", 723 | "dev": true, 724 | "requires": { 725 | "@babel/helper-plugin-utils": "^7.8.3" 726 | } 727 | }, 728 | "@babel/plugin-transform-sticky-regex": { 729 | "version": "7.8.3", 730 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-sticky-regex/download/@babel/plugin-transform-sticky-regex-7.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-sticky-regex%2Fdownload%2F%40babel%2Fplugin-transform-sticky-regex-7.8.3.tgz", 731 | "integrity": "sha1-vnoSkPgdrnZ0dUUhmeH3bWF1sQA=", 732 | "dev": true, 733 | "requires": { 734 | "@babel/helper-plugin-utils": "^7.8.3", 735 | "@babel/helper-regex": "^7.8.3" 736 | } 737 | }, 738 | "@babel/plugin-transform-template-literals": { 739 | "version": "7.8.3", 740 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-template-literals/download/@babel/plugin-transform-template-literals-7.8.3.tgz", 741 | "integrity": "sha1-e/pHMrRV6mpDEwrcC6dn7A5AKoA=", 742 | "dev": true, 743 | "requires": { 744 | "@babel/helper-annotate-as-pure": "^7.8.3", 745 | "@babel/helper-plugin-utils": "^7.8.3" 746 | } 747 | }, 748 | "@babel/plugin-transform-typeof-symbol": { 749 | "version": "7.8.4", 750 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-typeof-symbol/download/@babel/plugin-transform-typeof-symbol-7.8.4.tgz", 751 | "integrity": "sha1-7eQGIxXOCq+KZXqSCFjxovNfxBI=", 752 | "dev": true, 753 | "requires": { 754 | "@babel/helper-plugin-utils": "^7.8.3" 755 | } 756 | }, 757 | "@babel/plugin-transform-unicode-regex": { 758 | "version": "7.8.3", 759 | "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-unicode-regex/download/@babel/plugin-transform-unicode-regex-7.8.3.tgz", 760 | "integrity": "sha1-DO8247pz5cVyc+/7GC9GuRoeyq0=", 761 | "dev": true, 762 | "requires": { 763 | "@babel/helper-create-regexp-features-plugin": "^7.8.3", 764 | "@babel/helper-plugin-utils": "^7.8.3" 765 | } 766 | }, 767 | "@babel/preset-env": { 768 | "version": "7.8.7", 769 | "resolved": "https://registry.npm.taobao.org/@babel/preset-env/download/@babel/preset-env-7.8.7.tgz", 770 | "integrity": "sha1-H8fYnH910tcMK2do3mwuBJs8uds=", 771 | "dev": true, 772 | "requires": { 773 | "@babel/compat-data": "^7.8.6", 774 | "@babel/helper-compilation-targets": "^7.8.7", 775 | "@babel/helper-module-imports": "^7.8.3", 776 | "@babel/helper-plugin-utils": "^7.8.3", 777 | "@babel/plugin-proposal-async-generator-functions": "^7.8.3", 778 | "@babel/plugin-proposal-dynamic-import": "^7.8.3", 779 | "@babel/plugin-proposal-json-strings": "^7.8.3", 780 | "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3", 781 | "@babel/plugin-proposal-object-rest-spread": "^7.8.3", 782 | "@babel/plugin-proposal-optional-catch-binding": "^7.8.3", 783 | "@babel/plugin-proposal-optional-chaining": "^7.8.3", 784 | "@babel/plugin-proposal-unicode-property-regex": "^7.8.3", 785 | "@babel/plugin-syntax-async-generators": "^7.8.0", 786 | "@babel/plugin-syntax-dynamic-import": "^7.8.0", 787 | "@babel/plugin-syntax-json-strings": "^7.8.0", 788 | "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0", 789 | "@babel/plugin-syntax-object-rest-spread": "^7.8.0", 790 | "@babel/plugin-syntax-optional-catch-binding": "^7.8.0", 791 | "@babel/plugin-syntax-optional-chaining": "^7.8.0", 792 | "@babel/plugin-syntax-top-level-await": "^7.8.3", 793 | "@babel/plugin-transform-arrow-functions": "^7.8.3", 794 | "@babel/plugin-transform-async-to-generator": "^7.8.3", 795 | "@babel/plugin-transform-block-scoped-functions": "^7.8.3", 796 | "@babel/plugin-transform-block-scoping": "^7.8.3", 797 | "@babel/plugin-transform-classes": "^7.8.6", 798 | "@babel/plugin-transform-computed-properties": "^7.8.3", 799 | "@babel/plugin-transform-destructuring": "^7.8.3", 800 | "@babel/plugin-transform-dotall-regex": "^7.8.3", 801 | "@babel/plugin-transform-duplicate-keys": "^7.8.3", 802 | "@babel/plugin-transform-exponentiation-operator": "^7.8.3", 803 | "@babel/plugin-transform-for-of": "^7.8.6", 804 | "@babel/plugin-transform-function-name": "^7.8.3", 805 | "@babel/plugin-transform-literals": "^7.8.3", 806 | "@babel/plugin-transform-member-expression-literals": "^7.8.3", 807 | "@babel/plugin-transform-modules-amd": "^7.8.3", 808 | "@babel/plugin-transform-modules-commonjs": "^7.8.3", 809 | "@babel/plugin-transform-modules-systemjs": "^7.8.3", 810 | "@babel/plugin-transform-modules-umd": "^7.8.3", 811 | "@babel/plugin-transform-named-capturing-groups-regex": "^7.8.3", 812 | "@babel/plugin-transform-new-target": "^7.8.3", 813 | "@babel/plugin-transform-object-super": "^7.8.3", 814 | "@babel/plugin-transform-parameters": "^7.8.7", 815 | "@babel/plugin-transform-property-literals": "^7.8.3", 816 | "@babel/plugin-transform-regenerator": "^7.8.7", 817 | "@babel/plugin-transform-reserved-words": "^7.8.3", 818 | "@babel/plugin-transform-shorthand-properties": "^7.8.3", 819 | "@babel/plugin-transform-spread": "^7.8.3", 820 | "@babel/plugin-transform-sticky-regex": "^7.8.3", 821 | "@babel/plugin-transform-template-literals": "^7.8.3", 822 | "@babel/plugin-transform-typeof-symbol": "^7.8.4", 823 | "@babel/plugin-transform-unicode-regex": "^7.8.3", 824 | "@babel/types": "^7.8.7", 825 | "browserslist": "^4.8.5", 826 | "core-js-compat": "^3.6.2", 827 | "invariant": "^2.2.2", 828 | "levenary": "^1.1.1", 829 | "semver": "^5.5.0" 830 | } 831 | }, 832 | "@babel/runtime": { 833 | "version": "7.8.7", 834 | "resolved": "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.8.7.tgz", 835 | "integrity": "sha1-j+/OmALbVIgbpZ+Quyhxm0mWMk0=", 836 | "dev": true, 837 | "requires": { 838 | "regenerator-runtime": "^0.13.4" 839 | } 840 | }, 841 | "@babel/template": { 842 | "version": "7.8.6", 843 | "resolved": "https://registry.npm.taobao.org/@babel/template/download/@babel/template-7.8.6.tgz", 844 | "integrity": "sha1-hrIq8V+CjfsIZHT5ZNzD45xDzis=", 845 | "dev": true, 846 | "requires": { 847 | "@babel/code-frame": "^7.8.3", 848 | "@babel/parser": "^7.8.6", 849 | "@babel/types": "^7.8.6" 850 | } 851 | }, 852 | "@babel/traverse": { 853 | "version": "7.8.6", 854 | "resolved": "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.8.6.tgz", 855 | "integrity": "sha1-rP4MZOHNmRs+MuroE6brVklUtf8=", 856 | "dev": true, 857 | "requires": { 858 | "@babel/code-frame": "^7.8.3", 859 | "@babel/generator": "^7.8.6", 860 | "@babel/helper-function-name": "^7.8.3", 861 | "@babel/helper-split-export-declaration": "^7.8.3", 862 | "@babel/parser": "^7.8.6", 863 | "@babel/types": "^7.8.6", 864 | "debug": "^4.1.0", 865 | "globals": "^11.1.0", 866 | "lodash": "^4.17.13" 867 | } 868 | }, 869 | "@babel/types": { 870 | "version": "7.8.7", 871 | "resolved": "https://registry.npm.taobao.org/@babel/types/download/@babel/types-7.8.7.tgz", 872 | "integrity": "sha1-H8lynhrLsjN9W2l3pjl5tIGfXR0=", 873 | "dev": true, 874 | "requires": { 875 | "esutils": "^2.0.2", 876 | "lodash": "^4.17.13", 877 | "to-fast-properties": "^2.0.0" 878 | } 879 | }, 880 | "@rollup/plugin-node-resolve": { 881 | "version": "6.1.0", 882 | "resolved": "https://registry.npm.taobao.org/@rollup/plugin-node-resolve/download/@rollup/plugin-node-resolve-6.1.0.tgz", 883 | "integrity": "sha1-DSkJ9L9gauNNQ6m8i+BqmwyFDPA=", 884 | "dev": true, 885 | "requires": { 886 | "@rollup/pluginutils": "^3.0.0", 887 | "@types/resolve": "0.0.8", 888 | "builtin-modules": "^3.1.0", 889 | "is-module": "^1.0.0", 890 | "resolve": "^1.11.1" 891 | } 892 | }, 893 | "@rollup/pluginutils": { 894 | "version": "3.0.8", 895 | "resolved": "https://registry.npm.taobao.org/@rollup/pluginutils/download/@rollup/pluginutils-3.0.8.tgz", 896 | "integrity": "sha1-TpTRKNlLkGmeUX7wRUIpYNGMj94=", 897 | "dev": true, 898 | "requires": { 899 | "estree-walker": "^1.0.1" 900 | } 901 | }, 902 | "@types/estree": { 903 | "version": "0.0.42", 904 | "resolved": "https://registry.npm.taobao.org/@types/estree/download/@types/estree-0.0.42.tgz", 905 | "integrity": "sha1-jQwfSAM57+2z5GBw4i3WPgQw3RE=", 906 | "dev": true 907 | }, 908 | "@types/node": { 909 | "version": "13.9.0", 910 | "resolved": "https://registry.npm.taobao.org/@types/node/download/@types/node-13.9.0.tgz", 911 | "integrity": "sha1-W27np3+qzd195xkBfQvBL1L4FYk=", 912 | "dev": true 913 | }, 914 | "@types/resolve": { 915 | "version": "0.0.8", 916 | "resolved": "https://registry.npm.taobao.org/@types/resolve/download/@types/resolve-0.0.8.tgz", 917 | "integrity": "sha1-8mB00jjgJlnjI84aE9BB7uKA4ZQ=", 918 | "dev": true, 919 | "requires": { 920 | "@types/node": "*" 921 | } 922 | }, 923 | "acorn": { 924 | "version": "7.1.1", 925 | "resolved": "https://registry.npm.taobao.org/acorn/download/acorn-7.1.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Facorn%2Fdownload%2Facorn-7.1.1.tgz", 926 | "integrity": "sha1-41Zo3gtALzWd5RXFSCoaufiaab8=", 927 | "dev": true 928 | }, 929 | "ansi-styles": { 930 | "version": "3.2.1", 931 | "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-3.2.1.tgz", 932 | "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", 933 | "dev": true, 934 | "requires": { 935 | "color-convert": "^1.9.0" 936 | } 937 | }, 938 | "babel-eslint": { 939 | "version": "10.1.0", 940 | "resolved": "https://registry.npm.taobao.org/babel-eslint/download/babel-eslint-10.1.0.tgz?cache=0&sync_timestamp=1582676223200&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-eslint%2Fdownload%2Fbabel-eslint-10.1.0.tgz", 941 | "integrity": "sha1-aWjlaKkQt4+zd5zdi2rC9HmUMjI=", 942 | "dev": true, 943 | "requires": { 944 | "@babel/code-frame": "^7.0.0", 945 | "@babel/parser": "^7.7.0", 946 | "@babel/traverse": "^7.7.0", 947 | "@babel/types": "^7.7.0", 948 | "eslint-visitor-keys": "^1.0.0", 949 | "resolve": "^1.12.0" 950 | } 951 | }, 952 | "babel-plugin-dynamic-import-node": { 953 | "version": "2.3.0", 954 | "resolved": "https://registry.npm.taobao.org/babel-plugin-dynamic-import-node/download/babel-plugin-dynamic-import-node-2.3.0.tgz", 955 | "integrity": "sha1-8A9Qe9qjw+P/bn5emNkKesq5b38=", 956 | "dev": true, 957 | "requires": { 958 | "object.assign": "^4.1.0" 959 | } 960 | }, 961 | "browserslist": { 962 | "version": "4.16.6", 963 | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz", 964 | "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==", 965 | "dev": true, 966 | "requires": { 967 | "caniuse-lite": "^1.0.30001219", 968 | "colorette": "^1.2.2", 969 | "electron-to-chromium": "^1.3.723", 970 | "escalade": "^3.1.1", 971 | "node-releases": "^1.1.71" 972 | }, 973 | "dependencies": { 974 | "caniuse-lite": { 975 | "version": "1.0.30001230", 976 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001230.tgz", 977 | "integrity": "sha512-5yBd5nWCBS+jWKTcHOzXwo5xzcj4ePE/yjtkZyUV1BTUmrBaA9MRGC+e7mxnqXSA90CmCA8L3eKLaSUkt099IQ==", 978 | "dev": true 979 | }, 980 | "electron-to-chromium": { 981 | "version": "1.3.739", 982 | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.739.tgz", 983 | "integrity": "sha512-+LPJVRsN7hGZ9EIUUiWCpO7l4E3qBYHNadazlucBfsXBbccDFNKUBAgzE68FnkWGJPwD/AfKhSzL+G+Iqb8A4A==", 984 | "dev": true 985 | }, 986 | "node-releases": { 987 | "version": "1.1.72", 988 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz", 989 | "integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==", 990 | "dev": true 991 | } 992 | } 993 | }, 994 | "builtin-modules": { 995 | "version": "3.1.0", 996 | "resolved": "https://registry.npm.taobao.org/builtin-modules/download/builtin-modules-3.1.0.tgz", 997 | "integrity": "sha1-qtl8FRMet2tltQ7yCOdYTNdqdIQ=", 998 | "dev": true 999 | }, 1000 | "chalk": { 1001 | "version": "2.4.2", 1002 | "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-2.4.2.tgz?cache=0&sync_timestamp=1573282918610&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-2.4.2.tgz", 1003 | "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", 1004 | "dev": true, 1005 | "requires": { 1006 | "ansi-styles": "^3.2.1", 1007 | "escape-string-regexp": "^1.0.5", 1008 | "supports-color": "^5.3.0" 1009 | } 1010 | }, 1011 | "color-convert": { 1012 | "version": "1.9.3", 1013 | "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-1.9.3.tgz", 1014 | "integrity": "sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=", 1015 | "dev": true, 1016 | "requires": { 1017 | "color-name": "1.1.3" 1018 | } 1019 | }, 1020 | "color-name": { 1021 | "version": "1.1.3", 1022 | "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.3.tgz", 1023 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", 1024 | "dev": true 1025 | }, 1026 | "colorette": { 1027 | "version": "1.2.2", 1028 | "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", 1029 | "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==", 1030 | "dev": true 1031 | }, 1032 | "convert-source-map": { 1033 | "version": "1.7.0", 1034 | "resolved": "https://registry.npm.taobao.org/convert-source-map/download/convert-source-map-1.7.0.tgz?cache=0&sync_timestamp=1573003637425&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fconvert-source-map%2Fdownload%2Fconvert-source-map-1.7.0.tgz", 1035 | "integrity": "sha1-F6LLiC1/d9NJBYXizmxSRCSjpEI=", 1036 | "dev": true, 1037 | "requires": { 1038 | "safe-buffer": "~5.1.1" 1039 | } 1040 | }, 1041 | "core-js-compat": { 1042 | "version": "3.6.4", 1043 | "resolved": "https://registry.npm.taobao.org/core-js-compat/download/core-js-compat-3.6.4.tgz?cache=0&sync_timestamp=1578957208980&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcore-js-compat%2Fdownload%2Fcore-js-compat-3.6.4.tgz", 1044 | "integrity": "sha1-k4R2Vp67bNqA0zm88Zn65PFv/xc=", 1045 | "dev": true, 1046 | "requires": { 1047 | "browserslist": "^4.8.3", 1048 | "semver": "7.0.0" 1049 | }, 1050 | "dependencies": { 1051 | "semver": { 1052 | "version": "7.0.0", 1053 | "resolved": "https://registry.npm.taobao.org/semver/download/semver-7.0.0.tgz?cache=0&sync_timestamp=1581458063470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-7.0.0.tgz", 1054 | "integrity": "sha1-XzyjV2HkfgWyBsba/yz4FPAxa44=", 1055 | "dev": true 1056 | } 1057 | } 1058 | }, 1059 | "debug": { 1060 | "version": "4.1.1", 1061 | "resolved": "https://registry.npm.taobao.org/debug/download/debug-4.1.1.tgz", 1062 | "integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=", 1063 | "dev": true, 1064 | "requires": { 1065 | "ms": "^2.1.1" 1066 | } 1067 | }, 1068 | "define-properties": { 1069 | "version": "1.1.3", 1070 | "resolved": "https://registry.npm.taobao.org/define-properties/download/define-properties-1.1.3.tgz", 1071 | "integrity": "sha1-z4jabL7ib+bbcJT2HYcMvYTO6fE=", 1072 | "dev": true, 1073 | "requires": { 1074 | "object-keys": "^1.0.12" 1075 | } 1076 | }, 1077 | "escalade": { 1078 | "version": "3.1.1", 1079 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 1080 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 1081 | "dev": true 1082 | }, 1083 | "escape-string-regexp": { 1084 | "version": "1.0.5", 1085 | "resolved": "https://registry.npm.taobao.org/escape-string-regexp/download/escape-string-regexp-1.0.5.tgz", 1086 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 1087 | "dev": true 1088 | }, 1089 | "eslint-visitor-keys": { 1090 | "version": "1.1.0", 1091 | "resolved": "https://registry.npm.taobao.org/eslint-visitor-keys/download/eslint-visitor-keys-1.1.0.tgz", 1092 | "integrity": "sha1-4qgs6oT/JGrW+1f5veW0ZiFFnsI=", 1093 | "dev": true 1094 | }, 1095 | "estree-walker": { 1096 | "version": "1.0.1", 1097 | "resolved": "https://registry.npm.taobao.org/estree-walker/download/estree-walker-1.0.1.tgz", 1098 | "integrity": "sha1-MbxdYSyWtwQQa0d+bdXYqhOMtwA=", 1099 | "dev": true 1100 | }, 1101 | "esutils": { 1102 | "version": "2.0.3", 1103 | "resolved": "https://registry.npm.taobao.org/esutils/download/esutils-2.0.3.tgz", 1104 | "integrity": "sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=", 1105 | "dev": true 1106 | }, 1107 | "function-bind": { 1108 | "version": "1.1.1", 1109 | "resolved": "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz", 1110 | "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=", 1111 | "dev": true 1112 | }, 1113 | "gensync": { 1114 | "version": "1.0.0-beta.1", 1115 | "resolved": "https://registry.npm.taobao.org/gensync/download/gensync-1.0.0-beta.1.tgz", 1116 | "integrity": "sha1-WPQ2H/mH5f9uHnohCCeqNx6qwmk=", 1117 | "dev": true 1118 | }, 1119 | "globals": { 1120 | "version": "11.12.0", 1121 | "resolved": "https://registry.npm.taobao.org/globals/download/globals-11.12.0.tgz", 1122 | "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=", 1123 | "dev": true 1124 | }, 1125 | "has-flag": { 1126 | "version": "3.0.0", 1127 | "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-3.0.0.tgz", 1128 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 1129 | "dev": true 1130 | }, 1131 | "has-symbols": { 1132 | "version": "1.0.1", 1133 | "resolved": "https://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.1.tgz", 1134 | "integrity": "sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg=", 1135 | "dev": true 1136 | }, 1137 | "invariant": { 1138 | "version": "2.2.4", 1139 | "resolved": "https://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz", 1140 | "integrity": "sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=", 1141 | "dev": true, 1142 | "requires": { 1143 | "loose-envify": "^1.0.0" 1144 | } 1145 | }, 1146 | "is-module": { 1147 | "version": "1.0.0", 1148 | "resolved": "https://registry.npm.taobao.org/is-module/download/is-module-1.0.0.tgz", 1149 | "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", 1150 | "dev": true 1151 | }, 1152 | "is-reference": { 1153 | "version": "1.1.4", 1154 | "resolved": "https://registry.npm.taobao.org/is-reference/download/is-reference-1.1.4.tgz", 1155 | "integrity": "sha1-P5WEmIbdtwJWo+bQYrGmjBPFFCc=", 1156 | "dev": true, 1157 | "requires": { 1158 | "@types/estree": "0.0.39" 1159 | }, 1160 | "dependencies": { 1161 | "@types/estree": { 1162 | "version": "0.0.39", 1163 | "resolved": "https://registry.npm.taobao.org/@types/estree/download/@types/estree-0.0.39.tgz", 1164 | "integrity": "sha1-4Xfmme4bjCLSMXTKqnQiZEOJUJ8=", 1165 | "dev": true 1166 | } 1167 | } 1168 | }, 1169 | "js-tokens": { 1170 | "version": "4.0.0", 1171 | "resolved": "https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz", 1172 | "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=", 1173 | "dev": true 1174 | }, 1175 | "jsesc": { 1176 | "version": "2.5.2", 1177 | "resolved": "https://registry.npm.taobao.org/jsesc/download/jsesc-2.5.2.tgz", 1178 | "integrity": "sha1-gFZNLkg9rPbo7yCWUKZ98/DCg6Q=", 1179 | "dev": true 1180 | }, 1181 | "json5": { 1182 | "version": "2.1.1", 1183 | "resolved": "https://registry.npm.taobao.org/json5/download/json5-2.1.1.tgz", 1184 | "integrity": "sha1-gbbLBOm6SW8ccAXQe0NoomOPkLY=", 1185 | "dev": true, 1186 | "requires": { 1187 | "minimist": "^1.2.0" 1188 | } 1189 | }, 1190 | "leven": { 1191 | "version": "3.1.0", 1192 | "resolved": "https://registry.npm.taobao.org/leven/download/leven-3.1.0.tgz", 1193 | "integrity": "sha1-d4kd6DQGTMy6gq54QrtrFKE+1/I=", 1194 | "dev": true 1195 | }, 1196 | "levenary": { 1197 | "version": "1.1.1", 1198 | "resolved": "https://registry.npm.taobao.org/levenary/download/levenary-1.1.1.tgz", 1199 | "integrity": "sha1-hCqe6Y0gdap/ru2+MmeekgX0b3c=", 1200 | "dev": true, 1201 | "requires": { 1202 | "leven": "^3.1.0" 1203 | } 1204 | }, 1205 | "lodash": { 1206 | "version": "4.17.21", 1207 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 1208 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", 1209 | "dev": true 1210 | }, 1211 | "loose-envify": { 1212 | "version": "1.4.0", 1213 | "resolved": "https://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz", 1214 | "integrity": "sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=", 1215 | "dev": true, 1216 | "requires": { 1217 | "js-tokens": "^3.0.0 || ^4.0.0" 1218 | } 1219 | }, 1220 | "magic-string": { 1221 | "version": "0.25.7", 1222 | "resolved": "https://registry.npm.taobao.org/magic-string/download/magic-string-0.25.7.tgz", 1223 | "integrity": "sha1-P0l9b9NMZpxnmNy4IfLvMfVEUFE=", 1224 | "dev": true, 1225 | "requires": { 1226 | "sourcemap-codec": "^1.4.4" 1227 | } 1228 | }, 1229 | "minimist": { 1230 | "version": "1.2.6", 1231 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", 1232 | "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", 1233 | "dev": true 1234 | }, 1235 | "ms": { 1236 | "version": "2.1.2", 1237 | "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz", 1238 | "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", 1239 | "dev": true 1240 | }, 1241 | "object-keys": { 1242 | "version": "1.1.1", 1243 | "resolved": "https://registry.npm.taobao.org/object-keys/download/object-keys-1.1.1.tgz", 1244 | "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4=", 1245 | "dev": true 1246 | }, 1247 | "object.assign": { 1248 | "version": "4.1.0", 1249 | "resolved": "https://registry.npm.taobao.org/object.assign/download/object.assign-4.1.0.tgz", 1250 | "integrity": "sha1-lovxEA15Vrs8oIbwBvhGs7xACNo=", 1251 | "dev": true, 1252 | "requires": { 1253 | "define-properties": "^1.1.2", 1254 | "function-bind": "^1.1.1", 1255 | "has-symbols": "^1.0.0", 1256 | "object-keys": "^1.0.11" 1257 | } 1258 | }, 1259 | "path-parse": { 1260 | "version": "1.0.7", 1261 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 1262 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1263 | "dev": true 1264 | }, 1265 | "private": { 1266 | "version": "0.1.8", 1267 | "resolved": "https://registry.npm.taobao.org/private/download/private-0.1.8.tgz", 1268 | "integrity": "sha1-I4Hts2ifelPWUxkAYPz4ItLzaP8=", 1269 | "dev": true 1270 | }, 1271 | "regenerate": { 1272 | "version": "1.4.0", 1273 | "resolved": "https://registry.npm.taobao.org/regenerate/download/regenerate-1.4.0.tgz", 1274 | "integrity": "sha1-SoVuxLVuQHfFV1icroXnpMiGmhE=", 1275 | "dev": true 1276 | }, 1277 | "regenerate-unicode-properties": { 1278 | "version": "8.1.0", 1279 | "resolved": "https://registry.npm.taobao.org/regenerate-unicode-properties/download/regenerate-unicode-properties-8.1.0.tgz", 1280 | "integrity": "sha1-71Hg8OpK1CS3e/fLQfPgFccKPw4=", 1281 | "dev": true, 1282 | "requires": { 1283 | "regenerate": "^1.4.0" 1284 | } 1285 | }, 1286 | "regenerator-runtime": { 1287 | "version": "0.13.4", 1288 | "resolved": "https://registry.npm.taobao.org/regenerator-runtime/download/regenerator-runtime-0.13.4.tgz?cache=0&sync_timestamp=1582505712016&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregenerator-runtime%2Fdownload%2Fregenerator-runtime-0.13.4.tgz", 1289 | "integrity": "sha1-6Wv2EqM2LRK7affo90/+qyXHrJE=", 1290 | "dev": true 1291 | }, 1292 | "regenerator-transform": { 1293 | "version": "0.14.2", 1294 | "resolved": "https://registry.npm.taobao.org/regenerator-transform/download/regenerator-transform-0.14.2.tgz?cache=0&sync_timestamp=1582478606855&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregenerator-transform%2Fdownload%2Fregenerator-transform-0.14.2.tgz", 1295 | "integrity": "sha1-lJ2dh0aP+I1afkc067mUqJLeH/I=", 1296 | "dev": true, 1297 | "requires": { 1298 | "@babel/runtime": "^7.8.4", 1299 | "private": "^0.1.8" 1300 | } 1301 | }, 1302 | "regexpu-core": { 1303 | "version": "4.6.0", 1304 | "resolved": "https://registry.npm.taobao.org/regexpu-core/download/regexpu-core-4.6.0.tgz", 1305 | "integrity": "sha1-IDfBizJ8/Oim/qKk7EQfJDKvuLY=", 1306 | "dev": true, 1307 | "requires": { 1308 | "regenerate": "^1.4.0", 1309 | "regenerate-unicode-properties": "^8.1.0", 1310 | "regjsgen": "^0.5.0", 1311 | "regjsparser": "^0.6.0", 1312 | "unicode-match-property-ecmascript": "^1.0.4", 1313 | "unicode-match-property-value-ecmascript": "^1.1.0" 1314 | } 1315 | }, 1316 | "regjsgen": { 1317 | "version": "0.5.1", 1318 | "resolved": "https://registry.npm.taobao.org/regjsgen/download/regjsgen-0.5.1.tgz", 1319 | "integrity": "sha1-SPC/Gl6iBRlpKcDZeYtC0e2YRDw=", 1320 | "dev": true 1321 | }, 1322 | "regjsparser": { 1323 | "version": "0.6.3", 1324 | "resolved": "https://registry.npm.taobao.org/regjsparser/download/regjsparser-0.6.3.tgz", 1325 | "integrity": "sha1-dBksWAXTXp9evjwftbQNQKijhGA=", 1326 | "dev": true, 1327 | "requires": { 1328 | "jsesc": "~0.5.0" 1329 | }, 1330 | "dependencies": { 1331 | "jsesc": { 1332 | "version": "0.5.0", 1333 | "resolved": "https://registry.npm.taobao.org/jsesc/download/jsesc-0.5.0.tgz", 1334 | "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", 1335 | "dev": true 1336 | } 1337 | } 1338 | }, 1339 | "require-relative": { 1340 | "version": "0.8.7", 1341 | "resolved": "https://registry.npm.taobao.org/require-relative/download/require-relative-0.8.7.tgz", 1342 | "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=", 1343 | "dev": true 1344 | }, 1345 | "resolve": { 1346 | "version": "1.15.1", 1347 | "resolved": "https://registry.npm.taobao.org/resolve/download/resolve-1.15.1.tgz", 1348 | "integrity": "sha1-J73N7/6vLWJEuVuw+fS0ZTRR8+g=", 1349 | "dev": true, 1350 | "requires": { 1351 | "path-parse": "^1.0.6" 1352 | } 1353 | }, 1354 | "rollup": { 1355 | "version": "1.32.1", 1356 | "resolved": "https://registry.npm.taobao.org/rollup/download/rollup-1.32.1.tgz?cache=0&sync_timestamp=1583823900014&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frollup%2Fdownload%2Frollup-1.32.1.tgz", 1357 | "integrity": "sha1-RIDlLZ2eKuS0a6DZ3erzFjlA+cQ=", 1358 | "dev": true, 1359 | "requires": { 1360 | "@types/estree": "*", 1361 | "@types/node": "*", 1362 | "acorn": "^7.1.0" 1363 | } 1364 | }, 1365 | "rollup-plugin-babel": { 1366 | "version": "4.4.0", 1367 | "resolved": "https://registry.npm.taobao.org/rollup-plugin-babel/download/rollup-plugin-babel-4.4.0.tgz", 1368 | "integrity": "sha1-0VvSWUZqnRrMvbL+L/8XxS0DCss=", 1369 | "dev": true, 1370 | "requires": { 1371 | "@babel/helper-module-imports": "^7.0.0", 1372 | "rollup-pluginutils": "^2.8.1" 1373 | } 1374 | }, 1375 | "rollup-plugin-commonjs": { 1376 | "version": "10.1.0", 1377 | "resolved": "https://registry.npm.taobao.org/rollup-plugin-commonjs/download/rollup-plugin-commonjs-10.1.0.tgz", 1378 | "integrity": "sha1-QXrztUUDh44ITRJ6300cr4vrhvs=", 1379 | "dev": true, 1380 | "requires": { 1381 | "estree-walker": "^0.6.1", 1382 | "is-reference": "^1.1.2", 1383 | "magic-string": "^0.25.2", 1384 | "resolve": "^1.11.0", 1385 | "rollup-pluginutils": "^2.8.1" 1386 | }, 1387 | "dependencies": { 1388 | "estree-walker": { 1389 | "version": "0.6.1", 1390 | "resolved": "https://registry.npm.taobao.org/estree-walker/download/estree-walker-0.6.1.tgz", 1391 | "integrity": "sha1-UwSRQ/QMbrkYsjZx0f4yGfOhs2I=", 1392 | "dev": true 1393 | } 1394 | } 1395 | }, 1396 | "rollup-plugin-svelte": { 1397 | "version": "5.1.1", 1398 | "resolved": "https://registry.npm.taobao.org/rollup-plugin-svelte/download/rollup-plugin-svelte-5.1.1.tgz", 1399 | "integrity": "sha1-AJT5Tn5v91ebzZ93abRUdRumcOE=", 1400 | "dev": true, 1401 | "requires": { 1402 | "require-relative": "^0.8.7", 1403 | "rollup-pluginutils": "^2.3.3", 1404 | "sourcemap-codec": "^1.4.4" 1405 | } 1406 | }, 1407 | "rollup-pluginutils": { 1408 | "version": "2.8.2", 1409 | "resolved": "https://registry.npm.taobao.org/rollup-pluginutils/download/rollup-pluginutils-2.8.2.tgz", 1410 | "integrity": "sha1-cvKvB0i1kjZNvTOJ5gDlqURKNR4=", 1411 | "dev": true, 1412 | "requires": { 1413 | "estree-walker": "^0.6.1" 1414 | }, 1415 | "dependencies": { 1416 | "estree-walker": { 1417 | "version": "0.6.1", 1418 | "resolved": "https://registry.npm.taobao.org/estree-walker/download/estree-walker-0.6.1.tgz", 1419 | "integrity": "sha1-UwSRQ/QMbrkYsjZx0f4yGfOhs2I=", 1420 | "dev": true 1421 | } 1422 | } 1423 | }, 1424 | "safe-buffer": { 1425 | "version": "5.1.2", 1426 | "resolved": "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz", 1427 | "integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0=", 1428 | "dev": true 1429 | }, 1430 | "semver": { 1431 | "version": "5.7.1", 1432 | "resolved": "https://registry.npm.taobao.org/semver/download/semver-5.7.1.tgz?cache=0&sync_timestamp=1581458063470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-5.7.1.tgz", 1433 | "integrity": "sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=", 1434 | "dev": true 1435 | }, 1436 | "source-map": { 1437 | "version": "0.5.7", 1438 | "resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz?cache=0&sync_timestamp=1571657176668&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsource-map%2Fdownload%2Fsource-map-0.5.7.tgz", 1439 | "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", 1440 | "dev": true 1441 | }, 1442 | "sourcemap-codec": { 1443 | "version": "1.4.8", 1444 | "resolved": "https://registry.npm.taobao.org/sourcemap-codec/download/sourcemap-codec-1.4.8.tgz", 1445 | "integrity": "sha1-6oBL2UhXQC5pktBaOO8a41qatMQ=", 1446 | "dev": true 1447 | }, 1448 | "supports-color": { 1449 | "version": "5.5.0", 1450 | "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-5.5.0.tgz", 1451 | "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", 1452 | "dev": true, 1453 | "requires": { 1454 | "has-flag": "^3.0.0" 1455 | } 1456 | }, 1457 | "svelte": { 1458 | "version": "3.49.0", 1459 | "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.49.0.tgz", 1460 | "integrity": "sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==", 1461 | "dev": true 1462 | }, 1463 | "to-fast-properties": { 1464 | "version": "2.0.0", 1465 | "resolved": "https://registry.npm.taobao.org/to-fast-properties/download/to-fast-properties-2.0.0.tgz?cache=0&sync_timestamp=1580550317222&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fto-fast-properties%2Fdownload%2Fto-fast-properties-2.0.0.tgz", 1466 | "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", 1467 | "dev": true 1468 | }, 1469 | "unicode-canonical-property-names-ecmascript": { 1470 | "version": "1.0.4", 1471 | "resolved": "https://registry.npm.taobao.org/unicode-canonical-property-names-ecmascript/download/unicode-canonical-property-names-ecmascript-1.0.4.tgz", 1472 | "integrity": "sha1-JhmADEyCWADv3YNDr33Zkzy+KBg=", 1473 | "dev": true 1474 | }, 1475 | "unicode-match-property-ecmascript": { 1476 | "version": "1.0.4", 1477 | "resolved": "https://registry.npm.taobao.org/unicode-match-property-ecmascript/download/unicode-match-property-ecmascript-1.0.4.tgz", 1478 | "integrity": "sha1-jtKjJWmWG86SJ9Cc0/+7j+1fAgw=", 1479 | "dev": true, 1480 | "requires": { 1481 | "unicode-canonical-property-names-ecmascript": "^1.0.4", 1482 | "unicode-property-aliases-ecmascript": "^1.0.4" 1483 | } 1484 | }, 1485 | "unicode-match-property-value-ecmascript": { 1486 | "version": "1.1.0", 1487 | "resolved": "https://registry.npm.taobao.org/unicode-match-property-value-ecmascript/download/unicode-match-property-value-ecmascript-1.1.0.tgz", 1488 | "integrity": "sha1-W0tCbgjROoA2Xg1lesemwexGonc=", 1489 | "dev": true 1490 | }, 1491 | "unicode-property-aliases-ecmascript": { 1492 | "version": "1.0.5", 1493 | "resolved": "https://registry.npm.taobao.org/unicode-property-aliases-ecmascript/download/unicode-property-aliases-ecmascript-1.0.5.tgz", 1494 | "integrity": "sha1-qcxsx85joKMCP8meNBuUQx1AWlc=", 1495 | "dev": true 1496 | } 1497 | } 1498 | } 1499 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "praecox-datepicker", 3 | "svelte": "src/index.js", 4 | "module": "dist/index.mjs", 5 | "main": "dist/index.js", 6 | "version": "1.1.6", 7 | "description": "A component for Svelte apps", 8 | "scripts": { 9 | "build": "rollup -c", 10 | "prepublishOnly": "npm run build" 11 | }, 12 | "devDependencies": { 13 | "@babel/core": "^7.4.4", 14 | "@babel/preset-env": "^7.4.4", 15 | "@rollup/plugin-node-resolve": "^6.0.0", 16 | "babel-eslint": "^10.0.2", 17 | "rollup": "^1.20.0", 18 | "rollup-plugin-commonjs": "^10.0.0", 19 | "rollup-plugin-babel": "^4.3.2", 20 | "rollup-plugin-svelte": "^5.0.0", 21 | "svelte": "^3.0.0" 22 | }, 23 | "author": "runningzs", 24 | "license": "MIT", 25 | "keywords": [ 26 | "svelte", 27 | "datepicker", 28 | "svelte-components" 29 | ], 30 | "files": [ 31 | "src", 32 | "dist" 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- 1 | import svelte from 'rollup-plugin-svelte'; 2 | import resolve from '@rollup/plugin-node-resolve'; 3 | import pkg from './package.json'; 4 | 5 | 6 | const name = pkg.name 7 | .replace(/^(@\S+\/)?(svelte-)?(\S+)/, '$3') 8 | .replace(/^\w/, m => m.toUpperCase()) 9 | .replace(/-\w/g, m => m[1].toUpperCase()); 10 | 11 | export default { 12 | input: 'src/index.js', 13 | output: [ 14 | { file: pkg.module, 'format': 'es' }, 15 | { file: pkg.main, 'format': 'umd', name } 16 | ], 17 | plugins: [ 18 | svelte({ 19 | customElement: true 20 | }), 21 | resolve() 22 | ] 23 | }; 24 | -------------------------------------------------------------------------------- /src/@icons/ArrowBack.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {#if pattern === 'outline'} 6 | 7 | 8 | 9 | 10 | 15 | 16 | 17 | 18 | {:else if pattern === 'fill'} 19 | 20 | 21 | 22 | 23 | 28 | 29 | 30 | 31 | {/if} 32 | -------------------------------------------------------------------------------- /src/@icons/ArrowForward.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {#if pattern === 'outline'} 6 | 7 | 8 | 9 | 14 | 19 | 20 | 21 | 22 | {:else if pattern === 'fill'} 23 | 24 | 25 | 26 | 31 | 36 | 37 | 38 | 39 | {/if} 40 | -------------------------------------------------------------------------------- /src/@icons/ArrowIosForward.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {#if pattern === 'outline'} 6 | 7 | 8 | 9 | 14 | 18 | 19 | 20 | 21 | {:else if pattern === 'fill'} 22 | 23 | 24 | 25 | 26 | 29 | 30 | 31 | 32 | {/if} 33 | -------------------------------------------------------------------------------- /src/@icons/Checkmark.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | {#if pattern === 'outline'} 6 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | 16 | {:else if pattern === 'fill'} 17 | 18 | 19 | 20 | 21 | 24 | 25 | 26 | 27 | {/if} 28 | -------------------------------------------------------------------------------- /src/Calendar.svelte: -------------------------------------------------------------------------------- 1 | 25 | 26 | 165 | 166 |
167 |
168 | 169 | 170 |
171 |
172 | 173 | 271 | -------------------------------------------------------------------------------- /src/Selector/FinishBtn.svelte: -------------------------------------------------------------------------------- 1 | 15 | 16 | 52 | 53 |
57 |
58 | 59 |
60 |
61 | -------------------------------------------------------------------------------- /src/Selector/MonthTitle.svelte: -------------------------------------------------------------------------------- 1 | 18 | 19 | 78 | 79 | {#if $praecoxCalendar.flag} 80 |
81 |
82 |
85 | {#if $praecoxCalendar.view === 'month'} 86 | {noun[$praecoxCalendar.lang][$praecoxCalendar.monthName][new Date($praecoxCalendar.viewDate).getMonth()] + ' ' + new Date($praecoxCalendar.viewDate).getFullYear()} 87 | {:else if $praecoxCalendar.view === 'year'} 88 | {new Date($praecoxCalendar.viewDate).getFullYear()} 89 | {:else if $praecoxCalendar.view === 'multi-years'} 90 | {`${new Date($praecoxCalendar.viewDate).getFullYear()} - ${+new Date($praecoxCalendar.viewDate).getFullYear() + 11}`} 91 | {/if} 92 |
93 |
94 |
95 | {:else} 96 |
97 |
98 |
101 | {#if $praecoxCalendar.view === 'month'} 102 | {noun[$praecoxCalendar.lang][$praecoxCalendar.monthName][new Date($praecoxCalendar.viewDate).getMonth()] + ' ' + new Date($praecoxCalendar.viewDate).getFullYear()} 103 | {:else if $praecoxCalendar.view === 'year'} 104 | {new Date($praecoxCalendar.viewDate).getFullYear()} 105 | {:else if $praecoxCalendar.view === 'multi-years'} 106 | {`${new Date($praecoxCalendar.viewDate).getFullYear()} - ${+new Date($praecoxCalendar.viewDate).getFullYear() + 11}`} 107 | {/if} 108 |
109 |
110 |
111 | {/if} 112 | -------------------------------------------------------------------------------- /src/Selector/Next.svelte: -------------------------------------------------------------------------------- 1 | 30 | 31 |
36 |
37 | 38 |
39 |
40 | 41 | 77 | -------------------------------------------------------------------------------- /src/Selector/Prev.svelte: -------------------------------------------------------------------------------- 1 | 30 | 31 |
36 |
37 | 38 |
39 |
40 | 41 | 77 | -------------------------------------------------------------------------------- /src/Selector/Selector.svelte: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | {#if $praecoxCalendarData.finishBtn} 18 | 19 | {/if} 20 |
21 | 22 | 35 | -------------------------------------------------------------------------------- /src/body/CalendarBody.svelte: -------------------------------------------------------------------------------- 1 | 14 | 15 | 62 | 63 |
69 | {#if $praecoxCalendarData.view == 'month'} 70 | {#if $praecoxCalendarData.flag} 71 | 75 | 76 | 77 | {#each monthData as item, i} 78 | 79 | {/each} 80 | 81 | 82 | {:else} 83 | 87 | 88 | 89 | {#each monthData as item, i} 90 | 91 | {/each} 92 | 93 | 94 | {/if} 95 | {:else if $praecoxCalendarData.view == 'year'} 96 | {#if $praecoxCalendarData.flag} 97 | 101 | 102 | 103 | 104 | 105 | {:else} 106 | 110 | 111 | 112 | 113 | 114 | {/if} 115 | {:else if $praecoxCalendarData.view == 'multi-years'} 116 | {#if $praecoxCalendarData.flag} 117 | 121 | 122 | 123 | 124 | 125 | {:else} 126 | 130 | 131 | 132 | 133 | 134 | {/if} 135 | {/if} 136 |
137 | -------------------------------------------------------------------------------- /src/body/CalendarBodyDay.svelte: -------------------------------------------------------------------------------- 1 | 117 | 118 | 366 | 367 | 374 | 390 | {dayLabel} 391 | 392 | 393 | -------------------------------------------------------------------------------- /src/body/CalendarBodyHead.svelte: -------------------------------------------------------------------------------- 1 | 8 | 9 | 52 | 53 | 54 | 55 | {#each weekNames as item} 56 | 57 | {item} 58 | 59 | {/each} 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/body/CalendarBodyMultiYears.svelte: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | {#each yearList as item, _i} 28 | {#if _i < 3} 29 | pickYear(item)}> 30 | 37 | {item} 38 | 39 | 40 | {/if} 41 | {/each} 42 | 43 | 44 | {#each yearList as item, _i} 45 | {#if _i >= 3 && _i < 6} 46 | pickYear(item)}> 47 | 54 | {item} 55 | 56 | 57 | {/if} 58 | {/each} 59 | 60 | 61 | {#each yearList as item, _i} 62 | {#if _i >= 6 && _i < 9} 63 | pickYear(item)}> 64 | 71 | {item} 72 | 73 | 74 | {/if} 75 | {/each} 76 | 77 | 78 | 117 | -------------------------------------------------------------------------------- /src/body/CalendarBodyWeek.svelte: -------------------------------------------------------------------------------- 1 | 90 | 91 | 92 | {#each week as item} 93 | 99 | {/each} 100 | 101 | 102 | 114 | -------------------------------------------------------------------------------- /src/body/CalendarBodyYear.svelte: -------------------------------------------------------------------------------- 1 | 24 | 25 | 26 | {#each monthList as item, i} 27 | {#if i < 3} 28 | pickMonth(i)}> 29 | 34 | {item} 35 | 36 | 37 | {/if} 38 | {/each} 39 | 40 | 41 | 42 | {#each monthList as item, i} 43 | {#if i >= 3 && i < 6} 44 | pickMonth(i)}> 45 | 50 | {item} 51 | 52 | 53 | {/if} 54 | {/each} 55 | 56 | 57 | {#each monthList as item, i} 58 | {#if i >= 6 && i < 9} 59 | pickMonth(i)}> 60 | 65 | {item} 66 | 67 | 68 | {/if} 69 | {/each} 70 | 71 | 72 | {#each monthList as item, i} 73 | {#if i >= 9 && i < 12} 74 | pickMonth(i)}> 75 | 80 | {item} 81 | 82 | 83 | {/if} 84 | {/each} 85 | 86 | 87 | 145 | -------------------------------------------------------------------------------- /src/calendar.js: -------------------------------------------------------------------------------- 1 | //Solar month of 31 days. 2 | const SOLAR_MONTH_OF_31_DAYS = [1, 3, 5, 7, 8, 10, 12]; 3 | 4 | /** 5 | * The day of the week. 6 | * @param {Date} n 7 | * @returns {number} 8 | */ 9 | export function theDayOfTheWeek(n) { 10 | let d = new Date(n).getDay(); 11 | 12 | return d === 0 ? 7 : d; 13 | } 14 | 15 | /** 16 | * Format date stamp. 17 | * @param {Date} n 18 | * @param {string} f 19 | * @returns {string} 20 | */ 21 | export function formatDatestamp(n, f) { 22 | let d = new Date(n); 23 | let ty = d.getFullYear(); 24 | let tm = d.getMonth() + 1; 25 | let td = d.getDate(); 26 | let th = d.getHours(); 27 | let tmin = d.getMinutes(); 28 | let tse = d.getSeconds(); 29 | 30 | let r = `${ty}-${tm}-${td}`; 31 | if (isNaN(d)) { 32 | return "" 33 | } 34 | switch (f) { 35 | case "ISO8601": 36 | r = `${ty}-${tm}-${td}T${th}:${tmin}:${tse}Z`; 37 | break; 38 | case "mm-yyyy" || "MM-YYYY": 39 | r = `${tm}-${ty}`; 40 | break; 41 | case "dd/mm/yy" || "DD/MM/YY": 42 | r = `${td}/${tm}/${ty.toString().slice(-2)}`; 43 | break; 44 | case "yyyy-mm-dd" || "YYYY-MM-DD": 45 | r = `${ty}-${tm}-${td}`; 46 | break; 47 | case "dd.mm.yyyy" || "DD.MM.YYYY": 48 | r = `${td}.${tm}.${ty}`; 49 | break; 50 | case "dd/mm/yyyy" || "DD/MM/YYYY": 51 | r = `${td}/${tm}/${ty}`; 52 | break; 53 | case "yyyy-mm-dd" || "YYYY-MM-DD": 54 | r = `${ty}-${tm}-${td}`; 55 | break; 56 | case "dd-mm-yy" || "DD-MM-YY": 57 | r = `${td}-${tm}-${ty.toString().slice(-2)}`; 58 | break; 59 | case "mm-dd-yy" || "MM-DD-YY": 60 | r = `${tm}-${td}-${ty.toString().slice(-2)}`; 61 | break; 62 | default: 63 | r = `${ty}-${tm}-${td}`; 64 | break; 65 | } 66 | return r; 67 | } 68 | 69 | /** 70 | * Test solar month of 31 days. 71 | * @param {number} m 72 | * @returns {boolean} 73 | */ 74 | export function testSolarMonthOf31Days(m) { 75 | return !!~SOLAR_MONTH_OF_31_DAYS.indexOf(m); 76 | } 77 | 78 | /** 79 | * Test leap year. 80 | * @param {number} y 81 | * @returns {boolean} 82 | */ 83 | export function testLeapYear(y) { 84 | return (y % 4 == 0 && y % 100 != 0) || y % 400 == 0; 85 | } 86 | 87 | /** 88 | * Determine the number of days in the month. 89 | * @param {number} y 90 | * @param {number} m 91 | * @returns {number} 92 | */ 93 | export function testDaysInTheMonth(y, m) { 94 | let d = NaN; 95 | if (testLeapYear(y) && m === 2) { 96 | d = 29; 97 | } else if (m === 2) { 98 | d = 28; 99 | } else if (testSolarMonthOf31Days(m)) { 100 | d = 31; 101 | } else { 102 | d = 30; 103 | } 104 | return d; 105 | } 106 | 107 | /** 108 | * Get the year and month of the prev month. 109 | * @param {number} y 110 | * @param {number} m 111 | * @returns { [py:number, pm:number] } 112 | */ 113 | export function getPrevYearAndMonth(y, m) { 114 | let py = NaN; 115 | let pm = NaN; 116 | if (m !== 1) { 117 | pm = m - 1; 118 | py = y; 119 | } else { 120 | pm = 12; 121 | py = y - 1; 122 | } 123 | return [py, pm]; 124 | } 125 | 126 | /** 127 | * Get the year and month of the next month. 128 | * @param {number} y 129 | * @param {number} m 130 | * @returns { [ny:number, nm:number] } 131 | */ 132 | export function getNextYearAndMonth(y, m) { 133 | let ny = NaN; 134 | let nm = NaN; 135 | if (m !== 12) { 136 | nm = m + 1; 137 | ny = y; 138 | } else { 139 | nm = 1; 140 | ny = y + 1; 141 | } 142 | return [ny, nm]; 143 | } 144 | 145 | /** 146 | * Calculate how many weeks there are in this month 147 | * @param {Date} n 148 | * @returns { number } 149 | */ 150 | export function thisMonthHasManyWeek(n) { 151 | let td = new Date(n); 152 | let ty = td.getFullYear(); 153 | let tm = td.getMonth() + 1; 154 | let dotw = theDayOfTheWeek(`${ty}-${tm}-1`); 155 | let days = testDaysInTheMonth(ty, tm); 156 | let firstWeekDays = 8 - dotw; 157 | let weekNum = Math.ceil((days - firstWeekDays) / 7 + 1); 158 | return weekNum; 159 | } 160 | 161 | /** 162 | * Get date data for the first week of the month 163 | * @param {Date} n 164 | * @returns { Array } 165 | */ 166 | export function getFirstWeekOfTheMonth(n) { 167 | let td = new Date(n); 168 | let ty = td.getFullYear(); 169 | let tm = td.getMonth() + 1; 170 | let dotw = theDayOfTheWeek(`${ty}-${tm}-1`); 171 | let [py, pm] = getPrevYearAndMonth(ty, tm); 172 | let pmd = testDaysInTheMonth(py, pm); 173 | let firstWeekList = []; 174 | firstWeekList.length = 7; 175 | let i = 8 - dotw; 176 | let times = dotw - 2; 177 | for (let index = 0; index < firstWeekList.length; index++) { 178 | firstWeekList[index] = new Date(py == ty ? ty : ty - 1, tm == 1 ? 11 : tm, pmd - times); 179 | times--; 180 | } 181 | for (let j = 0; j < i; j++) { 182 | firstWeekList[7 - i + j] = new Date(ty, tm - 1, j + 1); 183 | } 184 | return firstWeekList; 185 | } 186 | 187 | /** 188 | * Get date data for the mid week of the month 189 | * @param {Date} n 190 | * @param {boolean} s 191 | * @returns { Array } 192 | */ 193 | export function getMidWeekOfTheMonth(n, s) { 194 | let td = new Date(+n + 24 * 60 * 60 * 1000); 195 | let ty = td.getFullYear(); 196 | let tm = td.getMonth(); 197 | let d = td.getDate(); 198 | let midWeekList = []; 199 | midWeekList.length = 7; 200 | for (let index = 0; index < midWeekList.length; index++) { 201 | if (s && tm == 11) { 202 | midWeekList[index] = new Date(ty + 1, 1, d + index); 203 | } else { 204 | midWeekList[index] = new Date(ty, tm, d + index); 205 | } 206 | } 207 | return midWeekList; 208 | } 209 | 210 | /** 211 | * Get date data for the last week of the month 212 | * @param {Date} n 213 | * @returns { Array } 214 | */ 215 | export function getLastWeekOfTheMonth(n) { 216 | let td = new Date(+n + 24 * 60 * 60 * 1000); 217 | let ty = td.getFullYear(); 218 | let tm = td.getMonth() + 1; 219 | let d = td.getDate(); 220 | let [ny, nm] = getNextYearAndMonth(ty, tm); 221 | let lastWeekList = []; 222 | let cmd = testDaysInTheMonth(ty, tm); 223 | let times = cmd - d + 1; 224 | for (let index = 0; index < times; index++) { 225 | lastWeekList[index] = new Date(ty, tm - 1, d + index); 226 | } 227 | for (let index = 0; index < 7 - times; index++) { 228 | lastWeekList[+times + index] = new Date(ny == ty ? ty : ty + 1, nm == 1 ? 0 : tm, index + 1); 229 | } 230 | lastWeekList.length = 7; 231 | return lastWeekList; 232 | } 233 | 234 | /** 235 | * Get weekly data for the month of the specified date. 236 | * @param {Date} n 237 | * @returns { Array } 238 | */ 239 | export function getThisMonthData(n) { 240 | let td = new Date(n); 241 | let ty = td.getFullYear(); 242 | let tm = td.getMonth() + 1; 243 | let d = td.getDate(); 244 | let [ny, nm] = getNextYearAndMonth(ty, tm); 245 | let cmd = testDaysInTheMonth(ty, tm); 246 | //The first week 247 | let theFirstWeek = getFirstWeekOfTheMonth(n); 248 | //The second week 249 | let theSecondWeek = getMidWeekOfTheMonth(theFirstWeek[6]); 250 | //The third week 251 | let theThirdWeek = getMidWeekOfTheMonth(theSecondWeek[6]); 252 | //The fourth week 253 | let theFourthWeek = getMidWeekOfTheMonth(theThirdWeek[6]); 254 | //The fifth week 255 | let fifthWeek; 256 | let hasSixthWeek; 257 | switch (true) { 258 | case cmd - new Date(theFourthWeek[6]).getDate() === 7: 259 | fifthWeek = getLastWeekOfTheMonth(theFourthWeek[6]); 260 | hasSixthWeek = true; 261 | break; 262 | case cmd - new Date(theFourthWeek[6]).getDate() > 7: 263 | fifthWeek = getMidWeekOfTheMonth(theFourthWeek[6]); 264 | hasSixthWeek = true; 265 | break; 266 | default: 267 | fifthWeek = getLastWeekOfTheMonth(theFourthWeek[6]); 268 | hasSixthWeek = false; 269 | break; 270 | } 271 | //The sixth week 272 | let sixthWeek = hasSixthWeek ? getLastWeekOfTheMonth(fifthWeek[6]) : getMidWeekOfTheMonth(fifthWeek[6], tm !== 11); 273 | return [theFirstWeek, theSecondWeek, theThirdWeek, theFourthWeek, fifthWeek, sixthWeek]; 274 | } -------------------------------------------------------------------------------- /src/fix-date.js: -------------------------------------------------------------------------------- 1 | //Safari Date function polyfill 2 | !(function (_Date) { 3 | function standardizeArgs(args) { 4 | if (args.length === 1 && typeof args[0] === "string" && isNaN(_Date.parse(args[0]))) { 5 | args[0] = args[0].replace(/-/g, "/"); 6 | } 7 | return Array.prototype.slice.call(args); 8 | } 9 | 10 | function $Date() { 11 | if (this instanceof $Date) { 12 | return new (Function.prototype.bind.apply(_Date, [null].concat(standardizeArgs(arguments))))(); 13 | } 14 | return _Date(); 15 | } 16 | $Date.prototype = _Date.prototype; 17 | 18 | $Date.now = _Date.now; 19 | $Date.UTC = _Date.UTC; 20 | $Date.parse = function () { 21 | return _Date.parse.apply(_Date, standardizeArgs(arguments)); 22 | }; 23 | 24 | Date = $Date; 25 | })(Date); 26 | -------------------------------------------------------------------------------- /src/i18n/index.js: -------------------------------------------------------------------------------- 1 | import noun from "./noun.js"; 2 | 3 | export default noun; 4 | -------------------------------------------------------------------------------- /src/i18n/noun.js: -------------------------------------------------------------------------------- 1 | export default { 2 | zh: { 3 | weekShortAbbreviation: ["一", "二", "三", "四", "五", "六", "日"], 4 | weekAbbreviation: ["周一", "周二", "周三", "周四", "周五", "周六", "周日"], 5 | weekFullName: ["星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 6 | monthAbbreviation: ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"], 7 | monthFullName: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 8 | today: "今天", 9 | doneName: "完成", 10 | prevName: "上一页", 11 | nextName:"下一页" 12 | }, 13 | es: { 14 | weekShortAbbreviation: ["L", "M", "W", "J", "V", "S", "D"], 15 | weekAbbreviation: ["Lun", "Mar", "Mie", "Jue", "Vie", "Sab", "Dom"], 16 | weekFullName: ["Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado", "Domingo"], 17 | monthAbbreviation: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sept", "Oct", "Nov", "Dic"], 18 | monthFullName: [ 19 | "Enero", 20 | "Febrero", 21 | "Marzo", 22 | "Abril", 23 | "Mayo", 24 | "Junio", 25 | "Julio", 26 | "Agosto", 27 | "Septiembre", 28 | "Octubre", 29 | "Noviembre", 30 | "Deciembre", 31 | ], 32 | today: "Hoy", 33 | doneName: "Listo", 34 | prevName: "Ant", 35 | nextName:"Sig" 36 | }, 37 | en: { 38 | weekShortAbbreviation: ["M", "T", "W", "T", "F", "S", "S"], 39 | weekAbbreviation: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], 40 | weekFullName: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], 41 | monthAbbreviation: ["Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec"], 42 | monthFullName: [ 43 | "January", 44 | "February", 45 | "March", 46 | "April", 47 | "May", 48 | "June", 49 | "July", 50 | "August", 51 | "September", 52 | "October", 53 | "November", 54 | "December", 55 | ], 56 | today: "Today", 57 | doneName: "Done", 58 | prevName: "Prev", 59 | nextName:"Next" 60 | }, 61 | ru: { 62 | weekShortAbbreviation: ["П", "В", "С", "Ч", "П", "С", "В"], 63 | weekAbbreviation: ["Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"], 64 | weekFullName: ["Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"], 65 | monthAbbreviation: ["Янв", "Фев", "Март", "Апр", "Май", "Июнь", "Июль", "Авг", "Сен", "Окт", "Ноя", "Дек"], 66 | monthFullName: [ 67 | "Январь", 68 | "Февраль", 69 | "Март", 70 | "Апрель", 71 | "Май", 72 | "Июнь", 73 | "Июль", 74 | "Август", 75 | "Сентябрь", 76 | "Октябрь", 77 | "Ноябрь", 78 | "Декабрь", 79 | ], 80 | today: "Сегодня", 81 | doneName: "Готово", 82 | prevName: "Назад", 83 | nextName:"Вперед" 84 | }, 85 | de: { 86 | weekShortAbbreviation: ["M", "D", "M", "D", "F", "S", "S"], 87 | weekAbbreviation: ["Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"], 88 | weekFullName: ["Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"], 89 | monthAbbreviation: ["Jan", "Feb", "März", "Apr", "Mai", "Juni", "July", "Aug", "Sept", "Okt", "Nov", "Dez"], 90 | monthFullName: [ 91 | "Januar", 92 | "Februar", 93 | "März", 94 | "April", 95 | "Mai", 96 | "Juni", 97 | "Juli", 98 | "August", 99 | "September", 100 | "Oktober", 101 | "November", 102 | "Dezember", 103 | ], 104 | today: "Heute", 105 | doneName: "Übernehmen", 106 | prevName: "Früher", 107 | nextName:"Später" 108 | }, 109 | it: { 110 | weekShortAbbreviation: ["L", "M", "M", "G", "V", "S", "D"], 111 | weekAbbreviation: ["Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"], 112 | weekFullName: ["Lunedí", "Martedí", "Mercoledí", "Giovedí", "Venerdí", "Sabato", "Domenica"], 113 | monthAbbreviation: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], 114 | monthFullName: [ 115 | "Gennaio", 116 | "Febbraio", 117 | "Marzo", 118 | "Aprile", 119 | "Maggio", 120 | "Giugno", 121 | "Luglio", 122 | "Agosto", 123 | "Settembre", 124 | "Ottobre", 125 | "Novembre", 126 | "Dicembre", 127 | ], 128 | today: "Oggi", 129 | doneName: "Fatto", 130 | prevName: "Prima", 131 | nextName:"Dopo" 132 | }, 133 | el: { 134 | weekShortAbbreviation: ["Δ", "Τ", "Τ", "Π", ,"Π", "Σ", "Κ"], 135 | weekAbbreviation: ["Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", "Κυρ"], 136 | weekFullName: ["Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"], 137 | monthAbbreviation: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"], 138 | monthFullName: [ 139 | "Ιανουάριος", 140 | "Φεβρουάριος", 141 | "Μάρτιος", 142 | "Απρίλιος", 143 | "Μάιος", 144 | "Ιούνιος", 145 | "Ιούλιος", 146 | "Αύγουστος", 147 | "Σεπτέμβριος", 148 | "Οκτώβριος", 149 | "Νοέμβριος", 150 | "Δεκέμβριος", 151 | ], 152 | today: "Σήμερα", 153 | doneName: "Ολοκλήρωση", 154 | prevName: "Προηγ.", 155 | nextName:"Επόμ." 156 | }, 157 | ro: { 158 | weekShortAbbreviation: ["L", "M", "M", "J", "V", "S", "D"], 159 | weekAbbreviation: ["Lun", "Mar", "Mie", "Joi", "Vin", "Sam", "Dum"], 160 | weekFullName: ["Luni", "Marti", "Miercuri", "Joi", "Vineri", "Sambata", "Duminica"], 161 | monthAbbreviation: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec"], 162 | monthFullName: [ 163 | "Ianuarie", 164 | "Februarie", 165 | "Martie", 166 | "Aprilie", 167 | "Mai", 168 | "Iunie", 169 | "Iulie", 170 | "August", 171 | "Septembrie", 172 | "Octombrie", 173 | "Noiembrie", 174 | "Decembrie", 175 | ], 176 | today: "Astazi", 177 | doneName: "Terminat", 178 | prevName: "Precedent", 179 | nextName:"Urmator" 180 | }, 181 | }; 182 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import DatePicker from "./Calendar.svelte"; 2 | 3 | export default DatePicker; 4 | --------------------------------------------------------------------------------