vant 3.4.2 → 4.0.0-alpha.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 (1159) hide show
  1. package/es/action-bar/index.css +1 -1
  2. package/es/action-bar/index.less +4 -6
  3. package/es/action-bar-button/index.css +1 -1
  4. package/es/action-bar-button/index.less +9 -11
  5. package/es/action-bar-icon/index.css +1 -1
  6. package/es/action-bar-icon/index.less +10 -12
  7. package/es/action-sheet/index.css +1 -1
  8. package/es/action-sheet/index.less +23 -24
  9. package/es/address-edit/AddressEdit.d.ts +6 -6
  10. package/es/address-edit/AddressEdit.js +29 -33
  11. package/es/address-edit/AddressEditDetail.d.ts +2 -2
  12. package/es/address-edit/AddressEditDetail.js +9 -17
  13. package/es/address-edit/index.css +1 -1
  14. package/es/address-edit/index.d.ts +6 -6
  15. package/es/address-edit/index.less +8 -15
  16. package/es/address-edit/types.d.ts +2 -4
  17. package/es/address-list/AddressList.d.ts +4 -4
  18. package/es/address-list/AddressList.js +5 -5
  19. package/es/address-list/AddressListItem.js +3 -3
  20. package/es/address-list/index.css +1 -1
  21. package/es/address-list/index.d.ts +4 -4
  22. package/es/address-list/index.less +20 -22
  23. package/es/area/Area.d.ts +13 -25
  24. package/es/area/Area.js +43 -206
  25. package/es/area/index.d.ts +11 -19
  26. package/es/area/types.d.ts +2 -17
  27. package/es/area/utils.d.ts +6 -0
  28. package/es/area/utils.js +85 -0
  29. package/es/badge/index.css +1 -1
  30. package/es/badge/index.less +15 -17
  31. package/es/button/index.css +1 -1
  32. package/es/button/index.less +55 -52
  33. package/es/calendar/Calendar.d.ts +6 -6
  34. package/es/calendar/Calendar.js +5 -5
  35. package/es/calendar/CalendarHeader.d.ts +2 -2
  36. package/es/calendar/CalendarHeader.js +2 -2
  37. package/es/calendar/CalendarMonth.d.ts +1 -2
  38. package/es/calendar/CalendarMonth.js +3 -3
  39. package/es/calendar/index.css +1 -1
  40. package/es/calendar/index.d.ts +6 -6
  41. package/es/calendar/index.less +40 -37
  42. package/es/card/Card.d.ts +2 -2
  43. package/es/card/Card.js +3 -3
  44. package/es/card/index.css +1 -1
  45. package/es/card/index.d.ts +2 -2
  46. package/es/card/index.less +23 -25
  47. package/es/cascader/Cascader.d.ts +2 -2
  48. package/es/cascader/Cascader.js +3 -3
  49. package/es/cascader/index.css +1 -1
  50. package/es/cascader/index.d.ts +2 -2
  51. package/es/cascader/index.less +17 -19
  52. package/es/cell/Cell.js +1 -4
  53. package/es/cell/index.css +1 -1
  54. package/es/cell/index.less +21 -27
  55. package/es/cell-group/index.css +1 -1
  56. package/es/cell-group/index.less +12 -13
  57. package/es/checkbox/index.css +1 -1
  58. package/es/checkbox/index.less +12 -14
  59. package/es/circle/index.css +1 -1
  60. package/es/circle/index.less +8 -10
  61. package/es/collapse-item/CollapseItem.d.ts +13 -0
  62. package/es/collapse-item/CollapseItem.js +3 -2
  63. package/es/collapse-item/index.css +1 -1
  64. package/es/collapse-item/index.d.ts +9 -0
  65. package/es/collapse-item/index.less +12 -12
  66. package/es/config-provider/ConfigProvider.d.ts +14 -0
  67. package/es/config-provider/ConfigProvider.js +9 -2
  68. package/es/config-provider/index.d.ts +10 -1
  69. package/es/contact-card/ContactCard.js +3 -3
  70. package/es/contact-card/index.css +1 -1
  71. package/es/contact-card/index.less +7 -9
  72. package/es/contact-edit/ContactEdit.d.ts +2 -2
  73. package/es/contact-edit/ContactEdit.js +3 -4
  74. package/es/contact-edit/index.css +1 -1
  75. package/es/contact-edit/index.d.ts +2 -2
  76. package/es/contact-edit/index.less +7 -9
  77. package/es/contact-list/ContactList.js +5 -5
  78. package/es/contact-list/index.css +1 -1
  79. package/es/contact-list/index.less +9 -11
  80. package/es/count-down/index.css +1 -1
  81. package/es/count-down/index.less +4 -6
  82. package/es/coupon/index.css +1 -1
  83. package/es/coupon/index.less +28 -31
  84. package/es/coupon-cell/index.css +1 -1
  85. package/es/coupon-cell/index.less +2 -4
  86. package/es/coupon-list/CouponList.js +2 -2
  87. package/es/coupon-list/index.css +1 -1
  88. package/es/coupon-list/index.less +15 -17
  89. package/es/date-picker/DatePicker.d.ts +168 -0
  90. package/es/date-picker/DatePicker.js +111 -0
  91. package/es/{datetime-picker/DatePicker.d.ts → date-picker/index.d.ts} +40 -28
  92. package/es/date-picker/index.js +8 -0
  93. package/es/{datetime-picker → date-picker}/style/index.d.ts +0 -0
  94. package/es/{datetime-picker → date-picker}/style/index.js +0 -0
  95. package/es/{datetime-picker → date-picker}/style/less.d.ts +0 -0
  96. package/es/{datetime-picker → date-picker}/style/less.js +0 -0
  97. package/es/{datetime-picker → date-picker}/utils.d.ts +15 -11
  98. package/es/date-picker/utils.js +40 -0
  99. package/es/dialog/Dialog.d.ts +2 -1
  100. package/es/dialog/Dialog.js +19 -3
  101. package/es/dialog/function-call.d.ts +2 -1
  102. package/es/dialog/index.css +1 -1
  103. package/es/dialog/index.less +22 -24
  104. package/es/divider/index.css +1 -1
  105. package/es/divider/index.less +10 -12
  106. package/es/dropdown-item/index.css +1 -1
  107. package/es/dropdown-item/index.less +2 -5
  108. package/es/dropdown-menu/index.css +1 -1
  109. package/es/dropdown-menu/index.less +14 -18
  110. package/es/empty/index.css +1 -1
  111. package/es/empty/index.less +9 -11
  112. package/es/field/Field.d.ts +4 -4
  113. package/es/field/Field.js +4 -4
  114. package/es/field/index.css +1 -1
  115. package/es/field/index.d.ts +4 -4
  116. package/es/field/index.less +20 -23
  117. package/es/field/utils.js +2 -1
  118. package/es/grid-item/index.css +1 -1
  119. package/es/grid-item/index.less +10 -13
  120. package/es/icon/index.css +1 -1
  121. package/es/icon/index.less +1 -0
  122. package/es/image/index.css +1 -1
  123. package/es/image/index.less +10 -12
  124. package/es/image-preview/index.css +1 -1
  125. package/es/image-preview/index.less +11 -14
  126. package/es/index-anchor/index.css +1 -1
  127. package/es/index-anchor/index.less +12 -14
  128. package/es/index-bar/IndexBar.d.ts +4 -4
  129. package/es/index-bar/IndexBar.js +3 -1
  130. package/es/index-bar/index.css +1 -1
  131. package/es/index-bar/index.d.ts +3 -3
  132. package/es/index-bar/index.less +7 -8
  133. package/es/index.d.ts +3 -2
  134. package/es/index.js +7 -4
  135. package/es/list/index.css +1 -1
  136. package/es/list/index.less +5 -7
  137. package/es/loading/index.css +1 -1
  138. package/es/loading/index.less +7 -10
  139. package/es/locale/lang/bn-BD.d.ts +64 -0
  140. package/es/locale/lang/bn-BD.js +74 -0
  141. package/es/locale/lang/de-DE-formal.d.ts +2 -11
  142. package/es/locale/lang/de-DE-formal.js +3 -12
  143. package/es/locale/lang/de-DE.d.ts +2 -11
  144. package/es/locale/lang/de-DE.js +3 -12
  145. package/es/locale/lang/en-US.d.ts +2 -11
  146. package/es/locale/lang/en-US.js +3 -12
  147. package/es/locale/lang/es-ES.d.ts +2 -11
  148. package/es/locale/lang/es-ES.js +3 -12
  149. package/es/locale/lang/fr-FR.d.ts +2 -11
  150. package/es/locale/lang/fr-FR.js +3 -12
  151. package/es/locale/lang/hi-IN.d.ts +64 -0
  152. package/es/locale/lang/hi-IN.js +74 -0
  153. package/es/locale/lang/id-ID.d.ts +64 -0
  154. package/es/locale/lang/id-ID.js +66 -0
  155. package/es/locale/lang/it-IT.d.ts +64 -0
  156. package/es/locale/lang/it-IT.js +74 -0
  157. package/es/locale/lang/ja-JP.d.ts +2 -12
  158. package/es/locale/lang/ja-JP.js +5 -15
  159. package/es/locale/lang/ko-KR.d.ts +64 -0
  160. package/es/locale/lang/ko-KR.js +74 -0
  161. package/es/locale/lang/nb-NO.d.ts +2 -11
  162. package/es/locale/lang/nb-NO.js +3 -12
  163. package/es/locale/lang/pt-BR.d.ts +2 -11
  164. package/es/locale/lang/pt-BR.js +3 -12
  165. package/es/locale/lang/ro-RO.d.ts +2 -11
  166. package/es/locale/lang/ro-RO.js +3 -12
  167. package/es/locale/lang/ru-RU.d.ts +2 -11
  168. package/es/locale/lang/ru-RU.js +3 -12
  169. package/es/locale/lang/th-TH.d.ts +2 -12
  170. package/es/locale/lang/th-TH.js +5 -15
  171. package/es/locale/lang/tr-TR.d.ts +2 -11
  172. package/es/locale/lang/tr-TR.js +2 -11
  173. package/es/locale/lang/uk-UA.d.ts +64 -0
  174. package/es/locale/lang/uk-UA.js +74 -0
  175. package/es/locale/lang/vi-VN.d.ts +64 -0
  176. package/es/locale/lang/vi-VN.js +74 -0
  177. package/es/locale/lang/zh-CN.d.ts +2 -12
  178. package/es/locale/lang/zh-CN.js +6 -16
  179. package/es/locale/lang/zh-HK.d.ts +2 -12
  180. package/es/locale/lang/zh-HK.js +6 -16
  181. package/es/locale/lang/zh-TW.d.ts +2 -12
  182. package/es/locale/lang/zh-TW.js +6 -16
  183. package/es/nav-bar/NavBar.d.ts +3 -3
  184. package/es/nav-bar/NavBar.js +3 -3
  185. package/es/nav-bar/index.css +1 -1
  186. package/es/nav-bar/index.d.ts +3 -3
  187. package/es/nav-bar/index.less +11 -14
  188. package/es/notice-bar/index.css +1 -1
  189. package/es/notice-bar/index.less +11 -13
  190. package/es/notify/index.css +1 -1
  191. package/es/notify/index.less +13 -15
  192. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  193. package/es/number-keyboard/index.css +1 -1
  194. package/es/number-keyboard/index.d.ts +1 -1
  195. package/es/number-keyboard/index.less +26 -23
  196. package/es/overlay/index.css +1 -1
  197. package/es/overlay/index.less +4 -6
  198. package/es/pagination/index.css +1 -1
  199. package/es/pagination/index.less +13 -15
  200. package/es/password-input/index.css +1 -1
  201. package/es/password-input/index.less +20 -22
  202. package/es/picker/Picker.d.ts +26 -28
  203. package/es/picker/Picker.js +91 -196
  204. package/es/picker/PickerColumn.d.ts +21 -30
  205. package/es/picker/PickerColumn.js +61 -111
  206. package/es/picker/index.css +1 -1
  207. package/es/picker/index.d.ts +19 -20
  208. package/es/picker/index.less +31 -20
  209. package/es/picker/types.d.ts +13 -19
  210. package/es/picker/utils.d.ts +10 -0
  211. package/es/picker/utils.js +73 -0
  212. package/es/popover/Popover.d.ts +1 -1
  213. package/es/popover/index.css +1 -1
  214. package/es/popover/index.d.ts +1 -1
  215. package/es/popover/index.less +21 -23
  216. package/es/popup/Popup.d.ts +4 -3
  217. package/es/popup/Popup.js +13 -5
  218. package/es/popup/index.css +1 -1
  219. package/es/popup/index.d.ts +4 -3
  220. package/es/popup/index.less +20 -23
  221. package/es/popup/types.d.ts +5 -2
  222. package/es/progress/index.css +1 -1
  223. package/es/progress/index.less +14 -18
  224. package/es/pull-refresh/index.css +1 -1
  225. package/es/pull-refresh/index.less +5 -7
  226. package/es/radio/index.css +1 -1
  227. package/es/radio/index.less +12 -14
  228. package/es/rate/index.css +1 -1
  229. package/es/rate/index.less +6 -8
  230. package/es/search/Search.d.ts +4 -4
  231. package/es/search/Search.js +7 -7
  232. package/es/search/index.css +1 -1
  233. package/es/search/index.d.ts +4 -4
  234. package/es/search/index.less +16 -18
  235. package/es/share-sheet/index.css +1 -1
  236. package/es/share-sheet/index.less +17 -19
  237. package/es/sidebar/index.css +1 -1
  238. package/es/sidebar/index.less +2 -4
  239. package/es/sidebar-item/index.css +1 -1
  240. package/es/sidebar-item/index.less +17 -19
  241. package/es/skeleton/index.css +1 -1
  242. package/es/skeleton/index.less +14 -16
  243. package/es/slider/Slider.d.ts +4 -4
  244. package/es/slider/Slider.js +4 -5
  245. package/es/slider/index.css +1 -1
  246. package/es/slider/index.d.ts +4 -4
  247. package/es/slider/index.less +20 -18
  248. package/es/step/index.css +1 -1
  249. package/es/step/index.less +15 -17
  250. package/es/stepper/Stepper.d.ts +1 -1
  251. package/es/stepper/index.css +1 -1
  252. package/es/stepper/index.d.ts +1 -1
  253. package/es/stepper/index.less +20 -25
  254. package/es/steps/Steps.d.ts +2 -2
  255. package/es/steps/Steps.js +2 -2
  256. package/es/steps/index.css +1 -1
  257. package/es/steps/index.d.ts +2 -2
  258. package/es/steps/index.less +3 -5
  259. package/es/sticky/index.css +1 -1
  260. package/es/sticky/index.less +2 -4
  261. package/es/style/animation.css +1 -1
  262. package/es/style/animation.less +18 -22
  263. package/es/style/base.css +1 -1
  264. package/es/style/base.less +12 -9
  265. package/es/style/css-variables.css +1 -1
  266. package/es/style/css-variables.less +76 -61
  267. package/es/style/mixins/hairline.less +0 -2
  268. package/es/style/normalize.css +1 -1
  269. package/es/style/normalize.less +1 -3
  270. package/es/submit-bar/index.css +1 -1
  271. package/es/submit-bar/index.less +27 -28
  272. package/es/swipe/index.css +1 -1
  273. package/es/swipe/index.less +11 -13
  274. package/es/switch/index.css +1 -1
  275. package/es/switch/index.less +24 -24
  276. package/es/tabbar/index.css +1 -1
  277. package/es/tabbar/index.less +5 -7
  278. package/es/tabbar-item/index.css +1 -1
  279. package/es/tabbar-item/index.less +9 -11
  280. package/es/tabs/Tabs.d.ts +2 -4
  281. package/es/tabs/Tabs.js +14 -27
  282. package/es/tabs/index.css +1 -1
  283. package/es/tabs/index.d.ts +2 -4
  284. package/es/tabs/index.less +17 -20
  285. package/es/tag/Tag.js +2 -2
  286. package/es/tag/index.css +1 -1
  287. package/es/tag/index.less +22 -26
  288. package/es/time-picker/TimePicker.d.ts +214 -0
  289. package/es/time-picker/TimePicker.js +71 -0
  290. package/{lib/datetime-picker/TimePicker.d.ts → es/time-picker/index.d.ts} +60 -20
  291. package/es/time-picker/index.js +8 -0
  292. package/{lib/datetime-picker → es/time-picker}/style/index.d.ts +0 -0
  293. package/es/time-picker/style/index.js +3 -0
  294. package/{lib/datetime-picker → es/time-picker}/style/less.d.ts +0 -0
  295. package/es/time-picker/style/less.js +3 -0
  296. package/es/toast/Toast.d.ts +3 -0
  297. package/es/toast/Toast.js +2 -1
  298. package/es/toast/index.css +1 -1
  299. package/es/toast/index.less +19 -21
  300. package/es/tree-select/TreeSelect.d.ts +3 -3
  301. package/es/tree-select/TreeSelect.js +5 -4
  302. package/es/tree-select/index.css +1 -1
  303. package/es/tree-select/index.d.ts +3 -3
  304. package/es/tree-select/index.less +12 -14
  305. package/es/uploader/Uploader.d.ts +4 -4
  306. package/es/uploader/Uploader.js +4 -4
  307. package/es/uploader/index.css +1 -1
  308. package/es/uploader/index.d.ts +4 -4
  309. package/es/uploader/index.less +31 -33
  310. package/es/uploader/types.d.ts +1 -3
  311. package/es/utils/basic.d.ts +1 -0
  312. package/es/utils/basic.js +2 -0
  313. package/es/utils/interceptor.d.ts +1 -1
  314. package/lib/action-bar/ActionBar.js +14 -13
  315. package/lib/action-bar/index.css +1 -1
  316. package/lib/action-bar/index.js +14 -8
  317. package/lib/action-bar/index.less +4 -6
  318. package/lib/action-bar-button/ActionBarButton.js +18 -17
  319. package/lib/action-bar-button/index.css +1 -1
  320. package/lib/action-bar-button/index.js +14 -8
  321. package/lib/action-bar-button/index.less +9 -11
  322. package/lib/action-bar-icon/ActionBarIcon.js +18 -17
  323. package/lib/action-bar-icon/index.css +1 -1
  324. package/lib/action-bar-icon/index.js +14 -8
  325. package/lib/action-bar-icon/index.less +10 -12
  326. package/lib/action-sheet/ActionSheet.js +17 -16
  327. package/lib/action-sheet/index.css +1 -1
  328. package/lib/action-sheet/index.js +14 -8
  329. package/lib/action-sheet/index.less +23 -24
  330. package/lib/address-edit/AddressEdit.d.ts +6 -6
  331. package/lib/address-edit/AddressEdit.js +54 -52
  332. package/lib/address-edit/AddressEditDetail.d.ts +2 -2
  333. package/lib/address-edit/AddressEditDetail.js +24 -31
  334. package/lib/address-edit/index.css +1 -1
  335. package/lib/address-edit/index.d.ts +6 -6
  336. package/lib/address-edit/index.js +14 -8
  337. package/lib/address-edit/index.less +8 -15
  338. package/lib/address-edit/types.d.ts +2 -4
  339. package/lib/address-edit/types.js +18 -1
  340. package/lib/address-list/AddressList.d.ts +4 -4
  341. package/lib/address-list/AddressList.js +23 -17
  342. package/lib/address-list/AddressListItem.js +20 -19
  343. package/lib/address-list/index.css +1 -1
  344. package/lib/address-list/index.d.ts +4 -4
  345. package/lib/address-list/index.js +14 -8
  346. package/lib/address-list/index.less +20 -22
  347. package/lib/area/Area.d.ts +13 -25
  348. package/lib/area/Area.js +58 -220
  349. package/lib/area/index.d.ts +11 -19
  350. package/lib/area/index.js +14 -8
  351. package/lib/area/types.d.ts +2 -17
  352. package/lib/area/types.js +18 -1
  353. package/lib/area/utils.d.ts +6 -0
  354. package/lib/area/utils.js +109 -0
  355. package/lib/badge/Badge.js +13 -12
  356. package/lib/badge/index.css +1 -1
  357. package/lib/badge/index.js +14 -8
  358. package/lib/badge/index.less +15 -17
  359. package/lib/button/Button.js +16 -15
  360. package/lib/button/index.css +1 -1
  361. package/lib/button/index.js +14 -8
  362. package/lib/button/index.less +55 -52
  363. package/lib/button/types.js +18 -1
  364. package/lib/calendar/Calendar.d.ts +6 -6
  365. package/lib/calendar/Calendar.js +29 -23
  366. package/lib/calendar/CalendarDay.js +14 -13
  367. package/lib/calendar/CalendarHeader.d.ts +2 -2
  368. package/lib/calendar/CalendarHeader.js +16 -15
  369. package/lib/calendar/CalendarMonth.d.ts +1 -2
  370. package/lib/calendar/CalendarMonth.js +23 -17
  371. package/lib/calendar/index.css +1 -1
  372. package/lib/calendar/index.d.ts +6 -6
  373. package/lib/calendar/index.js +14 -8
  374. package/lib/calendar/index.less +40 -37
  375. package/lib/calendar/types.js +18 -1
  376. package/lib/calendar/utils.js +11 -10
  377. package/lib/card/Card.d.ts +2 -2
  378. package/lib/card/Card.js +18 -17
  379. package/lib/card/index.css +1 -1
  380. package/lib/card/index.d.ts +2 -2
  381. package/lib/card/index.js +14 -8
  382. package/lib/card/index.less +23 -25
  383. package/lib/cascader/Cascader.d.ts +2 -2
  384. package/lib/cascader/Cascader.js +19 -18
  385. package/lib/cascader/index.css +1 -1
  386. package/lib/cascader/index.d.ts +2 -2
  387. package/lib/cascader/index.js +14 -8
  388. package/lib/cascader/index.less +17 -19
  389. package/lib/cascader/types.js +18 -1
  390. package/lib/cell/Cell.js +16 -18
  391. package/lib/cell/index.css +1 -1
  392. package/lib/cell/index.js +14 -8
  393. package/lib/cell/index.less +21 -27
  394. package/lib/cell-group/CellGroup.js +13 -12
  395. package/lib/cell-group/index.css +1 -1
  396. package/lib/cell-group/index.js +14 -8
  397. package/lib/cell-group/index.less +12 -13
  398. package/lib/checkbox/Checkbox.js +19 -13
  399. package/lib/checkbox/Checker.js +14 -13
  400. package/lib/checkbox/index.css +1 -1
  401. package/lib/checkbox/index.js +14 -8
  402. package/lib/checkbox/index.less +12 -14
  403. package/lib/checkbox/types.js +18 -1
  404. package/lib/checkbox-group/CheckboxGroup.js +15 -14
  405. package/lib/checkbox-group/index.js +14 -8
  406. package/lib/checkbox-group/types.js +18 -1
  407. package/lib/circle/Circle.js +14 -13
  408. package/lib/circle/index.css +1 -1
  409. package/lib/circle/index.js +14 -8
  410. package/lib/circle/index.less +8 -10
  411. package/lib/col/Col.js +15 -14
  412. package/lib/col/index.js +14 -8
  413. package/lib/collapse/Collapse.js +14 -13
  414. package/lib/collapse/index.js +14 -8
  415. package/lib/collapse-item/CollapseItem.d.ts +13 -0
  416. package/lib/collapse-item/CollapseItem.js +22 -20
  417. package/lib/collapse-item/index.css +1 -1
  418. package/lib/collapse-item/index.d.ts +9 -0
  419. package/lib/collapse-item/index.js +14 -8
  420. package/lib/collapse-item/index.less +12 -12
  421. package/lib/collapse-item/types.js +18 -1
  422. package/lib/composables/on-popup-reopen.js +11 -10
  423. package/lib/composables/use-expose.js +12 -11
  424. package/lib/composables/use-height.js +12 -11
  425. package/lib/composables/use-id.js +11 -10
  426. package/lib/composables/use-lazy-render.js +11 -10
  427. package/lib/composables/use-lock-scroll.js +14 -13
  428. package/lib/composables/use-placeholder.js +12 -11
  429. package/lib/composables/use-refs.js +11 -10
  430. package/lib/composables/use-route.js +11 -10
  431. package/lib/composables/use-tab-status.js +11 -10
  432. package/lib/composables/use-touch.js +11 -10
  433. package/lib/composables/use-visibility-change.js +13 -12
  434. package/lib/config-provider/ConfigProvider.d.ts +14 -0
  435. package/lib/config-provider/ConfigProvider.js +20 -12
  436. package/lib/config-provider/index.d.ts +10 -1
  437. package/lib/config-provider/index.js +14 -8
  438. package/lib/contact-card/ContactCard.js +17 -16
  439. package/lib/contact-card/index.css +1 -1
  440. package/lib/contact-card/index.js +14 -8
  441. package/lib/contact-card/index.less +7 -9
  442. package/lib/contact-edit/ContactEdit.d.ts +2 -2
  443. package/lib/contact-edit/ContactEdit.js +21 -21
  444. package/lib/contact-edit/index.css +1 -1
  445. package/lib/contact-edit/index.d.ts +2 -2
  446. package/lib/contact-edit/index.js +14 -8
  447. package/lib/contact-edit/index.less +7 -9
  448. package/lib/contact-list/ContactList.js +24 -23
  449. package/lib/contact-list/index.css +1 -1
  450. package/lib/contact-list/index.js +14 -8
  451. package/lib/contact-list/index.less +9 -11
  452. package/lib/count-down/CountDown.js +16 -15
  453. package/lib/count-down/index.css +1 -1
  454. package/lib/count-down/index.js +14 -8
  455. package/lib/count-down/index.less +4 -6
  456. package/lib/count-down/types.js +18 -1
  457. package/lib/count-down/utils.js +11 -10
  458. package/lib/coupon/Coupon.js +15 -14
  459. package/lib/coupon/index.css +1 -1
  460. package/lib/coupon/index.js +14 -8
  461. package/lib/coupon/index.less +28 -31
  462. package/lib/coupon/utils.js +11 -10
  463. package/lib/coupon-cell/CouponCell.js +14 -13
  464. package/lib/coupon-cell/index.css +1 -1
  465. package/lib/coupon-cell/index.js +14 -8
  466. package/lib/coupon-cell/index.less +2 -4
  467. package/lib/coupon-list/CouponList.js +22 -21
  468. package/lib/coupon-list/index.css +1 -1
  469. package/lib/coupon-list/index.js +14 -8
  470. package/lib/coupon-list/index.less +15 -17
  471. package/lib/date-picker/DatePicker.d.ts +168 -0
  472. package/lib/date-picker/DatePicker.js +135 -0
  473. package/lib/{datetime-picker/DatePicker.d.ts → date-picker/index.d.ts} +40 -28
  474. package/lib/date-picker/index.js +37 -0
  475. package/lib/date-picker/style/index.d.ts +1 -0
  476. package/lib/{datetime-picker → date-picker}/style/index.js +0 -0
  477. package/lib/date-picker/style/less.d.ts +1 -0
  478. package/lib/{datetime-picker → date-picker}/style/less.js +0 -0
  479. package/lib/{datetime-picker → date-picker}/utils.d.ts +15 -11
  480. package/lib/date-picker/utils.js +64 -0
  481. package/lib/dialog/Dialog.d.ts +2 -1
  482. package/lib/dialog/Dialog.js +35 -18
  483. package/lib/dialog/function-call.d.ts +2 -1
  484. package/lib/dialog/function-call.js +16 -10
  485. package/lib/dialog/index.css +1 -1
  486. package/lib/dialog/index.js +11 -10
  487. package/lib/dialog/index.less +22 -24
  488. package/lib/dialog/types.js +18 -1
  489. package/lib/divider/Divider.js +13 -12
  490. package/lib/divider/index.css +1 -1
  491. package/lib/divider/index.js +14 -8
  492. package/lib/divider/index.less +10 -12
  493. package/lib/dropdown-item/DropdownItem.js +19 -18
  494. package/lib/dropdown-item/index.css +1 -1
  495. package/lib/dropdown-item/index.js +14 -8
  496. package/lib/dropdown-item/index.less +2 -5
  497. package/lib/dropdown-item/types.js +18 -1
  498. package/lib/dropdown-menu/DropdownMenu.js +15 -14
  499. package/lib/dropdown-menu/index.css +1 -1
  500. package/lib/dropdown-menu/index.js +14 -8
  501. package/lib/dropdown-menu/index.less +14 -18
  502. package/lib/dropdown-menu/types.js +18 -1
  503. package/lib/empty/Empty.js +14 -13
  504. package/lib/empty/Network.js +11 -10
  505. package/lib/empty/index.css +1 -1
  506. package/lib/empty/index.js +14 -8
  507. package/lib/empty/index.less +9 -11
  508. package/lib/field/Field.d.ts +4 -4
  509. package/lib/field/Field.js +24 -23
  510. package/lib/field/index.css +1 -1
  511. package/lib/field/index.d.ts +4 -4
  512. package/lib/field/index.js +14 -8
  513. package/lib/field/index.less +20 -23
  514. package/lib/field/types.js +18 -1
  515. package/lib/field/utils.js +13 -11
  516. package/lib/form/Form.js +15 -14
  517. package/lib/form/index.js +14 -8
  518. package/lib/form/types.js +18 -1
  519. package/lib/grid/Grid.js +15 -14
  520. package/lib/grid/index.js +14 -8
  521. package/lib/grid-item/GridItem.js +18 -17
  522. package/lib/grid-item/index.css +1 -1
  523. package/lib/grid-item/index.js +14 -8
  524. package/lib/grid-item/index.less +10 -13
  525. package/lib/icon/Icon.js +15 -14
  526. package/lib/icon/index.css +1 -1
  527. package/lib/icon/index.js +14 -8
  528. package/lib/icon/index.less +1 -0
  529. package/lib/image/Image.js +14 -13
  530. package/lib/image/index.css +1 -1
  531. package/lib/image/index.js +14 -8
  532. package/lib/image/index.less +10 -12
  533. package/lib/image-preview/ImagePreview.js +21 -15
  534. package/lib/image-preview/ImagePreviewItem.js +17 -16
  535. package/lib/image-preview/function-call.js +16 -10
  536. package/lib/image-preview/index.css +1 -1
  537. package/lib/image-preview/index.js +11 -10
  538. package/lib/image-preview/index.less +11 -14
  539. package/lib/image-preview/types.js +18 -1
  540. package/lib/index-anchor/IndexAnchor.js +17 -16
  541. package/lib/index-anchor/index.css +1 -1
  542. package/lib/index-anchor/index.js +14 -8
  543. package/lib/index-anchor/index.less +12 -14
  544. package/lib/index-bar/IndexBar.d.ts +4 -4
  545. package/lib/index-bar/IndexBar.js +19 -16
  546. package/lib/index-bar/index.css +1 -1
  547. package/lib/index-bar/index.d.ts +3 -3
  548. package/lib/index-bar/index.js +14 -8
  549. package/lib/index-bar/index.less +7 -8
  550. package/lib/index-bar/types.js +18 -1
  551. package/lib/index.css +1 -1
  552. package/lib/index.d.ts +3 -2
  553. package/lib/index.js +186 -182
  554. package/lib/lazyload/index.js +11 -10
  555. package/lib/lazyload/vue-lazyload/index.js +16 -10
  556. package/lib/lazyload/vue-lazyload/lazy-component.js +12 -11
  557. package/lib/lazyload/vue-lazyload/lazy-container.js +11 -10
  558. package/lib/lazyload/vue-lazyload/lazy-image.js +13 -12
  559. package/lib/lazyload/vue-lazyload/lazy.js +17 -11
  560. package/lib/lazyload/vue-lazyload/listener.js +13 -12
  561. package/lib/lazyload/vue-lazyload/util.js +11 -10
  562. package/lib/list/List.js +17 -16
  563. package/lib/list/index.css +1 -1
  564. package/lib/list/index.js +14 -8
  565. package/lib/list/index.less +5 -7
  566. package/lib/list/types.js +18 -1
  567. package/lib/loading/Loading.js +13 -12
  568. package/lib/loading/index.css +1 -1
  569. package/lib/loading/index.js +14 -8
  570. package/lib/loading/index.less +7 -10
  571. package/lib/locale/index.js +15 -9
  572. package/lib/locale/lang/bn-BD.d.ts +64 -0
  573. package/lib/locale/lang/bn-BD.js +98 -0
  574. package/lib/locale/lang/de-DE-formal.d.ts +2 -11
  575. package/lib/locale/lang/de-DE-formal.js +22 -14
  576. package/lib/locale/lang/de-DE.d.ts +2 -11
  577. package/lib/locale/lang/de-DE.js +22 -14
  578. package/lib/locale/lang/en-US.d.ts +2 -11
  579. package/lib/locale/lang/en-US.js +22 -14
  580. package/lib/locale/lang/es-ES.d.ts +2 -11
  581. package/lib/locale/lang/es-ES.js +22 -14
  582. package/lib/locale/lang/fr-FR.d.ts +2 -11
  583. package/lib/locale/lang/fr-FR.js +22 -14
  584. package/lib/locale/lang/hi-IN.d.ts +64 -0
  585. package/lib/locale/lang/hi-IN.js +98 -0
  586. package/lib/locale/lang/id-ID.d.ts +64 -0
  587. package/lib/locale/lang/id-ID.js +90 -0
  588. package/lib/locale/lang/it-IT.d.ts +64 -0
  589. package/lib/locale/lang/it-IT.js +98 -0
  590. package/lib/locale/lang/ja-JP.d.ts +2 -12
  591. package/lib/locale/lang/ja-JP.js +24 -17
  592. package/lib/locale/lang/ko-KR.d.ts +64 -0
  593. package/lib/locale/lang/ko-KR.js +98 -0
  594. package/lib/locale/lang/nb-NO.d.ts +2 -11
  595. package/lib/locale/lang/nb-NO.js +22 -14
  596. package/lib/locale/lang/pt-BR.d.ts +2 -11
  597. package/lib/locale/lang/pt-BR.js +22 -14
  598. package/lib/locale/lang/ro-RO.d.ts +2 -11
  599. package/lib/locale/lang/ro-RO.js +22 -14
  600. package/lib/locale/lang/ru-RU.d.ts +2 -11
  601. package/lib/locale/lang/ru-RU.js +22 -14
  602. package/lib/locale/lang/th-TH.d.ts +2 -12
  603. package/lib/locale/lang/th-TH.js +24 -17
  604. package/lib/locale/lang/tr-TR.d.ts +2 -11
  605. package/lib/locale/lang/tr-TR.js +21 -13
  606. package/lib/locale/lang/uk-UA.d.ts +64 -0
  607. package/lib/locale/lang/uk-UA.js +98 -0
  608. package/lib/locale/lang/vi-VN.d.ts +64 -0
  609. package/lib/locale/lang/vi-VN.js +98 -0
  610. package/lib/locale/lang/zh-CN.d.ts +2 -12
  611. package/lib/locale/lang/zh-CN.js +25 -18
  612. package/lib/locale/lang/zh-HK.d.ts +2 -12
  613. package/lib/locale/lang/zh-HK.js +25 -18
  614. package/lib/locale/lang/zh-TW.d.ts +2 -12
  615. package/lib/locale/lang/zh-TW.js +25 -18
  616. package/lib/nav-bar/NavBar.d.ts +3 -3
  617. package/lib/nav-bar/NavBar.js +18 -17
  618. package/lib/nav-bar/index.css +1 -1
  619. package/lib/nav-bar/index.d.ts +3 -3
  620. package/lib/nav-bar/index.js +14 -8
  621. package/lib/nav-bar/index.less +11 -14
  622. package/lib/notice-bar/NoticeBar.js +17 -16
  623. package/lib/notice-bar/index.css +1 -1
  624. package/lib/notice-bar/index.js +14 -8
  625. package/lib/notice-bar/index.less +11 -13
  626. package/lib/notice-bar/types.js +18 -1
  627. package/lib/notify/Notify.js +15 -14
  628. package/lib/notify/function-call.js +16 -10
  629. package/lib/notify/index.css +1 -1
  630. package/lib/notify/index.js +11 -10
  631. package/lib/notify/index.less +13 -15
  632. package/lib/notify/types.js +18 -1
  633. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  634. package/lib/number-keyboard/NumberKeyboard.js +17 -11
  635. package/lib/number-keyboard/NumberKeyboardKey.js +15 -14
  636. package/lib/number-keyboard/index.css +1 -1
  637. package/lib/number-keyboard/index.d.ts +1 -1
  638. package/lib/number-keyboard/index.js +14 -8
  639. package/lib/number-keyboard/index.less +26 -23
  640. package/lib/overlay/Overlay.js +14 -13
  641. package/lib/overlay/index.css +1 -1
  642. package/lib/overlay/index.js +14 -8
  643. package/lib/overlay/index.less +4 -6
  644. package/lib/pagination/Pagination.js +13 -12
  645. package/lib/pagination/index.css +1 -1
  646. package/lib/pagination/index.js +14 -8
  647. package/lib/pagination/index.less +13 -15
  648. package/lib/password-input/PasswordInput.js +13 -12
  649. package/lib/password-input/index.css +1 -1
  650. package/lib/password-input/index.js +14 -8
  651. package/lib/password-input/index.less +20 -22
  652. package/lib/picker/Picker.d.ts +26 -28
  653. package/lib/picker/Picker.js +109 -208
  654. package/lib/picker/PickerColumn.d.ts +21 -30
  655. package/lib/picker/PickerColumn.js +76 -125
  656. package/lib/picker/index.css +1 -1
  657. package/lib/picker/index.d.ts +19 -20
  658. package/lib/picker/index.js +14 -8
  659. package/lib/picker/index.less +31 -20
  660. package/lib/picker/types.d.ts +13 -19
  661. package/lib/picker/types.js +18 -1
  662. package/lib/picker/utils.d.ts +10 -0
  663. package/lib/picker/utils.js +97 -0
  664. package/lib/popover/Popover.d.ts +1 -1
  665. package/lib/popover/Popover.js +17 -16
  666. package/lib/popover/index.css +1 -1
  667. package/lib/popover/index.d.ts +1 -1
  668. package/lib/popover/index.js +14 -8
  669. package/lib/popover/index.less +21 -23
  670. package/lib/popover/types.js +18 -1
  671. package/lib/popup/Popup.d.ts +4 -3
  672. package/lib/popup/Popup.js +33 -24
  673. package/lib/popup/index.css +1 -1
  674. package/lib/popup/index.d.ts +4 -3
  675. package/lib/popup/index.js +14 -8
  676. package/lib/popup/index.less +20 -23
  677. package/lib/popup/shared.js +11 -10
  678. package/lib/popup/types.d.ts +5 -2
  679. package/lib/popup/types.js +18 -1
  680. package/lib/progress/Progress.js +13 -12
  681. package/lib/progress/index.css +1 -1
  682. package/lib/progress/index.js +14 -8
  683. package/lib/progress/index.less +14 -18
  684. package/lib/progress/types.js +18 -1
  685. package/lib/pull-refresh/PullRefresh.js +16 -15
  686. package/lib/pull-refresh/index.css +1 -1
  687. package/lib/pull-refresh/index.js +14 -8
  688. package/lib/pull-refresh/index.less +5 -7
  689. package/lib/radio/Radio.js +18 -12
  690. package/lib/radio/index.css +1 -1
  691. package/lib/radio/index.js +14 -8
  692. package/lib/radio/index.less +12 -14
  693. package/lib/radio-group/RadioGroup.js +14 -13
  694. package/lib/radio-group/index.js +14 -8
  695. package/lib/rate/Rate.js +17 -16
  696. package/lib/rate/index.css +1 -1
  697. package/lib/rate/index.js +14 -8
  698. package/lib/rate/index.less +6 -8
  699. package/lib/row/Row.js +14 -13
  700. package/lib/row/index.js +14 -8
  701. package/lib/search/Search.d.ts +4 -4
  702. package/lib/search/Search.js +24 -23
  703. package/lib/search/index.css +1 -1
  704. package/lib/search/index.d.ts +4 -4
  705. package/lib/search/index.js +14 -8
  706. package/lib/search/index.less +16 -18
  707. package/lib/search/types.js +18 -1
  708. package/lib/share-sheet/ShareSheet.js +15 -14
  709. package/lib/share-sheet/index.css +1 -1
  710. package/lib/share-sheet/index.js +14 -8
  711. package/lib/share-sheet/index.less +17 -19
  712. package/lib/sidebar/Sidebar.js +14 -13
  713. package/lib/sidebar/index.css +1 -1
  714. package/lib/sidebar/index.js +14 -8
  715. package/lib/sidebar/index.less +2 -4
  716. package/lib/sidebar-item/SidebarItem.js +17 -16
  717. package/lib/sidebar-item/index.css +1 -1
  718. package/lib/sidebar-item/index.js +14 -8
  719. package/lib/sidebar-item/index.less +17 -19
  720. package/lib/skeleton/Skeleton.js +13 -12
  721. package/lib/skeleton/index.css +1 -1
  722. package/lib/skeleton/index.js +14 -8
  723. package/lib/skeleton/index.less +14 -16
  724. package/lib/slider/Slider.d.ts +4 -4
  725. package/lib/slider/Slider.js +20 -20
  726. package/lib/slider/index.css +1 -1
  727. package/lib/slider/index.d.ts +4 -4
  728. package/lib/slider/index.js +14 -8
  729. package/lib/slider/index.less +20 -18
  730. package/lib/step/Step.js +16 -15
  731. package/lib/step/index.css +1 -1
  732. package/lib/step/index.js +14 -8
  733. package/lib/step/index.less +15 -17
  734. package/lib/stepper/Stepper.d.ts +1 -1
  735. package/lib/stepper/Stepper.js +14 -13
  736. package/lib/stepper/index.css +1 -1
  737. package/lib/stepper/index.d.ts +1 -1
  738. package/lib/stepper/index.js +14 -8
  739. package/lib/stepper/index.less +20 -25
  740. package/lib/steps/Steps.d.ts +2 -2
  741. package/lib/steps/Steps.js +16 -15
  742. package/lib/steps/index.css +1 -1
  743. package/lib/steps/index.d.ts +2 -2
  744. package/lib/steps/index.js +14 -8
  745. package/lib/steps/index.less +3 -5
  746. package/lib/sticky/Sticky.js +15 -14
  747. package/lib/sticky/index.css +1 -1
  748. package/lib/sticky/index.js +14 -8
  749. package/lib/sticky/index.less +2 -4
  750. package/lib/style/animation.css +1 -1
  751. package/lib/style/animation.less +18 -22
  752. package/lib/style/base.css +1 -1
  753. package/lib/style/base.less +12 -9
  754. package/lib/style/css-variables.css +1 -1
  755. package/lib/style/css-variables.less +76 -61
  756. package/lib/style/mixins/hairline.less +0 -2
  757. package/lib/style/normalize.css +1 -1
  758. package/lib/style/normalize.less +1 -3
  759. package/lib/submit-bar/SubmitBar.js +15 -14
  760. package/lib/submit-bar/index.css +1 -1
  761. package/lib/submit-bar/index.js +14 -8
  762. package/lib/submit-bar/index.less +27 -28
  763. package/lib/swipe/Swipe.js +17 -16
  764. package/lib/swipe/index.css +1 -1
  765. package/lib/swipe/index.js +14 -8
  766. package/lib/swipe/index.less +11 -13
  767. package/lib/swipe/types.js +18 -1
  768. package/lib/swipe-cell/SwipeCell.js +16 -15
  769. package/lib/swipe-cell/index.js +14 -8
  770. package/lib/swipe-cell/types.js +18 -1
  771. package/lib/swipe-item/SwipeItem.js +16 -15
  772. package/lib/swipe-item/index.js +14 -8
  773. package/lib/switch/Switch.js +15 -14
  774. package/lib/switch/index.css +1 -1
  775. package/lib/switch/index.js +14 -8
  776. package/lib/switch/index.less +24 -24
  777. package/lib/tab/Tab.js +20 -19
  778. package/lib/tab/index.js +14 -8
  779. package/lib/tabbar/Tabbar.js +15 -14
  780. package/lib/tabbar/index.css +1 -1
  781. package/lib/tabbar/index.js +14 -8
  782. package/lib/tabbar/index.less +5 -7
  783. package/lib/tabbar-item/TabbarItem.js +18 -17
  784. package/lib/tabbar-item/index.css +1 -1
  785. package/lib/tabbar-item/index.js +14 -8
  786. package/lib/tabbar-item/index.less +9 -11
  787. package/lib/tabs/Tabs.d.ts +2 -4
  788. package/lib/tabs/Tabs.js +38 -45
  789. package/lib/tabs/TabsContent.js +14 -13
  790. package/lib/tabs/TabsTitle.js +14 -13
  791. package/lib/tabs/index.css +1 -1
  792. package/lib/tabs/index.d.ts +2 -4
  793. package/lib/tabs/index.js +14 -8
  794. package/lib/tabs/index.less +17 -20
  795. package/lib/tabs/types.js +18 -1
  796. package/lib/tabs/utils.js +12 -11
  797. package/lib/tag/Tag.js +15 -14
  798. package/lib/tag/index.css +1 -1
  799. package/lib/tag/index.js +14 -8
  800. package/lib/tag/index.less +22 -26
  801. package/lib/time-picker/TimePicker.d.ts +214 -0
  802. package/lib/time-picker/TimePicker.js +95 -0
  803. package/{es/datetime-picker/TimePicker.d.ts → lib/time-picker/index.d.ts} +60 -20
  804. package/lib/time-picker/index.js +37 -0
  805. package/lib/time-picker/style/index.d.ts +1 -0
  806. package/lib/time-picker/style/index.js +3 -0
  807. package/lib/time-picker/style/less.d.ts +1 -0
  808. package/lib/time-picker/style/less.js +3 -0
  809. package/lib/toast/Toast.d.ts +3 -0
  810. package/lib/toast/Toast.js +19 -17
  811. package/lib/toast/function-call.js +17 -11
  812. package/lib/toast/index.css +1 -1
  813. package/lib/toast/index.js +11 -10
  814. package/lib/toast/index.less +19 -21
  815. package/lib/toast/lock-click.js +19 -2
  816. package/lib/toast/types.js +18 -1
  817. package/lib/tree-select/TreeSelect.d.ts +3 -3
  818. package/lib/tree-select/TreeSelect.js +21 -19
  819. package/lib/tree-select/index.css +1 -1
  820. package/lib/tree-select/index.d.ts +3 -3
  821. package/lib/tree-select/index.js +14 -8
  822. package/lib/tree-select/index.less +12 -14
  823. package/lib/uploader/Uploader.d.ts +4 -4
  824. package/lib/uploader/Uploader.js +25 -19
  825. package/lib/uploader/UploaderPreviewItem.js +17 -16
  826. package/lib/uploader/index.css +1 -1
  827. package/lib/uploader/index.d.ts +4 -4
  828. package/lib/uploader/index.js +14 -8
  829. package/lib/uploader/index.less +31 -33
  830. package/lib/uploader/types.d.ts +1 -3
  831. package/lib/uploader/types.js +18 -1
  832. package/lib/uploader/utils.js +11 -10
  833. package/lib/utils/basic.d.ts +1 -0
  834. package/lib/utils/basic.js +21 -2
  835. package/lib/utils/constant.js +19 -2
  836. package/lib/utils/create.js +16 -10
  837. package/lib/utils/deep-assign.js +11 -10
  838. package/lib/utils/deep-clone.js +11 -10
  839. package/lib/utils/dom.js +13 -12
  840. package/lib/utils/format.js +13 -12
  841. package/lib/utils/index.js +18 -17
  842. package/lib/utils/interceptor.d.ts +1 -1
  843. package/lib/utils/interceptor.js +12 -11
  844. package/lib/utils/mount-component.js +13 -12
  845. package/lib/utils/props.js +19 -2
  846. package/lib/utils/validate.js +11 -10
  847. package/lib/utils/with-install.js +11 -10
  848. package/lib/vant.cjs.js +1244 -1656
  849. package/lib/vant.cjs.min.js +1 -1
  850. package/lib/vant.es.js +1244 -1657
  851. package/lib/vant.es.min.js +1244 -1657
  852. package/lib/vant.js +1247 -1658
  853. package/lib/vant.min.js +1 -1
  854. package/package.json +7 -7
  855. package/vetur/attributes.json +155 -95
  856. package/vetur/tags.json +49 -38
  857. package/vetur/web-types.json +450 -265
  858. package/es/action-bar/var.css +0 -0
  859. package/es/action-bar/var.less +0 -4
  860. package/es/action-bar-button/var.css +0 -0
  861. package/es/action-bar-button/var.less +0 -5
  862. package/es/action-bar-icon/var.css +0 -0
  863. package/es/action-bar-icon/var.less +0 -10
  864. package/es/action-sheet/var.css +0 -0
  865. package/es/action-sheet/var.less +0 -23
  866. package/es/address-edit/var.css +0 -0
  867. package/es/address-edit/var.less +0 -6
  868. package/es/address-list/var.css +0 -0
  869. package/es/address-list/var.less +0 -16
  870. package/es/badge/var.css +0 -0
  871. package/es/badge/var.less +0 -12
  872. package/es/button/var.css +0 -0
  873. package/es/button/var.less +0 -36
  874. package/es/calendar/var.css +0 -0
  875. package/es/calendar/var.less +0 -27
  876. package/es/card/var.css +0 -0
  877. package/es/card/var.less +0 -18
  878. package/es/cascader/var.css +0 -0
  879. package/es/cascader/var.less +0 -15
  880. package/es/cell/var.css +0 -0
  881. package/es/cell/var.less +0 -21
  882. package/es/cell-group/var.css +0 -0
  883. package/es/cell-group/var.less +0 -12
  884. package/es/checkbox/var.css +0 -0
  885. package/es/checkbox/var.less +0 -11
  886. package/es/circle/var.css +0 -0
  887. package/es/circle/var.less +0 -9
  888. package/es/collapse-item/var.css +0 -0
  889. package/es/collapse-item/var.less +0 -9
  890. package/es/contact-card/var.css +0 -0
  891. package/es/contact-card/var.less +0 -6
  892. package/es/contact-edit/var.css +0 -0
  893. package/es/contact-edit/var.less +0 -8
  894. package/es/contact-list/var.css +0 -0
  895. package/es/contact-list/var.less +0 -6
  896. package/es/count-down/var.css +0 -0
  897. package/es/count-down/var.less +0 -5
  898. package/es/coupon/var.css +0 -0
  899. package/es/coupon/var.less +0 -19
  900. package/es/coupon-cell/var.css +0 -0
  901. package/es/coupon-cell/var.less +0 -3
  902. package/es/coupon-list/var.css +0 -0
  903. package/es/coupon-list/var.less +0 -10
  904. package/es/datetime-picker/DatePicker.js +0 -250
  905. package/es/datetime-picker/DatetimePicker.d.ts +0 -7
  906. package/es/datetime-picker/DatetimePicker.js +0 -40
  907. package/es/datetime-picker/TimePicker.js +0 -117
  908. package/es/datetime-picker/index.d.ts +0 -12
  909. package/es/datetime-picker/index.js +0 -8
  910. package/es/datetime-picker/types.d.ts +0 -9
  911. package/es/datetime-picker/types.js +0 -0
  912. package/es/datetime-picker/utils.js +0 -63
  913. package/es/dialog/var.css +0 -0
  914. package/es/dialog/var.less +0 -21
  915. package/es/divider/var.css +0 -0
  916. package/es/divider/var.less +0 -10
  917. package/es/dropdown-item/var.css +0 -0
  918. package/es/dropdown-item/var.less +0 -3
  919. package/es/dropdown-menu/var.css +0 -0
  920. package/es/dropdown-menu/var.less +0 -13
  921. package/es/empty/var.css +0 -0
  922. package/es/empty/var.less +0 -10
  923. package/es/field/var.css +0 -0
  924. package/es/field/var.less +0 -21
  925. package/es/grid-item/var.css +0 -0
  926. package/es/grid-item/var.less +0 -8
  927. package/es/image/var.css +0 -0
  928. package/es/image/var.less +0 -9
  929. package/es/image-preview/var.css +0 -0
  930. package/es/image-preview/var.less +0 -11
  931. package/es/index-anchor/var.css +0 -0
  932. package/es/index-anchor/var.less +0 -11
  933. package/es/index-bar/var.css +0 -0
  934. package/es/index-bar/var.less +0 -6
  935. package/es/list/var.css +0 -0
  936. package/es/list/var.less +0 -6
  937. package/es/loading/var.css +0 -0
  938. package/es/loading/var.less +0 -7
  939. package/es/nav-bar/var.css +0 -0
  940. package/es/nav-bar/var.less +0 -10
  941. package/es/notice-bar/var.css +0 -0
  942. package/es/notice-bar/var.less +0 -11
  943. package/es/notify/var.css +0 -0
  944. package/es/notify/var.less +0 -10
  945. package/es/number-keyboard/var.css +0 -0
  946. package/es/number-keyboard/var.less +0 -17
  947. package/es/overlay/var.css +0 -0
  948. package/es/overlay/var.less +0 -4
  949. package/es/pagination/var.css +0 -0
  950. package/es/pagination/var.less +0 -11
  951. package/es/password-input/var.css +0 -0
  952. package/es/password-input/var.less +0 -17
  953. package/es/picker/var.css +0 -0
  954. package/es/picker/var.less +0 -22
  955. package/es/popover/var.css +0 -0
  956. package/es/popover/var.less +0 -15
  957. package/es/popup/var.css +0 -0
  958. package/es/popup/var.less +0 -9
  959. package/es/progress/var.css +0 -0
  960. package/es/progress/var.less +0 -11
  961. package/es/pull-refresh/var.css +0 -0
  962. package/es/pull-refresh/var.less +0 -6
  963. package/es/radio/var.css +0 -0
  964. package/es/radio/var.less +0 -11
  965. package/es/rate/var.css +0 -0
  966. package/es/rate/var.less +0 -7
  967. package/es/search/var.css +0 -0
  968. package/es/search/var.less +0 -13
  969. package/es/share-sheet/var.css +0 -0
  970. package/es/share-sheet/var.less +0 -18
  971. package/es/sidebar/var.css +0 -0
  972. package/es/sidebar/var.less +0 -3
  973. package/es/sidebar-item/var.css +0 -0
  974. package/es/sidebar-item/var.less +0 -15
  975. package/es/skeleton/var.css +0 -0
  976. package/es/skeleton/var.less +0 -9
  977. package/es/slider/var.css +0 -0
  978. package/es/slider/var.less +0 -11
  979. package/es/step/var.css +0 -0
  980. package/es/step/var.less +0 -13
  981. package/es/stepper/var.css +0 -0
  982. package/es/stepper/var.less +0 -15
  983. package/es/steps/var.css +0 -0
  984. package/es/steps/var.less +0 -3
  985. package/es/sticky/var.css +0 -0
  986. package/es/sticky/var.less +0 -3
  987. package/es/style/var.css +0 -0
  988. package/es/style/var.less +0 -74
  989. package/es/submit-bar/var.css +0 -0
  990. package/es/submit-bar/var.less +0 -22
  991. package/es/swipe/var.css +0 -0
  992. package/es/swipe/var.less +0 -8
  993. package/es/switch/var.css +0 -0
  994. package/es/switch/var.less +0 -14
  995. package/es/tabbar/var.css +0 -0
  996. package/es/tabbar/var.less +0 -5
  997. package/es/tabbar-item/var.css +0 -0
  998. package/es/tabbar-item/var.less +0 -9
  999. package/es/tabs/var.css +0 -0
  1000. package/es/tabs/var.less +0 -14
  1001. package/es/tag/var.css +0 -0
  1002. package/es/tag/var.less +0 -18
  1003. package/es/toast/var.css +0 -0
  1004. package/es/toast/var.less +0 -17
  1005. package/es/tree-select/var.css +0 -0
  1006. package/es/tree-select/var.less +0 -10
  1007. package/es/uploader/var.css +0 -0
  1008. package/es/uploader/var.less +0 -27
  1009. package/lib/action-bar/var.css +0 -0
  1010. package/lib/action-bar/var.less +0 -4
  1011. package/lib/action-bar-button/var.css +0 -0
  1012. package/lib/action-bar-button/var.less +0 -5
  1013. package/lib/action-bar-icon/var.css +0 -0
  1014. package/lib/action-bar-icon/var.less +0 -10
  1015. package/lib/action-sheet/var.css +0 -0
  1016. package/lib/action-sheet/var.less +0 -23
  1017. package/lib/address-edit/var.css +0 -0
  1018. package/lib/address-edit/var.less +0 -6
  1019. package/lib/address-list/var.css +0 -0
  1020. package/lib/address-list/var.less +0 -16
  1021. package/lib/badge/var.css +0 -0
  1022. package/lib/badge/var.less +0 -12
  1023. package/lib/button/var.css +0 -0
  1024. package/lib/button/var.less +0 -36
  1025. package/lib/calendar/var.css +0 -0
  1026. package/lib/calendar/var.less +0 -27
  1027. package/lib/card/var.css +0 -0
  1028. package/lib/card/var.less +0 -18
  1029. package/lib/cascader/var.css +0 -0
  1030. package/lib/cascader/var.less +0 -15
  1031. package/lib/cell/var.css +0 -0
  1032. package/lib/cell/var.less +0 -21
  1033. package/lib/cell-group/var.css +0 -0
  1034. package/lib/cell-group/var.less +0 -12
  1035. package/lib/checkbox/var.css +0 -0
  1036. package/lib/checkbox/var.less +0 -11
  1037. package/lib/circle/var.css +0 -0
  1038. package/lib/circle/var.less +0 -9
  1039. package/lib/collapse-item/var.css +0 -0
  1040. package/lib/collapse-item/var.less +0 -9
  1041. package/lib/contact-card/var.css +0 -0
  1042. package/lib/contact-card/var.less +0 -6
  1043. package/lib/contact-edit/var.css +0 -0
  1044. package/lib/contact-edit/var.less +0 -8
  1045. package/lib/contact-list/var.css +0 -0
  1046. package/lib/contact-list/var.less +0 -6
  1047. package/lib/count-down/var.css +0 -0
  1048. package/lib/count-down/var.less +0 -5
  1049. package/lib/coupon/var.css +0 -0
  1050. package/lib/coupon/var.less +0 -19
  1051. package/lib/coupon-cell/var.css +0 -0
  1052. package/lib/coupon-cell/var.less +0 -3
  1053. package/lib/coupon-list/var.css +0 -0
  1054. package/lib/coupon-list/var.less +0 -10
  1055. package/lib/datetime-picker/DatePicker.js +0 -273
  1056. package/lib/datetime-picker/DatetimePicker.d.ts +0 -7
  1057. package/lib/datetime-picker/DatetimePicker.js +0 -63
  1058. package/lib/datetime-picker/TimePicker.js +0 -140
  1059. package/lib/datetime-picker/index.d.ts +0 -12
  1060. package/lib/datetime-picker/index.js +0 -31
  1061. package/lib/datetime-picker/types.d.ts +0 -9
  1062. package/lib/datetime-picker/types.js +0 -3
  1063. package/lib/datetime-picker/utils.js +0 -86
  1064. package/lib/dialog/var.css +0 -0
  1065. package/lib/dialog/var.less +0 -21
  1066. package/lib/divider/var.css +0 -0
  1067. package/lib/divider/var.less +0 -10
  1068. package/lib/dropdown-item/var.css +0 -0
  1069. package/lib/dropdown-item/var.less +0 -3
  1070. package/lib/dropdown-menu/var.css +0 -0
  1071. package/lib/dropdown-menu/var.less +0 -13
  1072. package/lib/empty/var.css +0 -0
  1073. package/lib/empty/var.less +0 -10
  1074. package/lib/field/var.css +0 -0
  1075. package/lib/field/var.less +0 -21
  1076. package/lib/grid-item/var.css +0 -0
  1077. package/lib/grid-item/var.less +0 -8
  1078. package/lib/image/var.css +0 -0
  1079. package/lib/image/var.less +0 -9
  1080. package/lib/image-preview/var.css +0 -0
  1081. package/lib/image-preview/var.less +0 -11
  1082. package/lib/index-anchor/var.css +0 -0
  1083. package/lib/index-anchor/var.less +0 -11
  1084. package/lib/index-bar/var.css +0 -0
  1085. package/lib/index-bar/var.less +0 -6
  1086. package/lib/list/var.css +0 -0
  1087. package/lib/list/var.less +0 -6
  1088. package/lib/loading/var.css +0 -0
  1089. package/lib/loading/var.less +0 -7
  1090. package/lib/nav-bar/var.css +0 -0
  1091. package/lib/nav-bar/var.less +0 -10
  1092. package/lib/notice-bar/var.css +0 -0
  1093. package/lib/notice-bar/var.less +0 -11
  1094. package/lib/notify/var.css +0 -0
  1095. package/lib/notify/var.less +0 -10
  1096. package/lib/number-keyboard/var.css +0 -0
  1097. package/lib/number-keyboard/var.less +0 -17
  1098. package/lib/overlay/var.css +0 -0
  1099. package/lib/overlay/var.less +0 -4
  1100. package/lib/pagination/var.css +0 -0
  1101. package/lib/pagination/var.less +0 -11
  1102. package/lib/password-input/var.css +0 -0
  1103. package/lib/password-input/var.less +0 -17
  1104. package/lib/picker/var.css +0 -0
  1105. package/lib/picker/var.less +0 -22
  1106. package/lib/popover/var.css +0 -0
  1107. package/lib/popover/var.less +0 -15
  1108. package/lib/popup/var.css +0 -0
  1109. package/lib/popup/var.less +0 -9
  1110. package/lib/progress/var.css +0 -0
  1111. package/lib/progress/var.less +0 -11
  1112. package/lib/pull-refresh/var.css +0 -0
  1113. package/lib/pull-refresh/var.less +0 -6
  1114. package/lib/radio/var.css +0 -0
  1115. package/lib/radio/var.less +0 -11
  1116. package/lib/rate/var.css +0 -0
  1117. package/lib/rate/var.less +0 -7
  1118. package/lib/search/var.css +0 -0
  1119. package/lib/search/var.less +0 -13
  1120. package/lib/share-sheet/var.css +0 -0
  1121. package/lib/share-sheet/var.less +0 -18
  1122. package/lib/sidebar/var.css +0 -0
  1123. package/lib/sidebar/var.less +0 -3
  1124. package/lib/sidebar-item/var.css +0 -0
  1125. package/lib/sidebar-item/var.less +0 -15
  1126. package/lib/skeleton/var.css +0 -0
  1127. package/lib/skeleton/var.less +0 -9
  1128. package/lib/slider/var.css +0 -0
  1129. package/lib/slider/var.less +0 -11
  1130. package/lib/step/var.css +0 -0
  1131. package/lib/step/var.less +0 -13
  1132. package/lib/stepper/var.css +0 -0
  1133. package/lib/stepper/var.less +0 -15
  1134. package/lib/steps/var.css +0 -0
  1135. package/lib/steps/var.less +0 -3
  1136. package/lib/sticky/var.css +0 -0
  1137. package/lib/sticky/var.less +0 -3
  1138. package/lib/style/var.css +0 -0
  1139. package/lib/style/var.less +0 -74
  1140. package/lib/submit-bar/var.css +0 -0
  1141. package/lib/submit-bar/var.less +0 -22
  1142. package/lib/swipe/var.css +0 -0
  1143. package/lib/swipe/var.less +0 -8
  1144. package/lib/switch/var.css +0 -0
  1145. package/lib/switch/var.less +0 -14
  1146. package/lib/tabbar/var.css +0 -0
  1147. package/lib/tabbar/var.less +0 -5
  1148. package/lib/tabbar-item/var.css +0 -0
  1149. package/lib/tabbar-item/var.less +0 -9
  1150. package/lib/tabs/var.css +0 -0
  1151. package/lib/tabs/var.less +0 -14
  1152. package/lib/tag/var.css +0 -0
  1153. package/lib/tag/var.less +0 -18
  1154. package/lib/toast/var.css +0 -0
  1155. package/lib/toast/var.less +0 -17
  1156. package/lib/tree-select/var.css +0 -0
  1157. package/lib/tree-select/var.less +0 -10
  1158. package/lib/uploader/var.css +0 -0
  1159. package/lib/uploader/var.less +0 -27
