taro-ui 3.0.0-alpha.9 → 3.1.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/dist/index.esm.js +270 -202
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +706 -636
  4. package/dist/index.js.map +1 -1
  5. package/dist/style/components/accordion.rn.scss +79 -0
  6. package/dist/style/components/action-sheet.rn.scss +80 -0
  7. package/dist/style/components/activity-indicator.rn.scss +30 -0
  8. package/dist/style/components/article.rn.scss +59 -0
  9. package/dist/style/components/avatar.rn.scss +45 -0
  10. package/dist/style/components/badge.rn.scss +51 -0
  11. package/dist/style/components/button.rn.scss +79 -0
  12. package/dist/style/components/calendar.rn.scss +182 -0
  13. package/dist/style/components/card.rn.scss +88 -0
  14. package/dist/style/components/checkbox.rn.scss +107 -0
  15. package/dist/style/components/countdown.rn.scss +82 -0
  16. package/dist/style/components/curtain.rn.scss +128 -0
  17. package/dist/style/components/divider.rn.scss +33 -0
  18. package/dist/style/components/drawer.rn.scss +72 -0
  19. package/dist/style/components/drawer.scss +1 -1
  20. package/dist/style/components/fab.rn.scss +37 -0
  21. package/dist/style/components/flex.rn.scss +158 -0
  22. package/dist/style/components/float-layout.rn.scss +119 -0
  23. package/dist/style/components/form.rn.scss +12 -0
  24. package/dist/style/components/grid.rn.scss +104 -0
  25. package/dist/style/components/icon.rn.scss +221 -0
  26. package/dist/style/components/image-picker.rn.scss +108 -0
  27. package/dist/style/components/index.rn.scss +51 -0
  28. package/dist/style/components/indexes.rn.scss +53 -0
  29. package/dist/style/components/input-number.rn.scss +82 -0
  30. package/dist/style/components/input.rn.scss +151 -0
  31. package/dist/style/components/list.rn.scss +107 -0
  32. package/dist/style/components/load-more.rn.scss +28 -0
  33. package/dist/style/components/loading.rn.scss +45 -0
  34. package/dist/style/components/message.rn.scss +57 -0
  35. package/dist/style/components/modal.rn.scss +136 -0
  36. package/dist/style/components/nav-bar.rn.scss +123 -0
  37. package/dist/style/components/noticebar.rn.scss +111 -0
  38. package/dist/style/components/pagination.rn.scss +43 -0
  39. package/dist/style/components/progress.rn.scss +104 -0
  40. package/dist/style/components/radio.rn.scss +94 -0
  41. package/dist/style/components/range.rn.scss +51 -0
  42. package/dist/style/components/rate.rn.scss +48 -0
  43. package/dist/style/components/search-bar.rn.scss +133 -0
  44. package/dist/style/components/segmented-control.rn.scss +44 -0
  45. package/dist/style/components/slider.rn.scss +33 -0
  46. package/dist/style/components/steps.rn.scss +130 -0
  47. package/dist/style/components/swipe-action.rn.scss +53 -0
  48. package/dist/style/components/switch.rn.scss +61 -0
  49. package/dist/style/components/tab-bar.rn.scss +74 -0
  50. package/dist/style/components/tabs.rn.scss +205 -0
  51. package/dist/style/components/tag.rn.scss +73 -0
  52. package/dist/style/components/textarea.rn.scss +57 -0
  53. package/dist/style/components/timeline.rn.scss +81 -0
  54. package/dist/style/components/toast.rn.scss +112 -0
  55. package/dist/style/index.rn.scss +14 -0
  56. package/dist/style/mixins/index.rn.scss +18 -0
  57. package/dist/style/mixins/libs/absolute-center.rn.scss +9 -0
  58. package/dist/style/mixins/libs/active.rn.scss +10 -0
  59. package/dist/style/mixins/libs/alignhack.rn.scss +11 -0
  60. package/dist/style/mixins/libs/border.rn.scss +48 -0
  61. package/dist/style/mixins/libs/clearfix.rn.scss +21 -0
  62. package/dist/style/mixins/libs/disabled.rn.scss +6 -0
  63. package/dist/style/mixins/libs/flex.rn.scss +49 -0
  64. package/dist/style/mixins/libs/hairline.rn.scss +209 -0
  65. package/dist/style/mixins/libs/line.rn.scss +14 -0
  66. package/dist/style/mixins/libs/overlay.rn.scss +11 -0
  67. package/dist/style/mixins/libs/placeholder.rn.scss +12 -0
  68. package/dist/style/mixins/libs/shade.rn.scss +23 -0
  69. package/dist/style/mixins/libs/tint.rn.scss +23 -0
  70. package/dist/style/themes/purple.rn.scss +44 -0
  71. package/dist/style/themes/red.rn.scss +45 -0
  72. package/dist/style/variables/default.rn.scss +461 -0
  73. package/lib/components/calendar/common/helper.js +5 -0
  74. package/lib/components/calendar/common/helper.js.map +1 -1
  75. package/lib/components/calendar/ui/date-list/index.js +1 -1
  76. package/lib/components/calendar/ui/date-list/index.js.map +1 -1
  77. package/lib/components/image-picker/index.js +4 -2
  78. package/lib/components/image-picker/index.js.map +1 -1
  79. package/lib/components/input/index.js +5 -4
  80. package/lib/components/input/index.js.map +1 -1
  81. package/lib/components/noticebar/index.js +4 -0
  82. package/lib/components/noticebar/index.js.map +1 -1
  83. package/lib/components/swipe-action/index.js +12 -4
  84. package/lib/components/swipe-action/index.js.map +1 -1
  85. package/lib/components/tabs/index.js +3 -1
  86. package/lib/components/tabs/index.js.map +1 -1
  87. package/lib/components/toast/index.js +2 -0
  88. package/lib/components/toast/index.js.map +1 -1
  89. package/package.json +11 -6
  90. package/rn/assets/CLOSE.png +0 -0
  91. package/rn/assets/chevron-left.png +0 -0
  92. package/rn/assets/chevron-right.png +0 -0
  93. package/rn/assets/iconfont.svg +130 -0
  94. package/rn/assets/icons/add-circle.svg +4 -0
  95. package/rn/assets/icons/add.svg +4 -0
  96. package/rn/assets/icons/alert-circle.svg +4 -0
  97. package/rn/assets/icons/align-center.svg +4 -0
  98. package/rn/assets/icons/align-left.svg +4 -0
  99. package/rn/assets/icons/analytics.svg +4 -0
  100. package/rn/assets/icons/arrow-down.svg +4 -0
  101. package/rn/assets/icons/arrow-left.svg +4 -0
  102. package/rn/assets/icons/arrow-right.svg +4 -0
  103. package/rn/assets/icons/arrow-up.svg +4 -0
  104. package/rn/assets/icons/bell.svg +4 -0
  105. package/rn/assets/icons/blocked.svg +4 -0
  106. package/rn/assets/icons/bookmark.svg +4 -0
  107. package/rn/assets/icons/bullet-list.svg +4 -0
  108. package/rn/assets/icons/calendar.svg +4 -0
  109. package/rn/assets/icons/camera.svg +4 -0
  110. package/rn/assets/icons/check-circle.svg +4 -0
  111. package/rn/assets/icons/check.svg +4 -0
  112. package/rn/assets/icons/chevron-down.svg +4 -0
  113. package/rn/assets/icons/chevron-left.svg +4 -0
  114. package/rn/assets/icons/chevron-right.svg +4 -0
  115. package/rn/assets/icons/chevron-up.svg +4 -0
  116. package/rn/assets/icons/clock.svg +4 -0
  117. package/rn/assets/icons/close-circle.svg +4 -0
  118. package/rn/assets/icons/close.svg +4 -0
  119. package/rn/assets/icons/credit-card.svg +4 -0
  120. package/rn/assets/icons/download-cloud.svg +4 -0
  121. package/rn/assets/icons/download.svg +4 -0
  122. package/rn/assets/icons/edit.svg +4 -0
  123. package/rn/assets/icons/equalizer.svg +4 -0
  124. package/rn/assets/icons/external-link.svg +4 -0
  125. package/rn/assets/icons/eye.svg +4 -0
  126. package/rn/assets/icons/file-audio.svg +4 -0
  127. package/rn/assets/icons/file-code.svg +4 -0
  128. package/rn/assets/icons/file-generic.svg +4 -0
  129. package/rn/assets/icons/file-jpg.svg +4 -0
  130. package/rn/assets/icons/file-new.svg +4 -0
  131. package/rn/assets/icons/file-png.svg +4 -0
  132. package/rn/assets/icons/file-svg.svg +4 -0
  133. package/rn/assets/icons/file-video.svg +4 -0
  134. package/rn/assets/icons/filter.svg +4 -0
  135. package/rn/assets/icons/folder.svg +4 -0
  136. package/rn/assets/icons/font-color.svg +4 -0
  137. package/rn/assets/icons/heart-2.svg +4 -0
  138. package/rn/assets/icons/heart.svg +4 -0
  139. package/rn/assets/icons/help.svg +4 -0
  140. package/rn/assets/icons/home.svg +4 -0
  141. package/rn/assets/icons/image.svg +4 -0
  142. package/rn/assets/icons/iphone-x.svg +4 -0
  143. package/rn/assets/icons/iphone.svg +4 -0
  144. package/rn/assets/icons/lightning-bolt.svg +4 -0
  145. package/rn/assets/icons/link.svg +4 -0
  146. package/rn/assets/icons/list.svg +4 -0
  147. package/rn/assets/icons/loading-2.svg +4 -0
  148. package/rn/assets/icons/loading-3.svg +4 -0
  149. package/rn/assets/icons/loading.svg +4 -0
  150. package/rn/assets/icons/lock.svg +4 -0
  151. package/rn/assets/icons/mail.svg +4 -0
  152. package/rn/assets/icons/map-pin.svg +4 -0
  153. package/rn/assets/icons/menu.svg +4 -0
  154. package/rn/assets/icons/message.svg +4 -0
  155. package/rn/assets/icons/money.svg +4 -0
  156. package/rn/assets/icons/next.svg +4 -0
  157. package/rn/assets/icons/nonmarkingreturn.svg +4 -0
  158. package/rn/assets/icons/numbered-list.svg +4 -0
  159. package/rn/assets/icons/pause.svg +4 -0
  160. package/rn/assets/icons/phone.svg +4 -0
  161. package/rn/assets/icons/play.svg +4 -0
  162. package/rn/assets/icons/playlist.svg +4 -0
  163. package/rn/assets/icons/prev.svg +4 -0
  164. package/rn/assets/icons/reload.svg +4 -0
  165. package/rn/assets/icons/repeat-play.svg +4 -0
  166. package/rn/assets/icons/search.svg +4 -0
  167. package/rn/assets/icons/settings.svg +4 -0
  168. package/rn/assets/icons/share-2.svg +4 -0
  169. package/rn/assets/icons/share.svg +4 -0
  170. package/rn/assets/icons/shopping-bag-2.svg +4 -0
  171. package/rn/assets/icons/shopping-bag.svg +4 -0
  172. package/rn/assets/icons/shopping-cart.svg +4 -0
  173. package/rn/assets/icons/shuffle-play.svg +4 -0
  174. package/rn/assets/icons/sketch.svg +4 -0
  175. package/rn/assets/icons/sound.svg +4 -0
  176. package/rn/assets/icons/star-2.svg +4 -0
  177. package/rn/assets/icons/star.svg +4 -0
  178. package/rn/assets/icons/stop.svg +4 -0
  179. package/rn/assets/icons/streaming.svg +4 -0
  180. package/rn/assets/icons/subtract-circle.svg +4 -0
  181. package/rn/assets/icons/subtract.svg +4 -0
  182. package/rn/assets/icons/tag.svg +4 -0
  183. package/rn/assets/icons/tags.svg +4 -0
  184. package/rn/assets/icons/text-italic.svg +4 -0
  185. package/rn/assets/icons/text-strikethrough.svg +4 -0
  186. package/rn/assets/icons/text-underline.svg +4 -0
  187. package/rn/assets/icons/trash.svg +4 -0
  188. package/rn/assets/icons/upload.svg +4 -0
  189. package/rn/assets/icons/user.svg +4 -0
  190. package/rn/assets/icons/video.svg +4 -0
  191. package/rn/assets/icons/volume-minus.svg +4 -0
  192. package/rn/assets/icons/volume-off.svg +4 -0
  193. package/rn/assets/icons/volume-plus.svg +4 -0
  194. package/rn/common/component.tsx +38 -0
  195. package/rn/common/utils.ts +271 -0
  196. package/rn/components/accordion/index.rn.tsx +51 -0
  197. package/rn/components/accordion/index.tsx +157 -0
  198. package/rn/components/action-sheet/body/index.tsx +13 -0
  199. package/rn/components/action-sheet/body/item/index.tsx +32 -0
  200. package/rn/components/action-sheet/footer/index.tsx +35 -0
  201. package/rn/components/action-sheet/header/index.tsx +17 -0
  202. package/rn/components/action-sheet/index.tsx +121 -0
  203. package/rn/components/activity-indicator/index.tsx +55 -0
  204. package/rn/components/avatar/index.tsx +99 -0
  205. package/rn/components/badge/index.tsx +65 -0
  206. package/rn/components/button/index.tsx +138 -0
  207. package/rn/components/calendar/body/index.tsx +365 -0
  208. package/rn/components/calendar/common/constant.ts +5 -0
  209. package/rn/components/calendar/common/helper.ts +113 -0
  210. package/rn/components/calendar/common/plugins.ts +124 -0
  211. package/rn/components/calendar/controller/index.tsx +76 -0
  212. package/rn/components/calendar/index.rn.tsx +36 -0
  213. package/rn/components/calendar/index.tsx +319 -0
  214. package/rn/components/calendar/ui/date-list/index.tsx +80 -0
  215. package/rn/components/calendar/ui/day-list/index.tsx +20 -0
  216. package/rn/components/card/index.tsx +97 -0
  217. package/rn/components/checkbox/index.tsx +113 -0
  218. package/rn/components/countdown/index.scss +74 -0
  219. package/rn/components/countdown/index.tsx +207 -0
  220. package/rn/components/countdown/item/index.tsx +46 -0
  221. package/rn/components/curtain/index.tsx +75 -0
  222. package/rn/components/divider/index.tsx +73 -0
  223. package/rn/components/drawer/index.tsx +192 -0
  224. package/rn/components/fab/index.tsx +40 -0
  225. package/rn/components/flex/index.scss +108 -0
  226. package/rn/components/flex/index.tsx +44 -0
  227. package/rn/components/flex/item/index.scss +49 -0
  228. package/rn/components/flex/item/index.tsx +37 -0
  229. package/rn/components/float-layout/index.tsx +209 -0
  230. package/rn/components/form/index.tsx +49 -0
  231. package/rn/components/grid/index.tsx +160 -0
  232. package/rn/components/icon/icons.ts +207 -0
  233. package/rn/components/icon/index.tsx +66 -0
  234. package/rn/components/image-picker/index.tsx +197 -0
  235. package/rn/components/indexes/index.rn.tsx +55 -0
  236. package/rn/components/indexes/index.tsx +282 -0
  237. package/rn/components/input/index.tsx +280 -0
  238. package/rn/components/input-number/index.tsx +259 -0
  239. package/rn/components/list/index.tsx +30 -0
  240. package/rn/components/list/item/index.tsx +214 -0
  241. package/rn/components/load-more/index.tsx +84 -0
  242. package/rn/components/loading/index.tsx +29 -0
  243. package/rn/components/message/index.tsx +129 -0
  244. package/rn/components/modal/action/index.tsx +34 -0
  245. package/rn/components/modal/content/index.tsx +15 -0
  246. package/rn/components/modal/header/index.tsx +11 -0
  247. package/rn/components/modal/index.tsx +231 -0
  248. package/rn/components/nav-bar/index.tsx +225 -0
  249. package/rn/components/noticebar/index.tsx +212 -0
  250. package/rn/components/pagination/index.tsx +188 -0
  251. package/rn/components/progress/index.tsx +89 -0
  252. package/rn/components/radio/index.tsx +94 -0
  253. package/rn/components/range/index.tsx +253 -0
  254. package/rn/components/rate/index.tsx +102 -0
  255. package/rn/components/search-bar/index.tsx +190 -0
  256. package/rn/components/segmented-control/index.tsx +105 -0
  257. package/rn/components/slider/index.tsx +136 -0
  258. package/rn/components/steps/index.tsx +133 -0
  259. package/rn/components/swipe-action/index.rn.tsx +70 -0
  260. package/rn/components/swipe-action/index.tsx +231 -0
  261. package/rn/components/swipe-action/options/index.tsx +25 -0
  262. package/rn/components/switch/index.tsx +79 -0
  263. package/rn/components/tab-bar/index.tsx +203 -0
  264. package/rn/components/tabs/index.tsx +325 -0
  265. package/rn/components/tabs-pane/index.tsx +47 -0
  266. package/rn/components/tag/index.tsx +99 -0
  267. package/rn/components/textarea/index.tsx +167 -0
  268. package/rn/components/timeline/index.tsx +104 -0
  269. package/rn/components/toast/img.json +8 -0
  270. package/rn/components/toast/index.tsx +208 -0
  271. package/rn/index.ts +55 -0
  272. package/rn/style/components/accordion.scss +79 -0
  273. package/rn/style/components/action-sheet.scss +80 -0
  274. package/rn/style/components/activity-indicator.scss +30 -0
  275. package/rn/style/components/article.scss +59 -0
  276. package/rn/style/components/avatar.scss +45 -0
  277. package/rn/style/components/badge.scss +51 -0
  278. package/rn/style/components/button.scss +79 -0
  279. package/rn/style/components/calendar.scss +182 -0
  280. package/rn/style/components/card.scss +88 -0
  281. package/rn/style/components/checkbox.scss +107 -0
  282. package/rn/style/components/countdown.scss +82 -0
  283. package/rn/style/components/curtain.scss +128 -0
  284. package/rn/style/components/divider.scss +33 -0
  285. package/rn/style/components/drawer.scss +72 -0
  286. package/rn/style/components/fab.scss +37 -0
  287. package/rn/style/components/flex.scss +158 -0
  288. package/rn/style/components/float-layout.scss +119 -0
  289. package/rn/style/components/form.scss +12 -0
  290. package/rn/style/components/grid.scss +104 -0
  291. package/rn/style/components/icon.scss +221 -0
  292. package/rn/style/components/image-picker.scss +108 -0
  293. package/rn/style/components/index.scss +51 -0
  294. package/rn/style/components/indexes.scss +53 -0
  295. package/rn/style/components/input-number.scss +82 -0
  296. package/rn/style/components/input.scss +151 -0
  297. package/rn/style/components/list.scss +107 -0
  298. package/rn/style/components/load-more.scss +28 -0
  299. package/rn/style/components/loading.scss +45 -0
  300. package/rn/style/components/message.scss +57 -0
  301. package/rn/style/components/modal.scss +136 -0
  302. package/rn/style/components/nav-bar.scss +123 -0
  303. package/rn/style/components/noticebar.scss +111 -0
  304. package/rn/style/components/pagination.scss +43 -0
  305. package/rn/style/components/progress.scss +104 -0
  306. package/rn/style/components/radio.scss +94 -0
  307. package/rn/style/components/range.scss +51 -0
  308. package/rn/style/components/rate.scss +48 -0
  309. package/rn/style/components/search-bar.scss +133 -0
  310. package/rn/style/components/segmented-control.scss +44 -0
  311. package/rn/style/components/slider.scss +33 -0
  312. package/rn/style/components/steps.scss +130 -0
  313. package/rn/style/components/swipe-action.scss +53 -0
  314. package/rn/style/components/switch.scss +61 -0
  315. package/rn/style/components/tab-bar.scss +74 -0
  316. package/rn/style/components/tabs.scss +205 -0
  317. package/rn/style/components/tag.scss +73 -0
  318. package/rn/style/components/textarea.scss +57 -0
  319. package/rn/style/components/timeline.scss +81 -0
  320. package/rn/style/components/toast.scss +112 -0
  321. package/rn/style/index.scss +14 -0
  322. package/rn/style/mixins/index.scss +18 -0
  323. package/rn/style/mixins/libs/absolute-center.scss +9 -0
  324. package/rn/style/mixins/libs/active.scss +10 -0
  325. package/rn/style/mixins/libs/alignhack.scss +11 -0
  326. package/rn/style/mixins/libs/border.scss +48 -0
  327. package/rn/style/mixins/libs/clearfix.scss +21 -0
  328. package/rn/style/mixins/libs/disabled.scss +6 -0
  329. package/rn/style/mixins/libs/flex.scss +49 -0
  330. package/rn/style/mixins/libs/hairline.scss +209 -0
  331. package/rn/style/mixins/libs/line.scss +14 -0
  332. package/rn/style/mixins/libs/overlay.scss +11 -0
  333. package/rn/style/mixins/libs/placeholder.scss +12 -0
  334. package/rn/style/mixins/libs/shade.scss +23 -0
  335. package/rn/style/mixins/libs/tint.scss +23 -0
  336. package/rn/style/themes/purple.scss +44 -0
  337. package/rn/style/themes/red.scss +45 -0
  338. package/rn/style/variables/default.scss +461 -0
  339. package/types/avatar.d.ts +4 -3
  340. package/types/base.d.ts +1 -1
  341. package/types/checkbox.d.ts +3 -1
  342. package/types/countdown.d.ts +2 -1
  343. package/types/drawer.d.ts +3 -2
  344. package/types/float-layout.d.ts +2 -1
  345. package/types/input-number.d.ts +8 -5
  346. package/types/message.d.ts +5 -3
  347. package/types/radio.d.ts +6 -2
  348. package/types/timeline.d.ts +3 -3
