vant 3.2.0 → 3.2.4

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 (699) hide show
  1. package/changelog.generated.md +128 -61
  2. package/es/action-bar/ActionBar.d.ts +1 -1
  3. package/es/action-bar/index.d.ts +2 -3
  4. package/es/action-bar/index.js +2 -3
  5. package/es/action-bar-button/ActionBarButton.d.ts +1 -1
  6. package/es/action-bar-button/index.d.ts +2 -3
  7. package/es/action-bar-button/index.js +2 -3
  8. package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
  9. package/es/action-bar-icon/index.d.ts +2 -3
  10. package/es/action-bar-icon/index.js +2 -3
  11. package/es/action-sheet/ActionSheet.d.ts +1 -1
  12. package/es/action-sheet/index.d.ts +2 -3
  13. package/es/action-sheet/index.js +2 -3
  14. package/es/address-edit/AddressEdit.js +3 -3
  15. package/es/address-edit/AddressEditDetail.js +3 -19
  16. package/es/address-edit/index.css +1 -1
  17. package/es/address-edit/index.d.ts +3 -2
  18. package/es/address-edit/index.js +2 -3
  19. package/es/address-edit/index.less +0 -7
  20. package/es/address-edit/var.less +0 -2
  21. package/es/address-list/index.d.ts +1 -2
  22. package/es/address-list/index.js +2 -3
  23. package/es/area/Area.d.ts +1 -1
  24. package/es/area/Area.js +5 -2
  25. package/es/area/index.d.ts +4 -3
  26. package/es/area/index.js +2 -3
  27. package/es/badge/Badge.d.ts +2 -2
  28. package/es/badge/index.d.ts +3 -4
  29. package/es/badge/index.js +2 -3
  30. package/es/button/Button.d.ts +2 -2
  31. package/es/button/index.css +1 -1
  32. package/es/button/index.d.ts +3 -4
  33. package/es/button/index.js +2 -3
  34. package/es/button/index.less +7 -7
  35. package/es/calendar/Calendar.d.ts +3 -4
  36. package/es/calendar/Calendar.js +62 -56
  37. package/es/calendar/CalendarMonth.d.ts +29 -3
  38. package/es/calendar/CalendarMonth.js +34 -28
  39. package/es/calendar/index.d.ts +5 -5
  40. package/es/calendar/index.js +2 -3
  41. package/es/calendar/types.d.ts +10 -1
  42. package/es/card/index.d.ts +1 -2
  43. package/es/card/index.js +2 -3
  44. package/es/cascader/Cascader.d.ts +1 -1
  45. package/es/cascader/index.d.ts +2 -3
  46. package/es/cascader/index.js +2 -3
  47. package/es/cell/Cell.d.ts +2 -2
  48. package/es/cell/index.d.ts +3 -4
  49. package/es/cell/index.js +2 -3
  50. package/es/cell-group/CellGroup.d.ts +1 -1
  51. package/es/cell-group/index.d.ts +2 -3
  52. package/es/cell-group/index.js +2 -3
  53. package/es/checkbox/Checkbox.d.ts +2 -2
  54. package/es/checkbox/Checker.d.ts +4 -4
  55. package/es/checkbox/Checker.js +1 -1
  56. package/es/checkbox/index.d.ts +5 -4
  57. package/es/checkbox/index.js +2 -3
  58. package/es/checkbox-group/index.d.ts +3 -2
  59. package/es/checkbox-group/index.js +2 -3
  60. package/es/circle/Circle.d.ts +8 -0
  61. package/es/circle/Circle.js +21 -1
  62. package/es/circle/index.d.ts +9 -2
  63. package/es/circle/index.js +2 -3
  64. package/es/col/Col.d.ts +1 -1
  65. package/es/col/index.d.ts +2 -3
  66. package/es/col/index.js +2 -3
  67. package/es/collapse/index.d.ts +1 -2
  68. package/es/collapse/index.js +2 -3
  69. package/es/collapse-item/CollapseItem.d.ts +4 -4
  70. package/es/collapse-item/CollapseItem.js +4 -2
  71. package/es/collapse-item/index.d.ts +7 -6
  72. package/es/collapse-item/index.js +2 -3
  73. package/es/composables/use-height.js +3 -5
  74. package/es/composables/use-lock-scroll.js +2 -10
  75. package/es/config-provider/ConfigProvider.d.ts +2 -2
  76. package/es/config-provider/index.d.ts +3 -4
  77. package/es/config-provider/index.js +2 -3
  78. package/es/contact-card/index.d.ts +1 -2
  79. package/es/contact-card/index.js +2 -3
  80. package/es/contact-edit/ContactEdit.js +6 -8
  81. package/es/contact-edit/index.d.ts +1 -2
  82. package/es/contact-edit/index.js +2 -3
  83. package/es/contact-list/index.d.ts +1 -2
  84. package/es/contact-list/index.js +2 -3
  85. package/es/count-down/CountDown.d.ts +2 -10
  86. package/es/count-down/index.d.ts +4 -3
  87. package/es/count-down/index.js +2 -3
  88. package/es/count-down/types.d.ts +11 -0
  89. package/es/count-down/types.js +1 -0
  90. package/es/coupon/Coupon.d.ts +1 -1
  91. package/es/coupon/index.d.ts +2 -3
  92. package/es/coupon/index.js +2 -3
  93. package/es/coupon-cell/CouponCell.d.ts +1 -1
  94. package/es/coupon-cell/CouponCell.js +1 -1
  95. package/es/coupon-cell/index.d.ts +2 -3
  96. package/es/coupon-cell/index.js +2 -3
  97. package/es/coupon-list/CouponList.js +5 -12
  98. package/es/coupon-list/index.css +1 -1
  99. package/es/coupon-list/index.d.ts +1 -2
  100. package/es/coupon-list/index.js +2 -3
  101. package/es/coupon-list/index.less +6 -1
  102. package/es/datetime-picker/DatePicker.d.ts +1 -1
  103. package/es/datetime-picker/DatePicker.js +4 -3
  104. package/es/datetime-picker/DatetimePicker.d.ts +3 -2
  105. package/es/datetime-picker/DatetimePicker.js +1 -1
  106. package/es/datetime-picker/TimePicker.d.ts +1 -1
  107. package/es/datetime-picker/TimePicker.js +3 -1
  108. package/es/datetime-picker/index.d.ts +6 -4
  109. package/es/datetime-picker/index.js +2 -3
  110. package/es/dialog/Dialog.d.ts +3 -6
  111. package/es/dialog/Dialog.js +2 -1
  112. package/es/dialog/function-call.d.ts +15 -40
  113. package/es/dialog/function-call.js +3 -2
  114. package/es/dialog/index.d.ts +2 -3
  115. package/es/dialog/types.d.ts +36 -0
  116. package/es/dialog/types.js +1 -0
  117. package/es/divider/Divider.d.ts +1 -1
  118. package/es/divider/index.d.ts +2 -3
  119. package/es/divider/index.js +2 -3
  120. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  121. package/es/dropdown-item/index.d.ts +4 -3
  122. package/es/dropdown-item/index.js +2 -3
  123. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  124. package/es/dropdown-menu/index.d.ts +4 -3
  125. package/es/dropdown-menu/index.js +2 -3
  126. package/es/empty/Empty.d.ts +1 -1
  127. package/es/empty/index.d.ts +2 -3
  128. package/es/empty/index.js +2 -3
  129. package/es/field/Field.d.ts +19 -12
  130. package/es/field/Field.js +8 -3
  131. package/es/field/index.css +1 -1
  132. package/es/field/index.d.ts +17 -13
  133. package/es/field/index.js +2 -3
  134. package/es/field/index.less +5 -3
  135. package/es/field/var.less +1 -1
  136. package/es/form/index.d.ts +3 -2
  137. package/es/form/index.js +2 -3
  138. package/es/grid/Grid.d.ts +3 -3
  139. package/es/grid/index.d.ts +4 -5
  140. package/es/grid/index.js +2 -3
  141. package/es/grid-item/GridItem.d.ts +1 -1
  142. package/es/grid-item/index.d.ts +2 -3
  143. package/es/grid-item/index.js +2 -3
  144. package/es/icon/Icon.d.ts +1 -1
  145. package/es/icon/index.css +1 -1
  146. package/es/icon/index.d.ts +2 -3
  147. package/es/icon/index.js +2 -3
  148. package/es/icon/index.less +1 -1
  149. package/es/image/Image.d.ts +5 -5
  150. package/es/image/Image.js +1 -2
  151. package/es/image/index.d.ts +6 -7
  152. package/es/image/index.js +2 -3
  153. package/es/image-preview/ImagePreview.d.ts +4 -4
  154. package/es/image-preview/ImagePreviewItem.d.ts +1 -1
  155. package/es/image-preview/function-call.d.ts +5 -5
  156. package/es/image-preview/function-call.js +5 -5
  157. package/es/image-preview/index.d.ts +2 -0
  158. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  159. package/es/index-anchor/index.d.ts +2 -3
  160. package/es/index-anchor/index.js +2 -3
  161. package/es/index-bar/index.d.ts +3 -2
  162. package/es/index-bar/index.js +2 -3
  163. package/es/index.d.ts +1 -1
  164. package/es/index.js +1 -1
  165. package/es/list/index.d.ts +3 -2
  166. package/es/list/index.js +2 -3
  167. package/es/loading/Loading.d.ts +1 -1
  168. package/es/loading/index.d.ts +2 -3
  169. package/es/loading/index.js +2 -3
  170. package/es/locale/index.d.ts +1 -2
  171. package/es/locale/index.js +2 -3
  172. package/es/locale/lang/de-DE-formal.d.ts +1 -8
  173. package/es/locale/lang/de-DE-formal.js +2 -9
  174. package/es/locale/lang/de-DE.d.ts +1 -8
  175. package/es/locale/lang/de-DE.js +2 -9
  176. package/es/locale/lang/en-US.d.ts +1 -8
  177. package/es/locale/lang/en-US.js +2 -9
  178. package/es/locale/lang/es-ES.d.ts +1 -8
  179. package/es/locale/lang/es-ES.js +2 -9
  180. package/es/locale/lang/fr-FR.d.ts +1 -8
  181. package/es/locale/lang/fr-FR.js +2 -9
  182. package/es/locale/lang/ja-JP.d.ts +1 -8
  183. package/es/locale/lang/ja-JP.js +4 -11
  184. package/es/locale/lang/nb-NO.d.ts +1 -8
  185. package/es/locale/lang/nb-NO.js +2 -9
  186. package/es/locale/lang/ro-RO.d.ts +1 -8
  187. package/es/locale/lang/ro-RO.js +2 -9
  188. package/es/locale/lang/ru-RU.d.ts +1 -8
  189. package/es/locale/lang/ru-RU.js +2 -9
  190. package/es/locale/lang/th-TH.d.ts +1 -8
  191. package/es/locale/lang/th-TH.js +2 -9
  192. package/es/locale/lang/tr-TR.d.ts +1 -8
  193. package/es/locale/lang/tr-TR.js +2 -9
  194. package/es/locale/lang/zh-CN.d.ts +1 -8
  195. package/es/locale/lang/zh-CN.js +6 -13
  196. package/es/locale/lang/zh-HK.d.ts +1 -8
  197. package/es/locale/lang/zh-HK.js +5 -12
  198. package/es/locale/lang/zh-TW.d.ts +1 -8
  199. package/es/locale/lang/zh-TW.js +5 -12
  200. package/es/nav-bar/index.d.ts +1 -2
  201. package/es/nav-bar/index.js +2 -3
  202. package/es/notice-bar/index.d.ts +3 -2
  203. package/es/notice-bar/index.js +2 -3
  204. package/es/notify/Notify.d.ts +2 -2
  205. package/es/notify/Notify.js +12 -15
  206. package/es/notify/function-call.d.ts +6 -19
  207. package/es/notify/function-call.js +3 -2
  208. package/es/notify/index.d.ts +2 -3
  209. package/es/notify/types.d.ts +20 -0
  210. package/es/notify/types.js +1 -0
  211. package/es/number-keyboard/index.css +1 -1
  212. package/es/number-keyboard/index.d.ts +1 -2
  213. package/es/number-keyboard/index.js +2 -3
  214. package/es/number-keyboard/index.less +2 -1
  215. package/es/number-keyboard/var.less +1 -0
  216. package/es/overlay/Overlay.d.ts +1 -1
  217. package/es/overlay/index.d.ts +2 -3
  218. package/es/overlay/index.js +2 -3
  219. package/es/pagination/index.d.ts +1 -2
  220. package/es/pagination/index.js +2 -3
  221. package/es/password-input/index.css +1 -1
  222. package/es/password-input/index.d.ts +1 -2
  223. package/es/password-input/index.js +2 -3
  224. package/es/password-input/index.less +2 -0
  225. package/es/password-input/var.less +1 -0
  226. package/es/picker/Picker.d.ts +3 -3
  227. package/es/picker/PickerColumn.d.ts +2 -2
  228. package/es/picker/index.css +1 -1
  229. package/es/picker/index.d.ts +6 -5
  230. package/es/picker/index.js +2 -3
  231. package/es/picker/types.d.ts +3 -3
  232. package/es/popover/Popover.d.ts +8 -0
  233. package/es/popover/Popover.js +25 -15
  234. package/es/popover/index.d.ts +8 -2
  235. package/es/popover/index.js +2 -3
  236. package/es/popup/Popup.js +9 -8
  237. package/es/popup/index.d.ts +1 -2
  238. package/es/popup/index.js +2 -3
  239. package/es/progress/Progress.d.ts +5 -2
  240. package/es/progress/Progress.js +7 -32
  241. package/es/progress/index.css +1 -1
  242. package/es/progress/index.d.ts +7 -4
  243. package/es/progress/index.js +2 -3
  244. package/es/progress/index.less +6 -1
  245. package/es/pull-refresh/index.d.ts +1 -2
  246. package/es/pull-refresh/index.js +2 -3
  247. package/es/radio/Radio.d.ts +2 -2
  248. package/es/radio/index.d.ts +3 -4
  249. package/es/radio/index.js +2 -3
  250. package/es/radio-group/index.d.ts +1 -2
  251. package/es/radio-group/index.js +2 -3
  252. package/es/rate/Rate.d.ts +2 -2
  253. package/es/rate/Rate.js +1 -1
  254. package/es/rate/index.d.ts +3 -4
  255. package/es/rate/index.js +2 -3
  256. package/es/row/Row.d.ts +2 -2
  257. package/es/row/index.d.ts +3 -4
  258. package/es/row/index.js +2 -3
  259. package/es/search/Search.d.ts +18 -6
  260. package/es/search/Search.js +4 -3
  261. package/es/search/index.d.ts +18 -8
  262. package/es/search/index.js +2 -3
  263. package/es/share-sheet/ShareSheet.d.ts +1 -1
  264. package/es/share-sheet/index.d.ts +2 -3
  265. package/es/share-sheet/index.js +2 -3
  266. package/es/sidebar/index.d.ts +1 -2
  267. package/es/sidebar/index.js +2 -3
  268. package/es/sidebar-item/index.d.ts +1 -2
  269. package/es/sidebar-item/index.js +2 -3
  270. package/es/skeleton/Skeleton.d.ts +1 -1
  271. package/es/skeleton/index.d.ts +2 -3
  272. package/es/skeleton/index.js +2 -3
  273. package/es/slider/Slider.d.ts +6 -1
  274. package/es/slider/Slider.js +53 -17
  275. package/es/slider/index.css +1 -1
  276. package/es/slider/index.d.ts +5 -2
  277. package/es/slider/index.js +2 -3
  278. package/es/slider/index.less +19 -23
  279. package/es/step/Step.d.ts +1 -1
  280. package/es/step/index.css +1 -1
  281. package/es/step/index.d.ts +1 -2
  282. package/es/step/index.js +2 -3
  283. package/es/step/index.less +1 -1
  284. package/es/stepper/index.d.ts +1 -2
  285. package/es/stepper/index.js +2 -3
  286. package/es/steps/index.d.ts +1 -2
  287. package/es/steps/index.js +2 -3
  288. package/es/sticky/index.d.ts +1 -2
  289. package/es/sticky/index.js +2 -3
  290. package/es/style/animation.css +1 -1
  291. package/es/style/animation.less +20 -20
  292. package/es/style/base.css +1 -1
  293. package/es/submit-bar/index.css +1 -1
  294. package/es/submit-bar/index.d.ts +1 -2
  295. package/es/submit-bar/index.js +2 -3
  296. package/es/submit-bar/index.less +3 -4
  297. package/es/swipe/Swipe.d.ts +5 -5
  298. package/es/swipe/Swipe.js +2 -1
  299. package/es/swipe/index.d.ts +8 -7
  300. package/es/swipe/index.js +2 -3
  301. package/es/swipe-cell/index.css +1 -1
  302. package/es/swipe-cell/index.d.ts +3 -2
  303. package/es/swipe-cell/index.js +2 -3
  304. package/es/swipe-item/SwipeItem.d.ts +1 -1
  305. package/es/swipe-item/index.d.ts +1 -2
  306. package/es/swipe-item/index.js +2 -3
  307. package/es/switch/index.css +1 -1
  308. package/es/switch/index.d.ts +1 -2
  309. package/es/switch/index.js +2 -3
  310. package/es/tab/Tab.d.ts +8 -1
  311. package/es/tab/Tab.js +3 -2
  312. package/es/tab/index.d.ts +9 -3
  313. package/es/tab/index.js +2 -3
  314. package/es/tabbar/index.d.ts +1 -2
  315. package/es/tabbar/index.js +2 -3
  316. package/es/tabbar-item/index.d.ts +1 -2
  317. package/es/tabbar-item/index.js +2 -3
  318. package/es/tabs/Tabs.js +4 -8
  319. package/es/tabs/TabsTitle.d.ts +8 -1
  320. package/es/tabs/TabsTitle.js +5 -3
  321. package/es/tabs/index.d.ts +3 -2
  322. package/es/tabs/index.js +2 -3
  323. package/es/tabs/utils.js +2 -4
  324. package/es/tag/index.d.ts +1 -2
  325. package/es/tag/index.js +2 -3
  326. package/es/toast/Toast.d.ts +1 -2
  327. package/es/toast/Toast.js +3 -4
  328. package/es/toast/function-call.d.ts +2 -25
  329. package/es/toast/function-call.js +3 -1
  330. package/es/toast/index.d.ts +2 -3
  331. package/es/toast/types.d.ts +32 -0
  332. package/es/toast/types.js +1 -0
  333. package/es/tree-select/index.css +1 -1
  334. package/es/tree-select/index.d.ts +1 -2
  335. package/es/tree-select/index.js +2 -3
  336. package/es/tree-select/index.less +1 -1
  337. package/es/uploader/Uploader.d.ts +3 -3
  338. package/es/uploader/index.css +1 -1
  339. package/es/uploader/index.d.ts +6 -5
  340. package/es/uploader/index.js +2 -3
  341. package/es/uploader/index.less +4 -5
  342. package/es/utils/validate.d.ts +0 -1
  343. package/es/utils/validate.js +0 -3
  344. package/es/utils/with-install.d.ts +1 -1
  345. package/es/utils/with-install.js +0 -1
  346. package/lib/action-bar/ActionBar.d.ts +1 -1
  347. package/lib/action-bar/index.d.ts +2 -3
  348. package/lib/action-bar/index.js +1 -1
  349. package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
  350. package/lib/action-bar-button/index.d.ts +2 -3
  351. package/lib/action-bar-button/index.js +1 -1
  352. package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
  353. package/lib/action-bar-icon/index.d.ts +2 -3
  354. package/lib/action-bar-icon/index.js +1 -1
  355. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  356. package/lib/action-sheet/index.d.ts +2 -3
  357. package/lib/action-sheet/index.js +1 -1
  358. package/lib/address-edit/AddressEdit.js +3 -3
  359. package/lib/address-edit/AddressEditDetail.js +2 -18
  360. package/lib/address-edit/index.css +1 -1
  361. package/lib/address-edit/index.d.ts +3 -2
  362. package/lib/address-edit/index.js +1 -1
  363. package/lib/address-edit/index.less +0 -7
  364. package/lib/address-edit/var.less +0 -2
  365. package/lib/address-list/index.d.ts +1 -2
  366. package/lib/address-list/index.js +1 -1
  367. package/lib/area/Area.d.ts +1 -1
  368. package/lib/area/Area.js +5 -2
  369. package/lib/area/index.d.ts +4 -3
  370. package/lib/area/index.js +1 -1
  371. package/lib/badge/Badge.d.ts +2 -2
  372. package/lib/badge/index.d.ts +3 -4
  373. package/lib/badge/index.js +1 -1
  374. package/lib/button/Button.d.ts +2 -2
  375. package/lib/button/index.css +1 -1
  376. package/lib/button/index.d.ts +3 -4
  377. package/lib/button/index.js +1 -1
  378. package/lib/button/index.less +7 -7
  379. package/lib/calendar/Calendar.d.ts +3 -4
  380. package/lib/calendar/Calendar.js +60 -54
  381. package/lib/calendar/CalendarMonth.d.ts +29 -3
  382. package/lib/calendar/CalendarMonth.js +34 -28
  383. package/lib/calendar/index.d.ts +5 -5
  384. package/lib/calendar/index.js +1 -1
  385. package/lib/calendar/types.d.ts +10 -1
  386. package/lib/card/index.d.ts +1 -2
  387. package/lib/card/index.js +1 -1
  388. package/lib/cascader/Cascader.d.ts +1 -1
  389. package/lib/cascader/index.d.ts +2 -3
  390. package/lib/cascader/index.js +1 -1
  391. package/lib/cell/Cell.d.ts +2 -2
  392. package/lib/cell/index.d.ts +3 -4
  393. package/lib/cell/index.js +1 -1
  394. package/lib/cell-group/CellGroup.d.ts +1 -1
  395. package/lib/cell-group/index.d.ts +2 -3
  396. package/lib/cell-group/index.js +1 -1
  397. package/lib/checkbox/Checkbox.d.ts +2 -2
  398. package/lib/checkbox/Checker.d.ts +4 -4
  399. package/lib/checkbox/Checker.js +1 -1
  400. package/lib/checkbox/index.d.ts +5 -4
  401. package/lib/checkbox/index.js +1 -1
  402. package/lib/checkbox-group/index.d.ts +3 -2
  403. package/lib/checkbox-group/index.js +1 -1
  404. package/lib/circle/Circle.d.ts +8 -0
  405. package/lib/circle/Circle.js +21 -1
  406. package/lib/circle/index.d.ts +9 -2
  407. package/lib/circle/index.js +1 -1
  408. package/lib/col/Col.d.ts +1 -1
  409. package/lib/col/index.d.ts +2 -3
  410. package/lib/col/index.js +1 -1
  411. package/lib/collapse/index.d.ts +1 -2
  412. package/lib/collapse/index.js +1 -1
  413. package/lib/collapse-item/CollapseItem.d.ts +4 -4
  414. package/lib/collapse-item/CollapseItem.js +4 -2
  415. package/lib/collapse-item/index.d.ts +7 -6
  416. package/lib/collapse-item/index.js +1 -1
  417. package/lib/composables/use-height.js +3 -5
  418. package/lib/composables/use-lock-scroll.js +2 -10
  419. package/lib/config-provider/ConfigProvider.d.ts +2 -2
  420. package/lib/config-provider/index.d.ts +3 -4
  421. package/lib/config-provider/index.js +1 -1
  422. package/lib/contact-card/index.d.ts +1 -2
  423. package/lib/contact-card/index.js +1 -1
  424. package/lib/contact-edit/ContactEdit.js +6 -8
  425. package/lib/contact-edit/index.d.ts +1 -2
  426. package/lib/contact-edit/index.js +1 -1
  427. package/lib/contact-list/index.d.ts +1 -2
  428. package/lib/contact-list/index.js +1 -1
  429. package/lib/count-down/CountDown.d.ts +2 -10
  430. package/lib/count-down/index.d.ts +4 -3
  431. package/lib/count-down/index.js +1 -1
  432. package/lib/count-down/types.d.ts +11 -0
  433. package/lib/count-down/types.js +3 -0
  434. package/lib/coupon/Coupon.d.ts +1 -1
  435. package/lib/coupon/index.d.ts +2 -3
  436. package/lib/coupon/index.js +1 -1
  437. package/lib/coupon-cell/CouponCell.d.ts +1 -1
  438. package/lib/coupon-cell/CouponCell.js +1 -1
  439. package/lib/coupon-cell/index.d.ts +2 -3
  440. package/lib/coupon-cell/index.js +1 -1
  441. package/lib/coupon-list/CouponList.js +5 -13
  442. package/lib/coupon-list/index.css +1 -1
  443. package/lib/coupon-list/index.d.ts +1 -2
  444. package/lib/coupon-list/index.js +1 -1
  445. package/lib/coupon-list/index.less +6 -1
  446. package/lib/datetime-picker/DatePicker.d.ts +1 -1
  447. package/lib/datetime-picker/DatePicker.js +4 -3
  448. package/lib/datetime-picker/DatetimePicker.d.ts +3 -2
  449. package/lib/datetime-picker/TimePicker.d.ts +1 -1
  450. package/lib/datetime-picker/TimePicker.js +3 -1
  451. package/lib/datetime-picker/index.d.ts +6 -4
  452. package/lib/datetime-picker/index.js +1 -1
  453. package/lib/dialog/Dialog.d.ts +3 -6
  454. package/lib/dialog/function-call.d.ts +15 -40
  455. package/lib/dialog/function-call.js +4 -4
  456. package/lib/dialog/index.d.ts +2 -3
  457. package/lib/dialog/types.d.ts +36 -0
  458. package/lib/dialog/types.js +3 -0
  459. package/lib/divider/Divider.d.ts +1 -1
  460. package/lib/divider/index.d.ts +2 -3
  461. package/lib/divider/index.js +1 -1
  462. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  463. package/lib/dropdown-item/index.d.ts +4 -3
  464. package/lib/dropdown-item/index.js +1 -1
  465. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  466. package/lib/dropdown-menu/index.d.ts +4 -3
  467. package/lib/dropdown-menu/index.js +1 -1
  468. package/lib/empty/Empty.d.ts +1 -1
  469. package/lib/empty/index.d.ts +2 -3
  470. package/lib/empty/index.js +1 -1
  471. package/lib/field/Field.d.ts +19 -12
  472. package/lib/field/Field.js +8 -3
  473. package/lib/field/index.css +1 -1
  474. package/lib/field/index.d.ts +17 -13
  475. package/lib/field/index.js +1 -1
  476. package/lib/field/index.less +5 -3
  477. package/lib/field/var.less +1 -1
  478. package/lib/form/index.d.ts +3 -2
  479. package/lib/form/index.js +1 -1
  480. package/lib/grid/Grid.d.ts +3 -3
  481. package/lib/grid/index.d.ts +4 -5
  482. package/lib/grid/index.js +1 -1
  483. package/lib/grid-item/GridItem.d.ts +1 -1
  484. package/lib/grid-item/index.d.ts +2 -3
  485. package/lib/grid-item/index.js +1 -1
  486. package/lib/icon/Icon.d.ts +1 -1
  487. package/lib/icon/index.css +1 -1
  488. package/lib/icon/index.d.ts +2 -3
  489. package/lib/icon/index.js +1 -1
  490. package/lib/icon/index.less +1 -1
  491. package/lib/image/Image.d.ts +5 -5
  492. package/lib/image/Image.js +1 -2
  493. package/lib/image/index.d.ts +6 -7
  494. package/lib/image/index.js +1 -1
  495. package/lib/image-preview/ImagePreview.d.ts +4 -4
  496. package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
  497. package/lib/image-preview/function-call.d.ts +5 -5
  498. package/lib/image-preview/function-call.js +5 -5
  499. package/lib/image-preview/index.d.ts +2 -0
  500. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  501. package/lib/index-anchor/index.d.ts +2 -3
  502. package/lib/index-anchor/index.js +1 -1
  503. package/lib/index-bar/index.d.ts +3 -2
  504. package/lib/index-bar/index.js +1 -1
  505. package/lib/index.css +1 -1
  506. package/lib/index.d.ts +1 -1
  507. package/lib/index.js +1 -1
  508. package/lib/list/index.d.ts +3 -2
  509. package/lib/list/index.js +1 -1
  510. package/lib/loading/Loading.d.ts +1 -1
  511. package/lib/loading/index.d.ts +2 -3
  512. package/lib/loading/index.js +1 -1
  513. package/lib/locale/index.d.ts +1 -2
  514. package/lib/locale/index.js +1 -1
  515. package/lib/locale/lang/de-DE-formal.d.ts +1 -8
  516. package/lib/locale/lang/de-DE-formal.js +2 -9
  517. package/lib/locale/lang/de-DE.d.ts +1 -8
  518. package/lib/locale/lang/de-DE.js +2 -9
  519. package/lib/locale/lang/en-US.d.ts +1 -8
  520. package/lib/locale/lang/en-US.js +2 -9
  521. package/lib/locale/lang/es-ES.d.ts +1 -8
  522. package/lib/locale/lang/es-ES.js +2 -9
  523. package/lib/locale/lang/fr-FR.d.ts +1 -8
  524. package/lib/locale/lang/fr-FR.js +2 -9
  525. package/lib/locale/lang/ja-JP.d.ts +1 -8
  526. package/lib/locale/lang/ja-JP.js +4 -11
  527. package/lib/locale/lang/nb-NO.d.ts +1 -8
  528. package/lib/locale/lang/nb-NO.js +2 -9
  529. package/lib/locale/lang/ro-RO.d.ts +1 -8
  530. package/lib/locale/lang/ro-RO.js +2 -9
  531. package/lib/locale/lang/ru-RU.d.ts +1 -8
  532. package/lib/locale/lang/ru-RU.js +2 -9
  533. package/lib/locale/lang/th-TH.d.ts +1 -8
  534. package/lib/locale/lang/th-TH.js +2 -9
  535. package/lib/locale/lang/tr-TR.d.ts +1 -8
  536. package/lib/locale/lang/tr-TR.js +2 -9
  537. package/lib/locale/lang/zh-CN.d.ts +1 -8
  538. package/lib/locale/lang/zh-CN.js +6 -13
  539. package/lib/locale/lang/zh-HK.d.ts +1 -8
  540. package/lib/locale/lang/zh-HK.js +5 -12
  541. package/lib/locale/lang/zh-TW.d.ts +1 -8
  542. package/lib/locale/lang/zh-TW.js +5 -12
  543. package/lib/nav-bar/index.d.ts +1 -2
  544. package/lib/nav-bar/index.js +1 -1
  545. package/lib/notice-bar/index.d.ts +3 -2
  546. package/lib/notice-bar/index.js +1 -1
  547. package/lib/notify/Notify.d.ts +2 -2
  548. package/lib/notify/Notify.js +12 -15
  549. package/lib/notify/function-call.d.ts +6 -19
  550. package/lib/notify/function-call.js +4 -4
  551. package/lib/notify/index.d.ts +2 -3
  552. package/lib/notify/types.d.ts +20 -0
  553. package/lib/notify/types.js +3 -0
  554. package/lib/number-keyboard/index.css +1 -1
  555. package/lib/number-keyboard/index.d.ts +1 -2
  556. package/lib/number-keyboard/index.js +1 -1
  557. package/lib/number-keyboard/index.less +2 -1
  558. package/lib/number-keyboard/var.less +1 -0
  559. package/lib/overlay/Overlay.d.ts +1 -1
  560. package/lib/overlay/index.d.ts +2 -3
  561. package/lib/overlay/index.js +1 -1
  562. package/lib/pagination/index.d.ts +1 -2
  563. package/lib/pagination/index.js +1 -1
  564. package/lib/password-input/index.css +1 -1
  565. package/lib/password-input/index.d.ts +1 -2
  566. package/lib/password-input/index.js +1 -1
  567. package/lib/password-input/index.less +2 -0
  568. package/lib/password-input/var.less +1 -0
  569. package/lib/picker/Picker.d.ts +3 -3
  570. package/lib/picker/PickerColumn.d.ts +2 -2
  571. package/lib/picker/index.css +1 -1
  572. package/lib/picker/index.d.ts +6 -5
  573. package/lib/picker/index.js +1 -1
  574. package/lib/picker/types.d.ts +3 -3
  575. package/lib/popover/Popover.d.ts +8 -0
  576. package/lib/popover/Popover.js +25 -15
  577. package/lib/popover/index.d.ts +8 -2
  578. package/lib/popover/index.js +1 -1
  579. package/lib/popup/Popup.js +9 -8
  580. package/lib/popup/index.d.ts +1 -2
  581. package/lib/popup/index.js +1 -1
  582. package/lib/progress/Progress.d.ts +5 -2
  583. package/lib/progress/Progress.js +6 -32
  584. package/lib/progress/index.css +1 -1
  585. package/lib/progress/index.d.ts +7 -4
  586. package/lib/progress/index.js +1 -1
  587. package/lib/progress/index.less +6 -1
  588. package/lib/pull-refresh/index.d.ts +1 -2
  589. package/lib/pull-refresh/index.js +1 -1
  590. package/lib/radio/Radio.d.ts +2 -2
  591. package/lib/radio/index.d.ts +3 -4
  592. package/lib/radio/index.js +1 -1
  593. package/lib/radio-group/index.d.ts +1 -2
  594. package/lib/radio-group/index.js +1 -1
  595. package/lib/rate/Rate.d.ts +2 -2
  596. package/lib/rate/Rate.js +1 -1
  597. package/lib/rate/index.d.ts +3 -4
  598. package/lib/rate/index.js +1 -1
  599. package/lib/row/Row.d.ts +2 -2
  600. package/lib/row/index.d.ts +3 -4
  601. package/lib/row/index.js +1 -1
  602. package/lib/search/Search.d.ts +18 -6
  603. package/lib/search/Search.js +3 -2
  604. package/lib/search/index.d.ts +18 -8
  605. package/lib/search/index.js +1 -1
  606. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  607. package/lib/share-sheet/index.d.ts +2 -3
  608. package/lib/share-sheet/index.js +1 -1
  609. package/lib/sidebar/index.d.ts +1 -2
  610. package/lib/sidebar/index.js +1 -1
  611. package/lib/sidebar-item/index.d.ts +1 -2
  612. package/lib/sidebar-item/index.js +1 -1
  613. package/lib/skeleton/Skeleton.d.ts +1 -1
  614. package/lib/skeleton/index.d.ts +2 -3
  615. package/lib/skeleton/index.js +1 -1
  616. package/lib/slider/Slider.d.ts +6 -1
  617. package/lib/slider/Slider.js +53 -17
  618. package/lib/slider/index.css +1 -1
  619. package/lib/slider/index.d.ts +5 -2
  620. package/lib/slider/index.js +1 -1
  621. package/lib/slider/index.less +19 -23
  622. package/lib/step/Step.d.ts +1 -1
  623. package/lib/step/index.css +1 -1
  624. package/lib/step/index.d.ts +1 -2
  625. package/lib/step/index.js +1 -1
  626. package/lib/step/index.less +1 -1
  627. package/lib/stepper/index.d.ts +1 -2
  628. package/lib/stepper/index.js +1 -1
  629. package/lib/steps/index.d.ts +1 -2
  630. package/lib/steps/index.js +1 -1
  631. package/lib/sticky/index.d.ts +1 -2
  632. package/lib/sticky/index.js +1 -1
  633. package/lib/style/animation.css +1 -1
  634. package/lib/style/animation.less +20 -20
  635. package/lib/style/base.css +1 -1
  636. package/lib/submit-bar/index.css +1 -1
  637. package/lib/submit-bar/index.d.ts +1 -2
  638. package/lib/submit-bar/index.js +1 -1
  639. package/lib/submit-bar/index.less +3 -4
  640. package/lib/swipe/Swipe.d.ts +5 -5
  641. package/lib/swipe/Swipe.js +2 -1
  642. package/lib/swipe/index.d.ts +8 -7
  643. package/lib/swipe/index.js +1 -1
  644. package/lib/swipe-cell/index.css +1 -1
  645. package/lib/swipe-cell/index.d.ts +3 -2
  646. package/lib/swipe-cell/index.js +1 -1
  647. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  648. package/lib/swipe-item/index.d.ts +1 -2
  649. package/lib/swipe-item/index.js +1 -1
  650. package/lib/switch/index.css +1 -1
  651. package/lib/switch/index.d.ts +1 -2
  652. package/lib/switch/index.js +1 -1
  653. package/lib/tab/Tab.d.ts +8 -1
  654. package/lib/tab/Tab.js +2 -1
  655. package/lib/tab/index.d.ts +9 -3
  656. package/lib/tab/index.js +1 -1
  657. package/lib/tabbar/index.d.ts +1 -2
  658. package/lib/tabbar/index.js +1 -1
  659. package/lib/tabbar-item/index.d.ts +1 -2
  660. package/lib/tabbar-item/index.js +1 -1
  661. package/lib/tabs/Tabs.js +2 -6
  662. package/lib/tabs/TabsTitle.d.ts +8 -1
  663. package/lib/tabs/TabsTitle.js +4 -2
  664. package/lib/tabs/index.d.ts +3 -2
  665. package/lib/tabs/index.js +1 -1
  666. package/lib/tabs/utils.js +1 -4
  667. package/lib/tag/index.d.ts +1 -2
  668. package/lib/tag/index.js +1 -1
  669. package/lib/toast/Toast.d.ts +1 -2
  670. package/lib/toast/Toast.js +1 -3
  671. package/lib/toast/function-call.d.ts +2 -25
  672. package/lib/toast/function-call.js +3 -1
  673. package/lib/toast/index.d.ts +2 -3
  674. package/lib/toast/types.d.ts +32 -0
  675. package/lib/toast/types.js +3 -0
  676. package/lib/tree-select/index.css +1 -1
  677. package/lib/tree-select/index.d.ts +1 -2
  678. package/lib/tree-select/index.js +1 -1
  679. package/lib/tree-select/index.less +1 -1
  680. package/lib/uploader/Uploader.d.ts +3 -3
  681. package/lib/uploader/index.css +1 -1
  682. package/lib/uploader/index.d.ts +6 -5
  683. package/lib/uploader/index.js +1 -1
  684. package/lib/uploader/index.less +4 -5
  685. package/lib/utils/validate.d.ts +0 -1
  686. package/lib/utils/validate.js +0 -5
  687. package/lib/utils/with-install.d.ts +1 -1
  688. package/lib/utils/with-install.js +0 -1
  689. package/lib/vant.es.js +15826 -0
  690. package/lib/vant.es.min.js +1 -0
  691. package/lib/vant.js +15157 -19779
  692. package/lib/vant.min.js +1 -1
  693. package/package.json +12 -18
  694. package/vetur/attributes.json +714 -684
  695. package/vetur/tags.json +243 -234
  696. package/vetur/web-types.json +2207 -2121
  697. package/LICENSE +0 -7
  698. package/README.md +0 -106
  699. package/README.zh-CN.md +0 -116
