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
@@ -1,38 +1,38 @@
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_DropdownMenu = __toModule(require("../dropdown-menu/DropdownMenu"));
31
- var import_use = __toModule(require("@vant/use"));
32
- var import_use_expose = __toModule(require("../composables/use-expose"));
33
- var import_cell = __toModule(require("../cell"));
34
- var import_icon = __toModule(require("../icon"));
35
- var import_popup = __toModule(require("../popup"));
27
+ var import_vue = require("vue");
28
+ var import_vue2 = require("vue");
29
+ var import_utils = require("../utils");
30
+ var import_DropdownMenu = require("../dropdown-menu/DropdownMenu");
31
+ var import_use = require("@vant/use");
32
+ var import_use_expose = require("../composables/use-expose");
33
+ var import_cell = require("../cell");
34
+ var import_icon = require("../icon");
35
+ var import_popup = require("../popup");
36
36
  const [name, bem] = (0, import_utils.createNamespace)("dropdown-item");
37
37
  const dropdownItemProps = {
38
38
  title: String,
@@ -201,3 +201,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
201
201
  };
202
202
  }
203
203
  });
204
+ module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}
1
+ body{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}
@@ -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
  DropdownItem: () => DropdownItem,
26
31
  default: () => stdin_default
27
32
  });
28
- var import_utils = __toModule(require("../utils"));
29
- var import_DropdownItem = __toModule(require("./DropdownItem"));
33
+ var import_utils = require("../utils");
34
+ var import_DropdownItem = __toESM(require("./DropdownItem"));
30
35
  const DropdownItem = (0, import_utils.withInstall)(import_DropdownItem.default);
31
36
  var stdin_default = DropdownItem;
37
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,8 +1,5 @@
1
- @import './var.less';
2
- @import '../dropdown-menu/var.less';
3
-
4
- :root {
5
- --van-dropdown-item-z-index: @dropdown-item-z-index;
1
+ body {
2
+ --van-dropdown-item-z-index: 10;
6
3
  }
7
4
 
8
5
  .van-dropdown-item {
@@ -1,3 +1,20 @@
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
- __markAsModule(exports);
6
+ var __reExport = (target, module2, copyDefault, desc) => {
7
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
8
+ for (let key of __getOwnPropNames(module2))
9
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
10
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ }
12
+ return target;
13
+ };
14
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
15
+ return (module2, temp) => {
16
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
17
+ };
18
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var stdin_exports = {};
20
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,35 +1,35 @@
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
  DROPDOWN_KEY: () => DROPDOWN_KEY,
26
26
  default: () => stdin_default
27
27
  });
28
- var import_vue = __toModule(require("vue"));
29
- var import_vue2 = __toModule(require("vue"));
30
- var import_utils = __toModule(require("../utils"));
31
- var import_use_id = __toModule(require("../composables/use-id"));
32
- var import_use = __toModule(require("@vant/use"));
28
+ var import_vue = require("vue");
29
+ var import_vue2 = require("vue");
30
+ var import_utils = require("../utils");
31
+ var import_use_id = require("../composables/use-id");
32
+ var import_use = require("@vant/use");
33
33
  const [name, bem] = (0, import_utils.createNamespace)("dropdown-menu");
34
34
  const dropdownMenuProps = {
35
35
  overlay: import_utils.truthProp,
@@ -156,3 +156,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
156
156
  };
157
157
  }
158
158
  });
159
+ module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--van-dropdown-menu-height: 48px;--van-dropdown-menu-background-color: var(--van-background-color-light);--van-dropdown-menu-box-shadow: 0 2px 12px rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: 15px;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-danger-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-danger-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background-color);box-shadow:var(--van-dropdown-menu-box-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0;cursor:pointer}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-1px;transform:rotate(135deg)}
1
+ body{--van-dropdown-menu-height: 48px;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: 15px;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-1px;transform:rotate(135deg)}
@@ -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
  DropdownMenu: () => DropdownMenu,
26
31
  default: () => stdin_default
27
32
  });
28
- var import_utils = __toModule(require("../utils"));
29
- var import_DropdownMenu = __toModule(require("./DropdownMenu"));
33
+ var import_utils = require("../utils");
34
+ var import_DropdownMenu = __toESM(require("./DropdownMenu"));
30
35
  const DropdownMenu = (0, import_utils.withInstall)(import_DropdownMenu.default);
31
36
  var stdin_default = DropdownMenu;
