vant 3.4.1 → 3.4.2

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 (555) hide show
  1. package/es/action-bar/ActionBar.d.ts +6 -5
  2. package/es/action-bar/index.css +1 -1
  3. package/es/action-bar/index.d.ts +6 -5
  4. package/es/action-bar-button/ActionBarButton.d.ts +11 -21
  5. package/es/action-bar-button/index.css +1 -1
  6. package/es/action-bar-button/index.d.ts +11 -21
  7. package/es/action-bar-icon/ActionBarIcon.d.ts +16 -84
  8. package/es/action-bar-icon/index.css +1 -1
  9. package/es/action-bar-icon/index.d.ts +14 -64
  10. package/es/action-sheet/ActionSheet.d.ts +54 -47
  11. package/es/action-sheet/index.css +1 -1
  12. package/es/action-sheet/index.d.ts +54 -47
  13. package/es/address-edit/AddressEdit.d.ts +48 -48
  14. package/es/address-edit/AddressEditDetail.d.ts +10 -20
  15. package/es/address-edit/index.css +1 -1
  16. package/es/address-edit/index.d.ts +48 -48
  17. package/es/address-list/AddressList.d.ts +18 -18
  18. package/es/address-list/AddressListItem.d.ts +9 -12
  19. package/es/address-list/index.css +1 -1
  20. package/es/address-list/index.d.ts +18 -18
  21. package/es/address-list/index.less +1 -1
  22. package/es/area/Area.d.ts +41 -33
  23. package/es/area/index.d.ts +41 -33
  24. package/es/badge/Badge.d.ts +19 -20
  25. package/es/badge/index.css +1 -1
  26. package/es/badge/index.d.ts +19 -20
  27. package/es/button/Button.d.ts +39 -47
  28. package/es/button/index.css +1 -1
  29. package/es/button/index.d.ts +39 -47
  30. package/es/calendar/Calendar.d.ts +85 -62
  31. package/es/calendar/Calendar.js +6 -1
  32. package/es/calendar/CalendarDay.d.ts +13 -14
  33. package/es/calendar/CalendarHeader.d.ts +7 -14
  34. package/es/calendar/CalendarMonth.d.ts +25 -32
  35. package/es/calendar/index.css +1 -1
  36. package/es/calendar/index.d.ts +85 -62
  37. package/es/card/Card.d.ts +16 -26
  38. package/es/card/index.css +1 -1
  39. package/es/card/index.d.ts +16 -26
  40. package/es/cascader/Cascader.d.ts +36 -22
  41. package/es/cascader/Cascader.js +3 -2
  42. package/es/cascader/index.css +1 -1
  43. package/es/cascader/index.d.ts +32 -22
  44. package/es/cell/Cell.d.ts +27 -41
  45. package/es/cell/index.css +1 -1
  46. package/es/cell/index.d.ts +27 -41
  47. package/es/cell-group/CellGroup.d.ts +8 -10
  48. package/es/cell-group/index.css +1 -1
  49. package/es/cell-group/index.d.ts +8 -10
  50. package/es/checkbox/Checkbox.d.ts +17 -21
  51. package/es/checkbox/Checker.d.ts +24 -29
  52. package/es/checkbox/index.css +1 -1
  53. package/es/checkbox/index.d.ts +17 -21
  54. package/es/checkbox-group/CheckboxGroup.d.ts +11 -16
  55. package/es/checkbox-group/index.css +1 -1
  56. package/es/checkbox-group/index.d.ts +11 -16
  57. package/es/circle/Circle.d.ts +35 -28
  58. package/es/circle/index.css +1 -1
  59. package/es/circle/index.d.ts +35 -28
  60. package/es/col/Col.d.ts +11 -10
  61. package/es/col/index.css +1 -1
  62. package/es/col/index.d.ts +11 -10
  63. package/es/collapse/Collapse.d.ts +11 -9
  64. package/es/collapse/index.d.ts +11 -9
  65. package/es/collapse-item/CollapseItem.d.ts +31 -41
  66. package/es/collapse-item/index.css +1 -1
  67. package/es/collapse-item/index.d.ts +31 -41
  68. package/es/composables/use-height.js +6 -2
  69. package/es/config-provider/ConfigProvider.d.ts +8 -10
  70. package/es/config-provider/index.d.ts +8 -10
  71. package/es/contact-card/ContactCard.d.ts +13 -14
  72. package/es/contact-card/index.css +1 -1
  73. package/es/contact-card/index.d.ts +13 -14
  74. package/es/contact-edit/ContactEdit.d.ts +15 -18
  75. package/es/contact-edit/index.css +1 -1
  76. package/es/contact-edit/index.d.ts +15 -18
  77. package/es/contact-list/ContactList.d.ts +6 -11
  78. package/es/contact-list/index.css +1 -1
  79. package/es/contact-list/index.d.ts +6 -11
  80. package/es/count-down/CountDown.d.ts +15 -11
  81. package/es/count-down/index.css +1 -1
  82. package/es/count-down/index.d.ts +15 -11
  83. package/es/coupon/Coupon.d.ts +12 -11
  84. package/es/coupon/index.css +1 -1
  85. package/es/coupon/index.d.ts +12 -11
  86. package/es/coupon-cell/CouponCell.d.ts +23 -16
  87. package/es/coupon-cell/index.css +1 -1
  88. package/es/coupon-cell/index.d.ts +23 -16
  89. package/es/coupon-list/CouponList.d.ts +53 -40
  90. package/es/coupon-list/index.css +1 -1
  91. package/es/coupon-list/index.d.ts +53 -40
  92. package/es/datetime-picker/DatePicker.d.ts +45 -36
  93. package/es/datetime-picker/TimePicker.d.ts +47 -38
  94. package/es/dialog/Dialog.d.ts +52 -59
  95. package/es/dialog/function-call.d.ts +52 -59
  96. package/es/dialog/index.css +1 -1
  97. package/es/divider/Divider.d.ts +11 -9
  98. package/es/divider/index.css +1 -1
  99. package/es/divider/index.d.ts +11 -9
  100. package/es/dropdown-item/DropdownItem.d.ts +15 -18
  101. package/es/dropdown-item/index.css +1 -1
  102. package/es/dropdown-item/index.d.ts +15 -18
  103. package/es/dropdown-menu/DropdownMenu.d.ts +24 -18
  104. package/es/dropdown-menu/index.css +1 -1
  105. package/es/dropdown-menu/index.d.ts +24 -18
  106. package/es/empty/Empty.d.ts +8 -10
  107. package/es/empty/index.css +1 -1
  108. package/es/empty/index.d.ts +8 -10
  109. package/es/field/Field.d.ts +80 -90
  110. package/es/field/index.css +1 -1
  111. package/es/field/index.d.ts +80 -90
  112. package/es/form/Form.d.ts +24 -30
  113. package/es/form/index.d.ts +24 -30
  114. package/es/grid/Grid.d.ts +20 -22
  115. package/es/grid/index.css +1 -1
  116. package/es/grid/index.d.ts +20 -22
  117. package/es/grid-item/GridItem.d.ts +15 -82
  118. package/es/grid-item/index.css +1 -1
  119. package/es/grid-item/index.d.ts +13 -62
  120. package/es/icon/Icon.d.ts +16 -79
  121. package/es/icon/index.css +1 -1
  122. package/es/icon/index.d.ts +14 -59
  123. package/es/image/Image.d.ts +32 -32
  124. package/es/image/Image.js +13 -4
  125. package/es/image/index.css +1 -1
  126. package/es/image/index.d.ts +30 -32
  127. package/es/image-preview/ImagePreview.d.ts +54 -42
  128. package/es/image-preview/ImagePreviewItem.d.ts +21 -18
  129. package/es/image-preview/ImagePreviewItem.js +12 -4
  130. package/es/image-preview/function-call.d.ts +54 -42
  131. package/es/image-preview/index.css +1 -1
  132. package/es/index-anchor/IndexAnchor.d.ts +3 -5
  133. package/es/index-anchor/index.css +1 -1
  134. package/es/index-anchor/index.d.ts +3 -5
  135. package/es/index-bar/IndexBar.d.ts +17 -16
  136. package/es/index-bar/index.css +1 -1
  137. package/es/index-bar/index.d.ts +17 -16
  138. package/es/index.d.ts +1 -1
  139. package/es/index.js +1 -1
  140. package/es/list/List.d.ts +20 -22
  141. package/es/list/index.css +1 -1
  142. package/es/list/index.d.ts +20 -22
  143. package/es/loading/Loading.d.ts +11 -16
  144. package/es/loading/index.css +1 -1
  145. package/es/loading/index.d.ts +11 -16
  146. package/es/nav-bar/NavBar.d.ts +14 -22
  147. package/es/nav-bar/index.css +1 -1
  148. package/es/nav-bar/index.d.ts +14 -22
  149. package/es/notice-bar/NoticeBar.d.ts +20 -22
  150. package/es/notice-bar/index.css +1 -1
  151. package/es/notice-bar/index.d.ts +20 -22
  152. package/es/notify/Notify.d.ts +39 -39
  153. package/es/notify/function-call.d.ts +39 -39
  154. package/es/notify/index.css +1 -1
  155. package/es/number-keyboard/NumberKeyboard.d.ts +46 -38
  156. package/es/number-keyboard/NumberKeyboardKey.d.ts +8 -16
  157. package/es/number-keyboard/index.css +1 -1
  158. package/es/number-keyboard/index.d.ts +46 -38
  159. package/es/overlay/Overlay.d.ts +24 -16
  160. package/es/overlay/Overlay.js +2 -1
  161. package/es/overlay/index.css +1 -1
  162. package/es/overlay/index.d.ts +20 -16
  163. package/es/pagination/Pagination.d.ts +29 -22
  164. package/es/pagination/index.css +1 -1
  165. package/es/pagination/index.d.ts +29 -22
  166. package/es/password-input/PasswordInput.d.ts +18 -18
  167. package/es/password-input/index.css +1 -1
  168. package/es/password-input/index.d.ts +18 -18
  169. package/es/picker/Picker.d.ts +38 -33
  170. package/es/picker/PickerColumn.d.ts +29 -22
  171. package/es/picker/index.css +1 -1
  172. package/es/picker/index.d.ts +38 -33
  173. package/es/popover/Popover.d.ts +48 -36
  174. package/es/popover/index.css +1 -1
  175. package/es/popover/index.d.ts +48 -36
  176. package/es/popup/Popup.d.ts +44 -45
  177. package/es/popup/index.css +1 -1
  178. package/es/popup/index.d.ts +44 -45
  179. package/es/progress/Progress.d.ts +18 -22
  180. package/es/progress/index.css +1 -1
  181. package/es/progress/index.d.ts +18 -22
  182. package/es/pull-refresh/PullRefresh.d.ts +21 -24
  183. package/es/pull-refresh/index.css +1 -1
  184. package/es/pull-refresh/index.d.ts +21 -24
  185. package/es/radio/Radio.d.ts +13 -20
  186. package/es/radio/index.css +1 -1
  187. package/es/radio/index.d.ts +13 -20
  188. package/es/radio-group/RadioGroup.d.ts +7 -14
  189. package/es/radio-group/index.css +1 -1
  190. package/es/radio-group/index.d.ts +7 -14
  191. package/es/rate/Rate.d.ts +31 -32
  192. package/es/rate/index.css +1 -1
  193. package/es/rate/index.d.ts +31 -32
  194. package/es/row/Row.d.ts +16 -14
  195. package/es/row/index.css +1 -1
  196. package/es/row/index.d.ts +16 -14
  197. package/es/search/Search.d.ts +58 -51
  198. package/es/search/index.css +1 -1
  199. package/es/search/index.d.ts +58 -51
  200. package/es/share-sheet/ShareSheet.d.ts +45 -41
  201. package/es/share-sheet/index.css +1 -1
  202. package/es/share-sheet/index.d.ts +45 -41
  203. package/es/sidebar/Sidebar.d.ts +6 -5
  204. package/es/sidebar/index.css +1 -1
  205. package/es/sidebar/index.d.ts +6 -5
  206. package/es/sidebar-item/SidebarItem.d.ts +13 -78
  207. package/es/sidebar-item/index.css +1 -1
  208. package/es/sidebar-item/index.d.ts +11 -58
  209. package/es/skeleton/Skeleton.d.ts +27 -24
  210. package/es/skeleton/Skeleton.js +1 -1
  211. package/es/skeleton/index.css +1 -1
  212. package/es/skeleton/index.d.ts +27 -24
  213. package/es/slider/Slider.d.ts +27 -30
  214. package/es/slider/index.css +1 -1
  215. package/es/slider/index.d.ts +27 -30
  216. package/es/step/Step.d.ts +1 -1
  217. package/es/step/index.css +1 -1
  218. package/es/step/index.d.ts +1 -1
  219. package/es/stepper/Stepper.d.ts +51 -48
  220. package/es/stepper/index.css +1 -1
  221. package/es/stepper/index.d.ts +51 -48
  222. package/es/steps/Steps.d.ts +19 -20
  223. package/es/steps/index.css +1 -1
  224. package/es/steps/index.d.ts +19 -20
  225. package/es/sticky/Sticky.d.ts +16 -14
  226. package/es/sticky/index.css +1 -1
  227. package/es/sticky/index.d.ts +16 -14
  228. package/es/style/animation.css +1 -1
  229. package/es/style/base.css +1 -1
  230. package/es/style/css-variables.css +1 -1
  231. package/es/style/normalize.css +1 -1
  232. package/es/submit-bar/SubmitBar.d.ts +28 -32
  233. package/es/submit-bar/index.css +1 -1
  234. package/es/submit-bar/index.d.ts +28 -32
  235. package/es/swipe/Swipe.d.ts +35 -28
  236. package/es/swipe/index.css +1 -1
  237. package/es/swipe/index.d.ts +35 -28
  238. package/es/swipe-cell/SwipeCell.d.ts +11 -16
  239. package/es/swipe-cell/index.css +1 -1
  240. package/es/swipe-cell/index.d.ts +11 -16
  241. package/es/swipe-item/SwipeItem.d.ts +1 -1
  242. package/es/swipe-item/index.css +1 -1
  243. package/es/swipe-item/index.d.ts +1 -1
  244. package/es/switch/Switch.d.ts +16 -20
  245. package/es/switch/index.css +1 -1
  246. package/es/switch/index.d.ts +16 -20
  247. package/es/tab/Tab.d.ts +16 -25
  248. package/es/tab/index.css +1 -1
  249. package/es/tab/index.d.ts +16 -25
  250. package/es/tabbar/Tabbar.d.ts +24 -24
  251. package/es/tabbar/index.css +1 -1
  252. package/es/tabbar/index.d.ts +24 -24
  253. package/es/tabbar-item/TabbarItem.d.ts +14 -80
  254. package/es/tabbar-item/index.css +1 -1
  255. package/es/tabbar-item/index.d.ts +12 -60
  256. package/es/tabs/Tabs.d.ts +43 -44
  257. package/es/tabs/TabsContent.d.ts +18 -17
  258. package/es/tabs/TabsTitle.d.ts +19 -32
  259. package/es/tabs/index.css +1 -1
  260. package/es/tabs/index.d.ts +43 -44
  261. package/es/tag/Tag.d.ts +17 -22
  262. package/es/tag/index.css +1 -1
  263. package/es/tag/index.d.ts +17 -22
  264. package/es/toast/Toast.d.ts +31 -38
  265. package/es/toast/index.css +1 -1
  266. package/es/tree-select/TreeSelect.d.ts +26 -15
  267. package/es/tree-select/index.css +1 -1
  268. package/es/tree-select/index.d.ts +26 -15
  269. package/es/uploader/Uploader.d.ts +61 -50
  270. package/es/uploader/UploaderPreviewItem.d.ts +13 -20
  271. package/es/uploader/index.css +1 -1
  272. package/es/uploader/index.d.ts +61 -50
  273. package/lib/action-bar/ActionBar.d.ts +6 -5
  274. package/lib/action-bar/index.css +1 -1
  275. package/lib/action-bar/index.d.ts +6 -5
  276. package/lib/action-bar-button/ActionBarButton.d.ts +11 -21
  277. package/lib/action-bar-button/index.css +1 -1
  278. package/lib/action-bar-button/index.d.ts +11 -21
  279. package/lib/action-bar-icon/ActionBarIcon.d.ts +16 -84
  280. package/lib/action-bar-icon/index.css +1 -1
  281. package/lib/action-bar-icon/index.d.ts +14 -64
  282. package/lib/action-sheet/ActionSheet.d.ts +54 -47
  283. package/lib/action-sheet/index.css +1 -1
  284. package/lib/action-sheet/index.d.ts +54 -47
  285. package/lib/address-edit/AddressEdit.d.ts +48 -48
  286. package/lib/address-edit/AddressEditDetail.d.ts +10 -20
  287. package/lib/address-edit/index.css +1 -1
  288. package/lib/address-edit/index.d.ts +48 -48
  289. package/lib/address-list/AddressList.d.ts +18 -18
  290. package/lib/address-list/AddressListItem.d.ts +9 -12
  291. package/lib/address-list/index.css +1 -1
  292. package/lib/address-list/index.d.ts +18 -18
  293. package/lib/address-list/index.less +1 -1
  294. package/lib/area/Area.d.ts +41 -33
  295. package/lib/area/index.d.ts +41 -33
  296. package/lib/badge/Badge.d.ts +19 -20
  297. package/lib/badge/index.css +1 -1
  298. package/lib/badge/index.d.ts +19 -20
  299. package/lib/button/Button.d.ts +39 -47
  300. package/lib/button/index.css +1 -1
  301. package/lib/button/index.d.ts +39 -47
  302. package/lib/calendar/Calendar.d.ts +85 -62
  303. package/lib/calendar/Calendar.js +6 -1
  304. package/lib/calendar/CalendarDay.d.ts +13 -14
  305. package/lib/calendar/CalendarHeader.d.ts +7 -14
  306. package/lib/calendar/CalendarMonth.d.ts +25 -32
  307. package/lib/calendar/index.css +1 -1
  308. package/lib/calendar/index.d.ts +85 -62
  309. package/lib/card/Card.d.ts +16 -26
  310. package/lib/card/index.css +1 -1
  311. package/lib/card/index.d.ts +16 -26
  312. package/lib/cascader/Cascader.d.ts +36 -22
  313. package/lib/cascader/Cascader.js +3 -2
  314. package/lib/cascader/index.css +1 -1
  315. package/lib/cascader/index.d.ts +32 -22
  316. package/lib/cell/Cell.d.ts +27 -41
  317. package/lib/cell/index.css +1 -1
  318. package/lib/cell/index.d.ts +27 -41
  319. package/lib/cell-group/CellGroup.d.ts +8 -10
  320. package/lib/cell-group/index.css +1 -1
  321. package/lib/cell-group/index.d.ts +8 -10
  322. package/lib/checkbox/Checkbox.d.ts +17 -21
  323. package/lib/checkbox/Checker.d.ts +24 -29
  324. package/lib/checkbox/index.css +1 -1
  325. package/lib/checkbox/index.d.ts +17 -21
  326. package/lib/checkbox-group/CheckboxGroup.d.ts +11 -16
  327. package/lib/checkbox-group/index.css +1 -1
  328. package/lib/checkbox-group/index.d.ts +11 -16
  329. package/lib/circle/Circle.d.ts +35 -28
  330. package/lib/circle/index.css +1 -1
  331. package/lib/circle/index.d.ts +35 -28
  332. package/lib/col/Col.d.ts +11 -10
  333. package/lib/col/index.css +1 -1
  334. package/lib/col/index.d.ts +11 -10
  335. package/lib/collapse/Collapse.d.ts +11 -9
  336. package/lib/collapse/index.d.ts +11 -9
  337. package/lib/collapse-item/CollapseItem.d.ts +31 -41
  338. package/lib/collapse-item/index.css +1 -1
  339. package/lib/collapse-item/index.d.ts +31 -41
  340. package/lib/composables/use-height.js +6 -2
  341. package/lib/config-provider/ConfigProvider.d.ts +8 -10
  342. package/lib/config-provider/index.d.ts +8 -10
  343. package/lib/contact-card/ContactCard.d.ts +13 -14
  344. package/lib/contact-card/index.css +1 -1
  345. package/lib/contact-card/index.d.ts +13 -14
  346. package/lib/contact-edit/ContactEdit.d.ts +15 -18
  347. package/lib/contact-edit/index.css +1 -1
  348. package/lib/contact-edit/index.d.ts +15 -18
  349. package/lib/contact-list/ContactList.d.ts +6 -11
  350. package/lib/contact-list/index.css +1 -1
  351. package/lib/contact-list/index.d.ts +6 -11
  352. package/lib/count-down/CountDown.d.ts +15 -11
  353. package/lib/count-down/index.css +1 -1
  354. package/lib/count-down/index.d.ts +15 -11
  355. package/lib/coupon/Coupon.d.ts +12 -11
  356. package/lib/coupon/index.css +1 -1
  357. package/lib/coupon/index.d.ts +12 -11
  358. package/lib/coupon-cell/CouponCell.d.ts +23 -16
  359. package/lib/coupon-cell/index.css +1 -1
  360. package/lib/coupon-cell/index.d.ts +23 -16
  361. package/lib/coupon-list/CouponList.d.ts +53 -40
  362. package/lib/coupon-list/index.css +1 -1
  363. package/lib/coupon-list/index.d.ts +53 -40
  364. package/lib/datetime-picker/DatePicker.d.ts +45 -36
  365. package/lib/datetime-picker/TimePicker.d.ts +47 -38
  366. package/lib/dialog/Dialog.d.ts +52 -59
  367. package/lib/dialog/function-call.d.ts +52 -59
  368. package/lib/dialog/index.css +1 -1
  369. package/lib/divider/Divider.d.ts +11 -9
  370. package/lib/divider/index.css +1 -1
  371. package/lib/divider/index.d.ts +11 -9
  372. package/lib/dropdown-item/DropdownItem.d.ts +15 -18
  373. package/lib/dropdown-item/index.css +1 -1
  374. package/lib/dropdown-item/index.d.ts +15 -18
  375. package/lib/dropdown-menu/DropdownMenu.d.ts +24 -18
  376. package/lib/dropdown-menu/index.css +1 -1
  377. package/lib/dropdown-menu/index.d.ts +24 -18
  378. package/lib/empty/Empty.d.ts +8 -10
  379. package/lib/empty/index.css +1 -1
  380. package/lib/empty/index.d.ts +8 -10
  381. package/lib/field/Field.d.ts +80 -90
  382. package/lib/field/index.css +1 -1
  383. package/lib/field/index.d.ts +80 -90
  384. package/lib/form/Form.d.ts +24 -30
  385. package/lib/form/index.d.ts +24 -30
  386. package/lib/grid/Grid.d.ts +20 -22
  387. package/lib/grid/index.css +1 -1
  388. package/lib/grid/index.d.ts +20 -22
  389. package/lib/grid-item/GridItem.d.ts +15 -82
  390. package/lib/grid-item/index.css +1 -1
  391. package/lib/grid-item/index.d.ts +13 -62
  392. package/lib/icon/Icon.d.ts +16 -79
  393. package/lib/icon/index.css +1 -1
  394. package/lib/icon/index.d.ts +14 -59
  395. package/lib/image/Image.d.ts +32 -32
  396. package/lib/image/Image.js +12 -3
  397. package/lib/image/index.css +1 -1
  398. package/lib/image/index.d.ts +30 -32
  399. package/lib/image-preview/ImagePreview.d.ts +54 -42
  400. package/lib/image-preview/ImagePreviewItem.d.ts +21 -18
  401. package/lib/image-preview/ImagePreviewItem.js +12 -4
  402. package/lib/image-preview/function-call.d.ts +54 -42
  403. package/lib/image-preview/index.css +1 -1
  404. package/lib/index-anchor/IndexAnchor.d.ts +3 -5
  405. package/lib/index-anchor/index.css +1 -1
  406. package/lib/index-anchor/index.d.ts +3 -5
  407. package/lib/index-bar/IndexBar.d.ts +17 -16
  408. package/lib/index-bar/index.css +1 -1
  409. package/lib/index-bar/index.d.ts +17 -16
  410. package/lib/index.css +1 -1
  411. package/lib/index.d.ts +1 -1
  412. package/lib/index.js +1 -1
  413. package/lib/list/List.d.ts +20 -22
  414. package/lib/list/index.css +1 -1
  415. package/lib/list/index.d.ts +20 -22
  416. package/lib/loading/Loading.d.ts +11 -16
  417. package/lib/loading/index.css +1 -1
  418. package/lib/loading/index.d.ts +11 -16
  419. package/lib/nav-bar/NavBar.d.ts +14 -22
  420. package/lib/nav-bar/index.css +1 -1
  421. package/lib/nav-bar/index.d.ts +14 -22
  422. package/lib/notice-bar/NoticeBar.d.ts +20 -22
  423. package/lib/notice-bar/index.css +1 -1
  424. package/lib/notice-bar/index.d.ts +20 -22
  425. package/lib/notify/Notify.d.ts +39 -39
  426. package/lib/notify/function-call.d.ts +39 -39
  427. package/lib/notify/index.css +1 -1
  428. package/lib/number-keyboard/NumberKeyboard.d.ts +46 -38
  429. package/lib/number-keyboard/NumberKeyboardKey.d.ts +8 -16
  430. package/lib/number-keyboard/index.css +1 -1
  431. package/lib/number-keyboard/index.d.ts +46 -38
  432. package/lib/overlay/Overlay.d.ts +24 -16
  433. package/lib/overlay/Overlay.js +2 -1
  434. package/lib/overlay/index.css +1 -1
  435. package/lib/overlay/index.d.ts +20 -16
  436. package/lib/pagination/Pagination.d.ts +29 -22
  437. package/lib/pagination/index.css +1 -1
  438. package/lib/pagination/index.d.ts +29 -22
  439. package/lib/password-input/PasswordInput.d.ts +18 -18
  440. package/lib/password-input/index.css +1 -1
  441. package/lib/password-input/index.d.ts +18 -18
  442. package/lib/picker/Picker.d.ts +38 -33
  443. package/lib/picker/PickerColumn.d.ts +29 -22
  444. package/lib/picker/index.css +1 -1
  445. package/lib/picker/index.d.ts +38 -33
  446. package/lib/popover/Popover.d.ts +48 -36
  447. package/lib/popover/index.css +1 -1
  448. package/lib/popover/index.d.ts +48 -36
  449. package/lib/popup/Popup.d.ts +44 -45
  450. package/lib/popup/index.css +1 -1
  451. package/lib/popup/index.d.ts +44 -45
  452. package/lib/progress/Progress.d.ts +18 -22
  453. package/lib/progress/index.css +1 -1
  454. package/lib/progress/index.d.ts +18 -22
  455. package/lib/pull-refresh/PullRefresh.d.ts +21 -24
  456. package/lib/pull-refresh/index.css +1 -1
  457. package/lib/pull-refresh/index.d.ts +21 -24
  458. package/lib/radio/Radio.d.ts +13 -20
  459. package/lib/radio/index.css +1 -1
  460. package/lib/radio/index.d.ts +13 -20
  461. package/lib/radio-group/RadioGroup.d.ts +7 -14
  462. package/lib/radio-group/index.css +1 -1
  463. package/lib/radio-group/index.d.ts +7 -14
  464. package/lib/rate/Rate.d.ts +31 -32
  465. package/lib/rate/index.css +1 -1
  466. package/lib/rate/index.d.ts +31 -32
  467. package/lib/row/Row.d.ts +16 -14
  468. package/lib/row/index.css +1 -1
  469. package/lib/row/index.d.ts +16 -14
  470. package/lib/search/Search.d.ts +58 -51
  471. package/lib/search/index.css +1 -1
  472. package/lib/search/index.d.ts +58 -51
  473. package/lib/share-sheet/ShareSheet.d.ts +45 -41
  474. package/lib/share-sheet/index.css +1 -1
  475. package/lib/share-sheet/index.d.ts +45 -41
  476. package/lib/sidebar/Sidebar.d.ts +6 -5
  477. package/lib/sidebar/index.css +1 -1
  478. package/lib/sidebar/index.d.ts +6 -5
  479. package/lib/sidebar-item/SidebarItem.d.ts +13 -78
  480. package/lib/sidebar-item/index.css +1 -1
  481. package/lib/sidebar-item/index.d.ts +11 -58
  482. package/lib/skeleton/Skeleton.d.ts +27 -24
  483. package/lib/skeleton/Skeleton.js +1 -1
  484. package/lib/skeleton/index.css +1 -1
  485. package/lib/skeleton/index.d.ts +27 -24
  486. package/lib/slider/Slider.d.ts +27 -30
  487. package/lib/slider/index.css +1 -1
  488. package/lib/slider/index.d.ts +27 -30
  489. package/lib/step/Step.d.ts +1 -1
  490. package/lib/step/index.css +1 -1
  491. package/lib/step/index.d.ts +1 -1
  492. package/lib/stepper/Stepper.d.ts +51 -48
  493. package/lib/stepper/index.css +1 -1
  494. package/lib/stepper/index.d.ts +51 -48
  495. package/lib/steps/Steps.d.ts +19 -20
  496. package/lib/steps/index.css +1 -1
  497. package/lib/steps/index.d.ts +19 -20
  498. package/lib/sticky/Sticky.d.ts +16 -14
  499. package/lib/sticky/index.css +1 -1
  500. package/lib/sticky/index.d.ts +16 -14
  501. package/lib/style/animation.css +1 -1
  502. package/lib/style/base.css +1 -1
  503. package/lib/style/css-variables.css +1 -1
  504. package/lib/style/normalize.css +1 -1
  505. package/lib/submit-bar/SubmitBar.d.ts +28 -32
  506. package/lib/submit-bar/index.css +1 -1
  507. package/lib/submit-bar/index.d.ts +28 -32
  508. package/lib/swipe/Swipe.d.ts +35 -28
  509. package/lib/swipe/index.css +1 -1
  510. package/lib/swipe/index.d.ts +35 -28
  511. package/lib/swipe-cell/SwipeCell.d.ts +11 -16
  512. package/lib/swipe-cell/index.css +1 -1
  513. package/lib/swipe-cell/index.d.ts +11 -16
  514. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  515. package/lib/swipe-item/index.css +1 -1
  516. package/lib/swipe-item/index.d.ts +1 -1
  517. package/lib/switch/Switch.d.ts +16 -20
  518. package/lib/switch/index.css +1 -1
  519. package/lib/switch/index.d.ts +16 -20
  520. package/lib/tab/Tab.d.ts +16 -25
  521. package/lib/tab/index.css +1 -1
  522. package/lib/tab/index.d.ts +16 -25
  523. package/lib/tabbar/Tabbar.d.ts +24 -24
  524. package/lib/tabbar/index.css +1 -1
  525. package/lib/tabbar/index.d.ts +24 -24
  526. package/lib/tabbar-item/TabbarItem.d.ts +14 -80
  527. package/lib/tabbar-item/index.css +1 -1
  528. package/lib/tabbar-item/index.d.ts +12 -60
  529. package/lib/tabs/Tabs.d.ts +43 -44
  530. package/lib/tabs/TabsContent.d.ts +18 -17
  531. package/lib/tabs/TabsTitle.d.ts +19 -32
  532. package/lib/tabs/index.css +1 -1
  533. package/lib/tabs/index.d.ts +43 -44
  534. package/lib/tag/Tag.d.ts +17 -22
  535. package/lib/tag/index.css +1 -1
  536. package/lib/tag/index.d.ts +17 -22
  537. package/lib/toast/Toast.d.ts +31 -38
  538. package/lib/toast/index.css +1 -1
  539. package/lib/tree-select/TreeSelect.d.ts +26 -15
  540. package/lib/tree-select/index.css +1 -1
  541. package/lib/tree-select/index.d.ts +26 -15
  542. package/lib/uploader/Uploader.d.ts +61 -50
  543. package/lib/uploader/UploaderPreviewItem.d.ts +13 -20
  544. package/lib/uploader/index.css +1 -1
  545. package/lib/uploader/index.d.ts +61 -50
  546. package/lib/vant.cjs.js +43 -15
  547. package/lib/vant.cjs.min.js +1 -1
  548. package/lib/vant.es.js +43 -15
  549. package/lib/vant.es.min.js +43 -15
  550. package/lib/vant.js +43 -15
  551. package/lib/vant.min.js +1 -1
  552. package/package.json +3 -3
  553. package/vetur/attributes.json +939 -939
  554. package/vetur/tags.json +31 -31
  555. package/vetur/web-types.json +1511 -1511
