vant 3.4.5 → 4.0.0-alpha.1

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 (825) hide show
  1. package/changelog.generated.md +197 -0
  2. package/es/action-bar/index.css +1 -1
  3. package/es/action-bar/index.less +4 -6
  4. package/es/action-bar-button/index.css +1 -1
  5. package/es/action-bar-button/index.less +9 -11
  6. package/es/action-bar-icon/index.css +1 -1
  7. package/es/action-bar-icon/index.less +10 -12
  8. package/es/action-sheet/index.css +1 -1
  9. package/es/action-sheet/index.less +23 -24
  10. package/es/address-edit/AddressEdit.d.ts +6 -6
  11. package/es/address-edit/AddressEdit.js +29 -33
  12. package/es/address-edit/AddressEditDetail.d.ts +2 -2
  13. package/es/address-edit/AddressEditDetail.js +5 -14
  14. package/es/address-edit/index.css +1 -1
  15. package/es/address-edit/index.d.ts +6 -6
  16. package/es/address-edit/index.less +8 -15
  17. package/es/address-edit/types.d.ts +2 -4
  18. package/es/address-list/AddressList.d.ts +4 -4
  19. package/es/address-list/AddressList.js +5 -5
  20. package/es/address-list/AddressListItem.js +3 -3
  21. package/es/address-list/index.css +1 -1
  22. package/es/address-list/index.d.ts +4 -4
  23. package/es/address-list/index.less +20 -22
  24. package/es/area/Area.d.ts +13 -25
  25. package/es/area/Area.js +43 -208
  26. package/es/area/index.d.ts +11 -19
  27. package/es/area/types.d.ts +2 -17
  28. package/es/area/utils.d.ts +6 -0
  29. package/es/area/utils.js +85 -0
  30. package/es/badge/index.css +1 -1
  31. package/es/badge/index.less +15 -17
  32. package/es/button/index.css +1 -1
  33. package/es/button/index.less +55 -52
  34. package/es/calendar/Calendar.d.ts +10 -6
  35. package/es/calendar/Calendar.js +7 -5
  36. package/es/calendar/CalendarHeader.d.ts +2 -2
  37. package/es/calendar/CalendarHeader.js +2 -2
  38. package/es/calendar/CalendarMonth.d.ts +1 -2
  39. package/es/calendar/CalendarMonth.js +2 -2
  40. package/es/calendar/index.css +1 -1
  41. package/es/calendar/index.d.ts +9 -6
  42. package/es/calendar/index.less +41 -37
  43. package/es/card/Card.d.ts +2 -2
  44. package/es/card/Card.js +3 -3
  45. package/es/card/index.css +1 -1
  46. package/es/card/index.d.ts +2 -2
  47. package/es/card/index.less +23 -25
  48. package/es/cascader/Cascader.d.ts +2 -2
  49. package/es/cascader/Cascader.js +3 -3
  50. package/es/cascader/index.css +1 -1
  51. package/es/cascader/index.d.ts +2 -2
  52. package/es/cascader/index.less +17 -19
  53. package/es/cell/Cell.js +1 -4
  54. package/es/cell/index.css +1 -1
  55. package/es/cell/index.less +21 -27
  56. package/es/cell-group/index.css +1 -1
  57. package/es/cell-group/index.less +12 -13
  58. package/es/checkbox/index.css +1 -1
  59. package/es/checkbox/index.less +12 -14
  60. package/es/circle/index.css +1 -1
  61. package/es/circle/index.less +8 -10
  62. package/es/collapse-item/index.css +1 -1
  63. package/es/collapse-item/index.less +12 -12
  64. package/es/config-provider/ConfigProvider.d.ts +14 -0
  65. package/es/config-provider/ConfigProvider.js +11 -2
  66. package/es/config-provider/index.d.ts +10 -1
  67. package/es/contact-card/ContactCard.js +2 -2
  68. package/es/contact-card/index.css +1 -1
  69. package/es/contact-card/index.less +7 -9
  70. package/es/contact-edit/ContactEdit.d.ts +2 -2
  71. package/es/contact-edit/ContactEdit.js +3 -4
  72. package/es/contact-edit/index.css +1 -1
  73. package/es/contact-edit/index.d.ts +2 -2
  74. package/es/contact-edit/index.less +7 -9
  75. package/es/contact-list/ContactList.js +4 -4
  76. package/es/contact-list/index.css +1 -1
  77. package/es/contact-list/index.less +9 -11
  78. package/es/count-down/index.css +1 -1
  79. package/es/count-down/index.less +4 -6
  80. package/es/coupon/index.css +1 -1
  81. package/es/coupon/index.less +28 -31
  82. package/es/coupon-cell/index.css +1 -1
  83. package/es/coupon-cell/index.less +2 -4
  84. package/es/coupon-list/CouponList.js +2 -2
  85. package/es/coupon-list/index.css +1 -1
  86. package/es/coupon-list/index.less +15 -17
  87. package/es/date-picker/DatePicker.d.ts +168 -0
  88. package/es/date-picker/DatePicker.js +111 -0
  89. package/es/{datetime-picker/DatePicker.d.ts → date-picker/index.d.ts} +40 -28
  90. package/es/date-picker/index.js +8 -0
  91. package/es/{datetime-picker → date-picker}/style/index.d.ts +0 -0
  92. package/es/{datetime-picker → date-picker}/style/index.js +0 -0
  93. package/es/{datetime-picker → date-picker}/style/less.d.ts +0 -0
  94. package/es/{datetime-picker → date-picker}/style/less.js +0 -0
  95. package/es/{datetime-picker → date-picker}/utils.d.ts +15 -11
  96. package/es/date-picker/utils.js +40 -0
  97. package/es/dialog/index.css +1 -1
  98. package/es/dialog/index.less +24 -24
  99. package/es/divider/index.css +1 -1
  100. package/es/divider/index.less +10 -12
  101. package/es/dropdown-item/index.css +1 -1
  102. package/es/dropdown-item/index.less +2 -5
  103. package/es/dropdown-menu/index.css +1 -1
  104. package/es/dropdown-menu/index.less +14 -17
  105. package/es/empty/index.css +1 -1
  106. package/es/empty/index.less +9 -11
  107. package/es/field/Field.d.ts +4 -4
  108. package/es/field/Field.js +4 -4
  109. package/es/field/index.css +1 -1
  110. package/es/field/index.d.ts +4 -4
  111. package/es/field/index.less +20 -23
  112. package/es/grid-item/index.css +1 -1
  113. package/es/grid-item/index.less +10 -13
  114. package/es/image/index.css +1 -1
  115. package/es/image/index.less +10 -12
  116. package/es/image-preview/index.css +1 -1
  117. package/es/image-preview/index.less +11 -13
  118. package/es/index-anchor/index.css +1 -1
  119. package/es/index-anchor/index.less +12 -14
  120. package/es/index-bar/IndexBar.js +25 -4
  121. package/es/index-bar/index.css +1 -1
  122. package/es/index-bar/index.less +7 -8
  123. package/es/index.d.ts +3 -2
  124. package/es/index.js +7 -4
  125. package/es/list/index.css +1 -1
  126. package/es/list/index.less +5 -7
  127. package/es/loading/index.css +1 -1
  128. package/es/loading/index.less +7 -10
  129. package/es/locale/lang/la-LA.d.ts +64 -0
  130. package/es/locale/lang/la-LA.js +66 -0
  131. package/es/nav-bar/NavBar.d.ts +4 -4
  132. package/es/nav-bar/NavBar.js +6 -6
  133. package/es/nav-bar/index.css +1 -1
  134. package/es/nav-bar/index.d.ts +4 -4
  135. package/es/nav-bar/index.less +11 -13
  136. package/es/notice-bar/index.css +1 -1
  137. package/es/notice-bar/index.less +11 -13
  138. package/es/notify/index.css +1 -1
  139. package/es/notify/index.less +13 -15
  140. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  141. package/es/number-keyboard/index.css +1 -1
  142. package/es/number-keyboard/index.d.ts +1 -1
  143. package/es/number-keyboard/index.less +26 -22
  144. package/es/overlay/index.css +1 -1
  145. package/es/overlay/index.less +4 -6
  146. package/es/pagination/index.css +1 -1
  147. package/es/pagination/index.less +13 -15
  148. package/es/password-input/index.css +1 -1
  149. package/es/password-input/index.less +20 -22
  150. package/es/picker/Picker.d.ts +26 -28
  151. package/es/picker/Picker.js +91 -196
  152. package/es/picker/PickerColumn.d.ts +21 -30
  153. package/es/picker/PickerColumn.js +61 -111
  154. package/es/picker/index.css +1 -1
  155. package/es/picker/index.d.ts +19 -20
  156. package/es/picker/index.less +32 -19
  157. package/es/picker/types.d.ts +13 -19
  158. package/es/picker/utils.d.ts +10 -0
  159. package/es/picker/utils.js +73 -0
  160. package/es/popover/Popover.d.ts +1 -1
  161. package/es/popover/index.css +1 -1
  162. package/es/popover/index.d.ts +1 -1
  163. package/es/popover/index.less +21 -23
  164. package/es/popup/Popup.d.ts +7 -3
  165. package/es/popup/Popup.js +6 -3
  166. package/es/popup/index.css +1 -1
  167. package/es/popup/index.d.ts +6 -3
  168. package/es/popup/index.less +20 -22
  169. package/es/progress/index.css +1 -1
  170. package/es/progress/index.less +14 -18
  171. package/es/pull-refresh/index.css +1 -1
  172. package/es/pull-refresh/index.less +5 -7
  173. package/es/radio/index.css +1 -1
  174. package/es/radio/index.less +12 -14
  175. package/es/rate/index.css +1 -1
  176. package/es/rate/index.less +6 -8
  177. package/es/search/Search.d.ts +4 -4
  178. package/es/search/Search.js +7 -7
  179. package/es/search/index.css +1 -1
  180. package/es/search/index.d.ts +4 -4
  181. package/es/search/index.less +16 -18
  182. package/es/share-sheet/index.css +1 -1
  183. package/es/share-sheet/index.less +17 -18
  184. package/es/sidebar/index.css +1 -1
  185. package/es/sidebar/index.less +2 -4
  186. package/es/sidebar-item/index.css +1 -1
  187. package/es/sidebar-item/index.less +17 -19
  188. package/es/skeleton/Skeleton.js +6 -4
  189. package/es/skeleton/index.css +1 -1
  190. package/es/skeleton/index.less +14 -16
  191. package/es/slider/Slider.d.ts +4 -4
  192. package/es/slider/Slider.js +4 -5
  193. package/es/slider/index.css +1 -1
  194. package/es/slider/index.d.ts +4 -4
  195. package/es/slider/index.less +20 -18
  196. package/es/step/index.css +1 -1
  197. package/es/step/index.less +15 -17
  198. package/es/stepper/Stepper.d.ts +1 -1
  199. package/es/stepper/index.css +1 -1
  200. package/es/stepper/index.d.ts +1 -1
  201. package/es/stepper/index.less +20 -24
  202. package/es/steps/Steps.d.ts +2 -2
  203. package/es/steps/Steps.js +2 -2
  204. package/es/steps/index.css +1 -1
  205. package/es/steps/index.d.ts +2 -2
  206. package/es/steps/index.less +3 -5
  207. package/es/sticky/index.css +1 -1
  208. package/es/sticky/index.less +2 -4
  209. package/es/style/animation.css +1 -1
  210. package/es/style/animation.less +18 -22
  211. package/es/style/base.css +1 -1
  212. package/es/style/base.less +11 -7
  213. package/es/style/css-variables.css +1 -1
  214. package/es/style/css-variables.less +76 -61
  215. package/es/style/mixins/hairline.less +0 -2
  216. package/es/style/normalize.css +1 -1
  217. package/es/style/normalize.less +1 -3
  218. package/es/submit-bar/index.css +1 -1
  219. package/es/submit-bar/index.less +26 -28
  220. package/es/swipe/index.css +1 -1
  221. package/es/swipe/index.less +11 -13
  222. package/es/swipe-cell/SwipeCell.js +1 -1
  223. package/es/switch/index.css +1 -1
  224. package/es/switch/index.less +24 -24
  225. package/es/tabbar/index.css +1 -1
  226. package/es/tabbar/index.less +5 -7
  227. package/es/tabbar-item/index.css +1 -1
  228. package/es/tabbar-item/index.less +9 -11
  229. package/es/tabs/Tabs.d.ts +2 -4
  230. package/es/tabs/Tabs.js +14 -27
  231. package/es/tabs/index.css +1 -1
  232. package/es/tabs/index.d.ts +2 -4
  233. package/es/tabs/index.less +17 -20
  234. package/es/tag/index.css +1 -1
  235. package/es/tag/index.less +22 -25
  236. package/es/time-picker/TimePicker.d.ts +214 -0
  237. package/es/time-picker/TimePicker.js +71 -0
  238. package/{lib/datetime-picker/TimePicker.d.ts → es/time-picker/index.d.ts} +60 -20
  239. package/es/time-picker/index.js +8 -0
  240. package/{lib/datetime-picker → es/time-picker}/style/index.d.ts +0 -0
  241. package/es/time-picker/style/index.js +3 -0
  242. package/{lib/datetime-picker → es/time-picker}/style/less.d.ts +0 -0
  243. package/es/time-picker/style/less.js +3 -0
  244. package/es/toast/Toast.js +1 -0
  245. package/es/toast/index.css +1 -1
  246. package/es/toast/index.less +19 -21
  247. package/es/tree-select/TreeSelect.d.ts +3 -3
  248. package/es/tree-select/TreeSelect.js +3 -3
  249. package/es/tree-select/index.css +1 -1
  250. package/es/tree-select/index.d.ts +3 -3
  251. package/es/tree-select/index.less +12 -14
  252. package/es/uploader/Uploader.d.ts +4 -4
  253. package/es/uploader/Uploader.js +4 -4
  254. package/es/uploader/index.css +1 -1
  255. package/es/uploader/index.d.ts +4 -4
  256. package/es/uploader/index.less +31 -33
  257. package/es/utils/basic.d.ts +1 -0
  258. package/es/utils/basic.js +2 -0
  259. package/lib/action-bar/index.css +1 -1
  260. package/lib/action-bar/index.less +4 -6
  261. package/lib/action-bar-button/index.css +1 -1
  262. package/lib/action-bar-button/index.less +9 -11
  263. package/lib/action-bar-icon/index.css +1 -1
  264. package/lib/action-bar-icon/index.less +10 -12
  265. package/lib/action-sheet/index.css +1 -1
  266. package/lib/action-sheet/index.less +23 -24
  267. package/lib/address-edit/AddressEdit.d.ts +6 -6
  268. package/lib/address-edit/AddressEdit.js +29 -33
  269. package/lib/address-edit/AddressEditDetail.d.ts +2 -2
  270. package/lib/address-edit/AddressEditDetail.js +5 -14
  271. package/lib/address-edit/index.css +1 -1
  272. package/lib/address-edit/index.d.ts +6 -6
  273. package/lib/address-edit/index.less +8 -15
  274. package/lib/address-edit/types.d.ts +2 -4
  275. package/lib/address-list/AddressList.d.ts +4 -4
  276. package/lib/address-list/AddressList.js +5 -5
  277. package/lib/address-list/AddressListItem.js +3 -3
  278. package/lib/address-list/index.css +1 -1
  279. package/lib/address-list/index.d.ts +4 -4
  280. package/lib/address-list/index.less +20 -22
  281. package/lib/area/Area.d.ts +13 -25
  282. package/lib/area/Area.js +42 -207
  283. package/lib/area/index.d.ts +11 -19
  284. package/lib/area/types.d.ts +2 -17
  285. package/lib/area/utils.d.ts +6 -0
  286. package/lib/area/utils.js +109 -0
  287. package/lib/badge/index.css +1 -1
  288. package/lib/badge/index.less +15 -17
  289. package/lib/button/index.css +1 -1
  290. package/lib/button/index.less +55 -52
  291. package/lib/calendar/Calendar.d.ts +10 -6
  292. package/lib/calendar/Calendar.js +7 -5
  293. package/lib/calendar/CalendarHeader.d.ts +2 -2
  294. package/lib/calendar/CalendarHeader.js +2 -2
  295. package/lib/calendar/CalendarMonth.d.ts +1 -2
  296. package/lib/calendar/CalendarMonth.js +2 -2
  297. package/lib/calendar/index.css +1 -1
  298. package/lib/calendar/index.d.ts +9 -6
  299. package/lib/calendar/index.less +41 -37
  300. package/lib/card/Card.d.ts +2 -2
  301. package/lib/card/Card.js +3 -3
  302. package/lib/card/index.css +1 -1
  303. package/lib/card/index.d.ts +2 -2
  304. package/lib/card/index.less +23 -25
  305. package/lib/cascader/Cascader.d.ts +2 -2
  306. package/lib/cascader/Cascader.js +3 -3
  307. package/lib/cascader/index.css +1 -1
  308. package/lib/cascader/index.d.ts +2 -2
  309. package/lib/cascader/index.less +17 -19
  310. package/lib/cell/Cell.js +1 -4
  311. package/lib/cell/index.css +1 -1
  312. package/lib/cell/index.less +21 -27
  313. package/lib/cell-group/index.css +1 -1
  314. package/lib/cell-group/index.less +12 -13
  315. package/lib/checkbox/index.css +1 -1
  316. package/lib/checkbox/index.less +12 -14
  317. package/lib/circle/index.css +1 -1
  318. package/lib/circle/index.less +8 -10
  319. package/lib/collapse-item/index.css +1 -1
  320. package/lib/collapse-item/index.less +12 -12
  321. package/lib/config-provider/ConfigProvider.d.ts +14 -0
  322. package/lib/config-provider/ConfigProvider.js +9 -0
  323. package/lib/config-provider/index.d.ts +10 -1
  324. package/lib/contact-card/ContactCard.js +2 -2
  325. package/lib/contact-card/index.css +1 -1
  326. package/lib/contact-card/index.less +7 -9
  327. package/lib/contact-edit/ContactEdit.d.ts +2 -2
  328. package/lib/contact-edit/ContactEdit.js +3 -4
  329. package/lib/contact-edit/index.css +1 -1
  330. package/lib/contact-edit/index.d.ts +2 -2
  331. package/lib/contact-edit/index.less +7 -9
  332. package/lib/contact-list/ContactList.js +4 -4
  333. package/lib/contact-list/index.css +1 -1
  334. package/lib/contact-list/index.less +9 -11
  335. package/lib/count-down/index.css +1 -1
  336. package/lib/count-down/index.less +4 -6
  337. package/lib/coupon/index.css +1 -1
  338. package/lib/coupon/index.less +28 -31
  339. package/lib/coupon-cell/index.css +1 -1
  340. package/lib/coupon-cell/index.less +2 -4
  341. package/lib/coupon-list/CouponList.js +2 -2
  342. package/lib/coupon-list/index.css +1 -1
  343. package/lib/coupon-list/index.less +15 -17
  344. package/lib/date-picker/DatePicker.d.ts +168 -0
  345. package/lib/date-picker/DatePicker.js +135 -0
  346. package/lib/{datetime-picker/DatePicker.d.ts → date-picker/index.d.ts} +40 -28
  347. package/lib/{datetime-picker → date-picker}/index.js +4 -4
  348. package/lib/date-picker/style/index.d.ts +1 -0
  349. package/lib/{datetime-picker → date-picker}/style/index.js +0 -0
  350. package/lib/date-picker/style/less.d.ts +1 -0
  351. package/lib/{datetime-picker → date-picker}/style/less.js +0 -0
  352. package/lib/{datetime-picker → date-picker}/utils.d.ts +15 -11
  353. package/lib/{datetime-picker → date-picker}/utils.js +11 -34
  354. package/lib/dialog/index.css +1 -1
  355. package/lib/dialog/index.less +24 -24
  356. package/lib/divider/index.css +1 -1
  357. package/lib/divider/index.less +10 -12
  358. package/lib/dropdown-item/index.css +1 -1
  359. package/lib/dropdown-item/index.less +2 -5
  360. package/lib/dropdown-menu/index.css +1 -1
  361. package/lib/dropdown-menu/index.less +14 -17
  362. package/lib/empty/index.css +1 -1
  363. package/lib/empty/index.less +9 -11
  364. package/lib/field/Field.d.ts +4 -4
  365. package/lib/field/Field.js +4 -4
  366. package/lib/field/index.css +1 -1
  367. package/lib/field/index.d.ts +4 -4
  368. package/lib/field/index.less +20 -23
  369. package/lib/grid-item/index.css +1 -1
  370. package/lib/grid-item/index.less +10 -13
  371. package/lib/image/index.css +1 -1
  372. package/lib/image/index.less +10 -12
  373. package/lib/image-preview/index.css +1 -1
  374. package/lib/image-preview/index.less +11 -13
  375. package/lib/index-anchor/index.css +1 -1
  376. package/lib/index-anchor/index.less +12 -14
  377. package/lib/index-bar/IndexBar.js +25 -4
  378. package/lib/index-bar/index.css +1 -1
  379. package/lib/index-bar/index.less +7 -8
  380. package/lib/index.css +1 -1
  381. package/lib/index.d.ts +3 -2
  382. package/lib/index.js +7 -4
  383. package/lib/list/index.css +1 -1
  384. package/lib/list/index.less +5 -7
  385. package/lib/loading/index.css +1 -1
  386. package/lib/loading/index.less +7 -10
  387. package/lib/locale/lang/la-LA.d.ts +64 -0
  388. package/lib/locale/lang/la-LA.js +90 -0
  389. package/lib/nav-bar/NavBar.d.ts +4 -4
  390. package/lib/nav-bar/NavBar.js +6 -6
  391. package/lib/nav-bar/index.css +1 -1
  392. package/lib/nav-bar/index.d.ts +4 -4
  393. package/lib/nav-bar/index.less +11 -13
  394. package/lib/notice-bar/index.css +1 -1
  395. package/lib/notice-bar/index.less +11 -13
  396. package/lib/notify/index.css +1 -1
  397. package/lib/notify/index.less +13 -15
  398. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  399. package/lib/number-keyboard/index.css +1 -1
  400. package/lib/number-keyboard/index.d.ts +1 -1
  401. package/lib/number-keyboard/index.less +26 -22
  402. package/lib/overlay/index.css +1 -1
  403. package/lib/overlay/index.less +4 -6
  404. package/lib/pagination/index.css +1 -1
  405. package/lib/pagination/index.less +13 -15
  406. package/lib/password-input/index.css +1 -1
  407. package/lib/password-input/index.less +20 -22
  408. package/lib/picker/Picker.d.ts +26 -28
  409. package/lib/picker/Picker.js +90 -195
  410. package/lib/picker/PickerColumn.d.ts +21 -30
  411. package/lib/picker/PickerColumn.js +60 -110
  412. package/lib/picker/index.css +1 -1
  413. package/lib/picker/index.d.ts +19 -20
  414. package/lib/picker/index.less +32 -19
  415. package/lib/picker/types.d.ts +13 -19
  416. package/lib/picker/utils.d.ts +10 -0
  417. package/lib/picker/utils.js +97 -0
  418. package/lib/popover/Popover.d.ts +1 -1
  419. package/lib/popover/index.css +1 -1
  420. package/lib/popover/index.d.ts +1 -1
  421. package/lib/popover/index.less +21 -23
  422. package/lib/popup/Popup.d.ts +7 -3
  423. package/lib/popup/Popup.js +6 -3
  424. package/lib/popup/index.css +1 -1
  425. package/lib/popup/index.d.ts +6 -3
  426. package/lib/popup/index.less +20 -22
  427. package/lib/progress/index.css +1 -1
  428. package/lib/progress/index.less +14 -18
  429. package/lib/pull-refresh/index.css +1 -1
  430. package/lib/pull-refresh/index.less +5 -7
  431. package/lib/radio/index.css +1 -1
  432. package/lib/radio/index.less +12 -14
  433. package/lib/rate/index.css +1 -1
  434. package/lib/rate/index.less +6 -8
  435. package/lib/search/Search.d.ts +4 -4
  436. package/lib/search/Search.js +7 -7
  437. package/lib/search/index.css +1 -1
  438. package/lib/search/index.d.ts +4 -4
  439. package/lib/search/index.less +16 -18
  440. package/lib/share-sheet/index.css +1 -1
  441. package/lib/share-sheet/index.less +17 -18
  442. package/lib/sidebar/index.css +1 -1
  443. package/lib/sidebar/index.less +2 -4
  444. package/lib/sidebar-item/index.css +1 -1
  445. package/lib/sidebar-item/index.less +17 -19
  446. package/lib/skeleton/Skeleton.js +5 -3
  447. package/lib/skeleton/index.css +1 -1
  448. package/lib/skeleton/index.less +14 -16
  449. package/lib/slider/Slider.d.ts +4 -4
  450. package/lib/slider/Slider.js +5 -6
  451. package/lib/slider/index.css +1 -1
  452. package/lib/slider/index.d.ts +4 -4
  453. package/lib/slider/index.less +20 -18
  454. package/lib/step/index.css +1 -1
  455. package/lib/step/index.less +15 -17
  456. package/lib/stepper/Stepper.d.ts +1 -1
  457. package/lib/stepper/index.css +1 -1
  458. package/lib/stepper/index.d.ts +1 -1
  459. package/lib/stepper/index.less +20 -24
  460. package/lib/steps/Steps.d.ts +2 -2
  461. package/lib/steps/Steps.js +2 -2
  462. package/lib/steps/index.css +1 -1
  463. package/lib/steps/index.d.ts +2 -2
  464. package/lib/steps/index.less +3 -5
  465. package/lib/sticky/index.css +1 -1
  466. package/lib/sticky/index.less +2 -4
  467. package/lib/style/animation.css +1 -1
  468. package/lib/style/animation.less +18 -22
  469. package/lib/style/base.css +1 -1
  470. package/lib/style/base.less +11 -7
  471. package/lib/style/css-variables.css +1 -1
  472. package/lib/style/css-variables.less +76 -61
  473. package/lib/style/mixins/hairline.less +0 -2
  474. package/lib/style/normalize.css +1 -1
  475. package/lib/style/normalize.less +1 -3
  476. package/lib/submit-bar/index.css +1 -1
  477. package/lib/submit-bar/index.less +26 -28
  478. package/lib/swipe/index.css +1 -1
  479. package/lib/swipe/index.less +11 -13
  480. package/lib/swipe-cell/SwipeCell.js +1 -1
  481. package/lib/switch/index.css +1 -1
  482. package/lib/switch/index.less +24 -24
  483. package/lib/tabbar/index.css +1 -1
  484. package/lib/tabbar/index.less +5 -7
  485. package/lib/tabbar-item/index.css +1 -1
  486. package/lib/tabbar-item/index.less +9 -11
  487. package/lib/tabs/Tabs.d.ts +2 -4
  488. package/lib/tabs/Tabs.js +13 -26
  489. package/lib/tabs/index.css +1 -1
  490. package/lib/tabs/index.d.ts +2 -4
  491. package/lib/tabs/index.less +17 -20
  492. package/lib/tag/index.css +1 -1
  493. package/lib/tag/index.less +22 -25
  494. package/lib/time-picker/TimePicker.d.ts +214 -0
  495. package/lib/time-picker/TimePicker.js +95 -0
  496. package/{es/datetime-picker/TimePicker.d.ts → lib/time-picker/index.d.ts} +60 -20
  497. package/lib/{datetime-picker/types.js → time-picker/index.js} +17 -0
  498. package/lib/time-picker/style/index.d.ts +1 -0
  499. package/lib/time-picker/style/index.js +3 -0
  500. package/lib/time-picker/style/less.d.ts +1 -0
  501. package/lib/time-picker/style/less.js +3 -0
  502. package/lib/toast/Toast.js +1 -0
  503. package/lib/toast/index.css +1 -1
  504. package/lib/toast/index.less +19 -21
  505. package/lib/tree-select/TreeSelect.d.ts +3 -3
  506. package/lib/tree-select/TreeSelect.js +3 -3
  507. package/lib/tree-select/index.css +1 -1
  508. package/lib/tree-select/index.d.ts +3 -3
  509. package/lib/tree-select/index.less +12 -14
  510. package/lib/uploader/Uploader.d.ts +4 -4
  511. package/lib/uploader/Uploader.js +4 -4
  512. package/lib/uploader/index.css +1 -1
  513. package/lib/uploader/index.d.ts +4 -4
  514. package/lib/uploader/index.less +31 -33
  515. package/lib/utils/basic.d.ts +1 -0
  516. package/lib/utils/basic.js +2 -0
  517. package/lib/vant.cjs.js +1251 -1655
  518. package/lib/vant.cjs.min.js +1 -1
  519. package/lib/vant.es.js +1251 -1656
  520. package/lib/vant.es.min.js +1251 -1656
  521. package/lib/vant.js +1251 -1655
  522. package/lib/vant.min.js +1 -1
  523. package/package.json +5 -2
  524. package/vetur/attributes.json +430 -366
  525. package/vetur/tags.json +144 -132
  526. package/vetur/web-types.json +1495 -1300
  527. package/es/action-bar/var.css +0 -0
  528. package/es/action-bar/var.less +0 -4
  529. package/es/action-bar-button/var.css +0 -0
  530. package/es/action-bar-button/var.less +0 -5
  531. package/es/action-bar-icon/var.css +0 -0
  532. package/es/action-bar-icon/var.less +0 -10
  533. package/es/action-sheet/var.css +0 -0
  534. package/es/action-sheet/var.less +0 -23
  535. package/es/address-edit/var.css +0 -0
  536. package/es/address-edit/var.less +0 -6
  537. package/es/address-list/var.css +0 -0
  538. package/es/address-list/var.less +0 -16
  539. package/es/badge/var.css +0 -0
  540. package/es/badge/var.less +0 -12
  541. package/es/button/var.css +0 -0
  542. package/es/button/var.less +0 -36
  543. package/es/calendar/var.css +0 -0
  544. package/es/calendar/var.less +0 -27
  545. package/es/card/var.css +0 -0
  546. package/es/card/var.less +0 -18
  547. package/es/cascader/var.css +0 -0
  548. package/es/cascader/var.less +0 -15
  549. package/es/cell/var.css +0 -0
  550. package/es/cell/var.less +0 -21
  551. package/es/cell-group/var.css +0 -0
  552. package/es/cell-group/var.less +0 -12
  553. package/es/checkbox/var.css +0 -0
  554. package/es/checkbox/var.less +0 -11
  555. package/es/circle/var.css +0 -0
  556. package/es/circle/var.less +0 -9
  557. package/es/collapse-item/var.css +0 -0
  558. package/es/collapse-item/var.less +0 -9
  559. package/es/contact-card/var.css +0 -0
  560. package/es/contact-card/var.less +0 -6
  561. package/es/contact-edit/var.css +0 -0
  562. package/es/contact-edit/var.less +0 -8
  563. package/es/contact-list/var.css +0 -0
  564. package/es/contact-list/var.less +0 -6
  565. package/es/count-down/var.css +0 -0
  566. package/es/count-down/var.less +0 -5
  567. package/es/coupon/var.css +0 -0
  568. package/es/coupon/var.less +0 -19
  569. package/es/coupon-cell/var.css +0 -0
  570. package/es/coupon-cell/var.less +0 -3
  571. package/es/coupon-list/var.css +0 -0
  572. package/es/coupon-list/var.less +0 -10
  573. package/es/datetime-picker/DatePicker.js +0 -250
  574. package/es/datetime-picker/DatetimePicker.d.ts +0 -7
  575. package/es/datetime-picker/DatetimePicker.js +0 -40
  576. package/es/datetime-picker/TimePicker.js +0 -117
  577. package/es/datetime-picker/index.d.ts +0 -12
  578. package/es/datetime-picker/index.js +0 -8
  579. package/es/datetime-picker/types.d.ts +0 -9
  580. package/es/datetime-picker/types.js +0 -0
  581. package/es/datetime-picker/utils.js +0 -63
  582. package/es/dialog/var.css +0 -0
  583. package/es/dialog/var.less +0 -21
  584. package/es/divider/var.css +0 -0
  585. package/es/divider/var.less +0 -10
  586. package/es/dropdown-item/var.css +0 -0
  587. package/es/dropdown-item/var.less +0 -3
  588. package/es/dropdown-menu/var.css +0 -0
  589. package/es/dropdown-menu/var.less +0 -13
  590. package/es/empty/var.css +0 -0
  591. package/es/empty/var.less +0 -10
  592. package/es/field/var.css +0 -0
  593. package/es/field/var.less +0 -21
  594. package/es/grid-item/var.css +0 -0
  595. package/es/grid-item/var.less +0 -8
  596. package/es/image/var.css +0 -0
  597. package/es/image/var.less +0 -9
  598. package/es/image-preview/var.css +0 -0
  599. package/es/image-preview/var.less +0 -11
  600. package/es/index-anchor/var.css +0 -0
  601. package/es/index-anchor/var.less +0 -11
  602. package/es/index-bar/var.css +0 -0
  603. package/es/index-bar/var.less +0 -6
  604. package/es/list/var.css +0 -0
  605. package/es/list/var.less +0 -6
  606. package/es/loading/var.css +0 -0
  607. package/es/loading/var.less +0 -7
  608. package/es/nav-bar/var.css +0 -0
  609. package/es/nav-bar/var.less +0 -10
  610. package/es/notice-bar/var.css +0 -0
  611. package/es/notice-bar/var.less +0 -11
  612. package/es/notify/var.css +0 -0
  613. package/es/notify/var.less +0 -10
  614. package/es/number-keyboard/var.css +0 -0
  615. package/es/number-keyboard/var.less +0 -17
  616. package/es/overlay/var.css +0 -0
  617. package/es/overlay/var.less +0 -4
  618. package/es/pagination/var.css +0 -0
  619. package/es/pagination/var.less +0 -11
  620. package/es/password-input/var.css +0 -0
  621. package/es/password-input/var.less +0 -17
  622. package/es/picker/var.css +0 -0
  623. package/es/picker/var.less +0 -22
  624. package/es/popover/var.css +0 -0
  625. package/es/popover/var.less +0 -15
  626. package/es/popup/var.css +0 -0
  627. package/es/popup/var.less +0 -9
  628. package/es/progress/var.css +0 -0
  629. package/es/progress/var.less +0 -11
  630. package/es/pull-refresh/var.css +0 -0
  631. package/es/pull-refresh/var.less +0 -6
  632. package/es/radio/var.css +0 -0
  633. package/es/radio/var.less +0 -11
  634. package/es/rate/var.css +0 -0
  635. package/es/rate/var.less +0 -7
  636. package/es/search/var.css +0 -0
  637. package/es/search/var.less +0 -13
  638. package/es/share-sheet/var.css +0 -0
  639. package/es/share-sheet/var.less +0 -18
  640. package/es/sidebar/var.css +0 -0
  641. package/es/sidebar/var.less +0 -3
  642. package/es/sidebar-item/var.css +0 -0
  643. package/es/sidebar-item/var.less +0 -15
  644. package/es/skeleton/var.css +0 -0
  645. package/es/skeleton/var.less +0 -9
  646. package/es/slider/var.css +0 -0
  647. package/es/slider/var.less +0 -11
  648. package/es/step/var.css +0 -0
  649. package/es/step/var.less +0 -13
  650. package/es/stepper/var.css +0 -0
  651. package/es/stepper/var.less +0 -15
  652. package/es/steps/var.css +0 -0
  653. package/es/steps/var.less +0 -3
  654. package/es/sticky/var.css +0 -0
  655. package/es/sticky/var.less +0 -3
  656. package/es/style/var.css +0 -0
  657. package/es/style/var.less +0 -74
  658. package/es/submit-bar/var.css +0 -0
  659. package/es/submit-bar/var.less +0 -22
  660. package/es/swipe/var.css +0 -0
  661. package/es/swipe/var.less +0 -8
  662. package/es/switch/var.css +0 -0
  663. package/es/switch/var.less +0 -14
  664. package/es/tabbar/var.css +0 -0
  665. package/es/tabbar/var.less +0 -5
  666. package/es/tabbar-item/var.css +0 -0
  667. package/es/tabbar-item/var.less +0 -9
  668. package/es/tabs/var.css +0 -0
  669. package/es/tabs/var.less +0 -14
  670. package/es/tag/var.css +0 -0
  671. package/es/tag/var.less +0 -18
  672. package/es/toast/var.css +0 -0
  673. package/es/toast/var.less +0 -17
  674. package/es/tree-select/var.css +0 -0
  675. package/es/tree-select/var.less +0 -10
  676. package/es/uploader/var.css +0 -0
  677. package/es/uploader/var.less +0 -27
  678. package/lib/action-bar/var.css +0 -0
  679. package/lib/action-bar/var.less +0 -4
  680. package/lib/action-bar-button/var.css +0 -0
  681. package/lib/action-bar-button/var.less +0 -5
  682. package/lib/action-bar-icon/var.css +0 -0
  683. package/lib/action-bar-icon/var.less +0 -10
  684. package/lib/action-sheet/var.css +0 -0
  685. package/lib/action-sheet/var.less +0 -23
  686. package/lib/address-edit/var.css +0 -0
  687. package/lib/address-edit/var.less +0 -6
  688. package/lib/address-list/var.css +0 -0
  689. package/lib/address-list/var.less +0 -16
  690. package/lib/badge/var.css +0 -0
  691. package/lib/badge/var.less +0 -12
  692. package/lib/button/var.css +0 -0
  693. package/lib/button/var.less +0 -36
  694. package/lib/calendar/var.css +0 -0
  695. package/lib/calendar/var.less +0 -27
  696. package/lib/card/var.css +0 -0
  697. package/lib/card/var.less +0 -18
  698. package/lib/cascader/var.css +0 -0
  699. package/lib/cascader/var.less +0 -15
  700. package/lib/cell/var.css +0 -0
  701. package/lib/cell/var.less +0 -21
  702. package/lib/cell-group/var.css +0 -0
  703. package/lib/cell-group/var.less +0 -12
  704. package/lib/checkbox/var.css +0 -0
  705. package/lib/checkbox/var.less +0 -11
  706. package/lib/circle/var.css +0 -0
  707. package/lib/circle/var.less +0 -9
  708. package/lib/collapse-item/var.css +0 -0
  709. package/lib/collapse-item/var.less +0 -9
  710. package/lib/contact-card/var.css +0 -0
  711. package/lib/contact-card/var.less +0 -6
  712. package/lib/contact-edit/var.css +0 -0
  713. package/lib/contact-edit/var.less +0 -8
  714. package/lib/contact-list/var.css +0 -0
  715. package/lib/contact-list/var.less +0 -6
  716. package/lib/count-down/var.css +0 -0
  717. package/lib/count-down/var.less +0 -5
  718. package/lib/coupon/var.css +0 -0
  719. package/lib/coupon/var.less +0 -19
  720. package/lib/coupon-cell/var.css +0 -0
  721. package/lib/coupon-cell/var.less +0 -3
  722. package/lib/coupon-list/var.css +0 -0
  723. package/lib/coupon-list/var.less +0 -10
  724. package/lib/datetime-picker/DatePicker.js +0 -274
  725. package/lib/datetime-picker/DatetimePicker.d.ts +0 -7
  726. package/lib/datetime-picker/DatetimePicker.js +0 -69
  727. package/lib/datetime-picker/TimePicker.js +0 -141
  728. package/lib/datetime-picker/index.d.ts +0 -12
  729. package/lib/datetime-picker/types.d.ts +0 -9
  730. package/lib/dialog/var.css +0 -0
  731. package/lib/dialog/var.less +0 -21
  732. package/lib/divider/var.css +0 -0
  733. package/lib/divider/var.less +0 -10
  734. package/lib/dropdown-item/var.css +0 -0
  735. package/lib/dropdown-item/var.less +0 -3
  736. package/lib/dropdown-menu/var.css +0 -0
  737. package/lib/dropdown-menu/var.less +0 -13
  738. package/lib/empty/var.css +0 -0
  739. package/lib/empty/var.less +0 -10
  740. package/lib/field/var.css +0 -0
  741. package/lib/field/var.less +0 -21
  742. package/lib/grid-item/var.css +0 -0
  743. package/lib/grid-item/var.less +0 -8
  744. package/lib/image/var.css +0 -0
  745. package/lib/image/var.less +0 -9
  746. package/lib/image-preview/var.css +0 -0
  747. package/lib/image-preview/var.less +0 -11
  748. package/lib/index-anchor/var.css +0 -0
  749. package/lib/index-anchor/var.less +0 -11
  750. package/lib/index-bar/var.css +0 -0
  751. package/lib/index-bar/var.less +0 -6
  752. package/lib/list/var.css +0 -0
  753. package/lib/list/var.less +0 -6
  754. package/lib/loading/var.css +0 -0
  755. package/lib/loading/var.less +0 -7
  756. package/lib/nav-bar/var.css +0 -0
  757. package/lib/nav-bar/var.less +0 -10
  758. package/lib/notice-bar/var.css +0 -0
  759. package/lib/notice-bar/var.less +0 -11
  760. package/lib/notify/var.css +0 -0
  761. package/lib/notify/var.less +0 -10
  762. package/lib/number-keyboard/var.css +0 -0
  763. package/lib/number-keyboard/var.less +0 -17
  764. package/lib/overlay/var.css +0 -0
  765. package/lib/overlay/var.less +0 -4
  766. package/lib/pagination/var.css +0 -0
  767. package/lib/pagination/var.less +0 -11
  768. package/lib/password-input/var.css +0 -0
  769. package/lib/password-input/var.less +0 -17
  770. package/lib/picker/var.css +0 -0
  771. package/lib/picker/var.less +0 -22
  772. package/lib/popover/var.css +0 -0
  773. package/lib/popover/var.less +0 -15
  774. package/lib/popup/var.css +0 -0
  775. package/lib/popup/var.less +0 -9
  776. package/lib/progress/var.css +0 -0
  777. package/lib/progress/var.less +0 -11
  778. package/lib/pull-refresh/var.css +0 -0
  779. package/lib/pull-refresh/var.less +0 -6
  780. package/lib/radio/var.css +0 -0
  781. package/lib/radio/var.less +0 -11
  782. package/lib/rate/var.css +0 -0
  783. package/lib/rate/var.less +0 -7
  784. package/lib/search/var.css +0 -0
  785. package/lib/search/var.less +0 -13
  786. package/lib/share-sheet/var.css +0 -0
  787. package/lib/share-sheet/var.less +0 -18
  788. package/lib/sidebar/var.css +0 -0
  789. package/lib/sidebar/var.less +0 -3
  790. package/lib/sidebar-item/var.css +0 -0
  791. package/lib/sidebar-item/var.less +0 -15
  792. package/lib/skeleton/var.css +0 -0
  793. package/lib/skeleton/var.less +0 -9
  794. package/lib/slider/var.css +0 -0
  795. package/lib/slider/var.less +0 -11
  796. package/lib/step/var.css +0 -0
  797. package/lib/step/var.less +0 -13
  798. package/lib/stepper/var.css +0 -0
  799. package/lib/stepper/var.less +0 -15
  800. package/lib/steps/var.css +0 -0
  801. package/lib/steps/var.less +0 -3
  802. package/lib/sticky/var.css +0 -0
  803. package/lib/sticky/var.less +0 -3
  804. package/lib/style/var.css +0 -0
  805. package/lib/style/var.less +0 -74
  806. package/lib/submit-bar/var.css +0 -0
  807. package/lib/submit-bar/var.less +0 -22
  808. package/lib/swipe/var.css +0 -0
  809. package/lib/swipe/var.less +0 -8
  810. package/lib/switch/var.css +0 -0
  811. package/lib/switch/var.less +0 -14
  812. package/lib/tabbar/var.css +0 -0
  813. package/lib/tabbar/var.less +0 -5
  814. package/lib/tabbar-item/var.css +0 -0
  815. package/lib/tabbar-item/var.less +0 -9
  816. package/lib/tabs/var.css +0 -0
  817. package/lib/tabs/var.less +0 -14
  818. package/lib/tag/var.css +0 -0
  819. package/lib/tag/var.less +0 -18
  820. package/lib/toast/var.css +0 -0
  821. package/lib/toast/var.less +0 -17
  822. package/lib/tree-select/var.css +0 -0
  823. package/lib/tree-select/var.less +0 -10
  824. package/lib/uploader/var.css +0 -0
  825. package/lib/uploader/var.less +0 -27