37
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,18 +1,15 @@
1
- @import './var.less';
2
- @import '../dropdown-item/var.less';
3
-
4
- :root {
5
- --van-dropdown-menu-height: @dropdown-menu-height;
6
- --van-dropdown-menu-background-color: @dropdown-menu-background-color;
7
- --van-dropdown-menu-box-shadow: @dropdown-menu-box-shadow;
8
- --van-dropdown-menu-title-font-size: @dropdown-menu-title-font-size;
9
- --van-dropdown-menu-title-text-color: @dropdown-menu-title-text-color;
10
- --van-dropdown-menu-title-active-text-color: @dropdown-menu-title-active-text-color;
11
- --van-dropdown-menu-title-disabled-text-color: @dropdown-menu-title-disabled-text-color;
12
- --van-dropdown-menu-title-padding: @dropdown-menu-title-padding;
13
- --van-dropdown-menu-title-line-height: @dropdown-menu-title-line-height;
14
- --van-dropdown-menu-option-active-color: @dropdown-menu-option-active-color;
15
- --van-dropdown-menu-content-max-height: @dropdown-menu-content-max-height;
1
+ body {
2
+ --van-dropdown-menu-height: 48px;
3
+ --van-dropdown-menu-background: var(--van-background-2);
4
+ --van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, 0.12);
5
+ --van-dropdown-menu-title-font-size: 15px;
6
+ --van-dropdown-menu-title-text-color: var(--van-text-color);
7
+ --van-dropdown-menu-title-active-text-color: var(--van-primary-color);
8
+ --van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);
9
+ --van-dropdown-menu-title-padding: 0 var(--van-padding-xs);
10
+ --van-dropdown-menu-title-line-height: var(--van-line-height-lg);
11
+ --van-dropdown-menu-option-active-color: var(--van-primary-color);
12
+ --van-dropdown-menu-content-max-height: 80%;
16
13
  }
17
14
 
18
15
  .van-dropdown-menu {
@@ -22,8 +19,8 @@
22
19
  position: relative;
23
20
  display: flex;
24
21
  height: var(--van-dropdown-menu-height);
25
- background: var(--van-dropdown-menu-background-color);
26
- box-shadow: var(--van-dropdown-menu-box-shadow);
22
+ background: var(--van-dropdown-menu-background);
23
+ box-shadow: var(--van-dropdown-menu-shadow);
27
24
 
28
25
  &--opened {
29
26
  z-index: calc(var(--van-dropdown-item-z-index) + 1);
@@ -36,7 +33,6 @@
36
33
  align-items: center;
37
34
  justify-content: center;
38
35
  min-width: 0; // hack for flex ellipsis
39
- cursor: pointer;
40
36
 
41
37
  &--disabled {
42
38
  .van-dropdown-menu__title {
@@ -1,3 +1,20 @@
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
- __markAsModule(exports);
6
+ var __reExport = (target, module2, copyDefault, desc) => {
7
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
8
+ for (let key of __getOwnPropNames(module2))
9
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
10
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
11
+ }
12
+ return target;
13
+ };
14
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
15
+ return (module2, temp) => {
16
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
17
+ };
18
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
19
+ var stdin_exports = {};
20
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,33 +1,33 @@
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_Network = __toModule(require("./Network"));
27
+ var import_vue = require("vue");
28
+ var import_vue2 = require("vue");
29
+ var import_utils = require("../utils");
30
+ var import_Network = require("./Network");
31
31
  const [name, bem] = (0, import_utils.createNamespace)("empty");
32
32
  const PRESET_IMAGES = ["error", "search", "default"];
33
33
  const emptyProps = {
@@ -81,3 +81,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
81
81
  }, [renderImage()]), renderDescription(), renderBottom()]);
82
82
  }
83
83
  });
84
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,30 +1,30 @@
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 name in all)
11
8
  __defProp(target, name, { get: all[name], 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
  Network: () => Network
26
26
  });
27
- var import_vue = __toModule(require("vue"));
27
+ var import_vue = require("vue");
28
28
  const prefix = "van-empty-network-";
29
29
  const renderStop = (color, offset, opacity) => (0, import_vue.createVNode)("stop", {
30
30
  "stop-color": color,
@@ -110,3 +110,4 @@ const Network = (0, import_vue.createVNode)("svg", {
110
110
  "height": "6",
111
111
  "rx": "1.1"
112
112
  }, null)])])]);
113
+ module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- :root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 160px;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 60px;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: 24px}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}
1
+ body{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 160px;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 60px;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: 24px}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}
@@ -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
  Empty: () => Empty,
26
31
  default: () => stdin_default
27
32
  });
28
- var import_utils = __toModule(require("../utils"));
29
- var import_Empty = __toModule(require("./Empty"));
33
+ var import_utils = require("../utils");
34
+ var import_Empty = __toESM(require("./Empty"));
30
35
  const Empty = (0, import_utils.withInstall)(import_Empty.default);
31
36
  var stdin_default = Empty;