@@ -92,44 +92,52 @@ declare const _default: import("vue").DefineComponent<{
92
92
  type: PropType<string | string[]>;
93
93
  default: string;
94
94
  };
95
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue" | "hide" | "show" | "close" | "delete")[], "input" | "blur" | "update:modelValue" | "hide" | "show" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
96
- show?: unknown;
97
- title?: unknown;
98
- theme?: unknown;
99
- zIndex?: unknown;
100
- teleport?: unknown;
101
- maxlength?: unknown;
102
- modelValue?: unknown;
103
- transition?: unknown;
104
- blurOnClose?: unknown;
105
- showDeleteKey?: unknown;
106
- randomKeyOrder?: unknown;
107
- closeButtonText?: unknown;
108
- deleteButtonText?: unknown;
109
- closeButtonLoading?: unknown;
110
- hideOnClickOutside?: unknown;
111
- safeAreaInsetBottom?: unknown;
112
- extraKey?: unknown;
113
- } & {
114
- maxlength: string | number;
115
- modelValue: string;
116
- safeAreaInsetBottom: boolean;
117
- show: boolean;
118
- transition: boolean;
119
- theme: NumberKeyboardTheme;
120
- blurOnClose: boolean;
121
- showDeleteKey: boolean;
122
- randomKeyOrder: boolean;
123
- closeButtonLoading: boolean;
124
- hideOnClickOutside: boolean;
125
- extraKey: string | string[];
126
- } & {
127
- title?: string | undefined;
128
- zIndex?: string | number | undefined;
129
- teleport?: string | import("vue").RendererElement | null | undefined;
130
- deleteButtonText?: string | undefined;
131
- closeButtonText?: string | undefined;
132
- }> & {
95
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue" | "hide" | "show" | "close" | "delete")[], "input" | "blur" | "update:modelValue" | "hide" | "show" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
96
+ show: BooleanConstructor;
97
+ title: StringConstructor;
98
+ theme: {
99
+ type: PropType<NumberKeyboardTheme>;
100
+ default: NumberKeyboardTheme;
101
+ };
102
+ zIndex: (NumberConstructor | StringConstructor)[];
103
+ teleport: PropType<string | import("vue").RendererElement | null | undefined>;
104
+ maxlength: {
105
+ type: (NumberConstructor | StringConstructor)[];
106
+ default: number;
107
+ };
108
+ modelValue: {
109
+ type: PropType<string>;
110
+ default: string;
111
+ };
112
+ transition: {
113
+ type: BooleanConstructor;
114
+ default: true;
115
+ };
116
+ blurOnClose: {
117
+ type: BooleanConstructor;
118
+ default: true;
119
+ };
120
+ showDeleteKey: {
121
+ type: BooleanConstructor;
122
+ default: true;
123
+ };
124
+ randomKeyOrder: BooleanConstructor;
125
+ closeButtonText: StringConstructor;
126
+ deleteButtonText: StringConstructor;
127
+ closeButtonLoading: BooleanConstructor;
128
+ hideOnClickOutside: {
129
+ type: BooleanConstructor;
130
+ default: true;
131
+ };
132
+ safeAreaInsetBottom: {
133
+ type: BooleanConstructor;
134
+ default: true;
135
+ };
136
+ extraKey: {
137
+ type: PropType<string | string[]>;
138
+ default: string;
139
+ };
140
+ }>> & {
133
141
  onBlur?: ((...args: any[]) => any) | undefined;
134
142
  onInput?: ((...args: any[]) => any) | undefined;
135
143
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -7,22 +7,14 @@ declare const _default: import("vue").DefineComponent<{
7
7
  wider: BooleanConstructor;
8
8
  large: BooleanConstructor;
9
9
  loading: BooleanConstructor;
10
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "press"[], "press", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
11
- type?: unknown;
12
- text?: unknown;
13
- color?: unknown;
14
- wider?: unknown;
15
- large?: unknown;
16
- loading?: unknown;
17
- } & {
18
- large: boolean;
19
- loading: boolean;
20
- wider: boolean;
21
- } & {
22
- text?: string | number | undefined;
23
- color?: string | undefined;
24
- type?: KeyType | undefined;
25
- }> & {
10
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "press"[], "press", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ type: PropType<KeyType>;
12
+ text: (NumberConstructor | StringConstructor)[];
13
+ color: StringConstructor;
14
+ wider: BooleanConstructor;
15
+ large: BooleanConstructor;
16
+ loading: BooleanConstructor;
17
+ }>> & {
26
18
  onPress?: ((...args: any[]) => any) | undefined;
27
19
  }, {
28
20
  large: boolean;
@@ -1 +1 @@
1
- :root{--van-number-keyboard-background-color:var(--van-gray-2);--van-number-keyboard-key-height:48px;--van-number-keyboard-key-font-size:28px;--van-number-keyboard-key-active-color:var(--van-gray-3);--van-number-keyboard-key-background-color:var(--van-background-color-light);--van-number-keyboard-delete-font-size:var(--van-font-size-lg);--van-number-keyboard-title-color:var(--van-gray-7);--van-number-keyboard-title-height:34px;--van-number-keyboard-title-font-size:var(--van-font-size-lg);--van-number-keyboard-close-padding:0 var(--van-padding-md);--van-number-keyboard-close-color:var(--van-text-link-color);--van-number-keyboard-close-font-size:var(--van-font-size-md);--van-number-keyboard-button-text-color:var(--van-white);--van-number-keyboard-button-background-color:var(--van-primary-color);--van-number-keyboard-z-index:100}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:22px;background:var(--van-number-keyboard-background-color);-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:6px;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none;cursor:pointer}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background:var(--van-number-keyboard-key-background-color);border-radius:var(--van-border-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:6px;bottom:6px;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background:var(--van-number-keyboard-button-background-color)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 6px 6px 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:32px;height:22px}.van-key__collapse-icon{width:30px;height:24px}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}
1
+ :root{--van-number-keyboard-background-color: var(--van-gray-2);--van-number-keyboard-key-height: 48px;--van-number-keyboard-key-font-size: 28px;--van-number-keyboard-key-active-color: var(--van-gray-3);--van-number-keyboard-key-background-color: var(--van-background-color-light);--van-number-keyboard-delete-font-size: var(--van-font-size-lg);--van-number-keyboard-title-color: var(--van-gray-7);--van-number-keyboard-title-height: 34px;--van-number-keyboard-title-font-size: var(--van-font-size-lg);--van-number-keyboard-close-padding: 0 var(--van-padding-md);--van-number-keyboard-close-color: var(--van-text-link-color);--van-number-keyboard-close-font-size: var(--van-font-size-md);--van-number-keyboard-button-text-color: var(--van-white);--van-number-keyboard-button-background-color: var(--van-primary-color);--van-number-keyboard-z-index: 100}.van-number-keyboard{position:fixed;bottom:0;left:0;z-index:var(--van-number-keyboard-z-index);width:100%;padding-bottom:22px;background:var(--van-number-keyboard-background-color);-webkit-user-select:none;user-select:none}.van-number-keyboard--with-title{border-radius:20px 20px 0 0}.van-number-keyboard__header{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:content-box;height:var(--van-number-keyboard-title-height);padding-top:6px;color:var(--van-number-keyboard-title-color);font-size:var(--van-number-keyboard-title-font-size)}.van-number-keyboard__title{display:inline-block;font-weight:400}.van-number-keyboard__title-left{position:absolute;left:0}.van-number-keyboard__body{display:flex;padding:6px 0 0 6px}.van-number-keyboard__keys{display:flex;flex:3;flex-wrap:wrap}.van-number-keyboard__close{position:absolute;right:0;height:100%;padding:var(--van-number-keyboard-close-padding);color:var(--van-number-keyboard-close-color);font-size:var(--van-number-keyboard-close-font-size);background-color:transparent;border:none;cursor:pointer}.van-number-keyboard__sidebar{display:flex;flex:1;flex-direction:column}.van-number-keyboard--unfit{padding-bottom:0}.van-key{display:flex;align-items:center;justify-content:center;height:var(--van-number-keyboard-key-height);font-size:var(--van-number-keyboard-key-font-size);line-height:1.5;background:var(--van-number-keyboard-key-background-color);border-radius:var(--van-border-radius-lg);cursor:pointer}.van-key--large{position:absolute;top:0;right:6px;bottom:6px;left:0;height:auto}.van-key--blue,.van-key--delete{font-size:var(--van-number-keyboard-delete-font-size)}.van-key--active{background-color:var(--van-number-keyboard-key-active-color)}.van-key--blue{color:var(--van-number-keyboard-button-text-color);background:var(--van-number-keyboard-button-background-color)}.van-key--blue.van-key--active{opacity:var(--van-active-opacity)}.van-key__wrapper{position:relative;flex:1;flex-basis:33%;box-sizing:border-box;padding:0 6px 6px 0}.van-key__wrapper--wider{flex-basis:66%}.van-key__delete-icon{width:32px;height:22px}.van-key__collapse-icon{width:30px;height:24px}.van-key__loading-icon{color:var(--van-number-keyboard-button-text-color)}
@@ -43,44 +43,52 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
43
43
  type: import("vue").PropType<string | string[]>;
