vant 4.0.0-beta.1 → 4.0.0-rc.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 (922) hide show
  1. package/changelog.generated.md +24 -268
  2. package/es/action-bar/ActionBar.d.ts +2 -2
  3. package/es/action-bar/ActionBar.mjs +1 -0
  4. package/es/action-bar/index.css +1 -1
  5. package/es/action-bar/index.d.ts +2 -1
  6. package/es/action-bar/index.mjs +2 -0
  7. package/es/action-bar-button/ActionBarButton.d.ts +2 -2
  8. package/es/action-bar-button/ActionBarButton.mjs +1 -0
  9. package/es/action-bar-button/index.css +1 -1
  10. package/es/action-bar-button/index.d.ts +2 -1
  11. package/es/action-bar-button/index.mjs +2 -0
  12. package/es/action-bar-icon/ActionBarIcon.d.ts +2 -2
  13. package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
  14. package/es/action-bar-icon/index.css +1 -1
  15. package/es/action-bar-icon/index.d.ts +2 -1
  16. package/es/action-bar-icon/index.mjs +2 -0
  17. package/es/action-sheet/ActionSheet.d.ts +1 -1
  18. package/es/action-sheet/ActionSheet.mjs +1 -0
  19. package/es/action-sheet/index.css +1 -1
  20. package/es/action-sheet/index.d.ts +1 -0
  21. package/es/action-sheet/index.mjs +2 -0
  22. package/es/address-edit/AddressEdit.d.ts +1 -1
  23. package/es/address-edit/AddressEdit.mjs +1 -0
  24. package/es/address-edit/index.css +1 -1
  25. package/es/address-edit/index.d.ts +1 -0
  26. package/es/address-edit/index.mjs +2 -0
  27. package/es/address-edit/style/index.mjs +7 -1
  28. package/es/address-list/AddressList.d.ts +1 -1
  29. package/es/address-list/AddressList.mjs +1 -0
  30. package/es/address-list/index.css +1 -1
  31. package/es/address-list/index.d.ts +1 -0
  32. package/es/address-list/index.mjs +2 -0
  33. package/es/area/Area.d.ts +7 -4
  34. package/es/area/Area.mjs +1 -0
  35. package/es/area/index.d.ts +5 -2
  36. package/es/area/index.mjs +2 -0
  37. package/es/area/style/index.mjs +7 -0
  38. package/es/area/utils.mjs +9 -2
  39. package/es/badge/Badge.d.ts +2 -2
  40. package/es/badge/Badge.mjs +1 -0
  41. package/es/badge/index.css +1 -1
  42. package/es/badge/index.d.ts +2 -1
  43. package/es/badge/index.mjs +2 -0
  44. package/es/button/Button.d.ts +1 -1
  45. package/es/button/Button.mjs +1 -0
  46. package/es/button/index.css +1 -1
  47. package/es/button/index.d.ts +1 -0
  48. package/es/button/index.mjs +2 -0
  49. package/es/calendar/Calendar.d.ts +1 -1
  50. package/es/calendar/Calendar.mjs +5 -3
  51. package/es/calendar/index.css +1 -1
  52. package/es/calendar/index.d.ts +1 -0
  53. package/es/calendar/index.mjs +2 -0
  54. package/es/calendar/style/index.mjs +7 -1
  55. package/es/card/Card.d.ts +1 -1
  56. package/es/card/Card.mjs +1 -0
  57. package/es/card/index.css +1 -1
  58. package/es/card/index.d.ts +1 -0
  59. package/es/card/index.mjs +2 -0
  60. package/es/cascader/Cascader.d.ts +1 -1
  61. package/es/cascader/Cascader.mjs +1 -0
  62. package/es/cascader/index.css +1 -1
  63. package/es/cascader/index.d.ts +1 -0
  64. package/es/cascader/index.mjs +2 -0
  65. package/es/cell/Cell.d.ts +2 -2
  66. package/es/cell/Cell.mjs +1 -0
  67. package/es/cell/index.css +1 -1
  68. package/es/cell/index.d.ts +2 -1
  69. package/es/cell/index.mjs +2 -0
  70. package/es/cell-group/CellGroup.d.ts +2 -2
  71. package/es/cell-group/CellGroup.mjs +1 -0
  72. package/es/cell-group/index.css +1 -1
  73. package/es/cell-group/index.d.ts +2 -1
  74. package/es/cell-group/index.mjs +2 -0
  75. package/es/checkbox/Checkbox.d.ts +1 -1
  76. package/es/checkbox/Checkbox.mjs +1 -0
  77. package/es/checkbox/index.css +1 -1
  78. package/es/checkbox/index.d.ts +1 -0
  79. package/es/checkbox/index.mjs +2 -0
  80. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  81. package/es/checkbox-group/CheckboxGroup.mjs +1 -0
  82. package/es/checkbox-group/index.d.ts +1 -0
  83. package/es/checkbox-group/index.mjs +2 -0
  84. package/es/circle/Circle.d.ts +1 -1
  85. package/es/circle/Circle.mjs +1 -0
  86. package/es/circle/index.css +1 -1
  87. package/es/circle/index.d.ts +1 -0
  88. package/es/circle/index.mjs +2 -0
  89. package/es/col/Col.d.ts +2 -2
  90. package/es/col/Col.mjs +1 -0
  91. package/es/col/index.d.ts +2 -1
  92. package/es/col/index.mjs +2 -0
  93. package/es/collapse/Collapse.d.ts +1 -1
  94. package/es/collapse/Collapse.mjs +1 -0
  95. package/es/collapse/index.d.ts +1 -0
  96. package/es/collapse/index.mjs +2 -0
  97. package/es/collapse-item/CollapseItem.d.ts +2 -2
  98. package/es/collapse-item/CollapseItem.mjs +1 -0
  99. package/es/collapse-item/index.css +1 -1
  100. package/es/collapse-item/index.d.ts +2 -1
  101. package/es/collapse-item/index.mjs +2 -0
  102. package/es/composables/use-lazy-render.mjs +9 -5
  103. package/es/composables/use-lock-scroll.mjs +4 -1
  104. package/es/composables/use-visibility-change.mjs +6 -3
  105. package/es/config-provider/ConfigProvider.d.ts +2 -2
  106. package/es/config-provider/ConfigProvider.mjs +3 -2
  107. package/es/config-provider/index.d.ts +2 -1
  108. package/es/config-provider/index.mjs +2 -0
  109. package/es/contact-card/ContactCard.d.ts +1 -1
  110. package/es/contact-card/ContactCard.mjs +1 -0
  111. package/es/contact-card/index.css +1 -1
  112. package/es/contact-card/index.d.ts +1 -0
  113. package/es/contact-card/index.mjs +2 -0
  114. package/es/contact-edit/ContactEdit.d.ts +1 -1
  115. package/es/contact-edit/ContactEdit.mjs +1 -0
  116. package/es/contact-edit/index.css +1 -1
  117. package/es/contact-edit/index.d.ts +1 -0
  118. package/es/contact-edit/index.mjs +2 -0
  119. package/es/contact-list/ContactList.d.ts +1 -1
  120. package/es/contact-list/ContactList.mjs +1 -0
  121. package/es/contact-list/index.css +1 -1
  122. package/es/contact-list/index.d.ts +1 -0
  123. package/es/contact-list/index.mjs +2 -0
  124. package/es/count-down/CountDown.d.ts +1 -1
  125. package/es/count-down/CountDown.mjs +1 -0
  126. package/es/count-down/index.css +1 -1
  127. package/es/count-down/index.d.ts +1 -0
  128. package/es/count-down/index.mjs +2 -0
  129. package/es/coupon/Coupon.d.ts +1 -1
  130. package/es/coupon/index.css +1 -1
  131. package/es/coupon/index.d.ts +1 -1
  132. package/es/coupon/utils.mjs +3 -1
  133. package/es/coupon-cell/CouponCell.d.ts +2 -2
  134. package/es/coupon-cell/CouponCell.mjs +1 -0
  135. package/es/coupon-cell/index.css +1 -1
  136. package/es/coupon-cell/index.d.ts +2 -1
  137. package/es/coupon-cell/index.mjs +2 -0
  138. package/es/coupon-list/CouponList.d.ts +1 -1
  139. package/es/coupon-list/CouponList.mjs +1 -0
  140. package/es/coupon-list/index.css +1 -1
  141. package/es/coupon-list/index.d.ts +1 -0
  142. package/es/coupon-list/index.mjs +2 -0
  143. package/es/coupon-list/style/index.mjs +3 -3
  144. package/es/date-picker/DatePicker.d.ts +7 -4
  145. package/es/date-picker/DatePicker.mjs +11 -10
  146. package/es/date-picker/index.d.ts +5 -2
  147. package/es/date-picker/index.mjs +2 -0
  148. package/es/date-picker/style/index.mjs +7 -0
  149. package/es/date-picker/utils.d.ts +2 -1
  150. package/es/dialog/Dialog.d.ts +1 -1
  151. package/es/dialog/Dialog.mjs +2 -1
  152. package/es/dialog/index.css +1 -1
  153. package/es/dialog/index.d.ts +1 -0
  154. package/es/dialog/index.mjs +2 -0
  155. package/es/dialog/types.d.ts +1 -1
  156. package/es/divider/Divider.d.ts +2 -2
  157. package/es/divider/Divider.mjs +2 -1
  158. package/es/divider/index.css +1 -1
  159. package/es/divider/index.d.ts +2 -1
  160. package/es/divider/index.mjs +3 -1
  161. package/es/dropdown-item/DropdownItem.d.ts +3 -3
  162. package/es/dropdown-item/DropdownItem.mjs +2 -1
  163. package/es/dropdown-item/index.css +1 -1
  164. package/es/dropdown-item/index.d.ts +3 -2
  165. package/es/dropdown-item/index.mjs +3 -1
  166. package/es/dropdown-menu/DropdownMenu.d.ts +2 -2
  167. package/es/dropdown-menu/DropdownMenu.mjs +2 -1
  168. package/es/dropdown-menu/index.css +1 -1
  169. package/es/dropdown-menu/index.d.ts +2 -1
  170. package/es/dropdown-menu/index.mjs +3 -1
  171. package/es/empty/Empty.d.ts +2 -2
  172. package/es/empty/Empty.mjs +2 -1
  173. package/es/empty/index.css +1 -1
  174. package/es/empty/index.d.ts +2 -1
  175. package/es/empty/index.mjs +3 -1
  176. package/es/field/Field.d.ts +1 -1
  177. package/es/field/Field.mjs +11 -3
  178. package/es/field/index.css +1 -1
  179. package/es/field/index.d.ts +1 -0
  180. package/es/field/index.mjs +3 -1
  181. package/es/form/Form.d.ts +1 -1
  182. package/es/form/Form.mjs +2 -1
  183. package/es/form/index.d.ts +1 -0
  184. package/es/form/index.mjs +3 -1
  185. package/es/grid/Grid.d.ts +2 -2
  186. package/es/grid/Grid.mjs +2 -1
  187. package/es/grid/index.d.ts +2 -1
  188. package/es/grid/index.mjs +3 -1
  189. package/es/grid-item/GridItem.d.ts +2 -2
  190. package/es/grid-item/GridItem.mjs +2 -1
  191. package/es/grid-item/index.css +1 -1
  192. package/es/grid-item/index.d.ts +2 -1
  193. package/es/grid-item/index.mjs +3 -1
  194. package/es/icon/Icon.d.ts +2 -2
  195. package/es/icon/Icon.mjs +2 -1
  196. package/es/icon/index.d.ts +2 -1
  197. package/es/icon/index.mjs +3 -1
  198. package/es/image/Image.d.ts +5 -1
  199. package/es/image/Image.mjs +5 -2
  200. package/es/image/index.css +1 -1
  201. package/es/image/index.d.ts +4 -0
  202. package/es/image/index.mjs +3 -1
  203. package/es/image-preview/ImagePreview.d.ts +1 -1
  204. package/es/image-preview/ImagePreview.mjs +2 -1
  205. package/es/image-preview/ImagePreviewItem.mjs +10 -2
  206. package/es/image-preview/index.css +1 -1
  207. package/es/image-preview/index.d.ts +1 -0
  208. package/es/image-preview/index.mjs +2 -0
  209. package/es/index-anchor/IndexAnchor.d.ts +2 -2
  210. package/es/index-anchor/IndexAnchor.mjs +2 -1
  211. package/es/index-anchor/index.css +1 -1
  212. package/es/index-anchor/index.d.ts +2 -1
  213. package/es/index-anchor/index.mjs +3 -1
  214. package/es/index-bar/IndexBar.d.ts +1 -1
  215. package/es/index-bar/IndexBar.mjs +9 -4
  216. package/es/index-bar/index.css +1 -1
  217. package/es/index-bar/index.d.ts +1 -0
  218. package/es/index-bar/index.mjs +3 -1
  219. package/es/index.d.ts +2 -1
  220. package/es/index.mjs +4 -1
  221. package/es/lazyload/vue-lazyload/lazy-component.mjs +4 -1
  222. package/es/lazyload/vue-lazyload/lazy-container.mjs +11 -7
  223. package/es/lazyload/vue-lazyload/lazy-image.mjs +24 -14
  224. package/es/lazyload/vue-lazyload/lazy.mjs +11 -3
  225. package/es/lazyload/vue-lazyload/listener.mjs +45 -33
  226. package/es/lazyload/vue-lazyload/util.mjs +4 -1
  227. package/es/list/List.d.ts +1 -1
  228. package/es/list/List.mjs +2 -1
  229. package/es/list/index.css +1 -1
  230. package/es/list/index.d.ts +1 -0
  231. package/es/list/index.mjs +3 -1
  232. package/es/loading/Loading.d.ts +2 -2
  233. package/es/loading/Loading.mjs +2 -1
  234. package/es/loading/index.css +1 -1
  235. package/es/loading/index.d.ts +2 -1
  236. package/es/loading/index.mjs +3 -1
  237. package/es/nav-bar/NavBar.d.ts +1 -1
  238. package/es/nav-bar/NavBar.mjs +2 -1
  239. package/es/nav-bar/index.css +1 -1
  240. package/es/nav-bar/index.d.ts +1 -0
  241. package/es/nav-bar/index.mjs +3 -1
  242. package/es/notice-bar/NoticeBar.d.ts +1 -1
  243. package/es/notice-bar/NoticeBar.mjs +2 -1
  244. package/es/notice-bar/index.css +1 -1
  245. package/es/notice-bar/index.d.ts +1 -0
  246. package/es/notice-bar/index.mjs +3 -1
  247. package/es/notify/Notify.d.ts +1 -1
  248. package/es/notify/Notify.mjs +2 -1
  249. package/es/notify/index.css +1 -1
  250. package/es/notify/index.d.ts +1 -0
  251. package/es/notify/index.mjs +2 -0
  252. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  253. package/es/number-keyboard/NumberKeyboard.mjs +2 -1
  254. package/es/number-keyboard/index.css +1 -1
  255. package/es/number-keyboard/index.d.ts +2 -1
  256. package/es/number-keyboard/index.mjs +3 -1
  257. package/es/overlay/Overlay.d.ts +2 -2
  258. package/es/overlay/Overlay.mjs +15 -7
  259. package/es/overlay/index.css +1 -1
  260. package/es/overlay/index.d.ts +2 -1
  261. package/es/overlay/index.mjs +3 -1
  262. package/es/pagination/Pagination.d.ts +1 -1
  263. package/es/pagination/Pagination.mjs +2 -1
  264. package/es/pagination/index.css +1 -1
  265. package/es/pagination/index.d.ts +1 -0
  266. package/es/pagination/index.mjs +3 -1
  267. package/es/password-input/PasswordInput.d.ts +1 -1
  268. package/es/password-input/PasswordInput.mjs +2 -1
  269. package/es/password-input/index.css +1 -1
  270. package/es/password-input/index.d.ts +1 -0
  271. package/es/password-input/index.mjs +3 -1
  272. package/es/picker/Picker.d.ts +9 -5
  273. package/es/picker/Picker.mjs +47 -68
  274. package/es/picker/PickerColumn.mjs +6 -2
  275. package/es/picker/PickerToolbar.d.ts +21 -0
  276. package/es/picker/PickerToolbar.mjs +59 -0
  277. package/es/picker/index.css +1 -1
  278. package/es/picker/index.d.ts +5 -2
  279. package/es/picker/index.mjs +3 -1
  280. package/es/picker/style/index.mjs +7 -0
  281. package/es/picker/utils.d.ts +2 -0
  282. package/es/picker/utils.mjs +14 -7
  283. package/es/picker-group/PickerGroup.d.ts +39 -0
  284. package/es/picker-group/PickerGroup.mjs +57 -0
  285. package/es/picker-group/index.css +1 -0
  286. package/es/picker-group/index.d.ts +33 -0
  287. package/es/picker-group/index.mjs +10 -0
  288. package/es/picker-group/style/index.d.ts +1 -0
  289. package/es/picker-group/style/index.mjs +9 -0
  290. package/es/popover/Popover.d.ts +1 -1
  291. package/es/popover/Popover.mjs +2 -1
  292. package/es/popover/index.css +1 -1
  293. package/es/popover/index.d.ts +1 -0
  294. package/es/popover/index.mjs +3 -1
  295. package/es/popup/Popup.d.ts +3 -3
  296. package/es/popup/Popup.mjs +2 -1
  297. package/es/popup/index.css +1 -1
  298. package/es/popup/index.d.ts +3 -2
  299. package/es/popup/index.mjs +3 -1
  300. package/es/popup/shared.mjs +3 -1
  301. package/es/progress/Progress.d.ts +2 -2
  302. package/es/progress/Progress.mjs +2 -1
  303. package/es/progress/index.css +1 -1
  304. package/es/progress/index.d.ts +2 -1
  305. package/es/progress/index.mjs +3 -1
  306. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  307. package/es/pull-refresh/PullRefresh.mjs +2 -1
  308. package/es/pull-refresh/index.css +1 -1
  309. package/es/pull-refresh/index.d.ts +1 -0
  310. package/es/pull-refresh/index.mjs +3 -1
  311. package/es/radio/Radio.d.ts +15 -2
  312. package/es/radio/Radio.mjs +3 -1
  313. package/es/radio/index.css +1 -1
  314. package/es/radio/index.d.ts +1 -0
  315. package/es/radio/index.mjs +3 -1
  316. package/es/radio-group/RadioGroup.d.ts +1 -1
  317. package/es/radio-group/RadioGroup.mjs +2 -1
  318. package/es/radio-group/index.d.ts +1 -0
  319. package/es/radio-group/index.mjs +3 -1
  320. package/es/rate/Rate.d.ts +1 -1
  321. package/es/rate/Rate.mjs +7 -4
  322. package/es/rate/index.css +1 -1
  323. package/es/rate/index.d.ts +1 -0
  324. package/es/rate/index.mjs +3 -1
  325. package/es/row/Row.d.ts +2 -2
  326. package/es/row/Row.mjs +2 -1
  327. package/es/row/index.d.ts +2 -1
  328. package/es/row/index.mjs +3 -1
  329. package/es/search/Search.d.ts +1 -1
  330. package/es/search/Search.mjs +2 -1
  331. package/es/search/index.css +1 -1
  332. package/es/search/index.d.ts +1 -0
  333. package/es/search/index.mjs +3 -1
  334. package/es/share-sheet/ShareSheet.d.ts +1 -1
  335. package/es/share-sheet/ShareSheet.mjs +2 -1
  336. package/es/share-sheet/index.css +1 -1
  337. package/es/share-sheet/index.d.ts +1 -0
  338. package/es/share-sheet/index.mjs +3 -1
  339. package/es/sidebar/Sidebar.d.ts +1 -1
  340. package/es/sidebar/Sidebar.mjs +2 -1
  341. package/es/sidebar/index.css +1 -1
  342. package/es/sidebar/index.d.ts +1 -0
  343. package/es/sidebar/index.mjs +3 -1
  344. package/es/sidebar-item/SidebarItem.d.ts +1 -1
  345. package/es/sidebar-item/SidebarItem.mjs +2 -1
  346. package/es/sidebar-item/index.css +1 -1
  347. package/es/sidebar-item/index.d.ts +1 -0
  348. package/es/sidebar-item/index.mjs +3 -1
  349. package/es/skeleton/Skeleton.d.ts +2 -2
  350. package/es/skeleton/Skeleton.mjs +2 -1
  351. package/es/skeleton/index.css +1 -1
  352. package/es/skeleton/index.d.ts +2 -1
  353. package/es/skeleton/index.mjs +3 -1
  354. package/es/slider/Slider.d.ts +1 -1
  355. package/es/slider/Slider.mjs +8 -3
  356. package/es/slider/index.css +1 -1
  357. package/es/slider/index.d.ts +1 -0
  358. package/es/slider/index.mjs +3 -1
  359. package/es/space/Space.d.ts +2 -2
  360. package/es/space/Space.mjs +2 -1
  361. package/es/space/index.d.ts +2 -1
  362. package/es/space/index.mjs +3 -1
  363. package/es/step/Step.d.ts +1 -1
  364. package/es/step/index.css +1 -1
  365. package/es/step/index.d.ts +1 -1
  366. package/es/stepper/Stepper.d.ts +1 -1
  367. package/es/stepper/Stepper.mjs +2 -1
  368. package/es/stepper/index.css +1 -1
  369. package/es/stepper/index.d.ts +1 -0
  370. package/es/stepper/index.mjs +3 -1
  371. package/es/steps/Steps.d.ts +1 -1
  372. package/es/steps/Steps.mjs +2 -1
  373. package/es/steps/index.css +1 -1
  374. package/es/steps/index.d.ts +1 -0
  375. package/es/steps/index.mjs +3 -1
  376. package/es/sticky/Sticky.d.ts +1 -1
  377. package/es/sticky/Sticky.mjs +2 -1
  378. package/es/sticky/index.css +1 -1
  379. package/es/sticky/index.d.ts +1 -0
  380. package/es/sticky/index.mjs +3 -1
  381. package/es/style/base.css +1 -1
  382. package/es/style/css-variables.css +1 -1
  383. package/es/style/normalize.css +1 -1
  384. package/es/submit-bar/SubmitBar.d.ts +1 -1
  385. package/es/submit-bar/SubmitBar.mjs +2 -1
  386. package/es/submit-bar/index.css +1 -1
  387. package/es/submit-bar/index.d.ts +1 -0
  388. package/es/submit-bar/index.mjs +3 -1
  389. package/es/swipe/Swipe.d.ts +1 -1
  390. package/es/swipe/Swipe.mjs +15 -7
  391. package/es/swipe/index.css +1 -1
  392. package/es/swipe/index.d.ts +1 -0
  393. package/es/swipe/index.mjs +3 -1
  394. package/es/swipe-cell/SwipeCell.d.ts +3 -3
  395. package/es/swipe-cell/SwipeCell.mjs +6 -3
  396. package/es/swipe-cell/index.d.ts +3 -2
  397. package/es/swipe-cell/index.mjs +3 -1
  398. package/es/swipe-item/SwipeItem.d.ts +1 -1
  399. package/es/swipe-item/index.d.ts +1 -1
  400. package/es/switch/Switch.d.ts +1 -1
  401. package/es/switch/Switch.mjs +2 -1
  402. package/es/switch/index.css +1 -1
  403. package/es/switch/index.d.ts +1 -0
  404. package/es/switch/index.mjs +3 -1
  405. package/es/tab/Tab.d.ts +2 -2
  406. package/es/tab/Tab.mjs +2 -1
  407. package/es/tab/index.d.ts +2 -1
  408. package/es/tab/index.mjs +3 -1
  409. package/es/tabbar/Tabbar.d.ts +1 -1
  410. package/es/tabbar/Tabbar.mjs +2 -1
  411. package/es/tabbar/index.css +1 -1
  412. package/es/tabbar/index.d.ts +1 -0
  413. package/es/tabbar/index.mjs +3 -1
  414. package/es/tabbar-item/TabbarItem.d.ts +1 -1
  415. package/es/tabbar-item/TabbarItem.mjs +2 -1
  416. package/es/tabbar-item/index.css +1 -1
  417. package/es/tabbar-item/index.d.ts +1 -0
  418. package/es/tabbar-item/index.mjs +3 -1
  419. package/es/tabs/Tabs.d.ts +1 -1
  420. package/es/tabs/Tabs.mjs +2 -1
  421. package/es/tabs/TabsTitle.d.ts +1 -1
  422. package/es/tabs/index.css +1 -1
  423. package/es/tabs/index.d.ts +1 -0
  424. package/es/tabs/index.mjs +3 -1
  425. package/es/tag/Tag.d.ts +1 -1
  426. package/es/tag/Tag.mjs +2 -1
  427. package/es/tag/index.css +1 -1
  428. package/es/tag/index.d.ts +1 -0
  429. package/es/tag/index.mjs +3 -1
  430. package/es/time-picker/TimePicker.d.ts +7 -4
  431. package/es/time-picker/TimePicker.mjs +2 -1
  432. package/es/time-picker/index.d.ts +5 -2
  433. package/es/time-picker/index.mjs +3 -1
  434. package/es/time-picker/style/index.mjs +7 -0
  435. package/es/toast/Toast.d.ts +1 -1
  436. package/es/toast/Toast.mjs +9 -2
  437. package/es/toast/index.css +1 -1
  438. package/es/toast/index.d.ts +1 -0
  439. package/es/toast/index.mjs +3 -1
  440. package/es/tree-select/TreeSelect.d.ts +1 -1
  441. package/es/tree-select/TreeSelect.mjs +2 -1
  442. package/es/tree-select/index.css +1 -1
  443. package/es/tree-select/index.d.ts +1 -0
  444. package/es/tree-select/index.mjs +3 -1
  445. package/es/uploader/Uploader.d.ts +1 -1
  446. package/es/uploader/Uploader.mjs +2 -1
  447. package/es/uploader/index.css +1 -1
  448. package/es/uploader/index.d.ts +1 -0
  449. package/es/uploader/index.mjs +3 -1
  450. package/es/utils/basic.mjs +2 -1
  451. package/es/utils/create.mjs +8 -2
  452. package/es/utils/with-install.d.ts +2 -2
  453. package/es/utils/with-install.mjs +4 -2
  454. package/lib/action-bar/ActionBar.d.ts +2 -2
  455. package/lib/action-bar/ActionBar.js +1 -0
  456. package/lib/action-bar/index.css +1 -1
  457. package/lib/action-bar/index.d.ts +2 -1
  458. package/lib/action-bar/index.js +6 -1
  459. package/lib/action-bar-button/ActionBarButton.d.ts +2 -2
  460. package/lib/action-bar-button/ActionBarButton.js +1 -0
  461. package/lib/action-bar-button/index.css +1 -1
  462. package/lib/action-bar-button/index.d.ts +2 -1
  463. package/lib/action-bar-button/index.js +6 -1
  464. package/lib/action-bar-icon/ActionBarIcon.d.ts +2 -2
  465. package/lib/action-bar-icon/ActionBarIcon.js +1 -0
  466. package/lib/action-bar-icon/index.css +1 -1
  467. package/lib/action-bar-icon/index.d.ts +2 -1
  468. package/lib/action-bar-icon/index.js +6 -1
  469. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  470. package/lib/action-sheet/ActionSheet.js +1 -0
  471. package/lib/action-sheet/index.css +1 -1
  472. package/lib/action-sheet/index.d.ts +1 -0
  473. package/lib/action-sheet/index.js +6 -1
  474. package/lib/address-edit/AddressEdit.d.ts +1 -1
  475. package/lib/address-edit/AddressEdit.js +5 -1
  476. package/lib/address-edit/index.css +1 -1
  477. package/lib/address-edit/index.d.ts +1 -0
  478. package/lib/address-edit/index.js +6 -1
  479. package/lib/address-edit/style/index.js +7 -1
  480. package/lib/address-list/AddressList.d.ts +1 -1
  481. package/lib/address-list/AddressList.js +5 -1
  482. package/lib/address-list/index.css +1 -1
  483. package/lib/address-list/index.d.ts +1 -0
  484. package/lib/address-list/index.js +6 -1
  485. package/lib/area/Area.d.ts +7 -4
  486. package/lib/area/Area.js +1 -0
  487. package/lib/area/index.d.ts +5 -2
  488. package/lib/area/index.js +6 -1
  489. package/lib/area/style/index.js +7 -0
  490. package/lib/area/utils.js +9 -2
  491. package/lib/badge/Badge.d.ts +2 -2
  492. package/lib/badge/Badge.js +1 -0
  493. package/lib/badge/index.css +1 -1
  494. package/lib/badge/index.d.ts +2 -1
  495. package/lib/badge/index.js +6 -1
  496. package/lib/button/Button.d.ts +1 -1
  497. package/lib/button/Button.js +1 -0
  498. package/lib/button/index.css +1 -1
  499. package/lib/button/index.d.ts +1 -0
  500. package/lib/button/index.js +6 -1
  501. package/lib/calendar/Calendar.d.ts +1 -1
  502. package/lib/calendar/Calendar.js +9 -4
  503. package/lib/calendar/CalendarMonth.js +4 -1
  504. package/lib/calendar/index.css +1 -1
  505. package/lib/calendar/index.d.ts +1 -0
  506. package/lib/calendar/index.js +6 -1
  507. package/lib/calendar/style/index.js +7 -1
  508. package/lib/card/Card.d.ts +1 -1
  509. package/lib/card/Card.js +1 -0
  510. package/lib/card/index.css +1 -1
  511. package/lib/card/index.d.ts +1 -0
  512. package/lib/card/index.js +6 -1
  513. package/lib/cascader/Cascader.d.ts +1 -1
  514. package/lib/cascader/Cascader.js +1 -0
  515. package/lib/cascader/index.css +1 -1
  516. package/lib/cascader/index.d.ts +1 -0
  517. package/lib/cascader/index.js +6 -1
  518. package/lib/cell/Cell.d.ts +2 -2
  519. package/lib/cell/Cell.js +1 -0
  520. package/lib/cell/index.css +1 -1
  521. package/lib/cell/index.d.ts +2 -1
  522. package/lib/cell/index.js +6 -1
  523. package/lib/cell-group/CellGroup.d.ts +2 -2
  524. package/lib/cell-group/CellGroup.js +1 -0
  525. package/lib/cell-group/index.css +1 -1
  526. package/lib/cell-group/index.d.ts +2 -1
  527. package/lib/cell-group/index.js +6 -1
  528. package/lib/checkbox/Checkbox.d.ts +1 -1
  529. package/lib/checkbox/Checkbox.js +5 -1
  530. package/lib/checkbox/index.css +1 -1
  531. package/lib/checkbox/index.d.ts +1 -0
  532. package/lib/checkbox/index.js +6 -1
  533. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  534. package/lib/checkbox-group/CheckboxGroup.js +1 -0
  535. package/lib/checkbox-group/index.d.ts +1 -0
  536. package/lib/checkbox-group/index.js +6 -1
  537. package/lib/circle/Circle.d.ts +1 -1
  538. package/lib/circle/Circle.js +1 -0
  539. package/lib/circle/index.css +1 -1
  540. package/lib/circle/index.d.ts +1 -0
  541. package/lib/circle/index.js +6 -1
  542. package/lib/col/Col.d.ts +2 -2
  543. package/lib/col/Col.js +1 -0
  544. package/lib/col/index.d.ts +2 -1
  545. package/lib/col/index.js +6 -1
  546. package/lib/collapse/Collapse.d.ts +1 -1
  547. package/lib/collapse/Collapse.js +1 -0
  548. package/lib/collapse/index.d.ts +1 -0
  549. package/lib/collapse/index.js +6 -1
  550. package/lib/collapse-item/CollapseItem.d.ts +2 -2
  551. package/lib/collapse-item/CollapseItem.js +1 -0
  552. package/lib/collapse-item/index.css +1 -1
  553. package/lib/collapse-item/index.d.ts +2 -1
  554. package/lib/collapse-item/index.js +6 -1
  555. package/lib/composables/use-lazy-render.js +9 -5
  556. package/lib/composables/use-lock-scroll.js +4 -1
  557. package/lib/composables/use-visibility-change.js +6 -3
  558. package/lib/config-provider/ConfigProvider.d.ts +2 -2
  559. package/lib/config-provider/ConfigProvider.js +3 -2
  560. package/lib/config-provider/index.d.ts +2 -1
  561. package/lib/config-provider/index.js +6 -1
  562. package/lib/contact-card/ContactCard.d.ts +1 -1
  563. package/lib/contact-card/ContactCard.js +1 -0
  564. package/lib/contact-card/index.css +1 -1
  565. package/lib/contact-card/index.d.ts +1 -0
  566. package/lib/contact-card/index.js +6 -1
  567. package/lib/contact-edit/ContactEdit.d.ts +1 -1
  568. package/lib/contact-edit/ContactEdit.js +1 -0
  569. package/lib/contact-edit/index.css +1 -1
  570. package/lib/contact-edit/index.d.ts +1 -0
  571. package/lib/contact-edit/index.js +6 -1
  572. package/lib/contact-list/ContactList.d.ts +1 -1
  573. package/lib/contact-list/ContactList.js +1 -0
  574. package/lib/contact-list/index.css +1 -1
  575. package/lib/contact-list/index.d.ts +1 -0
  576. package/lib/contact-list/index.js +6 -1
  577. package/lib/count-down/CountDown.d.ts +1 -1
  578. package/lib/count-down/CountDown.js +1 -0
  579. package/lib/count-down/index.css +1 -1
  580. package/lib/count-down/index.d.ts +1 -0
  581. package/lib/count-down/index.js +6 -1
  582. package/lib/coupon/Coupon.d.ts +1 -1
  583. package/lib/coupon/index.css +1 -1
  584. package/lib/coupon/index.d.ts +1 -1
  585. package/lib/coupon/index.js +4 -1
  586. package/lib/coupon/utils.js +3 -1
  587. package/lib/coupon-cell/CouponCell.d.ts +2 -2
  588. package/lib/coupon-cell/CouponCell.js +1 -0
  589. package/lib/coupon-cell/index.css +1 -1
  590. package/lib/coupon-cell/index.d.ts +2 -1
  591. package/lib/coupon-cell/index.js +6 -1
  592. package/lib/coupon-list/CouponList.d.ts +1 -1
  593. package/lib/coupon-list/CouponList.js +1 -0
  594. package/lib/coupon-list/index.css +1 -1
  595. package/lib/coupon-list/index.d.ts +1 -0
  596. package/lib/coupon-list/index.js +6 -1
  597. package/lib/coupon-list/style/index.js +3 -3
  598. package/lib/date-picker/DatePicker.d.ts +7 -4
  599. package/lib/date-picker/DatePicker.js +11 -10
  600. package/lib/date-picker/index.d.ts +5 -2
  601. package/lib/date-picker/index.js +6 -1
  602. package/lib/date-picker/style/index.js +7 -0
  603. package/lib/date-picker/utils.d.ts +2 -1
  604. package/lib/dialog/Dialog.d.ts +1 -1
  605. package/lib/dialog/Dialog.js +2 -1
  606. package/lib/dialog/function-call.js +4 -1
  607. package/lib/dialog/index.css +1 -1
  608. package/lib/dialog/index.d.ts +1 -0
  609. package/lib/dialog/index.js +6 -1
  610. package/lib/dialog/types.d.ts +1 -1
  611. package/lib/divider/Divider.d.ts +2 -2
  612. package/lib/divider/Divider.js +2 -1
  613. package/lib/divider/index.css +1 -1
  614. package/lib/divider/index.d.ts +2 -1
  615. package/lib/divider/index.js +7 -2
  616. package/lib/dropdown-item/DropdownItem.d.ts +3 -3
  617. package/lib/dropdown-item/DropdownItem.js +2 -1
  618. package/lib/dropdown-item/index.css +1 -1
  619. package/lib/dropdown-item/index.d.ts +3 -2
  620. package/lib/dropdown-item/index.js +7 -2
  621. package/lib/dropdown-menu/DropdownMenu.d.ts +2 -2
  622. package/lib/dropdown-menu/DropdownMenu.js +2 -1
  623. package/lib/dropdown-menu/index.css +1 -1
  624. package/lib/dropdown-menu/index.d.ts +2 -1
  625. package/lib/dropdown-menu/index.js +7 -2
  626. package/lib/empty/Empty.d.ts +2 -2
  627. package/lib/empty/Empty.js +2 -1
  628. package/lib/empty/index.css +1 -1
  629. package/lib/empty/index.d.ts +2 -1
  630. package/lib/empty/index.js +7 -2
  631. package/lib/field/Field.d.ts +1 -1
  632. package/lib/field/Field.js +10 -2
  633. package/lib/field/index.css +1 -1
  634. package/lib/field/index.d.ts +1 -0
  635. package/lib/field/index.js +7 -2
  636. package/lib/form/Form.d.ts +1 -1
  637. package/lib/form/Form.js +2 -1
  638. package/lib/form/index.d.ts +1 -0
  639. package/lib/form/index.js +7 -2
  640. package/lib/grid/Grid.d.ts +2 -2
  641. package/lib/grid/Grid.js +2 -1
  642. package/lib/grid/index.d.ts +2 -1
  643. package/lib/grid/index.js +7 -2
  644. package/lib/grid-item/GridItem.d.ts +2 -2
  645. package/lib/grid-item/GridItem.js +2 -1
  646. package/lib/grid-item/index.css +1 -1
  647. package/lib/grid-item/index.d.ts +2 -1
  648. package/lib/grid-item/index.js +7 -2
  649. package/lib/icon/Icon.d.ts +2 -2
  650. package/lib/icon/Icon.js +2 -1
  651. package/lib/icon/index.d.ts +2 -1
  652. package/lib/icon/index.js +7 -2
  653. package/lib/image/Image.d.ts +5 -1
  654. package/lib/image/Image.js +5 -2
  655. package/lib/image/index.css +1 -1
  656. package/lib/image/index.d.ts +4 -0
  657. package/lib/image/index.js +7 -2
  658. package/lib/image-preview/ImagePreview.d.ts +1 -1
  659. package/lib/image-preview/ImagePreview.js +6 -2
  660. package/lib/image-preview/ImagePreviewItem.js +9 -1
  661. package/lib/image-preview/function-call.js +4 -1
  662. package/lib/image-preview/index.css +1 -1
  663. package/lib/image-preview/index.d.ts +1 -0
  664. package/lib/image-preview/index.js +6 -1
  665. package/lib/index-anchor/IndexAnchor.d.ts +2 -2
  666. package/lib/index-anchor/IndexAnchor.js +2 -1
  667. package/lib/index-anchor/index.css +1 -1
  668. package/lib/index-anchor/index.d.ts +2 -1
  669. package/lib/index-anchor/index.js +7 -2
  670. package/lib/index-bar/IndexBar.d.ts +1 -1
  671. package/lib/index-bar/IndexBar.js +9 -4
  672. package/lib/index-bar/index.css +1 -1
  673. package/lib/index-bar/index.d.ts +1 -0
  674. package/lib/index-bar/index.js +7 -2
  675. package/lib/index.css +1 -1
  676. package/lib/index.d.ts +2 -1
  677. package/lib/index.js +4 -1
  678. package/lib/lazyload/vue-lazyload/index.js +4 -1
  679. package/lib/lazyload/vue-lazyload/lazy-component.js +4 -1
  680. package/lib/lazyload/vue-lazyload/lazy-container.js +11 -7
  681. package/lib/lazyload/vue-lazyload/lazy-image.js +24 -14
  682. package/lib/lazyload/vue-lazyload/lazy.js +15 -4
  683. package/lib/lazyload/vue-lazyload/listener.js +45 -33
  684. package/lib/lazyload/vue-lazyload/util.js +4 -1
  685. package/lib/list/List.d.ts +1 -1
  686. package/lib/list/List.js +2 -1
  687. package/lib/list/index.css +1 -1
  688. package/lib/list/index.d.ts +1 -0
  689. package/lib/list/index.js +7 -2
  690. package/lib/loading/Loading.d.ts +2 -2
  691. package/lib/loading/Loading.js +2 -1
  692. package/lib/loading/index.css +1 -1
  693. package/lib/loading/index.d.ts +2 -1
  694. package/lib/loading/index.js +7 -2
  695. package/lib/locale/index.js +4 -1
  696. package/lib/nav-bar/NavBar.d.ts +1 -1
  697. package/lib/nav-bar/NavBar.js +2 -1
  698. package/lib/nav-bar/index.css +1 -1
  699. package/lib/nav-bar/index.d.ts +1 -0
  700. package/lib/nav-bar/index.js +7 -2
  701. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  702. package/lib/notice-bar/NoticeBar.js +2 -1
  703. package/lib/notice-bar/index.css +1 -1
  704. package/lib/notice-bar/index.d.ts +1 -0
  705. package/lib/notice-bar/index.js +7 -2
  706. package/lib/notify/Notify.d.ts +1 -1
  707. package/lib/notify/Notify.js +2 -1
  708. package/lib/notify/function-call.js +4 -1
  709. package/lib/notify/index.css +1 -1
  710. package/lib/notify/index.d.ts +1 -0
  711. package/lib/notify/index.js +6 -1
  712. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  713. package/lib/number-keyboard/NumberKeyboard.js +6 -2
  714. package/lib/number-keyboard/index.css +1 -1
  715. package/lib/number-keyboard/index.d.ts +2 -1
  716. package/lib/number-keyboard/index.js +7 -2
  717. package/lib/overlay/Overlay.d.ts +2 -2
  718. package/lib/overlay/Overlay.js +13 -5
  719. package/lib/overlay/index.css +1 -1
  720. package/lib/overlay/index.d.ts +2 -1
  721. package/lib/overlay/index.js +7 -2
  722. package/lib/pagination/Pagination.d.ts +1 -1
  723. package/lib/pagination/Pagination.js +2 -1
  724. package/lib/pagination/index.css +1 -1
  725. package/lib/pagination/index.d.ts +1 -0
  726. package/lib/pagination/index.js +7 -2
  727. package/lib/password-input/PasswordInput.d.ts +1 -1
  728. package/lib/password-input/PasswordInput.js +2 -1
  729. package/lib/password-input/index.css +1 -1
  730. package/lib/password-input/index.d.ts +1 -0
  731. package/lib/password-input/index.js +7 -2
  732. package/lib/picker/Picker.d.ts +9 -5
  733. package/lib/picker/Picker.js +53 -71
  734. package/lib/picker/PickerColumn.js +5 -1
  735. package/lib/picker/PickerToolbar.d.ts +21 -0
  736. package/lib/picker/PickerToolbar.js +78 -0
  737. package/lib/picker/index.css +1 -1
  738. package/lib/picker/index.d.ts +5 -2
  739. package/lib/picker/index.js +7 -2
  740. package/lib/picker/style/index.js +7 -0
  741. package/lib/picker/utils.d.ts +2 -0
  742. package/lib/picker/utils.js +15 -8
  743. package/lib/picker-group/PickerGroup.d.ts +39 -0
  744. package/lib/picker-group/PickerGroup.js +82 -0
  745. package/lib/picker-group/index.css +1 -0
  746. package/lib/picker-group/index.d.ts +33 -0
  747. package/lib/picker-group/index.js +35 -0
  748. package/lib/picker-group/style/index.d.ts +1 -0
  749. package/lib/picker-group/style/index.js +9 -0
  750. package/lib/popover/Popover.d.ts +1 -1
  751. package/lib/popover/Popover.js +2 -1
  752. package/lib/popover/index.css +1 -1
  753. package/lib/popover/index.d.ts +1 -0
  754. package/lib/popover/index.js +7 -2
  755. package/lib/popup/Popup.d.ts +3 -3
  756. package/lib/popup/Popup.js +2 -1
  757. package/lib/popup/index.css +1 -1
  758. package/lib/popup/index.d.ts +3 -2
  759. package/lib/popup/index.js +7 -2
  760. package/lib/popup/shared.js +3 -1
  761. package/lib/progress/Progress.d.ts +2 -2
  762. package/lib/progress/Progress.js +2 -1
  763. package/lib/progress/index.css +1 -1
  764. package/lib/progress/index.d.ts +2 -1
  765. package/lib/progress/index.js +7 -2
  766. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  767. package/lib/pull-refresh/PullRefresh.js +2 -1
  768. package/lib/pull-refresh/index.css +1 -1
  769. package/lib/pull-refresh/index.d.ts +1 -0
  770. package/lib/pull-refresh/index.js +7 -2
  771. package/lib/radio/Radio.d.ts +15 -2
  772. package/lib/radio/Radio.js +7 -2
  773. package/lib/radio/index.css +1 -1
  774. package/lib/radio/index.d.ts +1 -0
  775. package/lib/radio/index.js +7 -2
  776. package/lib/radio-group/RadioGroup.d.ts +1 -1
  777. package/lib/radio-group/RadioGroup.js +2 -1
  778. package/lib/radio-group/index.d.ts +1 -0
  779. package/lib/radio-group/index.js +7 -2
  780. package/lib/rate/Rate.d.ts +1 -1
  781. package/lib/rate/Rate.js +6 -3
  782. package/lib/rate/index.css +1 -1
  783. package/lib/rate/index.d.ts +1 -0
  784. package/lib/rate/index.js +7 -2
  785. package/lib/row/Row.d.ts +2 -2
  786. package/lib/row/Row.js +2 -1
  787. package/lib/row/index.d.ts +2 -1
  788. package/lib/row/index.js +7 -2
  789. package/lib/search/Search.d.ts +1 -1
  790. package/lib/search/Search.js +2 -1
  791. package/lib/search/index.css +1 -1
  792. package/lib/search/index.d.ts +1 -0
  793. package/lib/search/index.js +7 -2
  794. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  795. package/lib/share-sheet/ShareSheet.js +2 -1
  796. package/lib/share-sheet/index.css +1 -1
  797. package/lib/share-sheet/index.d.ts +1 -0
  798. package/lib/share-sheet/index.js +7 -2
  799. package/lib/sidebar/Sidebar.d.ts +1 -1
  800. package/lib/sidebar/Sidebar.js +2 -1
  801. package/lib/sidebar/index.css +1 -1
  802. package/lib/sidebar/index.d.ts +1 -0
  803. package/lib/sidebar/index.js +7 -2
  804. package/lib/sidebar-item/SidebarItem.d.ts +1 -1
  805. package/lib/sidebar-item/SidebarItem.js +2 -1
  806. package/lib/sidebar-item/index.css +1 -1
  807. package/lib/sidebar-item/index.d.ts +1 -0
  808. package/lib/sidebar-item/index.js +7 -2
  809. package/lib/skeleton/Skeleton.d.ts +2 -2
  810. package/lib/skeleton/Skeleton.js +2 -1
  811. package/lib/skeleton/index.css +1 -1
  812. package/lib/skeleton/index.d.ts +2 -1
  813. package/lib/skeleton/index.js +7 -2
  814. package/lib/slider/Slider.d.ts +1 -1
  815. package/lib/slider/Slider.js +7 -2
  816. package/lib/slider/index.css +1 -1
  817. package/lib/slider/index.d.ts +1 -0
  818. package/lib/slider/index.js +7 -2
  819. package/lib/space/Space.d.ts +2 -2
  820. package/lib/space/Space.js +2 -1
  821. package/lib/space/index.d.ts +2 -1
  822. package/lib/space/index.js +7 -2
  823. package/lib/step/Step.d.ts +1 -1
  824. package/lib/step/index.css +1 -1
  825. package/lib/step/index.d.ts +1 -1
  826. package/lib/step/index.js +4 -1
  827. package/lib/stepper/Stepper.d.ts +1 -1
  828. package/lib/stepper/Stepper.js +2 -1
  829. package/lib/stepper/index.css +1 -1
  830. package/lib/stepper/index.d.ts +1 -0
  831. package/lib/stepper/index.js +7 -2
  832. package/lib/steps/Steps.d.ts +1 -1
  833. package/lib/steps/Steps.js +2 -1
  834. package/lib/steps/index.css +1 -1
  835. package/lib/steps/index.d.ts +1 -0
  836. package/lib/steps/index.js +7 -2
  837. package/lib/sticky/Sticky.d.ts +1 -1
  838. package/lib/sticky/Sticky.js +2 -1
  839. package/lib/sticky/index.css +1 -1
  840. package/lib/sticky/index.d.ts +1 -0
  841. package/lib/sticky/index.js +7 -2
  842. package/lib/style/base.css +1 -1
  843. package/lib/style/css-variables.css +1 -1
  844. package/lib/style/normalize.css +1 -1
  845. package/lib/submit-bar/SubmitBar.d.ts +1 -1
  846. package/lib/submit-bar/SubmitBar.js +2 -1
  847. package/lib/submit-bar/index.css +1 -1
  848. package/lib/submit-bar/index.d.ts +1 -0
  849. package/lib/submit-bar/index.js +7 -2
  850. package/lib/swipe/Swipe.d.ts +1 -1
  851. package/lib/swipe/Swipe.js +14 -6
  852. package/lib/swipe/index.css +1 -1
  853. package/lib/swipe/index.d.ts +1 -0
  854. package/lib/swipe/index.js +7 -2
  855. package/lib/swipe-cell/SwipeCell.d.ts +3 -3
  856. package/lib/swipe-cell/SwipeCell.js +5 -2
  857. package/lib/swipe-cell/index.d.ts +3 -2
  858. package/lib/swipe-cell/index.js +7 -2
  859. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  860. package/lib/swipe-item/index.d.ts +1 -1
  861. package/lib/swipe-item/index.js +4 -1
  862. package/lib/switch/Switch.d.ts +1 -1
  863. package/lib/switch/Switch.js +2 -1
  864. package/lib/switch/index.css +1 -1
  865. package/lib/switch/index.d.ts +1 -0
  866. package/lib/switch/index.js +7 -2
  867. package/lib/tab/Tab.d.ts +2 -2
  868. package/lib/tab/Tab.js +2 -1
  869. package/lib/tab/index.d.ts +2 -1
  870. package/lib/tab/index.js +7 -2
  871. package/lib/tabbar/Tabbar.d.ts +1 -1
  872. package/lib/tabbar/Tabbar.js +2 -1
  873. package/lib/tabbar/index.css +1 -1
  874. package/lib/tabbar/index.d.ts +1 -0
  875. package/lib/tabbar/index.js +7 -2
  876. package/lib/tabbar-item/TabbarItem.d.ts +1 -1
  877. package/lib/tabbar-item/TabbarItem.js +2 -1
  878. package/lib/tabbar-item/index.css +1 -1
  879. package/lib/tabbar-item/index.d.ts +1 -0
  880. package/lib/tabbar-item/index.js +7 -2
  881. package/lib/tabs/Tabs.d.ts +1 -1
  882. package/lib/tabs/Tabs.js +6 -2
  883. package/lib/tabs/TabsTitle.d.ts +1 -1
  884. package/lib/tabs/index.css +1 -1
  885. package/lib/tabs/index.d.ts +1 -0
  886. package/lib/tabs/index.js +7 -2
  887. package/lib/tag/Tag.d.ts +1 -1
  888. package/lib/tag/Tag.js +2 -1
  889. package/lib/tag/index.css +1 -1
  890. package/lib/tag/index.d.ts +1 -0
  891. package/lib/tag/index.js +7 -2
  892. package/lib/time-picker/TimePicker.d.ts +7 -4
  893. package/lib/time-picker/TimePicker.js +2 -1
  894. package/lib/time-picker/index.d.ts +5 -2
  895. package/lib/time-picker/index.js +7 -2
  896. package/lib/time-picker/style/index.js +7 -0
  897. package/lib/toast/Toast.d.ts +1 -1
  898. package/lib/toast/Toast.js +9 -2
  899. package/lib/toast/function-call.js +4 -1
  900. package/lib/toast/index.css +1 -1
  901. package/lib/toast/index.d.ts +1 -0
  902. package/lib/toast/index.js +7 -2
  903. package/lib/tree-select/TreeSelect.d.ts +1 -1
  904. package/lib/tree-select/TreeSelect.js +2 -1
  905. package/lib/tree-select/index.css +1 -1
  906. package/lib/tree-select/index.d.ts +1 -0
  907. package/lib/tree-select/index.js +7 -2
  908. package/lib/uploader/Uploader.d.ts +1 -1
  909. package/lib/uploader/Uploader.js +6 -2
  910. package/lib/uploader/index.css +1 -1
  911. package/lib/uploader/index.d.ts +1 -0
  912. package/lib/uploader/index.js +7 -2
  913. package/lib/utils/basic.js +2 -1
  914. package/lib/utils/create.js +12 -3
  915. package/lib/utils/with-install.d.ts +2 -2
  916. package/lib/utils/with-install.js +4 -2
  917. package/lib/vant.cjs.js +4481 -4198
  918. package/lib/vant.es.js +4483 -4200
  919. package/lib/vant.js +4509 -4209
  920. package/lib/vant.min.js +1 -1
  921. package/lib/web-types.json +2445 -2370
  922. package/package.json +9 -9
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _TimePicker from "./TimePicker.mjs";
3
3
  const TimePicker = withInstall(_TimePicker);