@@ -8,13 +8,12 @@ declare const _default: {
8
8
  loading: string;
9
9
  noCoupon: string;
10
10
  nameEmpty: string;
11
+ addContact: string;
11
12
  telInvalid: string;
12
13
  vanCalendar: {
13
14
  end: string;
14
15
  start: string;
15
16
  title: string;
16
- confirm: string;
17
- startEnd: string;
18
17
  weekdays: string[];
19
18
  monthTitle: (year: number, month: number) => string;
20
19
  rangePrompt: (maxRange: number) => string;
@@ -22,12 +21,6 @@ declare const _default: {
22
21
  vanCascader: {
23
22
  select: string;
24
23
  };
25
- vanContactCard: {
26
- addText: string;
27
- };
28
- vanContactList: {
29
- addText: string;
30
- };
31
24
  vanPagination: {
32
25
  prev: string;
33
26
  next: string;
@@ -61,12 +54,9 @@ declare const _default: {
61
54
  areaEmpty: string;
62
55
  addressEmpty: string;
63
56
  postalEmpty: string;
57
+ addressDetail: string;
64
58
  defaultAddress: string;
65
59
  };
66
- vanAddressEditDetail: {
67
- label: string;
68
- placeholder: string;
69
- };
70
60
  vanAddressList: {
71
61
  add: string;
72
62
  };
@@ -1,11 +1,27 @@
1
1
  var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
2
5
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
3
6
  var __export = (target, all) => {
4
- __markAsModule(target);
5
7
  for (var name in all)
6
8
  __defProp(target, name, { get: all[name], enumerable: true });
7
9
  };
8
- __export(exports, {
10
+ var __reExport = (target, module2, copyDefault, desc) => {
11
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
+ for (let key of __getOwnPropNames(module2))
13
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
15
+ }
16
+ return target;
17
+ };
18
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
+ return (module2, temp) => {
20
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
+ };
22
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
23
+ var stdin_exports = {};
24
+ __export(stdin_exports, {
9
25
  default: () => stdin_default
10
26
  });
11
27
  var stdin_default = {
@@ -18,13 +34,12 @@ var stdin_default = {
18
34
  loading: "\u52A0\u8F09\u4E2D...",
19
35
  noCoupon: "\u66AB\u7121\u512A\u60E0\u5238",
20
36
  nameEmpty: "\u8ACB\u586B\u5BEB\u59D3\u540D",
37
+ addContact: "\u6DFB\u52A0\u806F\u7CFB\u4EBA",
21
38
  telInvalid: "\u8ACB\u586B\u5BEB\u6B63\u78BA\u7684\u96FB\u8A71",
22
39
  vanCalendar: {
23
40
  end: "\u7D50\u675F",
24
41
  start: "\u958B\u59CB",
25
42
  title: "\u65E5\u671F\u9078\u64C7",
26
- confirm: "\u78BA\u5B9A",
27
- startEnd: "\u958B\u59CB/\u7D50\u675F",
28
43
  weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
29
44
  monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
30
45
  rangePrompt: (maxRange) => `\u6700\u591A\u9078\u64C7 ${maxRange} \u5929`
@@ -32,12 +47,6 @@ var stdin_default = {
32
47
  vanCascader: {
33
48
  select: "\u8ACB\u9078\u64C7"
34
49
  },
35
- vanContactCard: {
36
- addText: "\u6DFB\u52A0\u806F\u7CFB\u4EBA"
37
- },
38
- vanContactList: {
39
- addText: "\u65B0\u5EFA\u806F\u7CFB\u4EBA"
40
- },
41
50
  vanPagination: {
42
51
  prev: "\u4E0A\u4E00\u9801",
43
52
  next: "\u4E0B\u4E00\u9801"
@@ -47,10 +56,10 @@ var stdin_default = {
47
56
  loosing: "\u91CB\u653E\u5373\u53EF\u5237\u65B0..."
48
57
  },
49
58
  vanSubmitBar: {
50
- label: "\u5408\u8A08\uFF1A"
59
+ label: "\u5408\u8A08:"
51
60
  },
52
61
  vanCoupon: {
53
- unlimited: "\u7121\u4F7F\u7528\u9580\u6ABB",
62
+ unlimited: "\u7121\u9580\u6ABB",
54
63
  discount: (discount) => `${discount}\u6298`,
55
64
  condition: (condition) => `\u6EFF${condition}\u5143\u53EF\u7528`
56
65
  },
@@ -60,10 +69,10 @@ var stdin_default = {
60
69
  },
61
70
  vanCouponList: {
62
71
  exchange: "\u514C\u63DB",
63
- close: "\u4E0D\u4F7F\u7528\u512A\u60E0",
72
+ close: "\u4E0D\u4F7F\u7528",
64
73
  enable: "\u53EF\u4F7F\u7528\u512A\u60E0\u5238",
65
74
  disabled: "\u4E0D\u53EF\u4F7F\u7528\u512A\u60E0\u5238",
66
- placeholder: "\u8ACB\u8F38\u5165\u512A\u60E0\u78BC"
75
+ placeholder: "\u8F38\u5165\u512A\u60E0\u78BC"
67
76
  },
68
77
  vanAddressEdit: {
69
78
  area: "\u5730\u5340",
@@ -71,13 +80,11 @@ var stdin_default = {
71
80
  areaEmpty: "\u8ACB\u9078\u64C7\u5730\u5340",
72
81
  addressEmpty: "\u8ACB\u586B\u5BEB\u8A73\u7D30\u5730\u5740",
73
82
  postalEmpty: "\u90F5\u653F\u7DE8\u78BC\u4E0D\u6B63\u78BA",
83
+ addressDetail: "\u8A73\u7D30\u5730\u5740",
74
84
  defaultAddress: "\u8A2D\u70BA\u9ED8\u8A8D\u6536\u8CA8\u5730\u5740"
75
85
  },
76
- vanAddressEditDetail: {
77
- label: "\u8A73\u7D30\u5730\u5740",
78
- placeholder: "\u8857\u9053\u9580\u724C\u4FE1\u606F"
79
- },
80
86
  vanAddressList: {
81
87
  add: "\u65B0\u589E\u5730\u5740"
82
88
  }
83
89
  };
90
+ module.exports = __toCommonJS(stdin_exports);
@@ -8,13 +8,12 @@ declare const _default: {
8
8
  loading: string;
9
9
  noCoupon: string;
10
10
  nameEmpty: string;
11
+ addContact: string;
11
12
  telInvalid: string;
12
13
  vanCalendar: {
13
14
  end: string;
14
15
  start: string;
15
16
  title: string;
16
- confirm: string;
17
- startEnd: string;
18
17
  weekdays: string[];
19
18
  monthTitle: (year: number, month: number) => string;
20
19
  rangePrompt: (maxRange: number) => string;
@@ -22,12 +21,6 @@ declare const _default: {
22
21
  vanCascader: {
23
22
  select: string;
24
23
  };
25
- vanContactCard: {
26
- addText: string;
27
- };
28
- vanContactList: {
29
- addText: string;
30
- };
31
24
  vanPagination: {
32
25
  prev: string;
33
26
  next: string;
@@ -61,12 +54,9 @@ declare const _default: {
61
54
  areaEmpty: string;
62
55
  addressEmpty: string;
63
56
  postalEmpty: string;
57
+ addressDetail: string;
64
58
  defaultAddress: string;
65
59
  };
66
- vanAddressEditDetail: {
67
- label: string;
68
- placeholder: string;
69
- };
70
60
  vanAddressList: {
71
61
  add: string;
72
62
  };
@@ -1,11 +1,27 @@
1
1
  var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
2
5
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
3
6
  var __export = (target, all) => {
4
- __markAsModule(target);
5
7
  for (var name in all)
6
8
  __defProp(target, name, { get: all[name], enumerable: true });
7
9
  };
8
- __export(exports, {
10
+ var __reExport = (target, module2, copyDefault, desc) => {
11
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
12
+ for (let key of __getOwnPropNames(module2))
13
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
14
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
15
+ }
16
+ return target;
17
+ };
18
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
+ return (module2, temp) => {
20
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
+ };
22
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
23
+ var stdin_exports = {};
24
+ __export(stdin_exports, {
9
25
  default: () => stdin_default
10
26
  });
11
27
  var stdin_default = {
@@ -18,13 +34,12 @@ var stdin_default = {
18
34
  loading: "\u8F09\u5165\u4E2D...",
19
35
  noCoupon: "\u66AB\u7121\u512A\u60E0\u5238",
20
36
  nameEmpty: "\u8ACB\u586B\u5BEB\u59D3\u540D",
37
+ addContact: "\u5EFA\u7ACB\u806F\u7D61\u4EBA",
21
38
  telInvalid: "\u8ACB\u586B\u5BEB\u6B63\u78BA\u7684\u96FB\u8A71",
22
39
  vanCalendar: {
23
40
  end: "\u7D50\u675F",
24
41
  start: "\u958B\u59CB",
25
42
  title: "\u65E5\u671F\u9078\u64C7",
26
- confirm: "\u78BA\u5B9A",
27
- startEnd: "\u958B\u59CB/\u7D50\u675F",
28
43
  weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
29
44
  monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
30
45
  rangePrompt: (maxRange) => `\u6700\u591A\u9078\u64C7 ${maxRange} \u5929`
@@ -32,12 +47,6 @@ var stdin_default = {
32
47
  vanCascader: {
33
48
  select: "\u8ACB\u9078\u64C7"
34
49
  },
35
- vanContactCard: {
36
- addText: "\u65B0\u589E\u806F\u7D61\u4EBA"
37
- },
38
- vanContactList: {
39
- addText: "\u5EFA\u7ACB\u806F\u7D61\u4EBA"
40
- },
41
50
  vanPagination: {
42
51
  prev: "\u4E0A\u4E00\u9801",
43
52
  next: "\u4E0B\u4E00\u9801"
@@ -47,10 +56,10 @@ var stdin_default = {
47
56
  loosing: "\u91CB\u653E\u5373\u53EF\u5237\u65B0..."
48
57
  },
49
58
  vanSubmitBar: {
50
- label: "\u5408\u8A08\uFF1A"
59
+ label: "\u5408\u8A08:"
51
60
  },
52
61
  vanCoupon: {
53
- unlimited: "\u7121\u4F7F\u7528\u9580\u6ABB",
62
+ unlimited: "\u7121\u9580\u6ABB",
54
63
  discount: (discount) => `${discount}\u6298`,
55
64
  condition: (condition) => `\u6EFF${condition}\u5143\u53EF\u7528`
56
65
  },
@@ -60,10 +69,10 @@ var stdin_default = {
60
69
  },
61
70
  vanCouponList: {
62
71
  exchange: "\u514C\u63DB",
63
- close: "\u4E0D\u4F7F\u7528\u512A\u60E0",
72
+ close: "\u4E0D\u4F7F\u7528",
64
73
  enable: "\u53EF\u4F7F\u7528\u512A\u60E0\u5238",
65
74
  disabled: "\u4E0D\u53EF\u4F7F\u7528\u512A\u60E0\u5238",
66
- placeholder: "\u8ACB\u8F38\u5165\u512A\u60E0\u4EE3\u78BC"
75
+ placeholder: "\u8F38\u5165\u512A\u60E0\u4EE3\u78BC"
67
76
  },
68
77
  vanAddressEdit: {
69
78
  area: "\u5730\u5340",
@@ -71,13 +80,11 @@ var stdin_default = {
71
80
  areaEmpty: "\u8ACB\u9078\u64C7\u5730\u5340",
72
81
  addressEmpty: "\u8ACB\u586B\u5BEB\u8A73\u7D30\u5730\u5740",
73
82
  postalEmpty: "\u90F5\u905E\u5340\u865F\u4E0D\u6B63\u78BA",
83
+ addressDetail: "\u8A73\u7D30\u5730\u5740",
74
84
  defaultAddress: "\u8A2D\u70BA\u9810\u8A2D\u6536\u8CA8\u5730\u5740"
75
85
  },
76
- vanAddressEditDetail: {
77
- label: "\u8A73\u7D30\u5730\u5740",
78
- placeholder: "\u8857\u9053\u9580\u724C\u8CC7\u8A0A"
79
- },
80
86
  vanAddressList: {
81
87
  add: "\u65B0\u589E\u5730\u5740"
82
88
  }
83
89
  };
90
+ module.exports = __toCommonJS(stdin_exports);
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  leftArrow: BooleanConstructor;
28
28
  placeholder: BooleanConstructor;
29
29
  safeAreaInsetTop: BooleanConstructor;
30
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click-left" | "click-right")[], "click-left" | "click-right", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
30
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickLeft" | "clickRight")[], "clickLeft" | "clickRight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
31
31
  title: StringConstructor;
32
32
  fixed: BooleanConstructor;
33
33
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -41,8 +41,8 @@ declare const _default: import("vue").DefineComponent<{
41
41
  placeholder: BooleanConstructor;
42
42
  safeAreaInsetTop: BooleanConstructor;
43
43
  }>> & {
44
- "onClick-left"?: ((...args: any[]) => any) | undefined;
45
- "onClick-right"?: ((...args: any[]) => any) | undefined;
44
+ onClickLeft?: ((...args: any[]) => any) | undefined;
45
+ onClickRight?: ((...args: any[]) => any) | undefined;
46
46
  }, {
47
47
  fixed: boolean;
48
48
  border: boolean;
@@ -1,34 +1,34 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
6
  var __export = (target, all) => {
9
- __markAsModule(target);
10
7
  for (var name2 in all)
11
8
  __defProp(target, name2, { get: all[name2], enumerable: true });
12
9
  };
13
- var __reExport = (target, module2, desc) => {
10
+ var __reExport = (target, module2, copyDefault, desc) => {
14
11
  if (module2 && typeof module2 === "object" || typeof module2 === "function") {
15
12
  for (let key of __getOwnPropNames(module2))
16
- if (!__hasOwnProp.call(target, key) && key !== "default")
13
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
17
14
  __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
18
15
  }
19
16
  return target;
20
17
  };
21
- var __toModule = (module2) => {
22
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
23
- };
24
- __export(exports, {
18
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
+ return (module2, temp) => {
20
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
+ };
22
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
23
+ var stdin_exports = {};
24
+ __export(stdin_exports, {
25
25
  default: () => stdin_default
26
26
  });
27
- var import_vue = __toModule(require("vue"));
28
- var import_vue2 = __toModule(require("vue"));
29
- var import_utils = __toModule(require("../utils"));
30
- var import_use_placeholder = __toModule(require("../composables/use-placeholder"));
31
- var import_icon = __toModule(require("../icon"));
27
+ var import_vue = require("vue");
28
+ var import_vue2 = require("vue");
29
+ var import_utils = require("../utils");
30
+ var import_use_placeholder = require("../composables/use-placeholder");
31
+ var import_icon = require("../icon");
32
32
  const [name, bem] = (0, import_utils.createNamespace)("nav-bar");
33
33
  const navBarProps = {
34
34
  title: String,
@@ -44,15 +44,15 @@ const navBarProps = {
44
44
  var stdin_default = (0, import_vue2.defineComponent)({
45
45
  name,
46
46
  props: navBarProps,
47
- emits: ["click-left", "click-right"],
47
+ emits: ["clickLeft", "clickRight"],
48
48
  setup(props, {
49
49
  emit,
50
50
  slots
51
51
  }) {
52
52
  const navBarRef = (0, import_vue2.ref)();
53
53
  const renderPlaceholder = (0, import_use_placeholder.usePlaceholder)(navBarRef, bem);
54
- const onClickLeft = (event) => emit("click-left", event);
55
- const onClickRight = (event) => emit("click-right", event);
54
+ const onClickLeft = (event) => emit("clickLeft", event);
55
+ const onClickRight = (event) => emit("clickRight", event);
56
56
  const renderLeft = () => {
57
57
  if (slots.left) {
58
58
  return slots.left();
@@ -111,3 +111,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
111
111
  };
112
112
  }
113
113
  });
114
+ module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--van-nav-bar-height: 46px;--van-nav-bar-background-color: var(--van-background-color-light);--van-nav-bar-arrow-size: 16px;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background-color);-webkit-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-weight-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md);cursor:pointer}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}
1
+ body{--van-nav-bar-height: 46px;--van-nav-bar-background: var(--van-background-2);--van-nav-bar-arrow-size: 16px;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background);-webkit-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}
@@ -11,7 +11,7 @@ export declare const NavBar: import("../utils").WithInstall<import("vue").Define
11
11
  leftArrow: BooleanConstructor;
12
12
  placeholder: BooleanConstructor;
13
13
  safeAreaInsetTop: BooleanConstructor;
14
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click-left" | "click-right")[], "click-left" | "click-right", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickLeft" | "clickRight")[], "clickLeft" | "clickRight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  title: StringConstructor;
16
16
  fixed: BooleanConstructor;
17
17
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -25,8 +25,8 @@ export declare const NavBar: import("../utils").WithInstall<import("vue").Define
25
25
  placeholder: BooleanConstructor;
26
26
  safeAreaInsetTop: BooleanConstructor;
27
27
  }>> & {
28
- "onClick-left"?: ((...args: any[]) => any) | undefined;
29
- "onClick-right"?: ((...args: any[]) => any) | undefined;
28
+ onClickLeft?: ((...args: any[]) => any) | undefined;
29
+ onClickRight?: ((...args: any[]) => any) | undefined;
30
30
  }, {
31
31
  fixed: boolean;
32
32
  border: boolean;
@@ -6,26 +6,32 @@ var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
8
  var __export = (target, all) => {
9
- __markAsModule(target);
10
9
  for (var name in all)
11
10
  __defProp(target, name, { get: all[name], enumerable: true });
12
11
  };
13
- var __reExport = (target, module2, desc) => {
12
+ var __reExport = (target, module2, copyDefault, desc) => {
14
13
  if (module2 && typeof module2 === "object" || typeof module2 === "function") {
15
14
  for (let key of __getOwnPropNames(module2))
16
- if (!__hasOwnProp.call(target, key) && key !== "default")
15
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
17
16
  __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
18
17
  }
19
18
  return target;
20
19
  };
21
- var __toModule = (module2) => {
22
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
20
+ var __toESM = (module2, isNodeMode) => {
21
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
23
22
  };
24
- __export(exports, {
23
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
+ return (module2, temp) => {
25
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
+ };
27
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
+ var stdin_exports = {};
29
+ __export(stdin_exports, {
25
30
  NavBar: () => NavBar,
26
31
  default: () => stdin_default
27
32
  });
28
- var import_utils = __toModule(require("../utils"));
29
- var import_NavBar = __toModule(require("./NavBar"));
33
+ var import_utils = require("../utils");
34
+ var import_NavBar = __toESM(require("./NavBar"));
30
35
  const NavBar = (0, import_utils.withInstall)(import_NavBar.default);
31
36
  var stdin_default = NavBar;
37
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,14 +1,12 @@
1
- @import './var.less';
2
-
3
- :root {
4
- --van-nav-bar-height: @nav-bar-height;
5
- --van-nav-bar-background-color: @nav-bar-background-color;
6
- --van-nav-bar-arrow-size: @nav-bar-arrow-size;
7
- --van-nav-bar-icon-color: @nav-bar-icon-color;
8
- --van-nav-bar-text-color: @nav-bar-text-color;
9
- --van-nav-bar-title-font-size: @nav-bar-title-font-size;
10
- --van-nav-bar-title-text-color: @nav-bar-title-text-color;
11
- --van-nav-bar-z-index: @nav-bar-z-index;
1
+ body {
2
+ --van-nav-bar-height: 46px;
3
+ --van-nav-bar-background: var(--van-background-2);
4
+ --van-nav-bar-arrow-size: 16px;
5
+ --van-nav-bar-icon-color: var(--van-primary-color);
6
+ --van-nav-bar-text-color: var(--van-primary-color);
7
+ --van-nav-bar-title-font-size: var(--van-font-size-lg);
8
+ --van-nav-bar-title-text-color: var(--van-text-color);
9
+ --van-nav-bar-z-index: 1;
12
10
  }
13
11
 
14
12
  .van-nav-bar {
@@ -16,7 +14,7 @@
16
14
  z-index: var(--van-nav-bar-z-index);
17
15
  line-height: var(--van-line-height-lg);
18
16
  text-align: center;
19
- background: var(--van-nav-bar-background-color);
17
+ background: var(--van-nav-bar-background);
20
18
  user-select: none;
21
19
 
22
20
  &--fixed {
@@ -51,7 +49,7 @@
51
49
  max-width: 60%;
52
50
  margin: 0 auto;
53
51
  color: var(--van-nav-bar-title-text-color);
54
- font-weight: var(--van-font-weight-bold);
52
+ font-weight: var(--van-font-bold);
55
53
  font-size: var(--van-nav-bar-title-font-size);
56
54
  }
57
55
 
@@ -64,7 +62,6 @@
64
62
  align-items: center;
65
63
  padding: 0 var(--van-padding-md);
66
64
  font-size: var(--van-font-size-md);
67
- cursor: pointer;
68
65
  }
69
66
 
70
67
  &__left {
@@ -1,36 +1,36 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
6
  var __export = (target, all) => {
9
- __markAsModule(target);
10
7
  for (var name2 in all)
11
8
  __defProp(target, name2, { get: all[name2], enumerable: true });
12
9
  };
13
- var __reExport = (target, module2, desc) => {
10
+ var __reExport = (target, module2, copyDefault, desc) => {
14
11
  if (module2 && typeof module2 === "object" || typeof module2 === "function") {
15
12
  for (let key of __getOwnPropNames(module2))
16
- if (!__hasOwnProp.call(target, key) && key !== "default")
13
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
17
14
  __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
18
15
  }
19
16
  return target;
20
17
  };
21
- var __toModule = (module2) => {
22
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
23
- };
24
- __export(exports, {
18
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
19
+ return (module2, temp) => {
20
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
21
+ };
22
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
23
+ var stdin_exports = {};
24
+ __export(stdin_exports, {
25
25
  default: () => stdin_default
26
26
  });
27
- var import_vue = __toModule(require("vue"));
28
- var import_vue2 = __toModule(require("vue"));
29
- var import_utils = __toModule(require("../utils"));
30
- var import_use = __toModule(require("@vant/use"));
31
- var import_use_expose = __toModule(require("../composables/use-expose"));
32
- var import_on_popup_reopen = __toModule(require("../composables/on-popup-reopen"));
33
- var import_icon = __toModule(require("../icon"));
27
+ var import_vue = require("vue");
28
+ var import_vue2 = require("vue");
29
+ var import_utils = require("../utils");
30
+ var import_use = require("@vant/use");
31
+ var import_use_expose = require("../composables/use-expose");
32
+ var import_on_popup_reopen = require("../composables/on-popup-reopen");
33
+ var import_icon = require("../icon");
34
34
  const [name, bem] = (0, import_utils.createNamespace)("notice-bar");
35
35
  const noticeBarProps = {
36
36
  text: String,
@@ -186,3 +186,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
186
186
  };
187
187
  }
188
188
  });
189
+ module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--van-notice-bar-height: 40px;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: 24px;--van-notice-bar-background-color: var(--van-orange-light);--van-notice-bar-icon-size: 16px;--van-notice-bar-icon-min-width: 24px}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background-color)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}
1
+ body{--van-notice-bar-height: 40px;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: 24px;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: 16px;--van-notice-bar-icon-min-width: 24px}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}
@@ -6,26 +6,32 @@ var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
8
  var __export = (target, all) => {
9
- __markAsModule(target);
10
9
  for (var name in all)
11
10
  __defProp(target, name, { get: all[name], enumerable: true });
12
11
  };
13
- var __reExport = (target, module2, desc) => {
12
+ var __reExport = (target, module2, copyDefault, desc) => {
14
13
  if (module2 && typeof module2 === "object" || typeof module2 === "function") {
15
14
  for (let key of __getOwnPropNames(module2))
16
- if (!__hasOwnProp.call(target, key) && key !== "default")
15
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
17
16
  __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
18
17
  }
19
18
  return target;
20
19
  };
21
- var __toModule = (module2) => {
22
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
20
+ var __toESM = (module2, isNodeMode) => {
21
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
23
22
  };
24
- __export(exports, {
23
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
+ return (module2, temp) => {
25
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
+ };
27
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
+ var stdin_exports = {};
29
+ __export(stdin_exports, {
25
30
  NoticeBar: () => NoticeBar,
26
31
  default: () => stdin_default
27
32
  });
28
- var import_utils = __toModule(require("../utils"));
29
- var import_NoticeBar = __toModule(require("./NoticeBar"));
33
+ var import_utils = require("../utils");
34
+ var import_NoticeBar = __toESM(require("./NoticeBar"));
30
35
  const NoticeBar = (0, import_utils.withInstall)(import_NoticeBar.default);
31
36
  var stdin_default = NoticeBar;
37
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,15 +1,13 @@
1
- @import './var.less';
2
-
3
- :root {
4
- --van-notice-bar-height: @notice-bar-height;
5
- --van-notice-bar-padding: @notice-bar-padding;
6
- --van-notice-bar-wrapable-padding: @notice-bar-wrapable-padding;
7
- --van-notice-bar-text-color: @notice-bar-text-color;
8
- --van-notice-bar-font-size: @notice-bar-font-size;
9
- --van-notice-bar-line-height: @notice-bar-line-height;
10
- --van-notice-bar-background-color: @notice-bar-background-color;
11
- --van-notice-bar-icon-size: @notice-bar-icon-size;
12
- --van-notice-bar-icon-min-width: @notice-bar-icon-min-width;
1
+ body {
2
+ --van-notice-bar-height: 40px;
3
+ --van-notice-bar-padding: 0 var(--van-padding-md);
4
+ --van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);
5
+ --van-notice-bar-text-color: var(--van-orange-dark);
6
+ --van-notice-bar-font-size: var(--van-font-size-md);
7
+ --van-notice-bar-line-height: 24px;
8
+ --van-notice-bar-background: var(--van-orange-light);
9
+ --van-notice-bar-icon-size: 16px;
10
+ --van-notice-bar-icon-min-width: 24px;
13
11
  }
14
12
 
15
13
  .van-notice-bar {
@@ -21,7 +19,7 @@
21
19
  color: var(--van-notice-bar-text-color);
22
20
  font-size: var(--van-notice-bar-font-size);
23
21
  line-height: var(--van-notice-bar-line-height);
24
- background: var(--van-notice-bar-background-color);
22
+ background: var(--van-notice-bar-background);
25
23
 
26
24
  &__left-icon,
27
25
  &__right-icon {