44
44
  default: string;
45
45
  };
46
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue" | "hide" | "show" | "close" | "delete")[], "input" | "blur" | "update:modelValue" | "hide" | "show" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
47
- show?: unknown;
48
- title?: unknown;
49
- theme?: unknown;
50
- zIndex?: unknown;
51
- teleport?: unknown;
52
- maxlength?: unknown;
53
- modelValue?: unknown;
54
- transition?: unknown;
55
- blurOnClose?: unknown;
56
- showDeleteKey?: unknown;
57
- randomKeyOrder?: unknown;
58
- closeButtonText?: unknown;
59
- deleteButtonText?: unknown;
60
- closeButtonLoading?: unknown;
61
- hideOnClickOutside?: unknown;
62
- safeAreaInsetBottom?: unknown;
63
- extraKey?: unknown;
64
- } & {
65
- maxlength: string | number;
66
- modelValue: string;
67
- safeAreaInsetBottom: boolean;
68
- show: boolean;
69
- transition: boolean;
70
- theme: import("./NumberKeyboard").NumberKeyboardTheme;
71
- blurOnClose: boolean;
72
- showDeleteKey: boolean;
73
- randomKeyOrder: boolean;
74
- closeButtonLoading: boolean;
75
- hideOnClickOutside: boolean;
76
- extraKey: string | string[];
77
- } & {
78
- title?: string | undefined;
79
- zIndex?: string | number | undefined;
80
- teleport?: string | import("vue").RendererElement | null | undefined;
81
- deleteButtonText?: string | undefined;
82
- closeButtonText?: string | undefined;
83
- }> & {
46
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "blur" | "update:modelValue" | "hide" | "show" | "close" | "delete")[], "input" | "blur" | "update:modelValue" | "hide" | "show" | "close" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ show: BooleanConstructor;
48
+ title: StringConstructor;
49
+ theme: {
50
+ type: import("vue").PropType<import("./NumberKeyboard").NumberKeyboardTheme>;
51
+ default: import("./NumberKeyboard").NumberKeyboardTheme;
52
+ };
53
+ zIndex: (NumberConstructor | StringConstructor)[];
54
+ teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
55
+ maxlength: {
56
+ type: (NumberConstructor | StringConstructor)[];
57
+ default: number;
58
+ };
59
+ modelValue: {
60
+ type: import("vue").PropType<string>;
61
+ default: string;
62
+ };
63
+ transition: {
64
+ type: BooleanConstructor;
65
+ default: true;
66
+ };
67
+ blurOnClose: {
68
+ type: BooleanConstructor;
69
+ default: true;
70
+ };
71
+ showDeleteKey: {
72
+ type: BooleanConstructor;
73
+ default: true;
74
+ };
75
+ randomKeyOrder: BooleanConstructor;
76
+ closeButtonText: StringConstructor;
77
+ deleteButtonText: StringConstructor;
78
+ closeButtonLoading: BooleanConstructor;
79
+ hideOnClickOutside: {
80
+ type: BooleanConstructor;
81
+ default: true;
82
+ };
83
+ safeAreaInsetBottom: {
84
+ type: BooleanConstructor;
85
+ default: true;
86
+ };
87
+ extraKey: {
88
+ type: import("vue").PropType<string | string[]>;
89
+ default: string;
90
+ };
91
+ }>> & {
84
92
  onBlur?: ((...args: any[]) => any) | undefined;
85
93
  onInput?: ((...args: any[]) => any) | undefined;
86
94
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -8,6 +8,10 @@ declare const overlayProps: {
8
8
  type: BooleanConstructor;
9
9
  default: true;
10
10
  };
11
+ lazyRender: {
12
+ type: BooleanConstructor;
13
+ default: true;
14
+ };
11
15
  customStyle: PropType<CSSProperties>;
12
16
  };