package/lib/index.d.ts CHANGED
@@ -26,7 +26,7 @@ export * from "./count-down";
26
26
  export * from "./coupon";
27
27
  export * from "./coupon-cell";
28
28
  export * from "./coupon-list";
29
- export * from "./datetime-picker";
29
+ export * from "./date-picker";
30
30
  export * from "./dialog";
31
31
  export * from "./divider";
32
32
  export * from "./dropdown-item";
@@ -81,6 +81,7 @@ export * from "./tabbar";
81
81
  export * from "./tabbar-item";
82
82
  export * from "./tabs";
83
83
  export * from "./tag";
84
+ export * from "./time-picker";
84
85
  export * from "./toast";
85
86
  export * from "./tree-select";
86
87
  export * from "./uploader";
@@ -90,4 +91,4 @@ declare namespace _default {
90
91
  }
91
92
  export default _default;
92
93
  export function install(app: any): void;
93
- export const version: "3.4.5";
94
+ export const version: "4.0.0-alpha.1";
package/lib/index.js CHANGED
@@ -54,7 +54,7 @@ var import_count_down = require("./count-down");
54
54
  var import_coupon = require("./coupon");
55
55
  var import_coupon_cell = require("./coupon-cell");
56
56
  var import_coupon_list = require("./coupon-list");