@@ -1,85 +1,152 @@
1
- ### [v3.2.0](https://github.com/youzan/vant/compare/v3.1.5...v3.2.0)
1
+ ### [v3.2.4](https://github.com/youzan/vant/compare/v3.2.3...v3.2.4)
2
2
 
3
- `2021-08-12`
3
+ `2021-09-26`
4
4
 
5
5
  **Bug Fixes**
6
6
 
7
- - Badge: minus x offset not work [#9199](https://github.com/youzan/vant/issues/9199)
8
- - eslint-config: remove prettier extends [#9222](https://github.com/youzan/vant/issues/9222)
9
- - Field: textarea scroll to top after resizing [#9206](https://github.com/youzan/vant/issues/9206)
10
- - markdown-loader: windows path format [#9127](https://github.com/youzan/vant/issues/9127)
11
- - Notify: default option is overrided [#9138](https://github.com/youzan/vant/issues/9138)
12
- - Rate: should enable flex wrap [#9192](https://github.com/youzan/vant/issues/9192)
13
- - Tabs: remove invalid head padding for card type [#9168](https://github.com/youzan/vant/issues/9168)
14
- - Toast: failed to update message [#9196](https://github.com/youzan/vant/issues/9196)
7
+ - @vant/cli: shoud scroll to top after routing [#9465](https://github.com/youzan/vant/issues/9465)
8
+ - 更新海南省三沙市地区数据信息 [#9493](https://github.com/youzan/vant/issues/9493)
9
+ - Collapse: wrapperRef may be undefined [#9505](https://github.com/youzan/vant/issues/9505)
10
+ - CouponList: fix scroll issue [#9480](https://github.com/youzan/vant/issues/9480)
11
+ - Radio: icon ref may be undefined [#9503](https://github.com/youzan/vant/issues/9503)
12
+ - Tabs: failed to scroll into view when rendering multiple tabs [#9543](https://github.com/youzan/vant/issues/9543)
15
13
 
16
14
  **build**
17
15
 
18
- - deps: bump path-parse from 1.0.6 to 1.0.7 [#9226](https://github.com/youzan/vant/issues/9226)
19
- - deps: bump path-parse from 1.0.6 to 1.0.7 in /packages/vant-cli [#9230](https://github.com/youzan/vant/issues/9230)
20
- - deps: bump path-parse from 1.0.6 to 1.0.7 in /packages/vant-icons [#9231](https://github.com/youzan/vant/issues/9231)
21
- - deps: bump path-parse in /packages/create-vant-cli-app [#9228](https://github.com/youzan/vant/issues/9228)
22
- - deps: bump path-parse in /packages/vant-eslint-config [#9232](https://github.com/youzan/vant/issues/9232)
23
- - deps: bump tar from 4.4.10 to 4.4.15 in /packages/vant-waterfall [#9184](https://github.com/youzan/vant/issues/9184)
24
- - deps: bump url-parse from 1.5.1 to 1.5.3 [#9229](https://github.com/youzan/vant/issues/9229)
25
- - deps: bump url-parse from 1.5.1 to 1.5.3 in /packages/vant-cli [#9233](https://github.com/youzan/vant/issues/9233)
16
+ - deps-dev: bump @types/lodash from 4.14.172 to 4.14.173 [#9486](https://github.com/youzan/vant/issues/9486)
17
+ - deps-dev: bump @vant/area-data from 1.1.1 to 1.1.3 [#9520](https://github.com/youzan/vant/issues/9520)
18
+ - deps-dev: bump @vue/compiler-sfc from 3.2.11 to 3.2.12 [#9526](https://github.com/youzan/vant/issues/9526)
19
+ - deps-dev: bump vue from 3.2.11 to 3.2.12 [#9525](https://github.com/youzan/vant/issues/9525)
20
+ - deps: bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.31.1 [#9467](https://github.com/youzan/vant/issues/9467)
21
+ - deps: bump @typescript-eslint/parser from 4.31.0 to 4.31.1 [#9466](https://github.com/youzan/vant/issues/9466)
22
+ - deps: bump @vitejs/plugin-vue from 1.6.2 to 1.8.1 [#9523](https://github.com/youzan/vant/issues/9523)
23
+ - deps: bump @vitejs/plugin-vue from 1.8.1 to 1.9.0 [#9537](https://github.com/youzan/vant/issues/9537)
24
+ - deps: bump babel-jest from 27.1.1 to 27.2.0 [#9471](https://github.com/youzan/vant/issues/9471)
25
+ - deps: bump babel-jest from 27.2.0 to 27.2.1 [#9535](https://github.com/youzan/vant/issues/9535)
26
+ - deps: bump commander from 8.1.0 to 8.2.0 [#9459](https://github.com/youzan/vant/issues/9459)
27
+ - deps: bump eslint-plugin-markdown from 2.2.0 to 2.2.1 [#9458](https://github.com/youzan/vant/issues/9458)
28
+ - deps: bump eslint-plugin-vue from 7.17.0 to 7.18.0 [#9522](https://github.com/youzan/vant/issues/9522)
29
+ - deps: bump ini from 1.3.5 to 1.3.8 in /packages/vant-lazyload [#9558](https://github.com/youzan/vant/issues/9558)
30
+ - deps: bump jest from 27.1.1 to 27.2.0 [#9469](https://github.com/youzan/vant/issues/9469)
31
+ - deps: bump jest from 27.2.0 to 27.2.1 [#9534](https://github.com/youzan/vant/issues/9534)
32
+ - deps: bump markdown-it-anchor from 8.3.0 to 8.3.1 [#9519](https://github.com/youzan/vant/issues/9519)
33
+ - deps: bump path-parse in /packages/vant-lazyload [#9559](https://github.com/youzan/vant/issues/9559)
34
+ - deps: bump prettier from 2.4.0 to 2.4.1 [#9495](https://github.com/youzan/vant/issues/9495)
35
+ - deps: bump typescript from 4.4.2 to 4.4.3 [#9460](https://github.com/youzan/vant/issues/9460)
36
+ - deps: bump vite from 2.5.6 to 2.5.7 [#9468](https://github.com/youzan/vant/issues/9468)
37
+ - deps: bump vite from 2.5.7 to 2.5.8 [#9496](https://github.com/youzan/vant/issues/9496)
38
+ - deps: bump vite from 2.5.8 to 2.5.10 [#9524](https://github.com/youzan/vant/issues/9524)
39
+ - deps: bump vite-plugin-md from 0.11.0 to 0.11.1 [#9521](https://github.com/youzan/vant/issues/9521)
40
+ - fix deploy site action [#9555](https://github.com/youzan/vant/issues/9555)
26
41
 
27
42
  **Document**
28
43
 
29
- - add type version tip [#9244](https://github.com/youzan/vant/issues/9244)
30
- - fix useCustomFieldValue link [#9243](https://github.com/youzan/vant/issues/9243)
31
- - @vant/use: changelog 1.3.0 [6de05f](https://github.com/youzan/vant/commit/6de05f45d2d6258a91aea28c667ebb1e42f3bf14)
32
- - CouponList: fix Popup v-model usage [#9237](https://github.com/youzan/vant/issues/9237)
33
- - add disable animation tip [#9175](https://github.com/youzan/vant/issues/9175)
34
- - add teleport link [#9176](https://github.com/youzan/vant/issues/9176)
35
- - add useCustomFieldValue document [#9202](https://github.com/youzan/vant/issues/9202)
36
- - improve Form demo [#9149](https://github.com/youzan/vant/issues/9149)
37
- - remove deprecated vant-waterfall [#9203](https://github.com/youzan/vant/issues/9203)
38
- - IndexBar: fix repeated methods [#9182](https://github.com/youzan/vant/issues/9182)
39
- - remove index key [#9122](https://github.com/youzan/vant/issues/9122)
40
- - changelog: 3.1.5 [aaee81](https://github.com/youzan/vant/commit/aaee8175a5fcebce98b6436a7ff2e146f08b714f)
44
+ - @vant/icons: changelog 1.7.1 [ddecb3](https://github.com/youzan/vant/commit/ddecb3a2d047037a18f6cf666389b5edcec51141)
45
+ - @vant/use: changelog v1.3.1 [70eec2](https://github.com/youzan/vant/commit/70eec20d25098e86a768983a94658d56ee0ab21c)
46
+ - add faq links [#9548](https://github.com/youzan/vant/issues/9548)
47
+ - add iOS :active pseudo faq [#9547](https://github.com/youzan/vant/issues/9547)
48
+ - add props types to document [#9550](https://github.com/youzan/vant/issues/9550)
49
+ - add usage of function component in script setup [#9517](https://github.com/youzan/vant/issues/9517)
50
+ - add vant-theme link [#9489](https://github.com/youzan/vant/issues/9489)
51
+ - changelog: 3.2.3 [362d5a](https://github.com/youzan/vant/commit/362d5a8a65e41cff932270fc666293516a2d756c)
52
+ - collapse: fix typo [#9477](https://github.com/youzan/vant/issues/9477)
53
+ - fix design resource link [#9492](https://github.com/youzan/vant/issues/9492)
54
+ - NumberKeyboard: fix multiple extraKey doc [#9551](https://github.com/youzan/vant/issues/9551)
55
+ - Tabs: add sticky offset-top tip [#9506](https://github.com/youzan/vant/issues/9506)
56
+ - Uploader: add faq [#9529](https://github.com/youzan/vant/issues/9529)
57
+
58
+ - Create FUNDING.yml [211c3b](https://github.com/youzan/vant/commit/211c3bff19b8ae688803c33153d622ed087058c6)
41
59
 
42
60
  **Feature**
43
61
 
44
- - @vant/use: add useCustomFieldValue [#9200](https://github.com/youzan/vant/issues/9200)
45
- - Button: loading-size prop support number type [#9177](https://github.com/youzan/vant/issues/9177)
46
- - Style: add van-safe-area-bottom util class [#9205](https://github.com/youzan/vant/issues/9205)
62
+ - @vant/cli: add enableVConsole option [#9527](https://github.com/youzan/vant/issues/9527)
63
+ - @vant/icons: add guide-o icon [c5f45a](https://github.com/youzan/vant/commit/c5f45a5c134bf9d789c943b247c620a1a2391d03)
64
+ - Search: add autocomplete prop [#9553](https://github.com/youzan/vant/issues/9553)
65
+ - Search: add name prop [#9563](https://github.com/youzan/vant/issues/9563)
47
66
 
48
- **refactor**
67
+ **perf**
49
68
 
50
- - demo using script setup [#9235](https://github.com/youzan/vant/issues/9235)
69
+ - @vant/lazyload: reduce production log [33d7aa](https://github.com/youzan/vant/commit/33d7aa8f1aee38576f1a0b3549560edd7b5fe0ed)
70
+ - @vant/lazyload: remove edge 15 polyfill [00b156](https://github.com/youzan/vant/commit/00b1568887321cf452ed4b8872fe99f089a74b22)
71
+ - @vant/use: remove raf polyfill [#9544](https://github.com/youzan/vant/issues/9544)
51
72
 
52
73
  **release**
53
74
 
54
- - @vant/markdown-loader@4.1.1 [a505a9](https://github.com/youzan/vant/commit/a505a9a266694da8c806597eb8cf71275ba91f6a)
55
- - @vant/use 1.3.0 [6b08bc](https://github.com/youzan/vant/commit/6b08bc977f9fa0a715173094f6e58509d51d27b9)
75
+ - @vant/area-data@1.1.3 [8d0f12](https://github.com/youzan/vant/commit/8d0f120ddecd56a8f3ed3d4dae810af22aa02181)
76
+ - @vant/icons 1.7.1 [6aa3cd](https://github.com/youzan/vant/commit/6aa3cd186b39d2f2e8b1a9a3cd24e53cbcd38b4e)
77
+ - @vant/lazyload 1.3.0 [3aa3bb](https://github.com/youzan/vant/commit/3aa3bbfa49b4601e7c9ea9bc3f9738708700aa9d)
78
+ - @vant/use 1.3.1 [67437b](https://github.com/youzan/vant/commit/67437b541e5e93014cd7d252a2b14225e48340b7)
56
79
 
57
80
  **style**
58
81
 
59
- - Image: fix border radius value [#9163](https://github.com/youzan/vant/issues/9163)
82
+ - reduce calculation [#9479](https://github.com/youzan/vant/issues/9479)
60
83
 
61
84
  **Types**
62
85
 
63
- - AddressEdit: add AddressEditInstance type [#9197](https://github.com/youzan/vant/issues/9197)
64
- - Area: add AreaInstance type [#9195](https://github.com/youzan/vant/issues/9195)
65
- - Area: fix missing onCancel typing [#9217](https://github.com/youzan/vant/issues/9217)
66
- - Checkbox: add CheckboxInstance type [#9140](https://github.com/youzan/vant/issues/9140)
67
- - CheckboxGroup: add CheckboxGroupInstance type [#9142](https://github.com/youzan/vant/issues/9142)
68
- - CollapseItem: add CollapseItemInstance type [#9194](https://github.com/youzan/vant/issues/9194)
69
- - CountDown: add CountDownInstance type [#9153](https://github.com/youzan/vant/issues/9153)
70
- - DatetimePicker: add DatetimePickerInstance type [#9208](https://github.com/youzan/vant/issues/9208)
71
- - DropdownItem: add DropdownItemInstance type [#9214](https://github.com/youzan/vant/issues/9214)
72
- - Form: add FormInstance type [#9139](https://github.com/youzan/vant/issues/9139)
73
- - ImagePreview: add ImagePreviewInstance type [#9216](https://github.com/youzan/vant/issues/9216)
74
- - IndexBar: add IndexBarInstance type [#9246](https://github.com/youzan/vant/issues/9246)
75
- - NoticeBar: add NoticeBarInstance type [#9245](https://github.com/youzan/vant/issues/9245)
76
- - Picker: add PickerInstance type [#9183](https://github.com/youzan/vant/issues/9183)
77
- - Progress: add ProgressInstance type [#9247](https://github.com/youzan/vant/issues/9247)
78
- - Search: add SearchInstance type [#9181](https://github.com/youzan/vant/issues/9181)
79
- - SwipeCell: add SwipeCellInstance type [#9179](https://github.com/youzan/vant/issues/9179)
80
- - Tabs: add TabsInstance type [#9174](https://github.com/youzan/vant/issues/9174)
81
- - add CalendarInstance type [#9165](https://github.com/youzan/vant/issues/9165)
82
- - add FIeldInstance type [#9166](https://github.com/youzan/vant/issues/9166)
83
- - Uploader: add UploaderInstance type [#9164](https://github.com/youzan/vant/issues/9164)
84
- - add ListInstance type [#9159](https://github.com/youzan/vant/issues/9159)
85
- - add SwipeInstance type [#9158](https://github.com/youzan/vant/issues/9158)
86
+ - @vant/lazyload: add $Lazyload typing [3ad17a](https://github.com/youzan/vant/commit/3ad17abd524144f249d894f4223718995cab1849)
87
+ - export props types [a3380f](https://github.com/youzan/vant/commit/a3380f08c06f5fd32443e9b033e3d8a29c1f726a)
88
+ - fix $toast、$dialog、$notify typing [#9556](https://github.com/youzan/vant/issues/9556)
89
+ - Popover: PopoverAction type allow extra properties [#9554](https://github.com/youzan/vant/issues/9554)
90
+ ### [v3.2.3](https://github.com/youzan/vant/compare/v3.2.2...v3.2.3)
91
+
92
+ `2021-09-12`
93
+
94
+ **Bug Fixes**
95
+
96
+ - @vant/cli: failed to run lint command [2b7ad9](https://github.com/youzan/vant/commit/2b7ad935abdd2995c9293b1b6ce9bbbef6ab83f0)
97
+ - @vant/cli: should allow to click anchor [#9434](https://github.com/youzan/vant/issues/9434)
98
+ - Calendar: 日历组件已经禁用部分日期依然可以选择日期区间问题 [#9361](https://github.com/youzan/vant/issues/9361)
99
+ - failed to register cli bin [89a801](https://github.com/youzan/vant/commit/89a801b3d7d8ce6bacdad18a612d33da726e58b9)
100
+ - Field: 修复全局设置 user-select: none 时 IOS 下无法输入的问题 [#9418](https://github.com/youzan/vant/issues/9418)
101
+ - FIeld: field-error-message-font-size var name [#9394](https://github.com/youzan/vant/issues/9394)
102
+ - Popup: failed to autoplay when activated [#9452](https://github.com/youzan/vant/issues/9452)
103
+ - remove less tilde [a7ab2f](https://github.com/youzan/vant/commit/a7ab2f8049b7c18d2a2f74aeac26f72dfbadaf6f)
104
+ - slider: empty range value [#9409](https://github.com/youzan/vant/issues/9409)
105
+ - SubmitBar: remove duplicate "--van-submit-bar-price-font-size" [#9424](https://github.com/youzan/vant/issues/9424)
106
+ - Uploader: uploader-delete-icon-size should affect icon size [#9453](https://github.com/youzan/vant/issues/9453)
107
+
108
+ **build**
109
+
110
+ - deps-dev: bump @vue/compiler-sfc from 3.2.10 to 3.2.11 [#9428](https://github.com/youzan/vant/issues/9428)
111
+ - deps-dev: bump @vue/compiler-sfc from 3.2.8 to 3.2.10 [#9412](https://github.com/youzan/vant/issues/9412)
112
+ - deps-dev: bump vue from 3.2.8 to 3.2.11 [#9425](https://github.com/youzan/vant/issues/9425)
113
+ - deps: bump @babel/preset-env from 7.15.4 to 7.15.6 [#9442](https://github.com/youzan/vant/issues/9442)
114
+ - deps: bump @vitejs/plugin-vue from 1.6.1 to 1.6.2 [#9429](https://github.com/youzan/vant/issues/9429)
115
+ - deps: bump babel-jest from 27.1.0 to 27.1.1 [#9427](https://github.com/youzan/vant/issues/9427)
116
+ - deps: bump jest from 27.1.0 to 27.1.1 [#9426](https://github.com/youzan/vant/issues/9426)
117
+ - deps: bump prettier from 2.3.2 to 2.4.0 [#9443](https://github.com/youzan/vant/issues/9443)
118
+ - deps: bump stylelint-config-standard from 20.0.0 to 22.0.0 [#9411](https://github.com/youzan/vant/issues/9411)
119
+ - deps: bump vite from 2.5.4 to 2.5.5 [#9415](https://github.com/youzan/vant/issues/9415)
120
+ - deps: bump vite from 2.5.5 to 2.5.6 [#9430](https://github.com/youzan/vant/issues/9430)
121
+ - move .browserslistrc to top level [#9396](https://github.com/youzan/vant/issues/9396)
122
+
123
+ **Document**
124
+
125
+ - @vant/cli: add type declaration guide [#9451](https://github.com/youzan/vant/issues/9451)
126
+ - @vant/cli: update output format [#9450](https://github.com/youzan/vant/issues/9450)
127
+ - changelog: 3.2.2 [5a7532](https://github.com/youzan/vant/commit/5a75326b652d2a4c71d7a6e7e265cf9f0fea31bb)
128
+ - ImagePreview: fix warning [6e5f21](https://github.com/youzan/vant/commit/6e5f215140a123e47646aed5295fd2fedca7e3c6)
129
+ - Uploader: add compress faq [#9399](https://github.com/youzan/vant/issues/9399)
130
+
131
+ **Feature**
132
+
133
+ - @vant/cli: add site.htmlMeta option [a2f4ce](https://github.com/youzan/vant/commit/a2f4ceaaced4c81ab614227a03e58d8a9905f3f4)
134
+ - @vant/cli: using vite to build packages [b7adc8](https://github.com/youzan/vant/commit/b7adc8c19911809f68d2554e0c96bb08707179b2)
135
+ - @vant/cli: using vite to build site [2dd7e8](https://github.com/youzan/vant/commit/2dd7e853d6241942fccf87f0dfb70da4fb684a8e)
136
+ - add vite-plugin-html to modify template [a2b942](https://github.com/youzan/vant/commit/a2b942be8ce8df99b5e2e622492853ee0f623536)
137
+ - Button: support CSS vars gradient background color [#9454](https://github.com/youzan/vant/issues/9454)
138
+ - create dev server for desktop site [e307bf](https://github.com/youzan/vant/commit/e307bfc627c866db301bd3c519a9a86a64c40a4d)
139
+
140
+ **perf**
141
+
142
+ - @vant/cli: reduce small CSS files [e20b05](https://github.com/youzan/vant/commit/e20b05e10bbb2605629ad4eca98443407c0cf899)
143
+ - dynamic import demo file [b4be17](https://github.com/youzan/vant/commit/b4be171028a27ee46a01ae4941e9fed9c9fa466a)
144
+ - dynamic import markdown file [f144a6](https://github.com/youzan/vant/commit/f144a6e2cdaa3800c746c1ca8fb296b719b9b4c0)
145
+
146
+ **refactor**
147
+
148
+ - @vant/cli: remove component auto registration [911d06](https://github.com/youzan/vant/commit/911d0669deca63dd6c9f9b268177904db6d8a48b)
149
+
150
+ **release**
151
+
152
+ - 3.2.3 [f6fca2](https://github.com/youzan/vant/commit/f6fca2694945eeb37816b3817f68258b7a523d51)
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  safeAreaInsetBottom?: unknown;
9
9
  } & {
10
10
  safeAreaInsetBottom: boolean;
11
- } & {}> & {}, {
11
+ } & {}>, {
12
12
  safeAreaInsetBottom: boolean;
13
13
  }>;
14
14
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const ActionBar: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionBar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  safeAreaInsetBottom: {
3
3
  type: BooleanConstructor;
4
4
  default: true;
@@ -7,8 +7,7 @@ declare const ActionBar: import("../utils").WithInstall<import("vue").DefineComp
7
7
  safeAreaInsetBottom?: unknown;
8
8
  } & {
9
9
  safeAreaInsetBottom: boolean;
10
- } & {}> & {}, {
10
+ } & {}>, {
11
11
  safeAreaInsetBottom: boolean;
12
12
  }>>;
13
13
  export default ActionBar;
14
- export { ActionBar };
@@ -1,5 +1,4 @@
1
1
  import { withInstall } from '../utils';
2
2
  import _ActionBar from './ActionBar';
3
- var ActionBar = withInstall(_ActionBar);
4
- export default ActionBar;
5
- export { ActionBar };
3
+ export var ActionBar = withInstall(_ActionBar);
4
+ export default ActionBar;
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
32
32
  to?: import("vue-router").RouteLocationRaw | undefined;
33
33
  color?: string | undefined;
34
34
  icon?: string | undefined;
35
- }> & {}, {
35
+ }>, {
36
36
  replace: boolean;
37
37
  disabled: boolean;
38
38
  loading: boolean;
@@ -1,4 +1,4 @@
1
- declare const ActionBarButton: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionBarButton: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
@@ -30,10 +30,9 @@ declare const ActionBarButton: import("../utils").WithInstall<import("vue").Defi
30
30
  to?: import("vue-router").RouteLocationRaw | undefined;
31
31
  color?: string | undefined;
32
32
  icon?: string | undefined;
33
- }> & {}, {
33
+ }>, {
34
34
  replace: boolean;
35
35
  disabled: boolean;
36
36
  loading: boolean;
37
37
  }>>;
38
38
  export default ActionBarButton;
39
- export { ActionBarButton };
@@ -1,5 +1,4 @@
1
1
  import { withInstall } from '../utils';
2
2
  import _ActionBarButton from './ActionBarButton';
3
- var ActionBarButton = withInstall(_ActionBarButton);
4
- export default ActionBarButton;
5
- export { ActionBarButton };
3
+ export var ActionBarButton = withInstall(_ActionBarButton);
4
+ export default ActionBarButton;
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
33
33
  iconPrefix?: string | undefined;
34
34
  icon?: string | undefined;
35
35
  iconClass?: unknown;
36
- }> & {}, {
36
+ }>, {
37
37
  replace: boolean;
38
38
  dot: boolean;
39
39
  }>;
@@ -1,4 +1,4 @@
1
- declare const ActionBarIcon: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
@@ -33,9 +33,8 @@ declare const ActionBarIcon: import("../utils").WithInstall<import("vue").Define
33
33
  iconPrefix?: string | undefined;
34
34
  icon?: string | undefined;
35
35
  iconClass?: unknown;
36
- }> & {}, {
36
+ }>, {
37
37
  replace: boolean;
38
38
  dot: boolean;
39
39
  }>>;
40
40
  export default ActionBarIcon;
41
- export { ActionBarIcon };
@@ -1,5 +1,4 @@
1
1
  import { withInstall } from '../utils';
2
2
  import _ActionBarIcon from './ActionBarIcon';
3
- var ActionBarIcon = withInstall(_ActionBarIcon);
4
- export default ActionBarIcon;
5
- export { ActionBarIcon };
3
+ export var ActionBarIcon = withInstall(_ActionBarIcon);
4
+ export default ActionBarIcon;
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
56
56
  type: StringConstructor;
57
57
  default: string;
58
58
  };
59
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
59
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "cancel")[], "select" | "update:show" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
60
60
  show?: unknown;
61
61
  zIndex?: unknown;
62
62
  overlay?: unknown;
@@ -1,4 +1,4 @@
1
- declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  show: BooleanConstructor;
3
3
  zIndex: (NumberConstructor | StringConstructor)[];
4
4
  overlay: {
@@ -46,7 +46,7 @@ declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineCo
46
46
  type: StringConstructor;
47
47
  default: string;
48
48
  };
49
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "update:show")[], "select" | "cancel" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
49
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "cancel")[], "select" | "update:show" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
50
50
  show?: unknown;
51
51
  zIndex?: unknown;
52
52
  overlay?: unknown;
@@ -112,5 +112,4 @@ declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineCo
112
112
  closeOnClickAction: boolean;
113
113
  }>>;
114
114
  export default ActionSheet;
115
- export { ActionSheet };
116
115
  export type { ActionSheetAction } from './ActionSheet';
@@ -1,5 +1,4 @@
1
1
  import { withInstall } from '../utils';
2
2
  import _ActionSheet from './ActionSheet';
3
- var ActionSheet = withInstall(_ActionSheet);
4
- export default ActionSheet;
5
- export { ActionSheet };
3
+ export var ActionSheet = withInstall(_ActionSheet);
4
+ export default ActionSheet;
@@ -297,7 +297,7 @@ export default defineComponent({
297
297
  "onUpdate:modelValue": $event => data.name = $event,
298
298
  "clearable": true,
299
299
  "label": t('name'),
300
- "placeholder": t('namePlaceholder'),
300
+ "placeholder": t('name'),
301
301
  "errorMessage": errorInfo.name,
302
302
  "onFocus": () => onFocus('name')
303
303
  }, null), _createVNode(Field, {
@@ -307,7 +307,7 @@ export default defineComponent({
307
307
  "type": "tel",
308
308
  "label": t('tel'),
309
309
  "maxlength": props.telMaxlength,
310
- "placeholder": t('telPlaceholder'),
310
+ "placeholder": t('tel'),
311
311
  "errorMessage": errorInfo.tel,
312
312
  "onFocus": () => onFocus('tel')
313
313
  }, null), _withDirectives(_createVNode(Field, {
@@ -315,7 +315,7 @@ export default defineComponent({
315
315
  "label": t('area'),
316
316
  "is-link": !disableArea,
317
317
  "modelValue": areaText.value,
318
- "placeholder": props.areaPlaceholder || t('areaPlaceholder'),
318
+ "placeholder": props.areaPlaceholder || t('area'),
319
319
  "errorMessage": errorInfo.areaCode,
320
320
  "onFocus": () => onFocus('areaCode'),
321
321
  "onClick": () => {
@@ -1,13 +1,12 @@
1
1
  import { mergeProps as _mergeProps, Fragment as _Fragment, resolveDirective as _resolveDirective, createVNode as _createVNode } from "vue";
2
2
  import { ref, defineComponent } from 'vue'; // Utils
3
3
 
4
- import { isAndroid, createNamespace } from '../utils'; // Components
4
+ import { createNamespace } from '../utils'; // Components
5
5
 
6
6
  import { Cell } from '../cell';
7
7
  import { Field } from '../field'; // Types
8
8
 
9
9
  var [name, bem, t] = createNamespace('address-edit-detail');
10
- var android = isAndroid();
11
10
  export default defineComponent({
12
11
  name,
13
12
  props: {
@@ -34,19 +33,6 @@ export default defineComponent({
34
33
  emit('input', ((express.address || '') + " " + (express.name || '')).trim());
35
34
  };
36
35
 
37
- var onFinish = () => {
38
- field.value.blur();
39
- };
40
-
41
- var renderFinish = () => {
42
- if (props.value && props.focused && android) {
43
- return _createVNode("div", {
44
- "class": bem('finish'),
45
- "onClick": onFinish
46
- }, [t('complete')]);
47
- }
48
- };
49
-
50
36
  var renderSearchTitle = express => {
51
37
  if (express.name) {
52
38
  var text = express.name.replace(props.value, "<span class=" + bem('keyword') + ">" + props.value + "</span>");
@@ -87,13 +73,13 @@ export default defineComponent({
87
73
  if (props.show) {
88
74
  return _createVNode(_Fragment, null, [_createVNode(Field, _mergeProps({
89
75
  "autosize": true,
76
+ "clearable": true,
90
77
  "ref": field,
91
78
  "class": bem(),
92
79
  "rows": props.detailRows,
93
80
  "type": "textarea",
94
81
  "label": t('label'),
95
82
  "border": !showSearchResult(),
96
- "clearable": !android,
97
83
  "maxlength": props.detailMaxlength,
98
84
  "modelValue": props.value,
99
85
  "placeholder": t('placeholder'),
@@ -102,9 +88,7 @@ export default defineComponent({
102
88
  "onFocus": onFocus
103
89
  }, {
104
90
  'onUpdate:modelValue': onInput
105
- }), {
106
- icon: renderFinish
107
- }), renderSearchResult()]);
91
+ }), null), renderSearchResult()]);
108
92
  }
109
93
  };
110
94
  }
@@ -1 +1 @@
1
- :root{--van-address-edit-padding:var(--van-padding-sm);--van-address-edit-buttons-padding:var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom:var(--van-padding-sm);--van-contact-edit-button-font-size:var(--van-font-size-lg);--van-address-edit-detail-finish-color:var(--van-primary-color);--van-address-edit-detail-finish-font-size:var(--van-font-size-sm)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background-color:var(--van-gray-2)}.van-address-edit-detail__keyword{color:var(--van-danger-color)}.van-address-edit-detail__finish{color:var(--van-address-edit-detail-finish-color);font-size:var(--van-address-edit-detail-finish-font-size)}
1
+ :root{--van-address-edit-padding:var(--van-padding-sm);--van-address-edit-buttons-padding:var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom:var(--van-padding-sm);--van-contact-edit-button-font-size:var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background-color:var(--van-gray-2)}.van-address-edit-detail__keyword{color:var(--van-danger-color)}
@@ -1,4 +1,5 @@
1
- declare const AddressEdit: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ import { AddressEditProps } from './AddressEdit';
2
+ export declare const AddressEdit: import("../utils").WithInstall<import("vue").DefineComponent<{
2
3
  areaList: import("vue").PropType<import("..").AreaList>;
3
4
  isSaving: BooleanConstructor;
4
5
  isDeleting: BooleanConstructor;
@@ -120,5 +121,5 @@ declare const AddressEdit: import("../utils").WithInstall<import("vue").DefineCo
120
121
  areaColumnsPlaceholder: string[];
121
122
  }>>;
122
123
  export default AddressEdit;
123
- export { AddressEdit };
124
+ export type { AddressEditProps };
124
125
  export type { AddressEditInfo, AddressEditInstance, AddressEditSearchItem, } from './types';
@@ -1,5 +1,4 @@
1
1
  import { withInstall } from '../utils';
2
2
  import _AddressEdit from './AddressEdit';
3
- var AddressEdit = withInstall(_AddressEdit);
4
- export default AddressEdit;
5
- export { AddressEdit };
3
+ export var AddressEdit = withInstall(_AddressEdit);
4
+ export default AddressEdit;
@@ -5,8 +5,6 @@
5
5
  --van-address-edit-buttons-padding: @address-edit-buttons-padding;
6
6
  --van-address-edit-button-margin-bottom: @address-edit-button-margin-bottom;
7
7
  --van-contact-edit-button-font-size: @address-edit-button-font-size;
8
- --van-address-edit-detail-finish-color: @address-edit-detail-finish-color;
9
- --van-address-edit-detail-finish-font-size: @address-edit-detail-finish-font-size;
10
8
  }
11
9
 
12
10
  .van-address-edit {
@@ -44,10 +42,5 @@
44
42
  &__keyword {
45
43
  color: var(--van-danger-color);
46
44
  }
47
-
48
- &__finish {
49
- color: var(--van-address-edit-detail-finish-color);
50
- font-size: var(--van-address-edit-detail-finish-font-size);
51
- }
52
45
  }
53
46
  }
@@ -4,5 +4,3 @@
4
4
  @address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);
5
5
  @address-edit-button-margin-bottom: var(--van-padding-sm);
6
6
  @address-edit-button-font-size: var(--van-font-size-lg);
7
- @address-edit-detail-finish-color: var(--van-primary-color);
8
- @address-edit-detail-finish-font-size: var(--van-font-size-sm);
@@ -1,4 +1,4 @@
1
- declare const AddressList: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const AddressList: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  modelValue: (NumberConstructor | StringConstructor)[];
3
3
  switchable: {
4
4
  type: BooleanConstructor;
@@ -46,5 +46,4 @@ declare const AddressList: import("../utils").WithInstall<import("vue").DefineCo
46
46
  disabledList: import("./AddressListItem").AddressListAddress[];
47
47
  }>>;
48
48
  export default AddressList;
49
- export { AddressList };
50
49
  export type { AddressListAddress } from './AddressListItem';
@@ -1,5 +1,4 @@
1
1
  import { withInstall } from '../utils';
2
2
  import _AddressList from './AddressList';
3
- var AddressList = withInstall(_AddressList);
4
- export default AddressList;
5
- export { AddressList };
3
+ export var AddressList = withInstall(_AddressList);
4
+ export default AddressList;
package/es/area/Area.d.ts CHANGED
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
85
85
  type: PropType<string[]>;
86
86
  default: () => never[];
87
87
  };
88
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "confirm")[], "cancel" | "change" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
88
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
89
89
  title?: unknown;
90
90
  loading?: unknown;
91
91
  readonly?: unknown;
package/es/area/Area.js CHANGED
@@ -251,8 +251,11 @@ export default defineComponent({
251
251
  var onChange = (values, index) => {
252
252
  state.code = values[index].code;
253
253
  setValues();
254
- var parsedValues = parseValues(pickerRef.value.getValues());
255
- emit('change', parsedValues, index);
254
+
255
+ if (pickerRef.value) {
256
+ var parsedValues = parseValues(pickerRef.value.getValues());
257
+ emit('change', parsedValues, index);
258
+ }
256
259
  };
257
260
 
258
261
  var onConfirm = (values, index) => {
@@ -1,4 +1,5 @@
1
- declare const Area: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ import { AreaProps } from './Area';
2
+ export declare const Area: import("../utils").WithInstall<import("vue").DefineComponent<{
2
3
  title: StringConstructor;
3
4
  loading: BooleanConstructor;
4
5
  readonly: BooleanConstructor;
@@ -39,7 +40,7 @@ declare const Area: import("../utils").WithInstall<import("vue").DefineComponent
39
40
  type: import("vue").PropType<string[]>;
40
41
  default: () => never[];
41
42
  };
42
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "confirm")[], "cancel" | "change" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
43
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "cancel" | "confirm")[], "change" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<{
43
44
  title?: unknown;
44
45
  loading?: unknown;
45
46
  readonly?: unknown;
@@ -90,5 +91,5 @@ declare const Area: import("../utils").WithInstall<import("vue").DefineComponent
90
91
  columnsPlaceholder: string[];
91
92
  }>>;
92
93
  export default Area;
93
- export { Area };
94
+ export type { AreaProps };
94
95
  export type { AreaList, AreaInstance, AreaColumnOption } from './types';
package/es/area/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { withInstall } from '../utils';
2
2
  import _Area from './Area';
3
- var Area = withInstall(_Area);
4
- export default Area;
5
- export { Area };
3
+ export var Area = withInstall(_Area);
4
+ export default Area;