4
4
  var stdin_default = TimePicker;
5
+ import { timePickerProps } from "./TimePicker.mjs";
5
6
  export {
6
7
  TimePicker,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ timePickerProps
8
10
  };
@@ -1,3 +1,10 @@
1
1
  import "../../style/base.css";
2
+ import "../../badge/index.css";
2
3
  import "../../loading/index.css";
4
+ import "../../sticky/index.css";
5
+ import "../../swipe/index.css";
6
+ import "../../swipe-item/index.css";
7
+ import "../../tabs/index.css";
8
+ import "../../tab/index.css";
3
9
  import "../../picker/index.css";
10
+ import "../../picker-group/index.css";
@@ -1,7 +1,7 @@
1
1
  import { type PropType, type CSSProperties, type ExtractPropTypes } from 'vue';
2
2
  import { LoadingType } from '../loading';
3
3
  import type { ToastType, ToastPosition } from './types';
4
- declare const toastProps: {
4
+ export declare const toastProps: {
5
5
  icon: StringConstructor;
6
6
  show: BooleanConstructor;
7
7
  type: {
@@ -32,7 +32,8 @@ var stdin_default = defineComponent({
32
32
  props: toastProps,
33
33
  emits: ["update:show"],
34
34
  setup(props, {
35
- emit
35
+ emit,
36
+ slots
36
37
  }) {
37
38
  let timer;
38
39
  let clickable = false;
@@ -80,6 +81,11 @@ var stdin_default = defineComponent({
80
81
  type,
81
82
  message
82
83
  } = props;
84
+ if (slots.message) {
85
+ return _createVNode("div", {
86
+ "class": bem("text")
87
+ }, [slots.message()]);
88
+ }
83
89
  if (isDef(message) && message !== "") {
84
90
  return type === "html" ? _createVNode("div", {
85
91
  "key": 0,
@@ -115,5 +121,6 @@ var stdin_default = defineComponent({
115
121
  }
116
122
  });
117
123
  export {
118
- stdin_default as default
124
+ stdin_default as default,
125
+ toastProps
119
126
  };
@@ -1 +1 @@
1
- body{--van-toast-max-width: 70%;--van-toast-font-size: var(--van-font-size-md);--van-toast-text-color: var(--van-white);--van-toast-loading-icon-color: var(--van-white);--van-toast-line-height: var(--van-line-height-md);--van-toast-radius: var(--van-radius-lg);--van-toast-background: rgba(0, 0, 0, .7);--van-toast-icon-size: 36px;--van-toast-text-min-width: 96px;--van-toast-text-padding: var(--van-padding-xs) var(--van-padding-sm);--van-toast-default-padding: var(--van-padding-md);--van-toast-default-width: 88px;--van-toast-default-min-height: 88px;--van-toast-position-top-distance: 20%;--van-toast-position-bottom-distance: 20%}.van-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--van-duration-fast);width:var(--van-toast-default-width);max-width:var(--van-toast-max-width);min-height:var(--van-toast-default-min-height);padding:var(--van-toast-default-padding);color:var(--van-toast-text-color);font-size:var(--van-toast-font-size);line-height:var(--van-toast-line-height);white-space:pre-wrap;text-align:center;word-break:break-all;background:var(--van-toast-background);border-radius:var(--van-toast-radius)}.van-toast--unclickable{overflow:hidden;cursor:not-allowed}.van-toast--unclickable *{pointer-events:none}.van-toast--text,.van-toast--html{width:-webkit-fit-content;width:fit-content;min-width:var(--van-toast-text-min-width);min-height:0;padding:var(--van-toast-text-padding)}.van-toast--text .van-toast__text,.van-toast--html .van-toast__text{margin-top:0}.van-toast--top{top:var(--van-toast-position-top-distance)}.van-toast--bottom{top:auto;bottom:var(--van-toast-position-bottom-distance)}.van-toast__icon{font-size:var(--van-toast-icon-size)}.van-toast__loading{padding:var(--van-padding-base);color:var(--van-toast-loading-icon-color)}.van-toast__text{margin-top:var(--van-padding-xs)}
1
+ :root{--van-toast-max-width: 70%;--van-toast-font-size: var(--van-font-size-md);--van-toast-text-color: var(--van-white);--van-toast-loading-icon-color: var(--van-white);--van-toast-line-height: var(--van-line-height-md);--van-toast-radius: var(--van-radius-lg);--van-toast-background: rgba(0, 0, 0, .7);--van-toast-icon-size: 36px;--van-toast-text-min-width: 96px;--van-toast-text-padding: var(--van-padding-xs) var(--van-padding-sm);--van-toast-default-padding: var(--van-padding-md);--van-toast-default-width: 88px;--van-toast-default-min-height: 88px;--van-toast-position-top-distance: 20%;--van-toast-position-bottom-distance: 20%}.van-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--van-duration-fast);width:var(--van-toast-default-width);max-width:var(--van-toast-max-width);min-height:var(--van-toast-default-min-height);padding:var(--van-toast-default-padding);color:var(--van-toast-text-color);font-size:var(--van-toast-font-size);line-height:var(--van-toast-line-height);white-space:pre-wrap;text-align:center;word-break:break-all;background:var(--van-toast-background);border-radius:var(--van-toast-radius)}.van-toast--unclickable{overflow:hidden;cursor:not-allowed}.van-toast--unclickable *{pointer-events:none}.van-toast--text,.van-toast--html{width:-webkit-fit-content;width:fit-content;min-width:var(--van-toast-text-min-width);min-height:0;padding:var(--van-toast-text-padding)}.van-toast--text .van-toast__text,.van-toast--html .van-toast__text{margin-top:0}.van-toast--top{top:var(--van-toast-position-top-distance)}.van-toast--bottom{top:auto;bottom:var(--van-toast-position-bottom-distance)}.van-toast__icon{font-size:var(--van-toast-icon-size)}.van-toast__loading{padding:var(--van-padding-base);color:var(--van-toast-loading-icon-color)}.van-toast__text{margin-top:var(--van-padding-xs)}
@@ -74,6 +74,7 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
74
74
  closeOnClick: boolean;
75
75
  }>>;
76
76
  export default Toast;
77
+ export { toastProps } from './Toast';
77
78
  export { showToast, closeToast, showFailToast, showLoadingToast, showSuccessToast, allowMultipleToast, setToastDefaultOptions, resetToastDefaultOptions, } from './function-call';
78
79
  export type { ToastProps } from './Toast';
79
80
  export type { ToastType, ToastOptions, ToastPosition } from './types';
@@ -2,6 +2,7 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _Toast from "./Toast.mjs";
3
3
  const Toast = withInstall(_Toast);
4
4
  var stdin_default = Toast;
5
+ import { toastProps } from "./Toast.mjs";
5
6
  import {
6
7
  showToast,
7
8
  closeToast,
@@ -22,5 +23,6 @@ export {
22
23
  showFailToast,
23
24
  showLoadingToast,
24
25
  showSuccessToast,
25
- showToast
26
+ showToast,
27
+ toastProps
26
28
  };
@@ -13,7 +13,7 @@ export declare type TreeSelectItem = {
13
13
  disabled?: boolean;
14
14
  className?: unknown;
15
15
  };
16
- declare const treeSelectProps: {
16
+ export declare const treeSelectProps: {
17
17
  max: {
18
18
  type: (NumberConstructor | StringConstructor)[];
19
19
  default: number;
@@ -98,5 +98,6 @@ var stdin_default = defineComponent({
98
98
  }
99
99
  });
100
100
  export {
101
- stdin_default as default
101
+ stdin_default as default,
102
+ treeSelectProps
102
103
  };
@@ -1 +1 @@
1
- body{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: 14px var(--van-padding-sm);--van-tree-select-item-height: 48px;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: 16px}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 32px 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}
1
+ :root{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: 14px var(--van-padding-sm);--van-tree-select-item-height: 48px;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: 16px}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 32px 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}
@@ -62,6 +62,7 @@ export declare const TreeSelect: import("../utils").WithInstall<import("vue").De
62
62
  activeId: import("../utils").Numeric | import("../utils").Numeric[];
63
63
  }>>;
64
64
  export default TreeSelect;
65
+ export { treeSelectProps } from './TreeSelect';
65
66
  export type { TreeSelectItem, TreeSelectChild, TreeSelectProps, } from './TreeSelect';
66
67
  declare module 'vue' {
67
68
  interface GlobalComponents {
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _TreeSelect from "./TreeSelect.mjs";
3
3
  const TreeSelect = withInstall(_TreeSelect);
4
4
  var stdin_default = TreeSelect;
5
+ import { treeSelectProps } from "./TreeSelect.mjs";
5
6
  export {
6
7
  TreeSelect,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ treeSelectProps
8
10
  };
@@ -3,7 +3,7 @@ import { Interceptor, type Numeric } from '../utils';
3
3
  import { type ImagePreviewOptions } from '../image-preview';
4
4
  import type { ImageFit } from '../image';
5
5
  import type { UploaderMaxSize, UploaderAfterRead, UploaderBeforeRead, UploaderResultType, UploaderFileListItem } from './types';
6
- declare const uploaderProps: {
6
+ export declare const uploaderProps: {
7
7
  name: {
8
8
  type: (NumberConstructor | StringConstructor)[];
9
9
  default: string;
@@ -244,5 +244,6 @@ var stdin_default = defineComponent({
244
244
  }
245
245
  });
246
246
  export {
247
- stdin_default as default
247
+ stdin_default as default,
248
+ uploaderProps
248
249
  };
@@ -1 +1 @@
1
- body{--van-uploader-size: 80px;--van-uploader-icon-size: 24px;--van-uploader-icon-color: var(--van-gray-4);--van-uploader-text-color: var(--van-text-color-2);--van-uploader-text-font-size: var(--van-font-size-sm);--van-uploader-upload-background: var(--van-gray-1);--van-uploader-upload-active-color: var(--van-active-color);--van-uploader-delete-color: var(--van-white);--van-uploader-delete-icon-size: 14px;--van-uploader-delete-background: rgba(0, 0, 0, .7);--van-uploader-file-background: var(--van-background);--van-uploader-file-icon-size: 20px;--van-uploader-file-icon-color: var(--van-gray-7);--van-uploader-file-name-padding: 0 var(--van-padding-base);--van-uploader-file-name-margin-top: var(--van-padding-xs);--van-uploader-file-name-font-size: var(--van-font-size-sm);--van-uploader-file-name-text-color: var(--van-gray-7);--van-uploader-mask-text-color: var(--van-white);--van-uploader-mask-background: rgba(50, 50, 51, .88);--van-uploader-mask-icon-size: 22px;--van-uploader-mask-message-font-size: var(--van-font-size-sm);--van-uploader-mask-message-line-height: var(--van-line-height-xs);--van-uploader-loading-icon-size: 22px;--van-uploader-loading-icon-color: var(--van-white);--van-uploader-disabled-opacity: var(--van-disabled-opacity)}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:flex;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:var(--van-uploader-disabled-opacity)}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:var(--van-uploader-size);height:var(--van-uploader-size);margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;background:var(--van-uploader-upload-background)}.van-uploader__upload:active{background-color:var(--van-uploader-upload-active-color)}.van-uploader__upload--readonly:active{background-color:var(--van-uploader-upload-background)}.van-uploader__upload-icon{color:var(--van-uploader-icon-color);font-size:var(--van-uploader-icon-size)}.van-uploader__upload-text{margin-top:var(--van-padding-xs);color:var(--van-uploader-text-color);font-size:var(--van-uploader-text-font-size)}.van-uploader__preview{position:relative;margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;cursor:pointer}.van-uploader__preview-image{display:block;width:var(--van-uploader-size);height:var(--van-uploader-size);overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0}.van-uploader__preview-delete--shadow{width:var(--van-uploader-delete-icon-size);height:var(--van-uploader-delete-icon-size);background:var(--van-uploader-delete-background);border-radius:0 0 0 12px}.van-uploader__preview-delete-icon{position:absolute;top:0;right:0;color:var(--van-uploader-delete-color);font-size:var(--van-uploader-delete-icon-size);transform:scale(.7) translate(10%,-10%)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-uploader-mask-text-color);background:var(--van-uploader-mask-background)}.van-uploader__mask-icon{font-size:var(--van-uploader-mask-icon-size)}.van-uploader__mask-message{margin-top:6px;padding:0 var(--van-padding-base);font-size:var(--van-uploader-mask-message-font-size);line-height:var(--van-uploader-mask-message-line-height)}.van-uploader__loading{width:var(--van-uploader-loading-icon-size);height:var(--van-uploader-loading-icon-size);color:var(--van-uploader-loading-icon-color)}.van-uploader__file{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--van-uploader-size);height:var(--van-uploader-size);background:var(--van-uploader-file-background)}.van-uploader__file-icon{color:var(--van-uploader-file-icon-color);font-size:var(--van-uploader-file-icon-size)}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:var(--van-uploader-file-name-margin-top);padding:var(--van-uploader-file-name-padding);color:var(--van-uploader-file-name-text-color);font-size:var(--van-uploader-file-name-font-size);text-align:center}
1
+ :root{--van-uploader-size: 80px;--van-uploader-icon-size: 24px;--van-uploader-icon-color: var(--van-gray-4);--van-uploader-text-color: var(--van-text-color-2);--van-uploader-text-font-size: var(--van-font-size-sm);--van-uploader-upload-background: var(--van-gray-1);--van-uploader-upload-active-color: var(--van-active-color);--van-uploader-delete-color: var(--van-white);--van-uploader-delete-icon-size: 14px;--van-uploader-delete-background: rgba(0, 0, 0, .7);--van-uploader-file-background: var(--van-background);--van-uploader-file-icon-size: 20px;--van-uploader-file-icon-color: var(--van-gray-7);--van-uploader-file-name-padding: 0 var(--van-padding-base);--van-uploader-file-name-margin-top: var(--van-padding-xs);--van-uploader-file-name-font-size: var(--van-font-size-sm);--van-uploader-file-name-text-color: var(--van-gray-7);--van-uploader-mask-text-color: var(--van-white);--van-uploader-mask-background: rgba(50, 50, 51, .88);--van-uploader-mask-icon-size: 22px;--van-uploader-mask-message-font-size: var(--van-font-size-sm);--van-uploader-mask-message-line-height: var(--van-line-height-xs);--van-uploader-loading-icon-size: 22px;--van-uploader-loading-icon-color: var(--van-white);--van-uploader-disabled-opacity: var(--van-disabled-opacity)}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:flex;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:var(--van-uploader-disabled-opacity)}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:var(--van-uploader-size);height:var(--van-uploader-size);margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;background:var(--van-uploader-upload-background)}.van-uploader__upload:active{background-color:var(--van-uploader-upload-active-color)}.van-uploader__upload--readonly:active{background-color:var(--van-uploader-upload-background)}.van-uploader__upload-icon{color:var(--van-uploader-icon-color);font-size:var(--van-uploader-icon-size)}.van-uploader__upload-text{margin-top:var(--van-padding-xs);color:var(--van-uploader-text-color);font-size:var(--van-uploader-text-font-size)}.van-uploader__preview{position:relative;margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;cursor:pointer}.van-uploader__preview-image{display:block;width:var(--van-uploader-size);height:var(--van-uploader-size);overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0}.van-uploader__preview-delete--shadow{width:var(--van-uploader-delete-icon-size);height:var(--van-uploader-delete-icon-size);background:var(--van-uploader-delete-background);border-radius:0 0 0 12px}.van-uploader__preview-delete-icon{position:absolute;top:0;right:0;color:var(--van-uploader-delete-color);font-size:var(--van-uploader-delete-icon-size);transform:scale(.7) translate(10%,-10%)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-uploader-mask-text-color);background:var(--van-uploader-mask-background)}.van-uploader__mask-icon{font-size:var(--van-uploader-mask-icon-size)}.van-uploader__mask-message{margin-top:6px;padding:0 var(--van-padding-base);font-size:var(--van-uploader-mask-message-font-size);line-height:var(--van-uploader-mask-message-line-height)}.van-uploader__loading{width:var(--van-uploader-loading-icon-size);height:var(--van-uploader-loading-icon-size);color:var(--van-uploader-loading-icon-color)}.van-uploader__file{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--van-uploader-size);height:var(--van-uploader-size);background:var(--van-uploader-file-background)}.van-uploader__file-icon{color:var(--van-uploader-file-icon-color);font-size:var(--van-uploader-file-icon-size)}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:var(--van-uploader-file-name-margin-top);padding:var(--van-uploader-file-name-padding);color:var(--van-uploader-file-name-text-color);font-size:var(--van-uploader-file-name-font-size);text-align:center}
@@ -145,6 +145,7 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
145
145
  maxSize: import("./types").UploaderMaxSize;