57
- var import_datetime_picker = require("./datetime-picker");
57
+ var import_date_picker = require("./date-picker");
58
58
  var import_dialog = require("./dialog");
59
59
  var import_divider = require("./divider");
60
60
  var import_dropdown_item = require("./dropdown-item");
@@ -108,6 +108,7 @@ var import_tabbar = require("./tabbar");
108
108
  var import_tabbar_item = require("./tabbar-item");
109
109
  var import_tabs = require("./tabs");
110
110
  var import_tag = require("./tag");
111
+ var import_time_picker = require("./time-picker");
111
112
  var import_toast = require("./toast");
112
113
  var import_tree_select = require("./tree-select");
113
114
  var import_uploader = require("./uploader");
@@ -139,7 +140,7 @@ __reExport(stdin_exports, require("./count-down"));
139
140
  __reExport(stdin_exports, require("./coupon"));
140
141
  __reExport(stdin_exports, require("./coupon-cell"));
141
142
  __reExport(stdin_exports, require("./coupon-list"));
142
- __reExport(stdin_exports, require("./datetime-picker"));
143
+ __reExport(stdin_exports, require("./date-picker"));
143
144
  __reExport(stdin_exports, require("./dialog"));
144
145
  __reExport(stdin_exports, require("./divider"));
145
146
  __reExport(stdin_exports, require("./dropdown-item"));