package/dist/index.esm.js CHANGED
@@ -3,29 +3,31 @@ import { View, Text, OpenData, Image, Button, Form, Switch, ScrollView, Label, I
3
3
  import Taro from '@tarojs/taro';
4
4
 
5
5
  /*! *****************************************************************************
6
- Copyright (c) Microsoft Corporation. All rights reserved.
7
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
8
- this file except in compliance with the License. You may obtain a copy of the
9
- License at http://www.apache.org/licenses/LICENSE-2.0
6
+ Copyright (c) Microsoft Corporation.
10
7
 
11
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
12
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
13
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
14
- MERCHANTABLITY OR NON-INFRINGEMENT.
8
+ Permission to use, copy, modify, and/or distribute this software for any
9
+ purpose with or without fee is hereby granted.
15
10
 
16
- See the Apache Version 2.0 License for specific language governing permissions
17
- and limitations under the License.
11
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
12
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
16
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17
+ PERFORMANCE OF THIS SOFTWARE.
18
18
  ***************************************************************************** */
19
19
  /* global Reflect, Promise */
20
20
 
21
21
  var extendStatics = function(d, b) {
22
22
  extendStatics = Object.setPrototypeOf ||
23
23
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
24
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
24
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
25
25
  return extendStatics(d, b);
26
26
  };
27
27
 
28
28
  function __extends(d, b) {
29
+ if (typeof b !== "function" && b !== null)
30
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
29
31
  extendStatics(d, b);
30
32
  function __() { this.constructor = d; }
31
33
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -59,6 +61,7 @@ function __read(o, n) {
59
61
  return ar;
60
62
  }
61
63
 
64
+ /** @deprecated */
62
65
  function __spread() {
63
66
  for (var ar = [], i = 0; i < arguments.length; i++)
64
67
  ar = ar.concat(__read(arguments[i]));
@@ -73,7 +76,7 @@ function createCommonjsModule(fn, module) {
73
76
 
74
77
  var classnames = createCommonjsModule(function (module) {
75
78
  /*!
76
- Copyright (c) 2017 Jed Watson.
79
+ Copyright (c) 2018 Jed Watson.
77
80
  Licensed under the MIT License (MIT), see
78
81
  http://jedwatson.github.io/classnames
79
82
  */
@@ -83,7 +86,7 @@ var classnames = createCommonjsModule(function (module) {
83
86
 
84
87
  var hasOwn = {}.hasOwnProperty;
85
88
 
86
- function classNames () {
89
+ function classNames() {
87
90
  var classes = [];
88
91
 
89
92
  for (var i = 0; i < arguments.length; i++) {
@@ -94,16 +97,22 @@ var classnames = createCommonjsModule(function (module) {
94
97
 
95
98
  if (argType === 'string' || argType === 'number') {
96
99
  classes.push(arg);
97
- } else if (Array.isArray(arg) && arg.length) {
98
- var inner = classNames.apply(null, arg);
99
- if (inner) {
100
- classes.push(inner);
100
+ } else if (Array.isArray(arg)) {
101
+ if (arg.length) {
102
+ var inner = classNames.apply(null, arg);
103
+ if (inner) {
104
+ classes.push(inner);
105
+ }
101
106
  }
102
107
  } else if (argType === 'object') {
103
- for (var key in arg) {
104
- if (hasOwn.call(arg, key) && arg[key]) {
105
- classes.push(key);
108
+ if (arg.toString === Object.prototype.toString) {
109
+ for (var key in arg) {
110
+ if (hasOwn.call(arg, key) && arg[key]) {
111
+ classes.push(key);
112
+ }
106
113
  }
114
+ } else {
115
+ classes.push(arg.toString());
107
116
  }
108
117
  }
109
118
  }
@@ -111,7 +120,7 @@ var classnames = createCommonjsModule(function (module) {
111
120
  return classes.join(' ');
112
121
  }
113
122
 
114
- if ( module.exports) {
123
+ if (module.exports) {
115
124
  classNames.default = classNames;
116
125
  module.exports = classNames;
117
126
  } else {
@@ -338,34 +347,34 @@ exports.typeOf = typeOf;
338
347
  })();
339
348
  }
340
349
  });
341
- var reactIs_development_1 = reactIs_development.AsyncMode;
342
- var reactIs_development_2 = reactIs_development.ConcurrentMode;
343
- var reactIs_development_3 = reactIs_development.ContextConsumer;
344
- var reactIs_development_4 = reactIs_development.ContextProvider;
345
- var reactIs_development_5 = reactIs_development.Element;
346
- var reactIs_development_6 = reactIs_development.ForwardRef;
347
- var reactIs_development_7 = reactIs_development.Fragment;
348
- var reactIs_development_8 = reactIs_development.Lazy;
349
- var reactIs_development_9 = reactIs_development.Memo;
350
- var reactIs_development_10 = reactIs_development.Portal;
351
- var reactIs_development_11 = reactIs_development.Profiler;
352
- var reactIs_development_12 = reactIs_development.StrictMode;
353
- var reactIs_development_13 = reactIs_development.Suspense;
354
- var reactIs_development_14 = reactIs_development.isAsyncMode;
355
- var reactIs_development_15 = reactIs_development.isConcurrentMode;
356
- var reactIs_development_16 = reactIs_development.isContextConsumer;
357
- var reactIs_development_17 = reactIs_development.isContextProvider;
358
- var reactIs_development_18 = reactIs_development.isElement;
359
- var reactIs_development_19 = reactIs_development.isForwardRef;
360
- var reactIs_development_20 = reactIs_development.isFragment;
361
- var reactIs_development_21 = reactIs_development.isLazy;
362
- var reactIs_development_22 = reactIs_development.isMemo;
363
- var reactIs_development_23 = reactIs_development.isPortal;
364
- var reactIs_development_24 = reactIs_development.isProfiler;
365
- var reactIs_development_25 = reactIs_development.isStrictMode;
366
- var reactIs_development_26 = reactIs_development.isSuspense;
367
- var reactIs_development_27 = reactIs_development.isValidElementType;
368
- var reactIs_development_28 = reactIs_development.typeOf;
350
+ reactIs_development.AsyncMode;
351
+ reactIs_development.ConcurrentMode;
352
+ reactIs_development.ContextConsumer;
353
+ reactIs_development.ContextProvider;
354
+ reactIs_development.Element;
355
+ reactIs_development.ForwardRef;
356
+ reactIs_development.Fragment;
357
+ reactIs_development.Lazy;
358
+ reactIs_development.Memo;
359
+ reactIs_development.Portal;
360
+ reactIs_development.Profiler;
361
+ reactIs_development.StrictMode;
362
+ reactIs_development.Suspense;
363
+ reactIs_development.isAsyncMode;
364
+ reactIs_development.isConcurrentMode;
365
+ reactIs_development.isContextConsumer;
366
+ reactIs_development.isContextProvider;
367
+ reactIs_development.isElement;
368
+ reactIs_development.isForwardRef;
369
+ reactIs_development.isFragment;
370
+ reactIs_development.isLazy;
371
+ reactIs_development.isMemo;
372
+ reactIs_development.isPortal;
373
+ reactIs_development.isProfiler;
374
+ reactIs_development.isStrictMode;
375
+ reactIs_development.isSuspense;
376
+ reactIs_development.isValidElementType;
377
+ reactIs_development.typeOf;
369
378
 
370
379
  var reactIs = createCommonjsModule(function (module) {
371
380
 
@@ -383,7 +392,7 @@ object-assign
383
392
  */
384
393
  /* eslint-disable no-unused-vars */
385
394
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
386
- var hasOwnProperty = Object.prototype.hasOwnProperty;
395
+ var hasOwnProperty$7 = Object.prototype.hasOwnProperty;
387
396
  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
388
397
 
389
398
  function toObject(val) {
@@ -447,7 +456,7 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
447
456
  from = Object(arguments[s]);
448
457
 
449
458
  for (var key in from) {
450
- if (hasOwnProperty.call(from, key)) {
459
+ if (hasOwnProperty$7.call(from, key)) {
451
460
  to[key] = from[key];
452
461
  }
453
462
  }
@@ -472,18 +481,18 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
472
481
  * LICENSE file in the root directory of this source tree.
473
482
  */
474
483
 
475
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
484
+ var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
476
485
 
477
- var ReactPropTypesSecret_1 = ReactPropTypesSecret;
486
+ var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
478
487
 
479
- var printWarning = function() {};
488
+ var printWarning$1 = function() {};
480
489
 
481
490
  if (process.env.NODE_ENV !== 'production') {
482
- var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
491
+ var ReactPropTypesSecret = ReactPropTypesSecret_1;
483
492
  var loggedTypeFailures = {};
484
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
493
+ var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
485
494
 
486
- printWarning = function(text) {
495
+ printWarning$1 = function(text) {
487
496
  var message = 'Warning: ' + text;
488
497
  if (typeof console !== 'undefined') {
489
498
  console.error(message);
@@ -511,7 +520,7 @@ if (process.env.NODE_ENV !== 'production') {
511
520
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
512
521
  if (process.env.NODE_ENV !== 'production') {
513
522
  for (var typeSpecName in typeSpecs) {
514
- if (has(typeSpecs, typeSpecName)) {
523
+ if (has$1(typeSpecs, typeSpecName)) {
515
524
  var error;
516
525
  // Prop type validation may throw. In case they do, we don't want to
517
526
  // fail the render phase where it didn't fail before. So we log it.
@@ -527,12 +536,12 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
527
536
  err.name = 'Invariant Violation';
528
537
  throw err;
529
538
  }
530
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$1);
539
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
531
540
  } catch (ex) {
532
541
  error = ex;
533
542
  }
534
543
  if (error && !(error instanceof Error)) {
535
- printWarning(
544
+ printWarning$1(
536
545
  (componentName || 'React class') + ': type specification of ' +
537
546
  location + ' `' + typeSpecName + '` is invalid; the type checker ' +
538
547
  'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
@@ -548,7 +557,7 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
548
557
 
549
558
  var stack = getStack ? getStack() : '';
550
559
 
551
- printWarning(
560
+ printWarning$1(
552
561
  'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
553
562
  );
554
563
  }
@@ -570,11 +579,11 @@ checkPropTypes.resetWarningCache = function() {
570
579
 
571
580
  var checkPropTypes_1 = checkPropTypes;
572
581
 
573
- var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
574
- var printWarning$1 = function() {};
582
+ var has = Function.call.bind(Object.prototype.hasOwnProperty);
583
+ var printWarning = function() {};
575
584
 
576
585
  if (process.env.NODE_ENV !== 'production') {
577
- printWarning$1 = function(text) {
586
+ printWarning = function(text) {
578
587
  var message = 'Warning: ' + text;
579
588
  if (typeof console !== 'undefined') {
580
589
  console.error(message);
@@ -750,7 +759,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
750
759
  // Avoid spamming the console because they are often not actionable except for lib authors
751
760
  manualPropTypeWarningCount < 3
752
761
  ) {
753
- printWarning$1(
762
+ printWarning(
754
763
  'You are manually calling a React.PropTypes validation ' +
755
764
  'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
756
765
  'and will throw in the standalone `prop-types` package. ' +
@@ -863,12 +872,12 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
863
872
  if (!Array.isArray(expectedValues)) {
864
873
  if (process.env.NODE_ENV !== 'production') {
865
874
  if (arguments.length > 1) {
866
- printWarning$1(
875
+ printWarning(
867
876
  'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
868
877
  'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
869
878
  );
870
879
  } else {
871
- printWarning$1('Invalid argument supplied to oneOf, expected an array.');
880
+ printWarning('Invalid argument supplied to oneOf, expected an array.');
872
881
  }
873
882
  }
874
883
  return emptyFunctionThatReturnsNull;
@@ -905,7 +914,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
905
914
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
906
915
  }
907
916
  for (var key in propValue) {
908
- if (has$1(propValue, key)) {
917
+ if (has(propValue, key)) {
909
918
  var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
910
919
  if (error instanceof Error) {
911
920
  return error;
@@ -919,14 +928,14 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
919
928
 
920
929
  function createUnionTypeChecker(arrayOfTypeCheckers) {
921
930
  if (!Array.isArray(arrayOfTypeCheckers)) {
922
- process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
931
+ process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
923
932
  return emptyFunctionThatReturnsNull;
924
933
  }
925
934
 
926
935
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
927
936
  var checker = arrayOfTypeCheckers[i];
928
937
  if (typeof checker !== 'function') {
929
- printWarning$1(
938
+ printWarning(
930
939
  'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
931
940
  'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
932
941
  );
@@ -1359,7 +1368,7 @@ AtActionSheetItem.propTypes = {
1359
1368
  onClick: propTypes.func
1360
1369
  };
1361
1370
 
1362
- var ENV = Taro.getEnv();
1371
+ var ENV$4 = Taro.getEnv();
1363
1372
  function delay(delayTime) {
1364
1373
  if (delayTime === void 0) { delayTime = 25; }
1365
1374
  return new Promise(function (resolve) {
@@ -1417,7 +1426,7 @@ function uuid(len, radix) {
1417
1426
  }
1418
1427
  function getEventDetail(event) {
1419
1428
  var detail;
1420
- switch (ENV) {
1429
+ switch (ENV$4) {
1421
1430
  case Taro.ENV_TYPE.WEB:
1422
1431
  detail = {
1423
1432
  pageX: event.pageX,
@@ -1487,7 +1496,7 @@ function isTest() {
1487
1496
  }
1488
1497
  var scrollTop = 0;
1489
1498
  function handleTouchScroll(flag) {
1490
- if (ENV !== Taro.ENV_TYPE.WEB) {
1499
+ if (ENV$4 !== Taro.ENV_TYPE.WEB) {
1491
1500
  return;
1492
1501
  }
1493
1502
  if (flag) {
@@ -1514,7 +1523,7 @@ function pxTransform(size) {
1514
1523
  };
1515
1524
  return size / deviceRatio[designWidth] + "rpx";
1516
1525
  }
1517
- function objectToString(style) {
1526
+ function objectToString$2(style) {
1518
1527
  if (style && typeof style === 'object') {
1519
1528
  var styleStr_1 = '';
1520
1529
  Object.keys(style).forEach(function (key) {
@@ -1541,7 +1550,7 @@ function mergeStyle(style1, style2) {
1541
1550
  typeof style2 === 'object') {
1542
1551
  return Object.assign({}, style1, style2);
1543
1552
  }
1544
- return objectToString(style1) + objectToString(style2);
1553
+ return objectToString$2(style1) + objectToString$2(style2);
1545
1554
  }
1546
1555
 
1547
1556
  var AtLoading = /** @class */ (function (_super) {
@@ -1612,7 +1621,7 @@ AtActivityIndicator.propTypes = {
1612
1621
  isOpened: propTypes.bool
1613
1622
  };
1614
1623
 
1615
- var SIZE_CLASS = {
1624
+ var SIZE_CLASS$2 = {
1616
1625
  large: 'large',
1617
1626
  normal: 'normal',
1618
1627
  small: 'small'
@@ -1630,7 +1639,7 @@ var AtAvatar = /** @class */ (function (_super) {
1630
1639
  var _a;
1631
1640
  var _b = this.props, size = _b.size, circle = _b.circle, image = _b.image, text = _b.text, openData = _b.openData, customStyle = _b.customStyle;
1632
1641
  var rootClassName = ['at-avatar'];
1633
- var iconSize = SIZE_CLASS[size || 'normal'];
1642
+ var iconSize = SIZE_CLASS$2[size || 'normal'];
1634
1643
  var classObject = (_a = {},
1635
1644
  _a["at-avatar--" + iconSize] = iconSize,
1636
1645
  _a['at-avatar--circle'] = circle,
@@ -1715,7 +1724,7 @@ var SIZE_CLASS$1 = {
1715
1724
  normal: 'normal',
1716
1725
  small: 'small'
1717
1726
  };
1718
- var TYPE_CLASS = {
1727
+ var TYPE_CLASS$1 = {
1719
1728
  primary: 'primary',
1720
1729
  secondary: 'secondary'
1721
1730
  };
@@ -1780,7 +1789,7 @@ var AtButton = /** @class */ (function (_super) {
1780
1789
  var classObject = (_a = {},
1781
1790
  _a["at-button--" + SIZE_CLASS$1[size]] = SIZE_CLASS$1[size],
1782
1791
  _a['at-button--disabled'] = disabled,
1783
- _a["at-button--" + type] = TYPE_CLASS[type],
1792
+ _a["at-button--" + type] = TYPE_CLASS$1[type],
1784
1793
  _a['at-button--circle'] = circle,
1785
1794
  _a['at-button--full'] = full,
1786
1795
  _a);
@@ -2390,20 +2399,20 @@ var Symbol$1 = _root.Symbol;
2390
2399
  var _Symbol = Symbol$1;
2391
2400
 
2392
2401
  /** Used for built-in method references. */
2393
- var objectProto = Object.prototype;
2402
+ var objectProto$8 = Object.prototype;
2394
2403
 
2395
2404
  /** Used to check objects for own properties. */
2396
- var hasOwnProperty$1 = objectProto.hasOwnProperty;
2405
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
2397
2406
 
2398
2407
  /**
2399
2408
  * Used to resolve the
2400
2409
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
2401
2410
  * of values.
2402
2411
  */
2403
- var nativeObjectToString = objectProto.toString;
2412
+ var nativeObjectToString$1 = objectProto$8.toString;
2404
2413
 
2405
2414
  /** Built-in value references. */
2406
- var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
2415
+ var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
2407
2416
 
2408
2417
  /**
2409
2418
  * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
@@ -2413,20 +2422,20 @@ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
2413
2422
  * @returns {string} Returns the raw `toStringTag`.
2414
2423
  */
2415
2424
  function getRawTag(value) {
2416
- var isOwn = hasOwnProperty$1.call(value, symToStringTag),
2417
- tag = value[symToStringTag];
2425
+ var isOwn = hasOwnProperty$6.call(value, symToStringTag$1),
2426
+ tag = value[symToStringTag$1];
2418
2427
 
2419
2428
  try {
2420
- value[symToStringTag] = undefined;
2429
+ value[symToStringTag$1] = undefined;
2421
2430
  var unmasked = true;
2422
2431
  } catch (e) {}
2423
2432
 
2424
- var result = nativeObjectToString.call(value);
2433
+ var result = nativeObjectToString$1.call(value);
2425
2434
  if (unmasked) {
2426
2435
  if (isOwn) {
2427
- value[symToStringTag] = tag;
2436
+ value[symToStringTag$1] = tag;
2428
2437
  } else {
2429
- delete value[symToStringTag];
2438
+ delete value[symToStringTag$1];
2430
2439
  }
2431
2440
  }
2432
2441
  return result;
@@ -2435,14 +2444,14 @@ function getRawTag(value) {
2435
2444
  var _getRawTag = getRawTag;
2436
2445
 
2437
2446
  /** Used for built-in method references. */
2438
- var objectProto$1 = Object.prototype;
2447
+ var objectProto$7 = Object.prototype;
2439
2448
 
2440
2449
  /**
2441
2450
  * Used to resolve the
2442
2451
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
2443
2452
  * of values.
2444
2453
  */
2445
- var nativeObjectToString$1 = objectProto$1.toString;
2454
+ var nativeObjectToString = objectProto$7.toString;
2446
2455
 
2447
2456
  /**
2448
2457
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -2452,7 +2461,7 @@ var nativeObjectToString$1 = objectProto$1.toString;
2452
2461
  * @returns {string} Returns the converted string.
2453
2462
  */
2454
2463
  function objectToString$1(value) {
2455
- return nativeObjectToString$1.call(value);
2464
+ return nativeObjectToString.call(value);
2456
2465
  }
2457
2466
 
2458
2467
  var _objectToString = objectToString$1;
@@ -2462,7 +2471,7 @@ var nullTag = '[object Null]',
2462
2471
  undefinedTag = '[object Undefined]';
2463
2472
 
2464
2473
  /** Built-in value references. */
2465
- var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
2474
+ var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
2466
2475
 
2467
2476
  /**
2468
2477
  * The base implementation of `getTag` without fallbacks for buggy environments.
@@ -2475,7 +2484,7 @@ function baseGetTag(value) {
2475
2484
  if (value == null) {
2476
2485
  return value === undefined ? undefinedTag : nullTag;
2477
2486
  }
2478
- return (symToStringTag$1 && symToStringTag$1 in Object(value))
2487
+ return (symToStringTag && symToStringTag in Object(value))
2479
2488
  ? _getRawTag(value)
2480
2489
  : _objectToString(value);
2481
2490
  }
@@ -2516,7 +2525,7 @@ var isObject_1 = isObject;
2516
2525
 
2517
2526
  /** `Object#toString` result references. */
2518
2527
  var asyncTag = '[object AsyncFunction]',
2519
- funcTag = '[object Function]',
2528
+ funcTag$1 = '[object Function]',
2520
2529
  genTag = '[object GeneratorFunction]',
2521
2530
  proxyTag = '[object Proxy]';
2522
2531
 
@@ -2544,13 +2553,13 @@ function isFunction(value) {
2544
2553
  // The use of `Object#toString` avoids issues with the `typeof` operator
2545
2554
  // in Safari 9 which returns 'object' for typed arrays and other constructors.
2546
2555
  var tag = _baseGetTag(value);
2547
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
2556
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
2548
2557
  }
2549
2558
 
2550
2559
  var isFunction_1 = isFunction;
2551
2560
 
2552
2561
  /** Used as references for various `Number` constants. */
2553
- var MAX_SAFE_INTEGER = 9007199254740991;
2562
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
2554
2563
 
2555
2564
  /**
2556
2565
  * Checks if `value` is a valid array-like length.
@@ -2580,7 +2589,7 @@ var MAX_SAFE_INTEGER = 9007199254740991;
2580
2589
  */
2581
2590
  function isLength(value) {
2582
2591
  return typeof value == 'number' &&
2583
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
2592
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
2584
2593
  }
2585
2594
 
2586
2595
  var isLength_1 = isLength;
@@ -2617,7 +2626,7 @@ function isArrayLike(value) {
2617
2626
  var isArrayLike_1 = isArrayLike;
2618
2627
 
2619
2628
  /** Used as references for various `Number` constants. */
2620
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
2629
+ var MAX_SAFE_INTEGER = 9007199254740991;
2621
2630
 
2622
2631
  /** Used to detect unsigned integer values. */
2623
2632
  var reIsUint = /^(?:0|[1-9]\d*)$/;
@@ -2632,7 +2641,7 @@ var reIsUint = /^(?:0|[1-9]\d*)$/;
2632
2641
  */
2633
2642
  function isIndex(value, length) {
2634
2643
  var type = typeof value;
2635
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
2644
+ length = length == null ? MAX_SAFE_INTEGER : length;
2636
2645
 
2637
2646
  return !!length &&
2638
2647
  (type == 'number' ||
@@ -2668,6 +2677,44 @@ function isIterateeCall(value, index, object) {
2668
2677
 
2669
2678
  var _isIterateeCall = isIterateeCall;
2670
2679
 
2680
+ /** Used to match a single whitespace character. */
2681
+ var reWhitespace = /\s/;
2682
+
2683
+ /**
2684
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
2685
+ * character of `string`.
2686
+ *
2687
+ * @private
2688
+ * @param {string} string The string to inspect.
2689
+ * @returns {number} Returns the index of the last non-whitespace character.
2690
+ */
2691
+ function trimmedEndIndex(string) {
2692
+ var index = string.length;
2693
+
2694
+ while (index-- && reWhitespace.test(string.charAt(index))) {}
2695
+ return index;
2696
+ }
2697
+
2698
+ var _trimmedEndIndex = trimmedEndIndex;
2699
+
2700
+ /** Used to match leading whitespace. */
2701
+ var reTrimStart = /^\s+/;
2702
+
2703
+ /**
2704
+ * The base implementation of `_.trim`.
2705
+ *
2706
+ * @private
2707
+ * @param {string} string The string to trim.
2708
+ * @returns {string} Returns the trimmed string.
2709
+ */
2710
+ function baseTrim(string) {
2711
+ return string
2712
+ ? string.slice(0, _trimmedEndIndex(string) + 1).replace(reTrimStart, '')
2713
+ : string;
2714
+ }
2715
+
2716
+ var _baseTrim = baseTrim;
2717
+
2671
2718
  /**
2672
2719
  * Checks if `value` is object-like. A value is object-like if it's not `null`
2673
2720
  * and has a `typeof` result of "object".
@@ -2728,9 +2775,6 @@ var isSymbol_1 = isSymbol;
2728
2775
  /** Used as references for various `Number` constants. */
2729
2776
  var NAN = 0 / 0;
2730
2777
 
2731
- /** Used to match leading and trailing whitespace. */
2732
- var reTrim = /^\s+|\s+$/g;
2733
-
2734
2778
  /** Used to detect bad signed hexadecimal string values. */
2735
2779
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
2736
2780
 
@@ -2780,7 +2824,7 @@ function toNumber(value) {
2780
2824
  if (typeof value != 'string') {
2781
2825
  return value === 0 ? value : +value;
2782
2826
  }
2783
- value = value.replace(reTrim, '');
2827
+ value = _baseTrim(value);
2784
2828
  var isBinary = reIsBinary.test(value);
2785
2829
  return (isBinary || reIsOctal.test(value))
2786
2830
  ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
@@ -2790,7 +2834,7 @@ function toNumber(value) {
2790
2834
  var toNumber_1 = toNumber;
2791
2835
 
2792
2836
  /** Used as references for various `Number` constants. */
2793
- var INFINITY = 1 / 0,
2837
+ var INFINITY$1 = 1 / 0,
2794
2838
  MAX_INTEGER = 1.7976931348623157e+308;
2795
2839
 
2796
2840
  /**
@@ -2821,7 +2865,7 @@ function toFinite(value) {
2821
2865
  return value === 0 ? value : 0;
2822
2866
  }
2823
2867
  value = toNumber_1(value);
2824
- if (value === INFINITY || value === -INFINITY) {
2868
+ if (value === INFINITY$1 || value === -INFINITY$1) {
2825
2869
  var sign = (value < 0 ? -1 : 1);
2826
2870
  return sign * MAX_INTEGER;
2827
2871
  }
@@ -2867,7 +2911,7 @@ var toInteger_1 = toInteger;
2867
2911
 
2868
2912
  /* Built-in method references for those with the same name as other `lodash` methods. */
2869
2913
  var nativeCeil = Math.ceil,
2870
- nativeMax = Math.max;
2914
+ nativeMax$1 = Math.max;
2871
2915
 
2872
2916
  /**
2873
2917
  * Creates an array of elements split into groups the length of `size`.
@@ -2894,7 +2938,7 @@ function chunk(array, size, guard) {
2894
2938
  if ((guard ? _isIterateeCall(array, size, guard) : size === undefined)) {
2895
2939
  size = 1;
2896
2940
  } else {
2897
- size = nativeMax(toInteger_1(size), 0);
2941
+ size = nativeMax$1(toInteger_1(size), 0);
2898
2942
  }
2899
2943
  var length = array == null ? 0 : array.length;
2900
2944
  if (!length || size < 1) {
@@ -3025,14 +3069,14 @@ AtIcon.propTypes = {
3025
3069
  function getInputProps(props) {
3026
3070
  var actualProps = {
3027
3071
  type: props.type,
3028
- maxLength: props.maxlength,
3072
+ maxlength: props.maxlength,
3029
3073
  disabled: props.disabled,
3030
3074
  password: false
3031
3075
  };
3032
3076
  switch (actualProps.type) {
3033
3077
  case 'phone':
3034
3078
  actualProps.type = 'number';
3035
- actualProps.maxLength = 11;
3079
+ actualProps.maxlength = 11;
3036
3080
  break;
3037
3081
  case 'password':
3038
3082
  actualProps.type = 'text';
@@ -3109,14 +3153,15 @@ var AtInput = /** @class */ (function (_super) {
3109
3153
  'at-input__overlay--hidden': !disabled
3110
3154
  });
3111
3155
  var placeholderCls = classnames('placeholder', placeholderClass);
3156
+ var id = name && { id: name };
3112
3157
  return (React.createElement(View, { className: rootCls, style: customStyle },
3113
3158
  React.createElement(View, { className: containerCls },
3114
3159
  React.createElement(View, { className: overlayCls, onClick: this.handleClick }),
3115
3160
  title && (React.createElement(Label, { className: "at-input__title " + (required && 'at-input__title--required'), for: name }, title)),
3116
- React.createElement(Input, { className: 'at-input__input', id: name, name: name, type: type, password: password, placeholderStyle: placeholderStyle, placeholderClass: placeholderCls, placeholder: placeholder, cursorSpacing: cursorSpacing, maxlength: maxlength, autoFocus: autoFocus, focus: focus, value: value, confirmType: confirmType, cursor: cursor, selectionStart: selectionStart, selectionEnd: selectionEnd, adjustPosition: adjustPosition, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onConfirm: this.handleConfirm,
3161
+ React.createElement(Input, __assign({ className: 'at-input__input' }, id, { name: name, type: type, password: password, placeholderStyle: placeholderStyle, placeholderClass: placeholderCls, placeholder: placeholder, cursorSpacing: cursorSpacing, maxlength: maxlength, autoFocus: autoFocus, focus: focus, value: value, confirmType: confirmType, cursor: cursor, selectionStart: selectionStart, selectionEnd: selectionEnd, adjustPosition: adjustPosition, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onConfirm: this.handleConfirm,
3117
3162
  // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
3118
3163
  // @ts-ignore
3119
- onKeyboardHeightChange: this.handleKeyboardHeightChange }),
3164
+ onKeyboardHeightChange: this.handleKeyboardHeightChange })),
3120
3165
  clear && value && (React.createElement(View, { className: 'at-input__icon', onTouchEnd: this.handleClearValue },
3121
3166
  React.createElement(Text, { className: 'at-icon at-icon-close-circle at-input__icon-close' }))),
3122
3167
  error && (React.createElement(View, { className: 'at-input__icon', onTouchStart: this.handleErrorClick },
@@ -3236,7 +3281,7 @@ var isArray = Array.isArray;
3236
3281
  var isArray_1 = isArray;
3237
3282
 
3238
3283
  /** Used as references for various `Number` constants. */
3239
- var INFINITY$1 = 1 / 0;
3284
+ var INFINITY = 1 / 0;
3240
3285
 
3241
3286
  /** Used to convert symbols to primitives and strings. */
3242
3287
  var symbolProto = _Symbol ? _Symbol.prototype : undefined,
@@ -3263,7 +3308,7 @@ function baseToString(value) {
3263
3308
  return symbolToString ? symbolToString.call(value) : '';
3264
3309
  }
3265
3310
  var result = (value + '');
3266
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
3311
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
3267
3312
  }
3268
3313
 
3269
3314
  var _baseToString = baseToString;
@@ -3744,6 +3789,8 @@ var AtNoticebar = /** @class */ (function (_super) {
3744
3789
  AtNoticebar.prototype.initAnimation = function () {
3745
3790
  var _this = this;
3746
3791
  var _a = this.state, isWEAPP = _a.isWEAPP, isALIPAY = _a.isALIPAY;
3792
+ // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
3793
+ // @ts-ignore
3747
3794
  this.timeout = setTimeout(function () {
3748
3795
  _this.timeout = null;
3749
3796
  if (_this.state.isWEB) {
@@ -3796,6 +3843,8 @@ var AtNoticebar = /** @class */ (function (_super) {
3796
3843
  }, 900);
3797
3844
  };
3798
3845
  animBody();
3846
+ // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
3847
+ // @ts-ignore
3799
3848
  _this.interval = setInterval(animBody, dura * 1000 + 1000);
3800
3849
  });
3801
3850
  }
@@ -4330,7 +4379,7 @@ AtTabBar.propTypes = {
4330
4379
  onClick: propTypes.func
4331
4380
  };
4332
4381
 
4333
- var ENV$1 = Taro.getEnv();
4382
+ var ENV$3 = Taro.getEnv();
4334
4383
  var MIN_DISTANCE = 100;
4335
4384
  var MAX_INTERVAL = 10;
4336
4385
  var AtTabs = /** @class */ (function (_super) {
@@ -4340,7 +4389,7 @@ var AtTabs = /** @class */ (function (_super) {
4340
4389
  _this.updateState = function (idx) {
4341
4390
  if (_this.props.scroll) {
4342
4391
  // 标签栏滚动
4343
- switch (ENV$1) {
4392
+ switch (ENV$3) {
4344
4393
  case Taro.ENV_TYPE.WEAPP:
4345
4394
  case Taro.ENV_TYPE.ALIPAY:
4346
4395
  case Taro.ENV_TYPE.SWAN: {
@@ -4394,6 +4443,8 @@ var AtTabs = /** @class */ (function (_super) {
4394
4443
  // 获取触摸时的原点
4395
4444
  this._touchDot = e.touches[0].pageX;
4396
4445
  // 使用js计时器记录时间
4446
+ // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
4447
+ // @ts-ignore
4397
4448
  this._timer = setInterval(function () {
4398
4449
  _this._interval++;
4399
4450
  }, 100);
@@ -4429,7 +4480,7 @@ var AtTabs = /** @class */ (function (_super) {
4429
4480
  this._isMoving = false;
4430
4481
  };
4431
4482
  AtTabs.prototype.getTabHeaderRef = function () {
4432
- if (ENV$1 === Taro.ENV_TYPE.WEB) {
4483
+ if (ENV$3 === Taro.ENV_TYPE.WEB) {
4433
4484
  this.tabHeaderRef = document.getElementById(this._tabId);
4434
4485
  }
4435
4486
  };
@@ -4475,7 +4526,7 @@ var AtTabs = /** @class */ (function (_super) {
4475
4526
  'at-tabs__item': true,
4476
4527
  'at-tabs__item--active': current === idx
4477
4528
  });
4478
- return (React.createElement(View, { className: itemCls, id: "tab" + _this._tabId + idx, key: item.title, onClick: _this.handleClick.bind(_this, idx) },
4529
+ return (React.createElement(View, { className: itemCls, id: "tab" + _this._tabId + idx, key: "at-tabs-item-" + idx, onClick: _this.handleClick.bind(_this, idx) },
4479
4530
  item.title,
4480
4531
  React.createElement(View, { className: 'at-tabs__item-underline' })));
4481
4532
  });
@@ -4484,7 +4535,7 @@ var AtTabs = /** @class */ (function (_super) {
4484
4535
  'at-tabs--scroll': scroll
4485
4536
  },
4486
4537
  _a["at-tabs--" + tabDirection] = true,
4487
- _a["at-tabs--" + ENV$1] = true,
4538
+ _a["at-tabs--" + ENV$3] = true,
4488
4539
  _a), className);
4489
4540
  var scrollX = tabDirection === 'horizontal';
4490
4541
  var scrollY = tabDirection === 'vertical';
@@ -4553,11 +4604,11 @@ AtTabsPane.propTypes = {
4553
4604
  current: propTypes.number
4554
4605
  };
4555
4606
 
4556
- var SIZE_CLASS$2 = {
4607
+ var SIZE_CLASS = {
4557
4608
  normal: 'normal',
4558
4609
  small: 'small'
4559
4610
  };
4560
- var TYPE_CLASS$1 = {
4611
+ var TYPE_CLASS = {
4561
4612
  primary: 'primary'
4562
4613
  };
4563
4614
  var AtTag = /** @class */ (function (_super) {
@@ -4580,8 +4631,8 @@ var AtTag = /** @class */ (function (_super) {
4580
4631
  var _b = this.props, _c = _b.size, size = _c === void 0 ? 'normal' : _c, _d = _b.type, type = _d === void 0 ? '' : _d, _e = _b.circle, circle = _e === void 0 ? false : _e, _f = _b.disabled, disabled = _f === void 0 ? false : _f, _g = _b.active, active = _g === void 0 ? false : _g, customStyle = _b.customStyle;
4581
4632
  var rootClassName = ['at-tag'];
4582
4633
  var classObject = (_a = {},
4583
- _a["at-tag--" + SIZE_CLASS$2[size]] = SIZE_CLASS$2[size],
4584
- _a["at-tag--" + type] = TYPE_CLASS$1[type],
4634
+ _a["at-tag--" + SIZE_CLASS[size]] = SIZE_CLASS[size],
4635
+ _a["at-tag--" + type] = TYPE_CLASS[type],
4585
4636
  _a['at-tag--disabled'] = disabled,
4586
4637
  _a['at-tag--active'] = active,
4587
4638
  _a['at-tag--circle'] = circle,
@@ -4799,6 +4850,8 @@ var AtToast = /** @class */ (function (_super) {
4799
4850
  if (duration === 0) {
4800
4851
  return;
4801
4852
  }
4853
+ // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
4854
+ // @ts-ignore
4802
4855
  this._timer = setTimeout(function () {
4803
4856
  _this.close();
4804
4857
  }, +duration);
@@ -5162,10 +5215,18 @@ var AtSwipeAction = /** @class */ (function (_super) {
5162
5215
  AtSwipeAction.prototype._reset = function (isOpened) {
5163
5216
  var _this = this;
5164
5217
  if (isOpened) {
5165
- this.setState({
5166
- _isOpened: true,
5167
- offsetSize: -this.maxOffsetSize
5168
- });
5218
+ if (process.env.TARO_ENV === 'jd') {
5219
+ this.setState({
5220
+ _isOpened: true,
5221
+ offsetSize: -this.maxOffsetSize + 0.01
5222
+ });
5223
+ }
5224
+ else {
5225
+ this.setState({
5226
+ _isOpened: true,
5227
+ offsetSize: -this.maxOffsetSize
5228
+ });
5229
+ }
5169
5230
  }
5170
5231
  else {
5171
5232
  this.setState({
@@ -5779,14 +5840,14 @@ var generateMatrix = function (files, col, showAddBtn) {
5779
5840
  }
5780
5841
  return matrix;
5781
5842
  };
5782
- var ENV$3 = Taro.getEnv();
5843
+ var ENV$1 = Taro.getEnv();
5783
5844
  var AtImagePicker = /** @class */ (function (_super) {
5784
5845
  __extends(AtImagePicker, _super);
5785
5846
  function AtImagePicker() {
5786
5847
  var _this = _super !== null && _super.apply(this, arguments) || this;
5787
5848
  _this.chooseFile = function () {
5788
5849
  var _a = _this.props, _b = _a.files, files = _b === void 0 ? [] : _b, multiple = _a.multiple, count = _a.count, sizeType = _a.sizeType, sourceType = _a.sourceType;
5789
- var filePathName = ENV$3 === Taro.ENV_TYPE.ALIPAY ? 'apFilePaths' : 'tempFiles';
5850
+ var filePathName = ENV$1 === Taro.ENV_TYPE.ALIPAY ? 'apFilePaths' : 'tempFiles';
5790
5851
  // const count = multiple ? 99 : 1
5791
5852
  var params = {};
5792
5853
  if (multiple) {
@@ -5816,9 +5877,11 @@ var AtImagePicker = /** @class */ (function (_super) {
5816
5877
  _this.props.onImageClick &&
5817
5878
  _this.props.onImageClick(idx, _this.props.files[idx]);
5818
5879
  };
5819
- _this.handleRemoveImg = function (idx) {
5880
+ _this.handleRemoveImg = function (idx, event) {
5881
+ event.stopPropagation();
5882
+ event.preventDefault();
5820
5883
  var _a = _this.props.files, files = _a === void 0 ? [] : _a;
5821
- if (ENV$3 === Taro.ENV_TYPE.WEB) {
5884
+ if (ENV$1 === Taro.ENV_TYPE.WEB) {
5822
5885
  window.URL.revokeObjectURL(files[idx].url);
5823
5886
  }
5824
5887
  var newFiles = files.filter(function (_, i) { return i !== idx; });
@@ -5837,7 +5900,7 @@ var AtImagePicker = /** @class */ (function (_super) {
5837
5900
  return item.url ? (React.createElement(View, { className: 'at-image-picker__flex-item', key: i * length + j },
5838
5901
  React.createElement(View, { className: 'at-image-picker__item' },
5839
5902
  React.createElement(View, { className: 'at-image-picker__remove-btn', onClick: _this.handleRemoveImg.bind(_this, i * length + j) }),
5840
- React.createElement(Image, { className: 'at-image-picker__preview-img', mode: mode, src: item.url, onClick: _this.handleImageClick.bind(_this, i * length + j) })))) : (React.createElement(View, { className: 'at-image-picker__flex-item', key: i * length + j }, item.type === 'btn' && (React.createElement(View, { className: 'at-image-picker__item at-image-picker__choose-btn', onClick: _this.chooseFile },
5903
+ React.createElement(Image, { className: 'at-image-picker__preview-img', mode: mode, src: item.url, onClick: _this.handleImageClick.bind(_this, i * length + j) })))) : (React.createElement(View, { className: 'at-image-picker__flex-item', key: 'empty_' + i * length + j }, item.type === 'btn' && (React.createElement(View, { className: 'at-image-picker__item at-image-picker__choose-btn', onClick: _this.chooseFile },
5841
5904
  React.createElement(View, { className: 'add-bar' }),
5842
5905
  React.createElement(View, { className: 'add-bar' })))));
5843
5906
  }))); })));
@@ -6036,7 +6099,7 @@ AtRange.propTypes = {
6036
6099
  onAfterChange: propTypes.func
6037
6100
  };
6038
6101
 
6039
- var ENV$4 = Taro.getEnv();
6102
+ var ENV = Taro.getEnv();
6040
6103
  var AtIndexes = /** @class */ (function (_super) {
6041
6104
  __extends(AtIndexes, _super);
6042
6105
  function AtIndexes(props) {
@@ -6082,7 +6145,7 @@ var AtIndexes = /** @class */ (function (_super) {
6082
6145
  var _this = this;
6083
6146
  var _a = this.props, _b = _a.topKey, topKey = _b === void 0 ? 'Top' : _b, list = _a.list;
6084
6147
  var _tipText = idx === 0 ? topKey : list[idx - 1].key;
6085
- if (ENV$4 === Taro.ENV_TYPE.WEB) {
6148
+ if (ENV === Taro.ENV_TYPE.WEB) {
6086
6149
  delayQuerySelector('.at-indexes', 0).then(function (rect) {
6087
6150
  var targetOffsetTop = _this.listRef.childNodes[idx].offsetTop;
6088
6151
  var _scrollTop = targetOffsetTop - rect[0].top;
@@ -6154,7 +6217,7 @@ var AtIndexes = /** @class */ (function (_super) {
6154
6217
  }
6155
6218
  };
6156
6219
  AtIndexes.prototype.componentDidMount = function () {
6157
- if (ENV$4 === Taro.ENV_TYPE.WEB) {
6220
+ if (ENV === Taro.ENV_TYPE.WEB) {
6158
6221
  this.listRef = document.getElementById(this.listId);
6159
6222
  }
6160
6223
  this.initData();
@@ -6213,7 +6276,7 @@ AtIndexes.defaultProps = {
6213
6276
  };
6214
6277
 
6215
6278
  var dayjs_min = createCommonjsModule(function (module, exports) {
6216
- !function(t,n){module.exports=n();}(commonjsGlobal,function(){var t="millisecond",n="second",e="minute",r="hour",i="day",s="week",u="month",o="quarter",a="year",h=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=function(t,n,e){var r=String(t);return !r||r.length>=n?t:""+Array(n+1-r.length).join(e)+t},d={s:c,z:function(t){var n=-t.utcOffset(),e=Math.abs(n),r=Math.floor(e/60),i=e%60;return (n<=0?"+":"-")+c(r,2,"0")+":"+c(i,2,"0")},m:function(t,n){var e=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(e,u),i=n-r<0,s=t.clone().add(e+(i?-1:1),u);return Number(-(e+(n-r)/(i?r-s:s-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(h){return {M:u,y:a,w:s,d:i,D:"date",h:r,m:e,s:n,ms:t,Q:o}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},l="en",m={};m[l]=$;var y=function(t){return t instanceof v},M=function(t,n,e){var r;if(!t)return l;if("string"==typeof t)m[t]&&(r=t),n&&(m[t]=n,r=t);else {var i=t.name;m[i]=t,r=i;}return !e&&r&&(l=r),r||!e&&l},g=function(t,n,e){if(y(t))return t.clone();var r=n?"string"==typeof n?{format:n,pl:e}:n:{};return r.date=t,new v(r)},D=d;D.l=M,D.i=y,D.w=function(t,n){return g(t,{locale:n.$L,utc:n.$u,$offset:n.$offset})};var v=function(){function c(t){this.$L=this.$L||M(t.locale,null,!0),this.parse(t);}var d=c.prototype;return d.parse=function(t){this.$d=function(t){var n=t.date,e=t.utc;if(null===n)return new Date(NaN);if(D.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var r=n.match(h);if(r)return e?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(n)}(t),this.init();},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},d.$utils=function(){return D},d.isValid=function(){return !("Invalid Date"===this.$d.toString())},d.isSame=function(t,n){var e=g(t);return this.startOf(n)<=e&&e<=this.endOf(n)},d.isAfter=function(t,n){return g(t)<this.startOf(n)},d.isBefore=function(t,n){return this.endOf(n)<g(t)},d.$g=function(t,n,e){return D.u(t)?this[n]:this.set(e,t)},d.year=function(t){return this.$g(t,"$y",a)},d.month=function(t){return this.$g(t,"$M",u)},d.day=function(t){return this.$g(t,"$W",i)},d.date=function(t){return this.$g(t,"$D","date")},d.hour=function(t){return this.$g(t,"$H",r)},d.minute=function(t){return this.$g(t,"$m",e)},d.second=function(t){return this.$g(t,"$s",n)},d.millisecond=function(n){return this.$g(n,"$ms",t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,o){var h=this,f=!!D.u(o)||o,c=D.p(t),d=function(t,n){var e=D.w(h.$u?Date.UTC(h.$y,n,t):new Date(h.$y,n,t),h);return f?e:e.endOf(i)},$=function(t,n){return D.w(h.toDate()[t].apply(h.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(n)),h)},l=this.$W,m=this.$M,y=this.$D,M="set"+(this.$u?"UTC":"");switch(c){case a:return f?d(1,0):d(31,11);case u:return f?d(1,m):d(0,m+1);case s:var g=this.$locale().weekStart||0,v=(l<g?l+7:l)-g;return d(f?y-v:y+(6-v),m);case i:case"date":return $(M+"Hours",0);case r:return $(M+"Minutes",1);case e:return $(M+"Seconds",2);case n:return $(M+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(s,o){var h,f=D.p(s),c="set"+(this.$u?"UTC":""),d=(h={},h[i]=c+"Date",h.date=c+"Date",h[u]=c+"Month",h[a]=c+"FullYear",h[r]=c+"Hours",h[e]=c+"Minutes",h[n]=c+"Seconds",h[t]=c+"Milliseconds",h)[f],$=f===i?this.$D+(o-this.$W):o;if(f===u||f===a){var l=this.clone().set("date",1);l.$d[d]($),l.init(),this.$d=l.set("date",Math.min(this.$D,l.daysInMonth())).toDate();}else d&&this.$d[d]($);return this.init(),this},d.set=function(t,n){return this.clone().$set(t,n)},d.get=function(t){return this[D.p(t)]()},d.add=function(t,o){var h,f=this;t=Number(t);var c=D.p(o),d=function(n){var e=g(f);return D.w(e.date(e.date()+Math.round(n*t)),f)};if(c===u)return this.set(u,this.$M+t);if(c===a)return this.set(a,this.$y+t);if(c===i)return d(1);if(c===s)return d(7);var $=(h={},h[e]=6e4,h[r]=36e5,h[n]=1e3,h)[c]||1,l=this.$d.getTime()+t*$;return D.w(l,this)},d.subtract=function(t,n){return this.add(-1*t,n)},d.format=function(t){var n=this;if(!this.isValid())return "Invalid Date";var e=t||"YYYY-MM-DDTHH:mm:ssZ",r=D.z(this),i=this.$locale(),s=this.$H,u=this.$m,o=this.$M,a=i.weekdays,h=i.months,c=function(t,r,i,s){return t&&(t[r]||t(n,e))||i[r].substr(0,s)},d=function(t){return D.s(s%12||12,t,"0")},$=i.meridiem||function(t,n,e){var r=t<12?"AM":"PM";return e?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:D.s(o+1,2,"0"),MMM:c(i.monthsShort,o,h,3),MMMM:h[o]||h(this,e),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:c(i.weekdaysMin,this.$W,a,2),ddd:c(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(s),HH:D.s(s,2,"0"),h:d(1),hh:d(2),a:$(s,u,!0),A:$(s,u,!1),m:String(u),mm:D.s(u,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:r};return e.replace(f,function(t,n){return n||l[t]||r.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(t,h,f){var c,d=D.p(h),$=g(t),l=6e4*($.utcOffset()-this.utcOffset()),m=this-$,y=D.m(this,$);return y=(c={},c[a]=y/12,c[u]=y,c[o]=y/3,c[s]=(m-l)/6048e5,c[i]=(m-l)/864e5,c[r]=m/36e5,c[e]=m/6e4,c[n]=m/1e3,c)[d]||m,f?y:D.a(y)},d.daysInMonth=function(){return this.endOf(u).$D},d.$locale=function(){return m[this.$L]},d.locale=function(t,n){if(!t)return this.$L;var e=this.clone(),r=M(t,n,!0);return r&&(e.$L=r),e},d.clone=function(){return D.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},c}();return g.prototype=v.prototype,g.extend=function(t,n){return t(n,v,g),g},g.locale=M,g.isDayjs=y,g.unix=function(t){return g(1e3*t)},g.en=m[l],g.Ls=m,g});
6279
+ !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",$="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,f),s=n-i<0,u=e.clone().add(r+(s?-1:1),f);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:f,y:c,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},D="en",v={};v[D]=M;var p=function(t){return t instanceof _},S=function(t,e,n){var r;if(!t)return D;if("string"==typeof t)v[t]&&(r=t),e&&(v[t]=e,r=t);else {var i=t.name;v[i]=t,r=i;}return !n&&r&&(D=r),r||!n&&D},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t);}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return O},m.isValid=function(){return !(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<w(t)},m.$g=function(t,e,n){return O.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!O.u(e)||e,h=O.p(t),$=function(t,e){var i=O.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},l=function(t,e){return O.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case c:return r?$(1,0):$(31,11);case f:return r?$(1,M):$(0,M+1);case o:var D=this.$locale().weekStart||0,v=(y<D?y+7:y)-D;return $(r?m-v:m+(6-v),M);case a:case d:return l(g+"Hours",0);case u:return l(g+"Minutes",1);case s:return l(g+"Seconds",2);case i:return l(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=O.p(t),h="set"+(this.$u?"UTC":""),$=(n={},n[a]=h+"Date",n[d]=h+"Date",n[f]=h+"Month",n[c]=h+"FullYear",n[u]=h+"Hours",n[s]=h+"Minutes",n[i]=h+"Seconds",n[r]=h+"Milliseconds",n)[o],l=o===a?this.$D+(e-this.$W):e;if(o===f||o===c){var y=this.clone().set(d,1);y.$d[$](l),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else $&&this.$d[$](l);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[O.p(t)]()},m.add=function(r,h){var d,$=this;r=Number(r);var l=O.p(h),y=function(t){var e=w($);return O.w(e.date(e.date()+Math.round(t*r)),$)};if(l===f)return this.set(f,this.$M+r);if(l===c)return this.set(c,this.$y+r);if(l===a)return y(1);if(l===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[l]||1,m=this.$d.getTime()+r*M;return O.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||$;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=O.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,f=n.months,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].substr(0,s)},c=function(t){return O.s(s%12||12,t,"0")},d=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:O.s(a+1,2,"0"),MMM:h(n.monthsShort,a,f,3),MMMM:h(f,a),D:this.$D,DD:O.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,o,2),ddd:h(n.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:O.s(s,2,"0"),h:c(1),hh:c(2),a:d(s,u,!0),A:d(s,u,!1),m:String(u),mm:O.s(u,2,"0"),s:String(this.$s),ss:O.s(this.$s,2,"0"),SSS:O.s(this.$ms,3,"0"),Z:i};return r.replace(y,(function(t,e){return e||l[t]||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,$){var l,y=O.p(d),M=w(r),m=(M.utcOffset()-this.utcOffset())*e,g=this-M,D=O.m(this,M);return D=(l={},l[c]=D/12,l[f]=D,l[h]=D/3,l[o]=(g-m)/6048e5,l[a]=(g-m)/864e5,l[u]=g/n,l[s]=g/e,l[i]=g/t,l)[y]||g,$?D:O.a(D)},m.daysInMonth=function(){return this.endOf(f).$D},m.$locale=function(){return v[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=S(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return O.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),b=_.prototype;return w.prototype=b,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",f],["$y",c],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),w.extend=function(t,e){return t.$i||(t(e,_,w),t.$i=!0),w},w.locale=S,w.isDayjs=p,w.unix=function(t){return w(1e3*t)},w.en=v[D],w.Ls=v,w.p={},w}));
6217
6280
  });
6218
6281
 
6219
6282
  /** Built-in value references. */
@@ -6298,7 +6361,7 @@ function arrayPush(array, values) {
6298
6361
  var _arrayPush = arrayPush;
6299
6362
 
6300
6363
  /** `Object#toString` result references. */
6301
- var argsTag = '[object Arguments]';
6364
+ var argsTag$1 = '[object Arguments]';
6302
6365
 
6303
6366
  /**
6304
6367
  * The base implementation of `_.isArguments`.
@@ -6308,19 +6371,19 @@ var argsTag = '[object Arguments]';
6308
6371
  * @returns {boolean} Returns `true` if `value` is an `arguments` object,
6309
6372
  */
6310
6373
  function baseIsArguments(value) {
6311
- return isObjectLike_1(value) && _baseGetTag(value) == argsTag;
6374
+ return isObjectLike_1(value) && _baseGetTag(value) == argsTag$1;
6312
6375
  }
6313
6376
 
6314
6377
  var _baseIsArguments = baseIsArguments;
6315
6378
 
6316
6379
  /** Used for built-in method references. */
6317
- var objectProto$2 = Object.prototype;
6380
+ var objectProto$6 = Object.prototype;
6318
6381
 
6319
6382
  /** Used to check objects for own properties. */
6320
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
6383
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
6321
6384
 
6322
6385
  /** Built-in value references. */
6323
- var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
6386
+ var propertyIsEnumerable = objectProto$6.propertyIsEnumerable;
6324
6387
 
6325
6388
  /**
6326
6389
  * Checks if `value` is likely an `arguments` object.
@@ -6341,7 +6404,7 @@ var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
6341
6404
  * // => false
6342
6405
  */
6343
6406
  var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
6344
- return isObjectLike_1(value) && hasOwnProperty$2.call(value, 'callee') &&
6407
+ return isObjectLike_1(value) && hasOwnProperty$5.call(value, 'callee') &&
6345
6408
  !propertyIsEnumerable.call(value, 'callee');
6346
6409
  };
6347
6410
 
@@ -6444,7 +6507,7 @@ function apply(func, thisArg, args) {
6444
6507
  var _apply = apply;
6445
6508
 
6446
6509
  /* Built-in method references for those with the same name as other `lodash` methods. */
6447
- var nativeMax$1 = Math.max;
6510
+ var nativeMax = Math.max;
6448
6511
 
6449
6512
  /**
6450
6513
  * A specialized version of `baseRest` which transforms the rest array.
@@ -6456,11 +6519,11 @@ var nativeMax$1 = Math.max;
6456
6519
  * @returns {Function} Returns the new function.
6457
6520
  */
6458
6521
  function overRest(func, start, transform) {
6459
- start = nativeMax$1(start === undefined ? (func.length - 1) : start, 0);
6522
+ start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
6460
6523
  return function() {
6461
6524
  var args = arguments,
6462
6525
  index = -1,
6463
- length = nativeMax$1(args.length - start, 0),
6526
+ length = nativeMax(args.length - start, 0),
6464
6527
  array = Array(length);
6465
6528
 
6466
6529
  while (++index < length) {
@@ -6530,10 +6593,10 @@ function isMasked(func) {
6530
6593
  var _isMasked = isMasked;
6531
6594
 
6532
6595
  /** Used for built-in method references. */
6533
- var funcProto = Function.prototype;
6596
+ var funcProto$1 = Function.prototype;
6534
6597
 
6535
6598
  /** Used to resolve the decompiled source of functions. */
6536
- var funcToString = funcProto.toString;
6599
+ var funcToString$1 = funcProto$1.toString;
6537
6600
 
6538
6601
  /**
6539
6602
  * Converts `func` to its source code.
@@ -6545,7 +6608,7 @@ var funcToString = funcProto.toString;
6545
6608
  function toSource(func) {
6546
6609
  if (func != null) {
6547
6610
  try {
6548
- return funcToString.call(func);
6611
+ return funcToString$1.call(func);
6549
6612
  } catch (e) {}
6550
6613
  try {
6551
6614
  return (func + '');
@@ -6566,18 +6629,18 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
6566
6629
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
6567
6630
 
6568
6631
  /** Used for built-in method references. */
6569
- var funcProto$1 = Function.prototype,
6570
- objectProto$3 = Object.prototype;
6632
+ var funcProto = Function.prototype,
6633
+ objectProto$5 = Object.prototype;
6571
6634
 
6572
6635
  /** Used to resolve the decompiled source of functions. */
6573
- var funcToString$1 = funcProto$1.toString;
6636
+ var funcToString = funcProto.toString;
6574
6637
 
6575
6638
  /** Used to check objects for own properties. */
6576
- var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
6639
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
6577
6640
 
6578
6641
  /** Used to detect if a method is native. */
6579
6642
  var reIsNative = RegExp('^' +
6580
- funcToString$1.call(hasOwnProperty$3).replace(reRegExpChar, '\\$&')
6643
+ funcToString.call(hasOwnProperty$4).replace(reRegExpChar, '\\$&')
6581
6644
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
6582
6645
  );
6583
6646
 
@@ -6792,7 +6855,7 @@ var _realNames = realNames;
6792
6855
  var objectProto$4 = Object.prototype;
6793
6856
 
6794
6857
  /** Used to check objects for own properties. */
6795
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
6858
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
6796
6859
 
6797
6860
  /**
6798
6861
  * Gets the name of `func`.
@@ -6804,7 +6867,7 @@ var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
6804
6867
  function getFuncName(func) {
6805
6868
  var result = (func.name + ''),
6806
6869
  array = _realNames[result],
6807
- length = hasOwnProperty$4.call(_realNames, result) ? array.length : 0;
6870
+ length = hasOwnProperty$3.call(_realNames, result) ? array.length : 0;
6808
6871
 
6809
6872
  while (length--) {
6810
6873
  var data = array[length],
@@ -6886,10 +6949,10 @@ function wrapperClone(wrapper) {
6886
6949
  var _wrapperClone = wrapperClone;
6887
6950
 
6888
6951
  /** Used for built-in method references. */
6889
- var objectProto$5 = Object.prototype;
6952
+ var objectProto$3 = Object.prototype;
6890
6953
 
6891
6954
  /** Used to check objects for own properties. */
6892
- var hasOwnProperty$5 = objectProto$5.hasOwnProperty;
6955
+ var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
6893
6956
 
6894
6957
  /**
6895
6958
  * Creates a `lodash` object which wraps `value` to enable implicit method
@@ -7013,7 +7076,7 @@ function lodash(value) {
7013
7076
  if (value instanceof _LodashWrapper) {
7014
7077
  return value;
7015
7078
  }
7016
- if (hasOwnProperty$5.call(value, '__wrapped__')) {
7079
+ if (hasOwnProperty$2.call(value, '__wrapped__')) {
7017
7080
  return _wrapperClone(value);
7018
7081
  }
7019
7082
  }
@@ -7153,7 +7216,7 @@ var TYPE_NOW_MONTH = 0;
7153
7216
  var TYPE_NEXT_MONTH = 1;
7154
7217
 
7155
7218
  /** Used for built-in method references. */
7156
- var objectProto$6 = Object.prototype;
7219
+ var objectProto$2 = Object.prototype;
7157
7220
 
7158
7221
  /**
7159
7222
  * Checks if `value` is likely a prototype object.
@@ -7164,7 +7227,7 @@ var objectProto$6 = Object.prototype;
7164
7227
  */
7165
7228
  function isPrototype(value) {
7166
7229
  var Ctor = value && value.constructor,
7167
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$6;
7230
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$2;
7168
7231
 
7169
7232
  return value === proto;
7170
7233
  }
@@ -7193,10 +7256,10 @@ var nativeKeys = _overArg(Object.keys, Object);
7193
7256
  var _nativeKeys = nativeKeys;
7194
7257
 
7195
7258
  /** Used for built-in method references. */
7196
- var objectProto$7 = Object.prototype;
7259
+ var objectProto$1 = Object.prototype;
7197
7260
 
7198
7261
  /** Used to check objects for own properties. */
7199
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
7262
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
7200
7263
 
7201
7264
  /**
7202
7265
  * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
@@ -7211,7 +7274,7 @@ function baseKeys(object) {
7211
7274
  }
7212
7275
  var result = [];
7213
7276
  for (var key in Object(object)) {
7214
- if (hasOwnProperty$6.call(object, key) && key != 'constructor') {
7277
+ if (hasOwnProperty$1.call(object, key) && key != 'constructor') {
7215
7278
  result.push(key);
7216
7279
  }
7217
7280
  }
@@ -7241,13 +7304,13 @@ var Set$1 = _getNative(_root, 'Set');
7241
7304
  var _Set = Set$1;
7242
7305
 
7243
7306
  /** `Object#toString` result references. */
7244
- var mapTag = '[object Map]',
7245
- objectTag = '[object Object]',
7307
+ var mapTag$2 = '[object Map]',
7308
+ objectTag$1 = '[object Object]',
7246
7309
  promiseTag = '[object Promise]',
7247
- setTag = '[object Set]',
7248
- weakMapTag = '[object WeakMap]';
7310
+ setTag$2 = '[object Set]',
7311
+ weakMapTag$1 = '[object WeakMap]';
7249
7312
 
7250
- var dataViewTag = '[object DataView]';
7313
+ var dataViewTag$1 = '[object DataView]';
7251
7314
 
7252
7315
  /** Used to detect maps, sets, and weakmaps. */
7253
7316
  var dataViewCtorString = _toSource(_DataView),
@@ -7266,23 +7329,23 @@ var dataViewCtorString = _toSource(_DataView),
7266
7329
  var getTag = _baseGetTag;
7267
7330
 
7268
7331
  // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
7269
- if ((_DataView && getTag(new _DataView(new ArrayBuffer(1))) != dataViewTag) ||
7270
- (_Map && getTag(new _Map) != mapTag) ||
7332
+ if ((_DataView && getTag(new _DataView(new ArrayBuffer(1))) != dataViewTag$1) ||
7333
+ (_Map && getTag(new _Map) != mapTag$2) ||
7271
7334
  (_Promise && getTag(_Promise.resolve()) != promiseTag) ||
7272
- (_Set && getTag(new _Set) != setTag) ||
7273
- (_WeakMap && getTag(new _WeakMap) != weakMapTag)) {
7335
+ (_Set && getTag(new _Set) != setTag$2) ||
7336
+ (_WeakMap && getTag(new _WeakMap) != weakMapTag$1)) {
7274
7337
  getTag = function(value) {
7275
7338
  var result = _baseGetTag(value),
7276
- Ctor = result == objectTag ? value.constructor : undefined,
7339
+ Ctor = result == objectTag$1 ? value.constructor : undefined,
7277
7340
  ctorString = Ctor ? _toSource(Ctor) : '';
7278
7341
 
7279
7342
  if (ctorString) {
7280
7343
  switch (ctorString) {
7281
- case dataViewCtorString: return dataViewTag;
7282
- case mapCtorString: return mapTag;
7344
+ case dataViewCtorString: return dataViewTag$1;
7345
+ case mapCtorString: return mapTag$2;
7283
7346
  case promiseCtorString: return promiseTag;
7284
- case setCtorString: return setTag;
7285
- case weakMapCtorString: return weakMapTag;
7347
+ case setCtorString: return setTag$2;
7348
+ case weakMapCtorString: return weakMapTag$1;
7286
7349
  }
7287
7350
  }
7288
7351
  return result;
@@ -7312,7 +7375,7 @@ var stubFalse_1 = stubFalse;
7312
7375
 
7313
7376
  var isBuffer_1 = createCommonjsModule(function (module, exports) {
7314
7377
  /** Detect free variable `exports`. */
7315
- var freeExports = exports && !exports.nodeType && exports;
7378
+ var freeExports = exports && !exports.nodeType && exports;
7316
7379
 
7317
7380
  /** Detect free variable `module`. */
7318
7381
  var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
@@ -7349,22 +7412,22 @@ module.exports = isBuffer;
7349
7412
  });
7350
7413
 
7351
7414
  /** `Object#toString` result references. */
7352
- var argsTag$1 = '[object Arguments]',
7415
+ var argsTag = '[object Arguments]',
7353
7416
  arrayTag = '[object Array]',
7354
7417
  boolTag = '[object Boolean]',
7355
7418
  dateTag = '[object Date]',
7356
7419
  errorTag = '[object Error]',
7357
- funcTag$1 = '[object Function]',
7420
+ funcTag = '[object Function]',
7358
7421
  mapTag$1 = '[object Map]',
7359
7422
  numberTag = '[object Number]',
7360
- objectTag$1 = '[object Object]',
7423
+ objectTag = '[object Object]',
7361
7424
  regexpTag = '[object RegExp]',
7362
7425
  setTag$1 = '[object Set]',
7363
7426
  stringTag = '[object String]',
7364
- weakMapTag$1 = '[object WeakMap]';
7427
+ weakMapTag = '[object WeakMap]';
7365
7428
 
7366
7429
  var arrayBufferTag = '[object ArrayBuffer]',
7367
- dataViewTag$1 = '[object DataView]',
7430
+ dataViewTag = '[object DataView]',
7368
7431
  float32Tag = '[object Float32Array]',
7369
7432
  float64Tag = '[object Float64Array]',
7370
7433
  int8Tag = '[object Int8Array]',
@@ -7382,14 +7445,14 @@ typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
7382
7445
  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
7383
7446
  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
7384
7447
  typedArrayTags[uint32Tag] = true;
7385
- typedArrayTags[argsTag$1] = typedArrayTags[arrayTag] =
7448
+ typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
7386
7449
  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
7387
- typedArrayTags[dataViewTag$1] = typedArrayTags[dateTag] =
7388
- typedArrayTags[errorTag] = typedArrayTags[funcTag$1] =
7450
+ typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
7451
+ typedArrayTags[errorTag] = typedArrayTags[funcTag] =
7389
7452
  typedArrayTags[mapTag$1] = typedArrayTags[numberTag] =
7390
- typedArrayTags[objectTag$1] = typedArrayTags[regexpTag] =
7453
+ typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
7391
7454
  typedArrayTags[setTag$1] = typedArrayTags[stringTag] =
7392
- typedArrayTags[weakMapTag$1] = false;
7455
+ typedArrayTags[weakMapTag] = false;
7393
7456
 
7394
7457
  /**
7395
7458
  * The base implementation of `_.isTypedArray` without Node.js optimizations.
@@ -7422,7 +7485,7 @@ var _baseUnary = baseUnary;
7422
7485
 
7423
7486
  var _nodeUtil = createCommonjsModule(function (module, exports) {
7424
7487
  /** Detect free variable `exports`. */
7425
- var freeExports = exports && !exports.nodeType && exports;
7488
+ var freeExports = exports && !exports.nodeType && exports;
7426
7489
 
7427
7490
  /** Detect free variable `module`. */
7428
7491
  var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
@@ -7476,14 +7539,14 @@ var isTypedArray = nodeIsTypedArray ? _baseUnary(nodeIsTypedArray) : _baseIsType
7476
7539
  var isTypedArray_1 = isTypedArray;
7477
7540
 
7478
7541
  /** `Object#toString` result references. */
7479
- var mapTag$2 = '[object Map]',
7480
- setTag$2 = '[object Set]';
7542
+ var mapTag = '[object Map]',
7543
+ setTag = '[object Set]';
7481
7544
 
7482
7545
  /** Used for built-in method references. */
7483
- var objectProto$8 = Object.prototype;
7546
+ var objectProto = Object.prototype;
7484
7547
 
7485
7548
  /** Used to check objects for own properties. */
7486
- var hasOwnProperty$7 = objectProto$8.hasOwnProperty;
7549
+ var hasOwnProperty = objectProto.hasOwnProperty;
7487
7550
 
7488
7551
  /**
7489
7552
  * Checks if `value` is an empty object, collection, map, or set.
@@ -7528,14 +7591,14 @@ function isEmpty(value) {
7528
7591
  return !value.length;
7529
7592
  }
7530
7593
  var tag = _getTag(value);
7531
- if (tag == mapTag$2 || tag == setTag$2) {
7594
+ if (tag == mapTag || tag == setTag) {
7532
7595
  return !value.size;
7533
7596
  }
7534
7597
  if (_isPrototype(value)) {
7535
7598
  return !_baseKeys(value).length;
7536
7599
  }
7537
7600
  for (var key in value) {
7538
- if (hasOwnProperty$7.call(value, key)) {
7601
+ if (hasOwnProperty.call(value, key)) {
7539
7602
  return false;
7540
7603
  }
7541
7604
  }
@@ -7619,6 +7682,11 @@ var plugins = [handleActive, handleMarks, handleDisabled, handleValid];
7619
7682
 
7620
7683
  var TOTAL = 7 * 6;
7621
7684
  function getFullItem(item, options, selectedDate, isShowStatus) {
7685
+ if (options.marks.find(function (x) { return x.value === item.value; })) {
7686
+ item.marks = [{
7687
+ value: item.value
7688
+ }];
7689
+ }
7622
7690
  if (!isShowStatus)
7623
7691
  return item;
7624
7692
  var bindedPlugins = plugins.map(function (fn) {
@@ -7727,7 +7795,7 @@ var AtCalendarList = /** @class */ (function (_super) {
7727
7795
  }) },
7728
7796
  React.createElement(View, { className: 'flex__item-container' },
7729
7797
  React.createElement(View, { className: 'container-text' }, item.text)),
7730
- React.createElement(View, { className: 'flex__item-extra extra' }, item.marks && item.marks.length > 0 ? (React.createElement(View, { className: 'extra-marks' }, item.marks.map(function (mark, key) { return (React.createElement(Text, { key: key, className: 'mark' }, mark)); }))) : null))); })));
7798
+ React.createElement(View, { className: 'flex__item-extra extra' }, item.marks && item.marks.length > 0 ? (React.createElement(View, { className: 'extra-marks' }, item.marks.map(function (mark, key) { return (React.createElement(Text, { key: key, className: 'mark' }, mark.value)); }))) : null))); })));
7731
7799
  };
7732
7800
  return AtCalendarList;
7733
7801
  }(React.Component));
@@ -7752,7 +7820,7 @@ var AtCalendarHeader = /** @class */ (function (_super) {
7752
7820
  }(React.Component));
7753
7821
 
7754
7822
  var ANIMTE_DURATION = 300;
7755
- var defaultProps = {
7823
+ var defaultProps$1 = {
7756
7824
  marks: [],
7757
7825
  selectedDate: {
7758
7826
  end: Date.now(),
@@ -7937,7 +8005,7 @@ var AtCalendarBody = /** @class */ (function (_super) {
7937
8005
  React.createElement(Swiper, { circular: true, current: 1, skipHiddenItemLayout: true, className: classnames('main__body'), onChange: this.handleChange, vertical: this.props.isVertical, onAnimationFinish: this.handleAnimateFinish, onTouchEnd: this.handleSwipeTouchEnd, onTouchStart: this.handleSwipeTouchStart }, listGroup.map(function (item, key) { return (React.createElement(SwiperItem, { key: key, itemId: key.toString() },
7938
8006
  React.createElement(AtCalendarList, { list: item.list, onClick: _this.props.onDayClick, onLongClick: _this.props.onLongClick }))); }))));
7939
8007
  };
7940
- AtCalendarBody.defaultProps = defaultProps;
8008
+ AtCalendarBody.defaultProps = defaultProps$1;
7941
8009
  return AtCalendarBody;
7942
8010
  }(React.Component));
7943
8011
 
@@ -7972,7 +8040,7 @@ var AtCalendarController = /** @class */ (function (_super) {
7972
8040
  return AtCalendarController;
7973
8041
  }(React.Component));
7974
8042
 
7975
- var defaultProps$1 = {
8043
+ var defaultProps = {
7976
8044
  validDates: [],
7977
8045
  marks: [],
7978
8046
  isSwiper: true,
@@ -8172,7 +8240,7 @@ var AtCalendar = /** @class */ (function (_super) {
8172
8240
  React.createElement(AtCalendarController, { minDate: minDate, maxDate: maxDate, hideArrow: hideArrow, monthFormat: monthFormat, generateDate: generateDate, onPreMonth: this.handleClickPreMonth, onNextMonth: this.handleClickNextMonth, onSelectDate: this.handleSelectDate }),
8173
8241
  React.createElement(AtCalendarBody, { validDates: validDates, marks: marks, format: format, minDate: minDate, maxDate: maxDate, isSwiper: isSwiper, isVertical: isVertical, selectedDate: selectedDate, selectedDates: selectedDates, generateDate: generateDate, onDayClick: this.handleDayClick, onSwipeMonth: this.setMonth, onLongClick: this.handleDayLongClick })));
8174
8242
  };
8175
- AtCalendar.defaultProps = defaultProps$1;
8243
+ AtCalendar.defaultProps = defaultProps;
8176
8244
  return AtCalendar;
8177
8245
  }(React.Component));
8178
8246
 
@@ -8204,7 +8272,7 @@ AtFab.defaultProps = {
8204
8272
  size: 'normal'
8205
8273
  };
8206
8274
 
8207
- var objectToString$2 = function (style) {
8275
+ var objectToString = function (style) {
8208
8276
  if (style && typeof style === 'object') {
8209
8277
  var styleStr_1 = '';
8210
8278
  Object.keys(style).forEach(function (key) {
@@ -8236,7 +8304,7 @@ var AtComponent = /** @class */ (function (_super) {
8236
8304
  typeof style2 === 'object') {
8237
8305
  return Object.assign({}, style1, style2);
8238
8306
  }
8239
- return objectToString$2(style1) + objectToString$2(style2);
8307
+ return objectToString(style1) + objectToString(style2);
8240
8308
  };
8241
8309
  return AtComponent;
8242
8310
  }(Component));