146
146
  }>>;
147
147
  export default Uploader;
148
+ export { uploaderProps } from './Uploader';
148
149
  export type { UploaderProps };
149
150
  export type { UploaderInstance, UploaderResultType, UploaderFileListItem, } from './types';
150
151
  declare module 'vue' {
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
2
2
  import _Uploader from "./Uploader.mjs";
3
3
  const Uploader = withInstall(_Uploader);
4
4
  var stdin_default = Uploader;
5
+ import { uploaderProps } from "./Uploader.mjs";
5
6
  export {
6
7
  Uploader,
7
- stdin_default as default
8
+ stdin_default as default,
9
+ uploaderProps
8
10
  };
@@ -1,3 +1,4 @@
1
+ import { isObject } from "./validate.mjs";
1
2
  function noop() {
2
3
  }
3
4
  const extend = Object.assign;
@@ -7,7 +8,7 @@ function get(object, path) {
7
8
  let result = object;
8
9
  keys.forEach((key) => {
9
10
  var _a;
10
- result = (_a = result[key]) != null ? _a : "";
11
+ result = isObject(result) ? (_a = result[key]) != null ? _a : "" : "";
11
12
  });
12
13
  return result;
13
14
  }
@@ -18,9 +18,15 @@ function genBem(name, mods) {
18
18
  return ` ${name}--${mods}`;
19
19
  }
20
20
  if (Array.isArray(mods)) {
21
- return mods.reduce((ret, item) => ret + genBem(name, item), "");
21
+ return mods.reduce(
22
+ (ret, item) => ret + genBem(name, item),
23
+ ""
24
+ );
22
25
  }
23
- return Object.keys(mods).reduce((ret, key) => ret + (mods[key] ? genBem(name, key) : ""), "");
26
+ return Object.keys(mods).reduce(
27
+ (ret, key) => ret + (mods[key] ? genBem(name, key) : ""),
28
+ ""
29
+ );
24
30
  }