@@ -194,10 +195,11 @@ __reExport(stdin_exports, require("./tabbar"));
194
195
  __reExport(stdin_exports, require("./tabbar-item"));
195
196
  __reExport(stdin_exports, require("./tabs"));
196
197
  __reExport(stdin_exports, require("./tag"));
198
+ __reExport(stdin_exports, require("./time-picker"));
197
199
  __reExport(stdin_exports, require("./toast"));
198
200
  __reExport(stdin_exports, require("./tree-select"));
199
201
  __reExport(stdin_exports, require("./uploader"));
200
- const version = "3.4.5";
202
+ const version = "4.0.0-alpha.1";
201
203
  function install(app) {
202
204
  const components = [
203
205
  import_action_bar.ActionBar,
@@ -228,7 +230,7 @@ function install(app) {
228
230
  import_coupon.Coupon,
229
231
  import_coupon_cell.CouponCell,
230
232
  import_coupon_list.CouponList,
231
- import_datetime_picker.DatetimePicker,
233
+ import_date_picker.DatePicker,
232
234
  import_dialog.Dialog,
233
235
  import_divider.Divider,
234
236
  import_dropdown_item.DropdownItem,
@@ -282,6 +284,7 @@ function install(app) {
282
284
  import_tabbar_item.TabbarItem,
283
285
  import_tabs.Tabs,
284
286
  import_tag.Tag,
287
+ import_time_picker.TimePicker,
285
288
  import_toast.Toast,
286
289
  import_tree_select.TreeSelect,
287
290
  import_uploader.Uploader
@@ -1 +1 @@
1
- :root{--van-list-text-color: var(--van-text-color-2);--van-list-text-font-size: var(--van-font-size-md);--van-list-text-line-height: 50px;--van-list-loading-icon-size: 16px}.van-list__loading,.van-list__finished-text,.van-list__error-text{color:var(--van-list-text-color);font-size:var(--van-list-text-font-size);line-height:var(--van-list-text-line-height);text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-list__loading-icon .van-loading__spinner{width:var(--van-list-loading-icon-size);height:var(--van-list-loading-icon-size)}
1
+ body{--van-list-text-color: var(--van-text-color-2);--van-list-text-font-size: var(--van-font-size-md);--van-list-text-line-height: 50px;--van-list-loading-icon-size: 16px}.van-list__loading,.van-list__finished-text,.van-list__error-text{color:var(--van-list-text-color);font-size:var(--van-list-text-font-size);line-height:var(--van-list-text-line-height);text-align:center}.van-list__placeholder{height:0;pointer-events:none}.van-list__loading-icon .van-loading__spinner{width:var(--van-list-loading-icon-size);height:var(--van-list-loading-icon-size)}
@@ -1,10 +1,8 @@
1
- @import './var.less';
2
-
3
- :root {
4
- --van-list-text-color: @list-text-color;
5
- --van-list-text-font-size: @list-text-font-size;
6
- --van-list-text-line-height: @list-text-line-height;
7
- --van-list-loading-icon-size: @list-loading-icon-size;
1
+ body {
2
+ --van-list-text-color: var(--van-text-color-2);
3
+ --van-list-text-font-size: var(--van-font-size-md);
4
+ --van-list-text-line-height: 50px;
5
+ --van-list-loading-icon-size: 16px;
8
6
  }
9
7
 
10
8
  .van-list {
@@ -1 +1 @@
1
- :root{--van-loading-text-color: var(--van-text-color-2);--van-loading-text-font-size: var(--van-font-size-md);--van-loading-spinner-color: var(--van-gray-5);--van-loading-spinner-size: 30px;--van-loading-spinner-animation-duration: .8s}.van-loading{position:relative;color:var(--van-loading-spinner-color);font-size:0;vertical-align:middle}.van-loading__spinner{position:relative;display:inline-block;width:var(--van-loading-spinner-size);max-width:100%;height:var(--van-loading-spinner-size);max-height:100%;vertical-align:middle;animation:van-rotate var(--van-loading-spinner-animation-duration) linear infinite}.van-loading__spinner--spinner{animation-timing-function:steps(12)}.van-loading__spinner--circular{animation-duration:2s}.van-loading__line{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__line:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:var(--van-padding-xs);color:var(--van-loading-text-color);font-size:var(--van-loading-text-font-size);vertical-align:middle}.van-loading--vertical{display:flex;flex-direction:column;align-items:center}.van-loading--vertical .van-loading__text{margin:var(--van-padding-xs) 0 0}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__line--1{transform:rotate(30deg);opacity:1}.van-loading__line--2{transform:rotate(60deg);opacity:.9375}.van-loading__line--3{transform:rotate(90deg);opacity:.875}.van-loading__line--4{transform:rotate(120deg);opacity:.8125}.van-loading__line--5{transform:rotate(150deg);opacity:.75}.van-loading__line--6{transform:rotate(180deg);opacity:.6875}.van-loading__line--7{transform:rotate(210deg);opacity:.625}.van-loading__line--8{transform:rotate(240deg);opacity:.5625}.van-loading__line--9{transform:rotate(270deg);opacity:.5}.van-loading__line--10{transform:rotate(300deg);opacity:.4375}.van-loading__line--11{transform:rotate(330deg);opacity:.375}.van-loading__line--12{transform:rotate(360deg);opacity:.3125}
1
+ body{--van-loading-text-color: var(--van-text-color-2);--van-loading-text-font-size: var(--van-font-size-md);--van-loading-spinner-color: var(--van-gray-5);--van-loading-spinner-size: 30px;--van-loading-spinner-duration: .8s}.van-loading{position:relative;color:var(--van-loading-spinner-color);font-size:0;vertical-align:middle}.van-loading__spinner{position:relative;display:inline-block;width:var(--van-loading-spinner-size);max-width:100%;height:var(--van-loading-spinner-size);max-height:100%;vertical-align:middle;animation:van-rotate var(--van-loading-spinner-duration) linear infinite}.van-loading__spinner--spinner{animation-timing-function:steps(12)}.van-loading__spinner--circular{animation-duration:2s}.van-loading__line{position:absolute;top:0;left:0;width:100%;height:100%}.van-loading__line:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.van-loading__circular{display:block;width:100%;height:100%}.van-loading__circular circle{animation:van-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.van-loading__text{display:inline-block;margin-left:var(--van-padding-xs);color:var(--van-loading-text-color);font-size:var(--van-loading-text-font-size);vertical-align:middle}.van-loading--vertical{display:flex;flex-direction:column;align-items:center}.van-loading--vertical .van-loading__text{margin:var(--van-padding-xs) 0 0}@keyframes van-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.van-loading__line--1{transform:rotate(30deg);opacity:1}.van-loading__line--2{transform:rotate(60deg);opacity:.9375}.van-loading__line--3{transform:rotate(90deg);opacity:.875}.van-loading__line--4{transform:rotate(120deg);opacity:.8125}.van-loading__line--5{transform:rotate(150deg);opacity:.75}.van-loading__line--6{transform:rotate(180deg);opacity:.6875}.van-loading__line--7{transform:rotate(210deg);opacity:.625}.van-loading__line--8{transform:rotate(240deg);opacity:.5625}.van-loading__line--9{transform:rotate(270deg);opacity:.5}.van-loading__line--10{transform:rotate(300deg);opacity:.4375}.van-loading__line--11{transform:rotate(330deg);opacity:.375}.van-loading__line--12{transform:rotate(360deg);opacity:.3125}
@@ -1,11 +1,9 @@
1
- @import './var.less';
2
-
3
- :root {
4
- --van-loading-text-color: @loading-text-color;
5
- --van-loading-text-font-size: @loading-text-font-size;
6
- --van-loading-spinner-color: @loading-spinner-color;
7
- --van-loading-spinner-size: @loading-spinner-size;
8
- --van-loading-spinner-animation-duration: @loading-spinner-animation-duration;
1
+ body {
2
+ --van-loading-text-color: var(--van-text-color-2);
3
+ --van-loading-text-font-size: var(--van-font-size-md);
4
+ --van-loading-spinner-color: var(--van-gray-5);
5
+ --van-loading-spinner-size: 30px;
6
+ --van-loading-spinner-duration: 0.8s;
9
7
  }
10
8
 
11
9
  .van-loading {
@@ -23,8 +21,7 @@
23
21
  height: var(--van-loading-spinner-size);
24
22
  max-height: 100%;
25
23
  vertical-align: middle;
26
- animation: van-rotate var(--van-loading-spinner-animation-duration) linear
27
- infinite;
24
+ animation: van-rotate var(--van-loading-spinner-duration) linear infinite;
28
25
 
29
26
  &--spinner {
30
27
  animation-timing-function: steps(12);
@@ -0,0 +1,64 @@
1
+ declare const _default: {
2
+ name: string;
3
+ tel: string;
4
+ save: string;
5
+ confirm: string;
6
+ cancel: string;
7
+ delete: string;
8
+ loading: string;
9
+ noCoupon: string;
10
+ nameEmpty: string;
11
+ addContact: string;
12
+ telInvalid: string;
13
+ vanCalendar: {
14
+ end: string;
15
+ start: string;
16
+ title: string;
17
+ weekdays: string[];
18
+ monthTitle: (year: number, month: number) => string;
19
+ rangePrompt: (maxRange: number) => string;
20
+ };
21
+ vanCascader: {
22
+ select: string;
23
+ };
24
+ vanPagination: {
25
+ prev: string;
26
+ next: string;
27
+ };
28
+ vanPullRefresh: {
29
+ pulling: string;
30
+ loosing: string;
31
+ };
32
+ vanSubmitBar: {
33
+ label: string;
34
+ };
35
+ vanCoupon: {
36
+ unlimited: string;
37
+ discount: (discount: number) => string;
38
+ condition: (condition: number) => string;
39
+ };
40
+ vanCouponCell: {
41
+ title: string;
42
+ count: (count: number) => string;
43
+ };
44
+ vanCouponList: {
45
+ exchange: string;
46
+ close: string;
47
+ enable: string;
48
+ disabled: string;
49
+ placeholder: string;
50
+ };
51
+ vanAddressEdit: {
52
+ area: string;
53
+ postal: string;
54
+ areaEmpty: string;
55
+ addressEmpty: string;
56
+ postalEmpty: string;
57
+ addressDetail: string;
58
+ defaultAddress: string;
59
+ };
60
+ vanAddressList: {
61
+ add: string;
62
+ };
63
+ };
64
+ export default _default;
@@ -0,0 +1,90 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
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, {
25
+ default: () => stdin_default
26
+ });
27
+ var stdin_default = {
28
+ name: "\u0E8A\u0EB7\u0EC8",
29
+ tel: "\u0EC2\u0E97\u0EA5\u0EB0\u0EAA\u0EB1\u0E9A",
30
+ save: "\u0E9A\u0EB1\u0E99\u0E97\u0EB6\u0E81",
31
+ confirm: "\u0EA2\u0EB6\u0E99\u0EA2\u0EB1\u0E99",
32
+ cancel: "\u0E8D\u0EBB\u0E81\u0EC0\u0EA5\u0EB5\u0E81",
33
+ delete: "\u0EA5\u0EB7\u0E9A",
34
+ loading: "\u0E81\u0EB3\u0EA5\u0EB1\u0E87\u0EC2\u0EAB\u0EBC\u0E94...",
35
+ noCoupon: "\u0E9A\u0ECD\u0EC8\u0EA1\u0EB5\u0E84\u0EB9\u0E9B\u0EAD\u0E87",
36
+ nameEmpty: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0E9B\u0EC9\u0EAD\u0E99\u0E8A\u0EB7\u0EC8",
37
+ addContact: "\u0EC0\u0E9E\u0EB5\u0EC8\u0EA1\u0E9C\u0EB9\u0EC9\u0E95\u0EB4\u0E94\u0E95\u0ECD\u0EC8",
38
+ telInvalid: "\u0EC0\u0E9A\u0EB5\u0EC2\u0E97\u0EA5\u0EB0\u0EAA\u0EB1\u0E9A\u0E9A\u0ECD\u0EC8\u0E96\u0EB7\u0E81\u0E95\u0EC9\u0EAD\u0E87",
39
+ vanCalendar: {
40
+ end: "\u0E88\u0EBB\u0E9A",
41
+ start: "\u0EC0\u0EA5\u0EB5\u0EC8\u0EA1",
42
+ title: "\u0E81\u0EB2\u0E99\u0EC0\u0EA5\u0EB7\u0EAD\u0E81\u0EA7\u0EB1\u0E99\u0E97\u0EB5\u0EC8",
43
+ weekdays: ["\u0EAD\u0EB2", "\u0E88", "\u0EAD", "\u0E9E", "\u0E9E\u0EAB", "\u0EAA", "\u0EAA"],
44
+ monthTitle: (year, month) => `${year}\u0E9B\u0EB5${month}\u0EC0\u0E94\u0EB7\u0EAD\u0E99`,
45
+ rangePrompt: (maxRange) => `\u0E88\u0EB3\u0E99\u0EAD\u0E99\u0EA7\u0EB1\u0E99\u0E97\u0EB5\u0EC8\u0EC0\u0EA5\u0EB7\u0EAD\u0E81\u0E95\u0EC9\u0EAD\u0E87\u0E9A\u0ECD\u0EC8\u0EC0\u0E81\u0EB5\u0E99 ${maxRange} \u0EA7\u0EB1\u0E99`
46
+ },
47
+ vanCascader: {
48
+ select: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0EC0\u0EA5\u0EB7\u0EAD\u0E81"
49
+ },
50
+ vanPagination: {
51
+ prev: "\u0EDC\u0EC9\u0EB2\u0E97\u0EB5\u0EC8\u0EC1\u0EA5\u0EC9\u0EA7",
52
+ next: "\u0EDC\u0EC9\u0EB2\u0E95\u0ECD\u0EC8\u0EC4\u0E9B"
53
+ },
54
+ vanPullRefresh: {
55
+ pulling: "\u0E94\u0EB7\u0E87\u0EA5\u0EBB\u0E87\u0EC0\u0E9E\u0EB7\u0EC8\u0EAD\u0EA3\u0EB5\u0EC0\u0E9F\u0EAA...",
56
+ loosing: "\u0E9B\u0EC8\u0EAD\u0E8D\u0EC0\u0E9E\u0EB7\u0EC8\u0EAD\u0EA3\u0EB5\u0EC0\u0E9F\u0EAA..."
57
+ },
58
+ vanSubmitBar: {
59
+ label: "\u0EA5\u0EA7\u0EA1:"
60
+ },
61
+ vanCoupon: {
62
+ unlimited: "\u0E9A\u0ECD\u0EC8 \u0E88\u0EB3\u0E81\u0EB1\u0E94",
63
+ discount: (discount) => `\u0EA5\u0EBB\u0E94${discount}`,
64
+ condition: (condition) => `\u0EA1\u0EB5\u0E88\u0EB3\u0EDC\u0EC8\u0EB2\u0E8D\u0EC3\u0E99\u0EA5\u0EB2\u0E84\u0EB2 ${condition} \u0E81\u0EA7\u0EC8\u0EB2\u0EAB\u0E8D\u0EA7\u0E99`
65
+ },
66
+ vanCouponCell: {
67
+ title: "\u0E84\u0EB9\u0E9B\u0EAD\u0E87",
68
+ count: (count) => `\u0EA1\u0EB5\u0EAE\u0EB9\u0E9A\u0E9E\u0EB2\u0E9A ${count} \u0EAE\u0EB9\u0E9A`
69
+ },
70
+ vanCouponList: {
71
+ exchange: "\u0EC1\u0EA5\u0E81\u0E9B\u0EC8\u0EBD\u0E99",
72
+ close: "\u0E9A\u0ECD\u0EC8\u0EC4\u0E94\u0EC9\u0EC3\u0E8A\u0EC9",
73
+ enable: "\u0E9E\u0EC9\u0EAD\u0EA1\u0EC3\u0E8A\u0EC9\u0E87\u0EB2\u0E99",
74
+ disabled: "\u0E9A\u0ECD\u0EC8\u0E9E\u0EC9\u0EAD\u0EA1\u0EC3\u0E8A\u0EC9\u0E87\u0EB2\u0E99",
75
+ placeholder: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0E9B\u0EC9\u0EAD\u0E99\u0E84\u0EB9\u0E9B\u0EAD\u0E87"
76
+ },
77
+ vanAddressEdit: {
78
+ area: "\u0E9E\u0EB7\u0EC9\u0E99\u0E97\u0EB5\u0EC8",
79
+ postal: "\u0EA5\u0EB0\u0EAB\u0EB1\u0E94\u0EC4\u0E9B\u0EAA\u0EB0\u0E99\u0EB5",
80
+ areaEmpty: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0EC0\u0EA5\u0EB7\u0EAD\u0E81\u0E9E\u0EB7\u0EC9\u0E99\u0E97\u0EB5\u0EC8",
81
+ addressEmpty: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0E9B\u0EC9\u0EAD\u0E99\u0E97\u0EB5\u0EC8\u0EA2\u0EB9\u0EC8",
82
+ postalEmpty: "\u0E81\u0EB0\u0EA5\u0EB8\u0E99\u0EB2\u0E9B\u0EC9\u0EAD\u0E99\u0EA5\u0EB0\u0EAB\u0EB1\u0E94\u0EC4\u0E9B\u0EAA\u0EB0\u0E99\u0EB5",
83
+ addressDetail: "\u0E97\u0EB5\u0EC8\u0EA2\u0EB9\u0EC8",
84
+ defaultAddress: "\u0E95\u0EB1\u0EC9\u0E87\u0EC0\u0E9B\u0EB1\u0E99\u0E97\u0EB5\u0EC8\u0EA2\u0EB9\u0EC8\u0EC0\u0EA5\u0EB5\u0EC8\u0EA1\u0E95\u0EBB\u0EC9\u0E99"
85
+ },
86
+ vanAddressList: {
87
+ add: "\u0EC0\u0E9E\u0EB5\u0EC8\u0EA1\u0E97\u0EB5\u0EC8\u0EA2\u0EB9\u0EC8"
88
+ }
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,13 +41,13 @@ 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;
49
49
  placeholder: boolean;
50
- leftArrow: boolean;
51
50
  safeAreaInsetTop: boolean;
51
+ leftArrow: boolean;
52
52
  }>;
53
53
  export default _default;
@@ -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();
@@ -86,10 +86,10 @@ var stdin_default = (0, import_vue2.defineComponent)({
86
86
  "ref": navBarRef,
87
87
  "style": style,
88
88
  "class": [bem({
89
- fixed,
90
- "safe-area-inset-top": props.safeAreaInsetTop
89
+ fixed
91
90
  }), {
92
- [import_utils.BORDER_BOTTOM]: border
91
+ [import_utils.BORDER_BOTTOM]: border,
92
+ "van-safe-area-top": props.safeAreaInsetTop
93
93
  }]
94
94
  }, [(0, import_vue.createVNode)("div", {
95
95
  "class": bem("content")
@@ -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)}.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,14 +25,14 @@ 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;
33
33
  placeholder: boolean;
34
- leftArrow: boolean;
35
34
  safeAreaInsetTop: boolean;
35
+ leftArrow: boolean;
36
36
  }>>;
37
37
  export default NavBar;
38
38
  export type { NavBarProps } from './NavBar';
@@ -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
 
@@ -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}
@@ -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 {
@@ -1 +1 @@
1
- :root{--van-notify-text-color: var(--van-white);--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);--van-notify-font-size: var(--van-font-size-md);--van-notify-line-height: var(--van-line-height-md);--van-notify-primary-background-color: var(--van-primary-color);--van-notify-success-background-color: var(--van-success-color);--van-notify-danger-background-color: var(--van-danger-color);--van-notify-warning-background-color: var(--van-warning-color)}.van-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-notify-padding);color:var(--van-notify-text-color);font-size:var(--van-notify-font-size);line-height:var(--van-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background:var(--van-notify-primary-background-color)}.van-notify--success{background:var(--van-notify-success-background-color)}.van-notify--danger{background:var(--van-notify-danger-background-color)}.van-notify--warning{background:var(--van-notify-warning-background-color)}
1
+ body{--van-notify-text-color: var(--van-white);--van-notify-padding: var(--van-padding-xs) var(--van-padding-md);--van-notify-font-size: var(--van-font-size-md);--van-notify-line-height: var(--van-line-height-md);--van-notify-primary-background: var(--van-primary-color);--van-notify-success-background: var(--van-success-color);--van-notify-danger-background: var(--van-danger-color);--van-notify-warning-background: var(--van-warning-color)}.van-notify{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-notify-padding);color:var(--van-notify-text-color);font-size:var(--van-notify-font-size);line-height:var(--van-notify-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word}.van-notify--primary{background:var(--van-notify-primary-background)}.van-notify--success{background:var(--van-notify-success-background)}.van-notify--danger{background:var(--van-notify-danger-background)}.van-notify--warning{background:var(--van-notify-warning-background)}
@@ -1,14 +1,12 @@
1
- @import './var.less';
2
-
3
- :root {
4
- --van-notify-text-color: @notify-text-color;
5
- --van-notify-padding: @notify-padding;
6
- --van-notify-font-size: @notify-font-size;
7
- --van-notify-line-height: @notify-line-height;
8
- --van-notify-primary-background-color: @notify-primary-background-color;
9
- --van-notify-success-background-color: @notify-success-background-color;
10
- --van-notify-danger-background-color: @notify-danger-background-color;
11
- --van-notify-warning-background-color: @notify-warning-background-color;
1
+ body {
2
+ --van-notify-text-color: var(--van-white);
3
+ --van-notify-padding: var(--van-padding-xs) var(--van-padding-md);
4
+ --van-notify-font-size: var(--van-font-size-md);
5
+ --van-notify-line-height: var(--van-line-height-md);
6
+ --van-notify-primary-background: var(--van-primary-color);
7
+ --van-notify-success-background: var(--van-success-color);
8
+ --van-notify-danger-background: var(--van-danger-color);
9
+ --van-notify-warning-background: var(--van-warning-color);
12
10
  }
13
11
 
14
12
  .van-notify {
@@ -27,18 +25,18 @@
27
25
  word-wrap: break-word;
28
26
 
29
27
  &--primary {
30
- background: var(--van-notify-primary-background-color);
28
+ background: var(--van-notify-primary-background);
31
29
  }
32
30
 
33
31
  &--success {
34
- background: var(--van-notify-success-background-color);
32
+ background: var(--van-notify-success-background);
35
33
  }
36
34
 
37
35
  &--danger {
38
- background: var(--van-notify-danger-background-color);
36
+ background: var(--van-notify-danger-background);
39
37
  }
40
38
 
41
39
  &--warning {
42
- background: var(--van-notify-warning-background-color);
40
+ background: var(--van-notify-warning-background);
43
41
  }
44
42
  }
@@ -146,12 +146,12 @@ declare const _default: import("vue").DefineComponent<{
146
146
  onHide?: ((...args: any[]) => any) | undefined;
147
147
  onShow?: ((...args: any[]) => any) | undefined;
148
148
  }, {
149
+ theme: NumberKeyboardTheme;
149
150
  maxlength: string | number;
150
151
  modelValue: string;
151
152
  safeAreaInsetBottom: boolean;
152
153
  show: boolean;
153
154
  transition: boolean;
154
- theme: NumberKeyboardTheme;
155
155
  blurOnClose: boolean;
156
156
  showDeleteKey: boolean;
157
157
  randomKeyOrder: boolean;
@@ -1 +1 @@
1
- :root{--van-number-keyboard-background-color: var(--van-gray-2);--van-number-keyboard-key-height: 48px;--van-number-keyboard-key-font-size: 28px;--van-number-keyboard-key-active-color: var(--van-gray-3);--van-number-keyboard-key-background-color: var(--van-background-color-light);--van-number-keyboard-delete-font-size: var(--van-font-size-lg);--van-number-keyboard-title-color: var(--van-gray-7);--van-number-keyboard-title-height: 34px;--van-number-keyboard-title-font-size: var(--van-font-size-lg);--van-number-keyboard-close-padding: 0 var(--van-padding-md);--van-number-keyboard-close-color: var(--van-text-link-color);--van-number-keyboard-close-font-size: var(--van-font-size-md);--van-number-keyboard-button-text-color: var(--van-white);--van-number-keyboard-button-background-color: var(--van-primary-color);--van-number-keyboard-z-index: 100}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:22px;background:var(--van-number-keyboard-background-color);-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:6px;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background:var(--van-number-keyboard-key-background-color);border-radius:var(--van-border-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:6px;bottom:6px;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background:var(--van-number-keyboard-button-background-color)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 6px 6px 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:32px;height:22px}.van-key__collapse-icon{width:30px;height:24px}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}
1
+ body{--van-number-keyboard-background: var(--van-gray-2);--van-number-keyboard-key-height: 48px;--van-number-keyboard-key-font-size: 28px;--van-number-keyboard-key-active-color: var(--van-gray-3);--van-number-keyboard-key-background: var(--van-background-2);--van-number-keyboard-delete-font-size: var(--van-font-size-lg);--van-number-keyboard-title-color: var(--van-gray-7);--van-number-keyboard-title-height: 34px;--van-number-keyboard-title-font-size: var(--van-font-size-lg);--van-number-keyboard-close-padding: 0 var(--van-padding-md);--van-number-keyboard-close-color: var(--van-link-color);--van-number-keyboard-close-font-size: var(--van-font-size-md);--van-number-keyboard-button-text-color: var(--van-white);--van-number-keyboard-button-background: var(--van-primary-color);--van-number-keyboard-z-index: 100}.van-theme-dark{--van-number-keyboard-background: var(--van-gray-8);--van-number-keyboard-key-background: var(--van-gray-7);--van-number-keyboard-key-active-color: var(--van-gray-6)}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:22px;background:var(--van-number-keyboard-background);-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:6px;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background:var(--van-number-keyboard-key-background);border-radius:var(--van-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:6px;bottom:6px;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background:var(--van-number-keyboard-button-background)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 6px 6px 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:32px;height:22px}.van-key__collapse-icon{width:30px;height:24px}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}
@@ -97,12 +97,12 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
97
97
  onHide?: ((...args: any[]) => any) | undefined;
98
98
  onShow?: ((...args: any[]) => any) | undefined;
99
99
  }, {
100
+ theme: import("./NumberKeyboard").NumberKeyboardTheme;
100
101
  maxlength: string | number;
101
102
  modelValue: string;
102
103
  safeAreaInsetBottom: boolean;
103
104
  show: boolean;
104
105
  transition: boolean;
105
- theme: import("./NumberKeyboard").NumberKeyboardTheme;
106
106
  blurOnClose: boolean;
107
107
  showDeleteKey: boolean;
108
108
  randomKeyOrder: boolean;