13
17
  export declare type OverlayProps = ExtractPropTypes<typeof overlayProps>;
@@ -20,24 +24,28 @@ declare const _default: import("vue").DefineComponent<{
20
24
  type: BooleanConstructor;
21
25
  default: true;
22
26
  };
27
+ lazyRender: {
28
+ type: BooleanConstructor;
29
+ default: true;
30
+ };
23
31
  customStyle: PropType<CSSProperties>;
24
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
25
- show?: unknown;
26
- zIndex?: unknown;
27
- duration?: unknown;
28
- className?: unknown;
29
- lockScroll?: unknown;
30
- customStyle?: unknown;
31
- } & {
32
- show: boolean;
33
- lockScroll: boolean;
34
- } & {
35
- zIndex?: string | number | undefined;
36
- duration?: string | number | undefined;
37
- className?: unknown;
38
- customStyle?: CSSProperties | undefined;
39
- }>, {
32
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
33
+ show: BooleanConstructor;
34
+ zIndex: (NumberConstructor | StringConstructor)[];
35
+ duration: (NumberConstructor | StringConstructor)[];
36
+ className: PropType<unknown>;
37
+ lockScroll: {
38
+ type: BooleanConstructor;
39
+ default: true;
40
+ };
41
+ lazyRender: {
42
+ type: BooleanConstructor;
43
+ default: true;
44
+ };
45
+ customStyle: PropType<CSSProperties>;
46
+ }>>, {
40
47
  show: boolean;
41
48
  lockScroll: boolean;
49
+ lazyRender: boolean;
42
50
  }>;