25
31
  function createBEM(name) {
26
32
  return (el, mods) => {
@@ -1,4 +1,4 @@
1
- import { App } from 'vue';
1
+ import type { App, Component } from 'vue';
2
2
  declare type EventShim = {
3
3
  new (...args: any[]): {
4
4
  $props: {
@@ -9,5 +9,5 @@ declare type EventShim = {
9
9
  export declare type WithInstall<T> = T & {
10
10
  install(app: App): void;
11
11
  } & EventShim;
12
- export declare function withInstall<T>(options: T): WithInstall<T>;
12
+ export declare function withInstall<T extends Component>(options: T): WithInstall<T>;
13
13
  export {};
@@ -2,8 +2,10 @@ import { camelize } from "./format.mjs";
2
2
  function withInstall(options) {
3
3
  options.install = (app) => {
4
4
  const { name } = options;
5
- app.component(name, options);
6
- app.component(camelize(`-${name}`), options);
5
+ if (name) {
6
+ app.component(name, options);
7
+ app.component(camelize(`-${name}`), options);
8
+ }
7
9
  };
8
10
  return options;
9
11
  }
@@ -1,6 +1,6 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
2
  export declare const ACTION_BAR_KEY: unique symbol;
3
- declare const actionBarProps: {
3
+ export declare const actionBarProps: {
4
4
  placeholder: BooleanConstructor;
5
5
  safeAreaInsetBottom: {
6
6
  type: BooleanConstructor;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  type: BooleanConstructor;
15
15
  default: true;
16
16
  };
17
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
17
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
18
18
  placeholder: BooleanConstructor;
19
19
  safeAreaInsetBottom: {
20
20
  type: BooleanConstructor;
@@ -18,6 +18,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
18
18
  var stdin_exports = {};
19
19
  __export(stdin_exports, {
20
20
  ACTION_BAR_KEY: () => ACTION_BAR_KEY,
21
+ actionBarProps: () => actionBarProps,
21
22
  default: () => stdin_default
22
23
  });
23
24
  module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- body{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}
1
+ :root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}
@@ -4,7 +4,7 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
4
4
  type: BooleanConstructor;
5
5
  default: true;
6
6
  };
7
- }, () => 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<{
7
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
8
  placeholder: BooleanConstructor;
9
9
  safeAreaInsetBottom: {
10
10
  type: BooleanConstructor;
@@ -15,6 +15,7 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
15
15
  safeAreaInsetBottom: boolean;
16
16
  }>>;
17
17
  export default ActionBar;
18
+ export { actionBarProps } from './ActionBar';
18
19
  export type { ActionBarProps } from './ActionBar';
19
20
  declare module 'vue' {
20
21
  interface GlobalComponents {
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
+ mod
22
+ ));
20
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
24
  var stdin_exports = {};
22
25
  __export(stdin_exports, {
23
26
  ActionBar: () => ActionBar,
27
+ actionBarProps: () => import_ActionBar2.actionBarProps,
24
28
  default: () => stdin_default
25
29
  });
26
30
  module.exports = __toCommonJS(stdin_exports);
27
31
  var import_utils = require("../utils");
28
32
  var import_ActionBar = __toESM(require("./ActionBar"));
33
+ var import_ActionBar2 = require("./ActionBar");
29
34
  const ActionBar = (0, import_utils.withInstall)(import_ActionBar.default);
30
35
  var stdin_default = ActionBar;
@@ -1,6 +1,6 @@
1
1
  import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import { ButtonType } from '../button';
3
- declare const actionBarButtonProps: {
3
+ export declare const actionBarButtonProps: {
4
4
  to: PropType<import("vue-router").RouteLocationRaw>;
5
5
  url: StringConstructor;
6
6
  replace: BooleanConstructor;
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  color: StringConstructor;
25
25
  loading: BooleanConstructor;
26
26
  disabled: BooleanConstructor;
27
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
27
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
28
28
  to: PropType<import("vue-router").RouteLocationRaw>;
29
29
  url: StringConstructor;
30
30
  replace: BooleanConstructor;
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
  var stdin_exports = {};
19
19
  __export(stdin_exports, {
20
+ actionBarButtonProps: () => actionBarButtonProps,
20
21
  default: () => stdin_default
21
22
  });
22
23
  module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- body{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:13px}}
1
+ :root{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:13px}}
@@ -9,7 +9,7 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
9
9
  color: StringConstructor;
10
10
  loading: BooleanConstructor;
11
11
  disabled: BooleanConstructor;
12
- }, () => 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<{
12
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
14
14
  url: StringConstructor;
15
15
  replace: BooleanConstructor;
@@ -26,6 +26,7 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
26
26
  loading: boolean;
27
27
  }>>;
28
28
  export default ActionBarButton;
29
+ export { actionBarButtonProps } from './ActionBarButton';
29
30
  export type { ActionBarButtonProps } from './ActionBarButton';
30
31
  declare module 'vue' {
31
32
  interface GlobalComponents {
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
+ mod
22
+ ));
20
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
24
  var stdin_exports = {};
22
25
  __export(stdin_exports, {
23
26
  ActionBarButton: () => ActionBarButton,
27
+ actionBarButtonProps: () => import_ActionBarButton2.actionBarButtonProps,
24
28
  default: () => stdin_default
25
29
  });
26
30
  module.exports = __toCommonJS(stdin_exports);
27
31
  var import_utils = require("../utils");
28
32
  var import_ActionBarButton = __toESM(require("./ActionBarButton"));
33
+ var import_ActionBarButton2 = require("./ActionBarButton");
29
34
  const ActionBarButton = (0, import_utils.withInstall)(import_ActionBarButton.default);
30
35
  var stdin_default = ActionBarButton;
@@ -1,6 +1,6 @@
1
1
  import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import { type BadgeProps } from '../badge';
3
- declare const actionBarIconProps: {
3
+ export declare const actionBarIconProps: {
4
4
  to: PropType<import("vue-router").RouteLocationRaw>;
5
5
  url: StringConstructor;
6
6
  replace: BooleanConstructor;
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
28
28
  iconClass: PropType<unknown>;
29
29
  badgeProps: PropType<Partial<BadgeProps>>;
30
30
  iconPrefix: StringConstructor;
31
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
31
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
32
32
  to: PropType<import("vue-router").RouteLocationRaw>;
33
33
  url: StringConstructor;
34
34
  replace: BooleanConstructor;
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
  var stdin_exports = {};
19
19
  __export(stdin_exports, {
20
+ actionBarIconProps: () => actionBarIconProps,
20
21
  default: () => stdin_default
21
22
  });
22
23
  module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- body{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}
1
+ :root{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}
@@ -11,7 +11,7 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
11
11
  iconClass: import("vue").PropType<unknown>;
12
12
  badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
13
13
  iconPrefix: StringConstructor;
14
- }, () => 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<{
14
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
16
16
  url: StringConstructor;
17
17
  replace: BooleanConstructor;
@@ -29,6 +29,7 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
29
29
  dot: boolean;
30
30
  }>>;
31
31
  export default ActionBarIcon;
32
+ export { actionBarIconProps } from './ActionBarIcon';
32
33
  export type { ActionBarIconProps } from './ActionBarIcon';
33
34
  declare module 'vue' {
34
35
  interface GlobalComponents {
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
+ mod
22
+ ));
20
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
24
  var stdin_exports = {};
22
25
  __export(stdin_exports, {
23
26
  ActionBarIcon: () => ActionBarIcon,
27
+ actionBarIconProps: () => import_ActionBarIcon2.actionBarIconProps,
24
28
  default: () => stdin_default
25
29
  });
26
30
  module.exports = __toCommonJS(stdin_exports);
27
31
  var import_utils = require("../utils");
28
32
  var import_ActionBarIcon = __toESM(require("./ActionBarIcon"));
33
+ var import_ActionBarIcon2 = require("./ActionBarIcon");
29
34
  const ActionBarIcon = (0, import_utils.withInstall)(import_ActionBarIcon.default);
30
35
  var stdin_default = ActionBarIcon;
@@ -8,7 +8,7 @@ export declare type ActionSheetAction = {
8
8
  callback?: (action: ActionSheetAction) => void;
9
9
  className?: unknown;
10
10
  };
11
- declare const actionSheetProps: {
11
+ export declare const actionSheetProps: {
12
12
  show: BooleanConstructor;
13
13
  zIndex: (NumberConstructor | StringConstructor)[];
14
14
  overlay: {
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
  var stdin_exports = {};
19
19
  __export(stdin_exports, {
20
+ actionSheetProps: () => actionSheetProps,
20
21
  default: () => stdin_default
21
22
  });
22
23
  module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- body{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
1
+ :root{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
@@ -126,6 +126,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
126
126
  closeOnClickAction: boolean;
127
127
  }>>;
128
128
  export default ActionSheet;
129
+ export { actionSheetProps } from './ActionSheet';
129
130
  export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
130
131
  declare module 'vue' {
131
132
  interface GlobalComponents {
@@ -16,15 +16,20 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
+ mod
22
+ ));
20
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
24
  var stdin_exports = {};
22
25
  __export(stdin_exports, {
23
26
  ActionSheet: () => ActionSheet,
27
+ actionSheetProps: () => import_ActionSheet2.actionSheetProps,
24
28
  default: () => stdin_default
25
29
  });
26
30
  module.exports = __toCommonJS(stdin_exports);
27
31
  var import_utils = require("../utils");
28
32
  var import_ActionSheet = __toESM(require("./ActionSheet"));
33
+ var import_ActionSheet2 = require("./ActionSheet");
29
34
  const ActionSheet = (0, import_utils.withInstall)(import_ActionSheet.default);
30
35
  var stdin_default = ActionSheet;
@@ -2,7 +2,7 @@ import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import { isMobile } from '../utils';
3
3
  import { AreaList } from '../area';
4
4
  import type { AddressEditInfo, AddressEditSearchItem } from './types';
5
- declare const addressEditProps: {
5
+ export declare const addressEditProps: {
6
6
  areaList: PropType<AreaList>;
7
7
  isSaving: BooleanConstructor;
8
8
  isDeleting: BooleanConstructor;
@@ -16,10 +16,14 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
+ mod
22
+ ));
20
23
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
24
  var stdin_exports = {};
22
25
  __export(stdin_exports, {
26
+ addressEditProps: () => addressEditProps,
23
27
  default: () => stdin_default
24
28
  });
25
29
  module.exports = __toCommonJS(stdin_exports);
@@ -1 +1 @@
1
- body{--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-address-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:var(--van-gray-2)}
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-address-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:var(--van-gray-2)}
@@ -108,6 +108,7 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
108
108
  telValidator: (val: string) => boolean;
109
109
  }>>;
110
110
  export default AddressEdit;
111
+ export { addressEditProps } from './AddressEdit';
111
112
  export type { AddressEditProps };
112
113
  export type { AddressEditInfo, AddressEditInstance, AddressEditSearchItem, } from './types';
113
114
  declare module 'vue' {