37
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,14 +1,12 @@
1
- @import './var.less';
2
-
3
- :root {
4
- --van-empty-padding: @empty-padding;
5
- --van-empty-image-size: @empty-image-size;
6
- --van-empty-description-margin-top: @empty-description-margin-top;
7
- --van-empty-description-padding: @empty-description-padding;
8
- --van-empty-description-color: @empty-description-color;
9
- --van-empty-description-font-size: @empty-description-font-size;
10
- --van-empty-description-line-height: @empty-description-line-height;
11
- --van-empty-bottom-margin-top: @empty-bottom-margin-top;
1
+ body {
2
+ --van-empty-padding: var(--van-padding-xl) 0;
3
+ --van-empty-image-size: 160px;
4
+ --van-empty-description-margin-top: var(--van-padding-md);
5
+ --van-empty-description-padding: 0 60px;
6
+ --van-empty-description-color: var(--van-text-color-2);
7
+ --van-empty-description-font-size: var(--van-font-size-md);
8
+ --van-empty-description-line-height: var(--van-line-height-md);
9
+ --van-empty-bottom-margin-top: 24px;
12
10
  }
13
11
 
14
12
  .van-empty {
@@ -206,7 +206,7 @@ declare const _default: import("vue").DefineComponent<{
206
206
  type: BooleanConstructor;
207
207
  default: null;
208
208
  };
209
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "click-input" | "click-left-icon" | "click-right-icon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "click-input" | "click-left-icon" | "click-right-icon" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
209
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
210
210
  icon: StringConstructor;
211
211
  size: PropType<import("../cell").CellSize>;
212
212
  title: (NumberConstructor | StringConstructor)[];
@@ -292,9 +292,9 @@ declare const _default: import("vue").DefineComponent<{
292
292
  onBlur?: ((...args: any[]) => any) | undefined;
293
293
  onKeypress?: ((...args: any[]) => any) | undefined;
294
294
  onClear?: ((...args: any[]) => any) | undefined;
295
- "onClick-input"?: ((...args: any[]) => any) | undefined;
296
- "onClick-left-icon"?: ((...args: any[]) => any) | undefined;
297
- "onClick-right-icon"?: ((...args: any[]) => any) | undefined;
295
+ onClickInput?: ((...args: any[]) => any) | undefined;
296
+ onClickLeftIcon?: ((...args: any[]) => any) | undefined;
297
+ onClickRightIcon?: ((...args: any[]) => any) | undefined;
298
298
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
299
299
  }, {
300
300
  type: FieldType;
@@ -1,40 +1,40 @@
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
  fieldSharedProps: () => fieldSharedProps
27
27
  });
28
- var import_vue = __toModule(require("vue"));
29
- var import_vue2 = __toModule(require("vue"));
30
- var import_utils = __toModule(require("../utils"));
31
- var import_utils2 = __toModule(require("./utils"));
32
- var import_Cell = __toModule(require("../cell/Cell"));
33
- var import_use = __toModule(require("@vant/use"));
34
- var import_use_id = __toModule(require("../composables/use-id"));
35
- var import_use_expose = __toModule(require("../composables/use-expose"));
36
- var import_icon = __toModule(require("../icon"));
37
- var import_cell = __toModule(require("../cell"));
28
+ var import_vue = require("vue");
29
+ var import_vue2 = require("vue");
30
+ var import_utils = require("../utils");
31
+ var import_utils2 = require("./utils");
32
+ var import_Cell = require("../cell/Cell");
33
+ var import_use = require("@vant/use");
34
+ var import_use_id = require("../composables/use-id");
35
+ var import_use_expose = require("../composables/use-expose");
36
+ var import_icon = require("../icon");
37
+ var import_cell = require("../cell");
38
38
  const [name, bem] = (0, import_utils.createNamespace)("field");
39
39
  const fieldSharedProps = {
40
40
  id: String,
@@ -84,7 +84,7 @@ const fieldProps = (0, import_utils.extend)({}, import_Cell.cellSharedProps, fie
84
84
  var stdin_default = (0, import_vue2.defineComponent)({
85
85
  name,
86
86
  props: fieldProps,
87
- emits: ["blur", "focus", "clear", "keypress", "click-input", "click-left-icon", "click-right-icon", "update:modelValue"],
87
+ emits: ["blur", "focus", "clear", "keypress", "clickInput", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
88
88
  setup(props, {
89
89
  emit,
90
90
  slots
@@ -258,9 +258,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
258
258
  (0, import_vue2.nextTick)(adjustTextareaSize);
259
259
  (0, import_utils.resetScroll)();
260
260
  };
261
- const onClickInput = (event) => emit("click-input", event);
262
- const onClickLeftIcon = (event) => emit("click-left-icon", event);
263
- const onClickRightIcon = (event) => emit("click-right-icon", event);
261
+ const onClickInput = (event) => emit("clickInput", event);
262
+ const onClickLeftIcon = (event) => emit("clickLeftIcon", event);
263
+ const onClickRightIcon = (event) => emit("clickRightIcon", event);
264
264
  const onClear = (event) => {
265
265
  (0, import_utils.preventDefault)(event);
266
266
  emit("update:modelValue", "");
@@ -459,3 +459,4 @@ var stdin_default = (0, import_vue2.defineComponent)({
459
459
  };
460
460
  }
461
461
  });
462
+ module.exports = __toCommonJS(stdin_exports);