43
51
  export default _default;
@@ -35,6 +35,7 @@ const overlayProps = {
35
35
  duration: import_utils.numericProp,
36
36
  className: import_utils.unknownProp,
37
37
  lockScroll: import_utils.truthProp,
38
+ lazyRender: import_utils.truthProp,
38
39
  customStyle: Object
39
40
  };
40
41
  var stdin_default = (0, import_vue2.defineComponent)({
@@ -43,7 +44,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
43
44
  setup(props, {
44
45
  slots
45
46
  }) {
46
- const lazyRender = (0, import_use_lazy_render.useLazyRender)(() => props.show);
47
+ const lazyRender = (0, import_use_lazy_render.useLazyRender)(() => props.show || !props.lazyRender);
47
48
  const preventTouchMove = (event) => {
48
49
  (0, import_utils.preventDefault)(event, true);
49
50
  };
@@ -1 +1 @@
1
- :root{--van-overlay-z-index:1;--van-overlay-background-color:rgba(0, 0, 0, 0.7)}.van-overlay{position:fixed;top:0;left:0;z-index:var(--van-overlay-z-index);width:100%;height:100%;background:var(--van-overlay-background-color)}
1
+ :root{--van-overlay-z-index: 1;--van-overlay-background-color: rgba(0, 0, 0, .7)}.van-overlay{position:fixed;top:0;left:0;z-index:var(--van-overlay-z-index);width:100%;height:100%;background:var(--van-overlay-background-color)}
@@ -7,25 +7,29 @@ export declare const Overlay: import("../utils").WithInstall<import("vue").Defin
7
7
  type: BooleanConstructor;
8
8
  default: true;
9
9
  };
10
+ lazyRender: {
11
+ type: BooleanConstructor;
12
+ default: true;
13
+ };
10
14
  customStyle: import("vue").PropType<import("vue").CSSProperties>;
11
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
12
- show?: unknown;
13
- zIndex?: unknown;
14
- duration?: unknown;
15
- className?: unknown;
16
- lockScroll?: unknown;
17
- customStyle?: unknown;
18
- } & {
19
- show: boolean;
20
- lockScroll: boolean;
21
- } & {
22
- zIndex?: string | number | undefined;
23
- duration?: string | number | undefined;
24
- className?: unknown;
25
- customStyle?: import("vue").CSSProperties | undefined;
26
- }>, {
15
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ show: BooleanConstructor;
17
+ zIndex: (NumberConstructor | StringConstructor)[];
18
+ duration: (NumberConstructor | StringConstructor)[];
19
+ className: import("vue").PropType<unknown>;
20
+ lockScroll: {
21
+ type: BooleanConstructor;
22
+ default: true;
23
+ };
24
+ lazyRender: {
25
+ type: BooleanConstructor;
26
+ default: true;
27
+ };
28
+ customStyle: import("vue").PropType<import("vue").CSSProperties>;
29
+ }>>, {
27
30
  show: boolean;
28
31
  lockScroll: boolean;
32
+ lazyRender: boolean;
29
33
  }>>;
30
34
  export default Overlay;
31
35
  export type { OverlayProps } from './Overlay';
@@ -58,28 +58,35 @@ declare const _default: import("vue").DefineComponent<{
58
58
  default: number;
59
59
  };
60
60
  forceEllipses: BooleanConstructor;
61
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
62
- mode?: unknown;
63
- prevText?: unknown;
64
- nextText?: unknown;
65
- pageCount?: unknown;
66
- modelValue?: unknown;
67
- totalItems?: unknown;
68
- showPageSize?: unknown;
69
- itemsPerPage?: unknown;
70
- forceEllipses?: unknown;
71
- } & {
72
- modelValue: number;
73
- mode: PaginationMode;
74
- pageCount: string | number;
75
- totalItems: string | number;
76
- showPageSize: string | number;
77
- itemsPerPage: string | number;
78
- forceEllipses: boolean;
79
- } & {
80
- prevText?: string | undefined;
81
- nextText?: string | undefined;
82
- }> & {
61
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
62
+ mode: {
63
+ type: import("vue").PropType<PaginationMode>;
64
+ default: PaginationMode;
65
+ };
66
+ prevText: StringConstructor;
67
+ nextText: StringConstructor;
68
+ pageCount: {
69
+ type: (NumberConstructor | StringConstructor)[];
70
+ default: number;
71
+ };
72
+ modelValue: {
73
+ type: NumberConstructor;
74
+ default: number;
75
+ };
76
+ totalItems: {
77
+ type: (NumberConstructor | StringConstructor)[];
78
+ default: number;
79
+ };
80
+ showPageSize: {
81
+ type: (NumberConstructor | StringConstructor)[];
82
+ default: number;
83
+ };
84
+ itemsPerPage: {
85
+ type: (NumberConstructor | StringConstructor)[];
86
+ default: number;
87
+ };
88
+ forceEllipses: BooleanConstructor;
89
+ }>> & {
83
90
  onChange?: ((...args: any[]) => any) | undefined;
84
91
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
85
92
  }, {
@@ -1 +1 @@
1
- :root{--van-pagination-height:40px;--van-pagination-font-size:var(--van-font-size-md);--van-pagination-item-width:36px;--van-pagination-item-default-color:var(--van-primary-color);--van-pagination-item-disabled-color:var(--van-gray-7);--van-pagination-item-disabled-background-color:var(--van-background-color);--van-pagination-background-color:var(--van-background-color-light);--van-pagination-desc-color:var(--van-gray-7);--van-pagination-disabled-opacity:var(--van-disabled-opacity)}.van-pagination{font-size:var(--van-pagination-font-size)}.van-pagination__items{display:flex}.van-pagination__item,.van-pagination__page-desc{display:flex;align-items:center;justify-content:center}.van-pagination__item{flex:1;box-sizing:border-box;min-width:var(--van-pagination-item-width);height:var(--van-pagination-height);color:var(--van-pagination-item-default-color);background:var(--van-pagination-background-color);cursor:pointer;-webkit-user-select:none;user-select:none}.van-pagination__item button{flex:1;height:100%;border:none;padding:0;background:0 0}.van-pagination__item button[disabled]{cursor:not-allowed}.van-pagination__item:active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item:not(:last-child)::after{border-right-width:0}.van-pagination__item--active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item--page{flex-grow:0}.van-pagination__item--next,.van-pagination__item--prev{padding:0 var(--van-padding-base);cursor:pointer}.van-pagination__item--border::after{border-width:var(--van-border-width-base)}.van-pagination__item--disabled{color:var(--van-pagination-item-disabled-color);background-color:var(--van-pagination-item-disabled-background-color);opacity:var(--van-pagination-disabled-opacity)}.van-pagination__page-desc{flex:1;height:var(--van-pagination-height);color:var(--van-pagination-desc-color)}
1
+ :root{--van-pagination-height: 40px;--van-pagination-font-size: var(--van-font-size-md);--van-pagination-item-width: 36px;--van-pagination-item-default-color: var(--van-primary-color);--van-pagination-item-disabled-color: var(--van-gray-7);--van-pagination-item-disabled-background-color: var(--van-background-color);--van-pagination-background-color: var(--van-background-color-light);--van-pagination-desc-color: var(--van-gray-7);--van-pagination-disabled-opacity: var(--van-disabled-opacity)}.van-pagination{font-size:var(--van-pagination-font-size)}.van-pagination__items{display:flex}.van-pagination__item,.van-pagination__page-desc{display:flex;align-items:center;justify-content:center}.van-pagination__item{flex:1;box-sizing:border-box;min-width:var(--van-pagination-item-width);height:var(--van-pagination-height);color:var(--van-pagination-item-default-color);background:var(--van-pagination-background-color);cursor:pointer;-webkit-user-select:none;user-select:none}.van-pagination__item button{flex:1;height:100%;border:none;padding:0;background:transparent}.van-pagination__item button[disabled]{cursor:not-allowed}.van-pagination__item:active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item:not(:last-child):after{border-right-width:0}.van-pagination__item--active{color:var(--van-white);background-color:var(--van-pagination-item-default-color)}.van-pagination__item--page{flex-grow:0}.van-pagination__item--prev,.van-pagination__item--next{padding:0 var(--van-padding-base);cursor:pointer}.van-pagination__item--border:after{border-width:var(--van-border-width-base)}.van-pagination__item--disabled{color:var(--van-pagination-item-disabled-color);background-color:var(--van-pagination-item-disabled-background-color);opacity:var(--van-pagination-disabled-opacity)}.van-pagination__page-desc{flex:1;height:var(--van-pagination-height);color:var(--van-pagination-desc-color)}
@@ -26,28 +26,35 @@ export declare const Pagination: import("../utils").WithInstall<import("vue").De
26
26
  default: number;
27
27
  };
28
28
  forceEllipses: BooleanConstructor;
29
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
30
- mode?: unknown;
31
- prevText?: unknown;
32
- nextText?: unknown;
33
- pageCount?: unknown;
34
- modelValue?: unknown;
35
- totalItems?: unknown;
36
- showPageSize?: unknown;
37
- itemsPerPage?: unknown;
38
- forceEllipses?: unknown;
39
- } & {
40
- modelValue: number;
41
- mode: import("./Pagination").PaginationMode;
42
- pageCount: string | number;
43
- totalItems: string | number;
44
- showPageSize: string | number;
45
- itemsPerPage: string | number;
46
- forceEllipses: boolean;
47
- } & {
48
- prevText?: string | undefined;
49
- nextText?: string | undefined;
50
- }> & {
29
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
+ mode: {
31
+ type: import("vue").PropType<import("./Pagination").PaginationMode>;
32
+ default: import("./Pagination").PaginationMode;
33
+ };
34
+ prevText: StringConstructor;
35
+ nextText: StringConstructor;
36
+ pageCount: {
37
+ type: (NumberConstructor | StringConstructor)[];
38
+ default: number;
39
+ };
40
+ modelValue: {
41
+ type: NumberConstructor;
42
+ default: number;
43
+ };
44
+ totalItems: {
45
+ type: (NumberConstructor | StringConstructor)[];
46
+ default: number;
47
+ };
48
+ showPageSize: {
49
+ type: (NumberConstructor | StringConstructor)[];
50
+ default: number;
51
+ };
52
+ itemsPerPage: {
53
+ type: (NumberConstructor | StringConstructor)[];
54
+ default: number;
55
+ };
56
+ forceEllipses: BooleanConstructor;
57
+ }>> & {
51
58
  onChange?: ((...args: any[]) => any) | undefined;
52
59
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
60
  }, {
@@ -35,24 +35,24 @@ declare const _default: import("vue").DefineComponent<{
35
35
  };
36
36
  focused: BooleanConstructor;
37
37
  errorInfo: StringConstructor;
38
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
39
- info?: unknown;
40
- mask?: unknown;
41
- value?: unknown;
42
- gutter?: unknown;
43
- length?: unknown;
44
- focused?: unknown;
45
- errorInfo?: unknown;
46
- } & {
47
- length: string | number;
48
- mask: boolean;
49
- value: string;
50
- focused: boolean;
51
- } & {
52
- gutter?: string | number | undefined;
53
- info?: string | undefined;
54
- errorInfo?: string | undefined;
55
- }> & {
38
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
39
+ info: StringConstructor;
40
+ mask: {
41
+ type: BooleanConstructor;
42
+ default: true;
43
+ };
44
+ value: {
45
+ type: import("vue").PropType<string>;
46
+ default: string;
47
+ };
48
+ gutter: (NumberConstructor | StringConstructor)[];
49
+ length: {
50
+ type: (NumberConstructor | StringConstructor)[];
51
+ default: number;
52
+ };
53
+ focused: BooleanConstructor;
54
+ errorInfo: StringConstructor;
55
+ }>> & {
56
56
  onFocus?: ((...args: any[]) => any) | undefined;
57
57
  }, {
58
58
  length: string | number;
@@ -1 +1 @@
1
- :root{--van-password-input-height:50px;--van-password-input-margin:0 var(--van-padding-md);--van-password-input-font-size:20px;--van-password-input-border-radius:6px;--van-password-input-background-color:var(--van-background-color-light);--van-password-input-info-color:var(--van-text-color-2);--van-password-input-info-font-size:var(--van-font-size-md);--van-password-input-error-info-color:var(--van-danger-color);--van-password-input-dot-size:10px;--van-password-input-dot-color:var(--van-text-color);--van-password-input-text-color:var(--van-text-color);--van-password-input-cursor-color:var(--van-text-color);--van-password-input-cursor-width:1px;--van-password-input-cursor-height:40%;--van-password-input-cursor-animation-duration:1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;user-select:none}.van-password-input__error-info,.van-password-input__info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security::after{border-radius:var(--van-password-input-border-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background:var(--van-password-input-background-color)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-animation-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{from{opacity:0}50%{opacity:1}100%{opacity:0}}
1
+ :root{--van-password-input-height: 50px;--van-password-input-margin: 0 var(--van-padding-md);--van-password-input-font-size: 20px;--van-password-input-border-radius: 6px;--van-password-input-background-color: var(--van-background-color-light);--van-password-input-info-color: var(--van-text-color-2);--van-password-input-info-font-size: var(--van-font-size-md);--van-password-input-error-info-color: var(--van-danger-color);--van-password-input-dot-size: 10px;--van-password-input-dot-color: var(--van-text-color);--van-password-input-text-color: var(--van-text-color);--van-password-input-cursor-color: var(--van-text-color);--van-password-input-cursor-width: 1px;--van-password-input-cursor-height: 40%;--van-password-input-cursor-animation-duration: 1s}.van-password-input{position:relative;margin:var(--van-password-input-margin);-webkit-user-select:none;user-select:none}.van-password-input__info,.van-password-input__error-info{margin-top:var(--van-padding-md);font-size:var(--van-password-input-info-font-size);text-align:center}.van-password-input__info{color:var(--van-password-input-info-color)}.van-password-input__error-info{color:var(--van-password-input-error-info-color)}.van-password-input__security{display:flex;width:100%;height:var(--van-password-input-height);cursor:pointer}.van-password-input__security:after{border-radius:var(--van-password-input-border-radius)}.van-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--van-password-input-text-color);font-size:var(--van-password-input-font-size);line-height:1.2;background:var(--van-password-input-background-color)}.van-password-input__security i{position:absolute;top:50%;left:50%;width:var(--van-password-input-dot-size);height:var(--van-password-input-dot-size);background:var(--van-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.van-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--van-password-input-cursor-width);height:var(--van-password-input-cursor-height);background:var(--van-password-input-cursor-color);transform:translate(-50%,-50%);animation:var(--van-password-input-cursor-animation-duration) van-cursor-flicker infinite}@keyframes van-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}
@@ -15,24 +15,24 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
15
15
  };
16
16
  focused: BooleanConstructor;
17
17
  errorInfo: StringConstructor;
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
19
- info?: unknown;
20
- mask?: unknown;
21
- value?: unknown;
22
- gutter?: unknown;
23
- length?: unknown;
24
- focused?: unknown;
25
- errorInfo?: unknown;
26
- } & {
27
- length: string | number;
28
- mask: boolean;
29
- value: string;
30
- focused: boolean;
31
- } & {
32
- gutter?: string | number | undefined;
33
- info?: string | undefined;
34
- errorInfo?: string | undefined;
35
- }> & {
18
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ info: StringConstructor;
20
+ mask: {
21
+ type: BooleanConstructor;
22
+ default: true;
23
+ };
24
+ value: {
25
+ type: import("vue").PropType<string>;
26
+ default: string;
27
+ };
28
+ gutter: (NumberConstructor | StringConstructor)[];
29
+ length: {
30
+ type: (NumberConstructor | StringConstructor)[];
31
+ default: number;
32
+ };
33
+ focused: BooleanConstructor;
34
+ errorInfo: StringConstructor;
35
+ }>> & {
36
36
  onFocus?: ((...args: any[]) => any) | undefined;
37
37
  }, {
38
38
  length: string | number;