vant 3.4.1 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (555) hide show
  1. package/es/action-bar/ActionBar.d.ts +6 -5
  2. package/es/action-bar/index.css +1 -1
  3. package/es/action-bar/index.d.ts +6 -5
  4. package/es/action-bar-button/ActionBarButton.d.ts +11 -21
  5. package/es/action-bar-button/index.css +1 -1
  6. package/es/action-bar-button/index.d.ts +11 -21
  7. package/es/action-bar-icon/ActionBarIcon.d.ts +16 -84
  8. package/es/action-bar-icon/index.css +1 -1
  9. package/es/action-bar-icon/index.d.ts +14 -64
  10. package/es/action-sheet/ActionSheet.d.ts +54 -47
  11. package/es/action-sheet/index.css +1 -1
  12. package/es/action-sheet/index.d.ts +54 -47
  13. package/es/address-edit/AddressEdit.d.ts +48 -48
  14. package/es/address-edit/AddressEditDetail.d.ts +10 -20
  15. package/es/address-edit/index.css +1 -1
  16. package/es/address-edit/index.d.ts +48 -48
  17. package/es/address-list/AddressList.d.ts +18 -18
  18. package/es/address-list/AddressListItem.d.ts +9 -12
  19. package/es/address-list/index.css +1 -1
  20. package/es/address-list/index.d.ts +18 -18
  21. package/es/address-list/index.less +1 -1
  22. package/es/area/Area.d.ts +41 -33
  23. package/es/area/index.d.ts +41 -33
  24. package/es/badge/Badge.d.ts +19 -20
  25. package/es/badge/index.css +1 -1
  26. package/es/badge/index.d.ts +19 -20
  27. package/es/button/Button.d.ts +39 -47
  28. package/es/button/index.css +1 -1
  29. package/es/button/index.d.ts +39 -47
  30. package/es/calendar/Calendar.d.ts +85 -62
  31. package/es/calendar/Calendar.js +6 -1
  32. package/es/calendar/CalendarDay.d.ts +13 -14
  33. package/es/calendar/CalendarHeader.d.ts +7 -14
  34. package/es/calendar/CalendarMonth.d.ts +25 -32
  35. package/es/calendar/index.css +1 -1
  36. package/es/calendar/index.d.ts +85 -62
  37. package/es/card/Card.d.ts +16 -26
  38. package/es/card/index.css +1 -1
  39. package/es/card/index.d.ts +16 -26
  40. package/es/cascader/Cascader.d.ts +36 -22
  41. package/es/cascader/Cascader.js +3 -2
  42. package/es/cascader/index.css +1 -1
  43. package/es/cascader/index.d.ts +32 -22
  44. package/es/cell/Cell.d.ts +27 -41
  45. package/es/cell/index.css +1 -1
  46. package/es/cell/index.d.ts +27 -41
  47. package/es/cell-group/CellGroup.d.ts +8 -10
  48. package/es/cell-group/index.css +1 -1
  49. package/es/cell-group/index.d.ts +8 -10
  50. package/es/checkbox/Checkbox.d.ts +17 -21
  51. package/es/checkbox/Checker.d.ts +24 -29
  52. package/es/checkbox/index.css +1 -1
  53. package/es/checkbox/index.d.ts +17 -21
  54. package/es/checkbox-group/CheckboxGroup.d.ts +11 -16
  55. package/es/checkbox-group/index.css +1 -1
  56. package/es/checkbox-group/index.d.ts +11 -16
  57. package/es/circle/Circle.d.ts +35 -28
  58. package/es/circle/index.css +1 -1
  59. package/es/circle/index.d.ts +35 -28
  60. package/es/col/Col.d.ts +11 -10
  61. package/es/col/index.css +1 -1
  62. package/es/col/index.d.ts +11 -10
  63. package/es/collapse/Collapse.d.ts +11 -9
  64. package/es/collapse/index.d.ts +11 -9
  65. package/es/collapse-item/CollapseItem.d.ts +31 -41
  66. package/es/collapse-item/index.css +1 -1
  67. package/es/collapse-item/index.d.ts +31 -41
  68. package/es/composables/use-height.js +6 -2
  69. package/es/config-provider/ConfigProvider.d.ts +8 -10
  70. package/es/config-provider/index.d.ts +8 -10
  71. package/es/contact-card/ContactCard.d.ts +13 -14
  72. package/es/contact-card/index.css +1 -1
  73. package/es/contact-card/index.d.ts +13 -14
  74. package/es/contact-edit/ContactEdit.d.ts +15 -18
  75. package/es/contact-edit/index.css +1 -1
  76. package/es/contact-edit/index.d.ts +15 -18
  77. package/es/contact-list/ContactList.d.ts +6 -11
  78. package/es/contact-list/index.css +1 -1
  79. package/es/contact-list/index.d.ts +6 -11
  80. package/es/count-down/CountDown.d.ts +15 -11
  81. package/es/count-down/index.css +1 -1
  82. package/es/count-down/index.d.ts +15 -11
  83. package/es/coupon/Coupon.d.ts +12 -11
  84. package/es/coupon/index.css +1 -1
  85. package/es/coupon/index.d.ts +12 -11
  86. package/es/coupon-cell/CouponCell.d.ts +23 -16
  87. package/es/coupon-cell/index.css +1 -1
  88. package/es/coupon-cell/index.d.ts +23 -16
  89. package/es/coupon-list/CouponList.d.ts +53 -40
  90. package/es/coupon-list/index.css +1 -1
  91. package/es/coupon-list/index.d.ts +53 -40
  92. package/es/datetime-picker/DatePicker.d.ts +45 -36
  93. package/es/datetime-picker/TimePicker.d.ts +47 -38
  94. package/es/dialog/Dialog.d.ts +52 -59
  95. package/es/dialog/function-call.d.ts +52 -59
  96. package/es/dialog/index.css +1 -1
  97. package/es/divider/Divider.d.ts +11 -9
  98. package/es/divider/index.css +1 -1
  99. package/es/divider/index.d.ts +11 -9
  100. package/es/dropdown-item/DropdownItem.d.ts +15 -18
  101. package/es/dropdown-item/index.css +1 -1
  102. package/es/dropdown-item/index.d.ts +15 -18
  103. package/es/dropdown-menu/DropdownMenu.d.ts +24 -18
  104. package/es/dropdown-menu/index.css +1 -1
  105. package/es/dropdown-menu/index.d.ts +24 -18
  106. package/es/empty/Empty.d.ts +8 -10
  107. package/es/empty/index.css +1 -1
  108. package/es/empty/index.d.ts +8 -10
  109. package/es/field/Field.d.ts +80 -90
  110. package/es/field/index.css +1 -1
  111. package/es/field/index.d.ts +80 -90
  112. package/es/form/Form.d.ts +24 -30
  113. package/es/form/index.d.ts +24 -30
  114. package/es/grid/Grid.d.ts +20 -22
  115. package/es/grid/index.css +1 -1
  116. package/es/grid/index.d.ts +20 -22
  117. package/es/grid-item/GridItem.d.ts +15 -82
  118. package/es/grid-item/index.css +1 -1
  119. package/es/grid-item/index.d.ts +13 -62
  120. package/es/icon/Icon.d.ts +16 -79
  121. package/es/icon/index.css +1 -1
  122. package/es/icon/index.d.ts +14 -59
  123. package/es/image/Image.d.ts +32 -32
  124. package/es/image/Image.js +13 -4
  125. package/es/image/index.css +1 -1
  126. package/es/image/index.d.ts +30 -32
  127. package/es/image-preview/ImagePreview.d.ts +54 -42
  128. package/es/image-preview/ImagePreviewItem.d.ts +21 -18
  129. package/es/image-preview/ImagePreviewItem.js +12 -4
  130. package/es/image-preview/function-call.d.ts +54 -42
  131. package/es/image-preview/index.css +1 -1
  132. package/es/index-anchor/IndexAnchor.d.ts +3 -5
  133. package/es/index-anchor/index.css +1 -1
  134. package/es/index-anchor/index.d.ts +3 -5
  135. package/es/index-bar/IndexBar.d.ts +17 -16
  136. package/es/index-bar/index.css +1 -1
  137. package/es/index-bar/index.d.ts +17 -16
  138. package/es/index.d.ts +1 -1
  139. package/es/index.js +1 -1
  140. package/es/list/List.d.ts +20 -22
  141. package/es/list/index.css +1 -1
  142. package/es/list/index.d.ts +20 -22
  143. package/es/loading/Loading.d.ts +11 -16
  144. package/es/loading/index.css +1 -1
  145. package/es/loading/index.d.ts +11 -16
  146. package/es/nav-bar/NavBar.d.ts +14 -22
  147. package/es/nav-bar/index.css +1 -1
  148. package/es/nav-bar/index.d.ts +14 -22
  149. package/es/notice-bar/NoticeBar.d.ts +20 -22
  150. package/es/notice-bar/index.css +1 -1
  151. package/es/notice-bar/index.d.ts +20 -22
  152. package/es/notify/Notify.d.ts +39 -39
  153. package/es/notify/function-call.d.ts +39 -39
  154. package/es/notify/index.css +1 -1
  155. package/es/number-keyboard/NumberKeyboard.d.ts +46 -38
  156. package/es/number-keyboard/NumberKeyboardKey.d.ts +8 -16
  157. package/es/number-keyboard/index.css +1 -1
  158. package/es/number-keyboard/index.d.ts +46 -38
  159. package/es/overlay/Overlay.d.ts +24 -16
  160. package/es/overlay/Overlay.js +2 -1
  161. package/es/overlay/index.css +1 -1
  162. package/es/overlay/index.d.ts +20 -16
  163. package/es/pagination/Pagination.d.ts +29 -22
  164. package/es/pagination/index.css +1 -1
  165. package/es/pagination/index.d.ts +29 -22
  166. package/es/password-input/PasswordInput.d.ts +18 -18
  167. package/es/password-input/index.css +1 -1
  168. package/es/password-input/index.d.ts +18 -18
  169. package/es/picker/Picker.d.ts +38 -33
  170. package/es/picker/PickerColumn.d.ts +29 -22
  171. package/es/picker/index.css +1 -1
  172. package/es/picker/index.d.ts +38 -33
  173. package/es/popover/Popover.d.ts +48 -36
  174. package/es/popover/index.css +1 -1
  175. package/es/popover/index.d.ts +48 -36
  176. package/es/popup/Popup.d.ts +44 -45
  177. package/es/popup/index.css +1 -1
  178. package/es/popup/index.d.ts +44 -45
  179. package/es/progress/Progress.d.ts +18 -22
  180. package/es/progress/index.css +1 -1
  181. package/es/progress/index.d.ts +18 -22
  182. package/es/pull-refresh/PullRefresh.d.ts +21 -24
  183. package/es/pull-refresh/index.css +1 -1
  184. package/es/pull-refresh/index.d.ts +21 -24
  185. package/es/radio/Radio.d.ts +13 -20
  186. package/es/radio/index.css +1 -1
  187. package/es/radio/index.d.ts +13 -20
  188. package/es/radio-group/RadioGroup.d.ts +7 -14
  189. package/es/radio-group/index.css +1 -1
  190. package/es/radio-group/index.d.ts +7 -14
  191. package/es/rate/Rate.d.ts +31 -32
  192. package/es/rate/index.css +1 -1
  193. package/es/rate/index.d.ts +31 -32
  194. package/es/row/Row.d.ts +16 -14
  195. package/es/row/index.css +1 -1
  196. package/es/row/index.d.ts +16 -14
  197. package/es/search/Search.d.ts +58 -51
  198. package/es/search/index.css +1 -1
  199. package/es/search/index.d.ts +58 -51
  200. package/es/share-sheet/ShareSheet.d.ts +45 -41
  201. package/es/share-sheet/index.css +1 -1
  202. package/es/share-sheet/index.d.ts +45 -41
  203. package/es/sidebar/Sidebar.d.ts +6 -5
  204. package/es/sidebar/index.css +1 -1
  205. package/es/sidebar/index.d.ts +6 -5
  206. package/es/sidebar-item/SidebarItem.d.ts +13 -78
  207. package/es/sidebar-item/index.css +1 -1
  208. package/es/sidebar-item/index.d.ts +11 -58
  209. package/es/skeleton/Skeleton.d.ts +27 -24
  210. package/es/skeleton/Skeleton.js +1 -1
  211. package/es/skeleton/index.css +1 -1
  212. package/es/skeleton/index.d.ts +27 -24
  213. package/es/slider/Slider.d.ts +27 -30
  214. package/es/slider/index.css +1 -1
  215. package/es/slider/index.d.ts +27 -30
  216. package/es/step/Step.d.ts +1 -1
  217. package/es/step/index.css +1 -1
  218. package/es/step/index.d.ts +1 -1
  219. package/es/stepper/Stepper.d.ts +51 -48
  220. package/es/stepper/index.css +1 -1
  221. package/es/stepper/index.d.ts +51 -48
  222. package/es/steps/Steps.d.ts +19 -20
  223. package/es/steps/index.css +1 -1
  224. package/es/steps/index.d.ts +19 -20
  225. package/es/sticky/Sticky.d.ts +16 -14
  226. package/es/sticky/index.css +1 -1
  227. package/es/sticky/index.d.ts +16 -14
  228. package/es/style/animation.css +1 -1
  229. package/es/style/base.css +1 -1
  230. package/es/style/css-variables.css +1 -1
  231. package/es/style/normalize.css +1 -1
  232. package/es/submit-bar/SubmitBar.d.ts +28 -32
  233. package/es/submit-bar/index.css +1 -1
  234. package/es/submit-bar/index.d.ts +28 -32
  235. package/es/swipe/Swipe.d.ts +35 -28
  236. package/es/swipe/index.css +1 -1
  237. package/es/swipe/index.d.ts +35 -28
  238. package/es/swipe-cell/SwipeCell.d.ts +11 -16
  239. package/es/swipe-cell/index.css +1 -1
  240. package/es/swipe-cell/index.d.ts +11 -16
  241. package/es/swipe-item/SwipeItem.d.ts +1 -1
  242. package/es/swipe-item/index.css +1 -1
  243. package/es/swipe-item/index.d.ts +1 -1
  244. package/es/switch/Switch.d.ts +16 -20
  245. package/es/switch/index.css +1 -1
  246. package/es/switch/index.d.ts +16 -20
  247. package/es/tab/Tab.d.ts +16 -25
  248. package/es/tab/index.css +1 -1
  249. package/es/tab/index.d.ts +16 -25
  250. package/es/tabbar/Tabbar.d.ts +24 -24
  251. package/es/tabbar/index.css +1 -1
  252. package/es/tabbar/index.d.ts +24 -24
  253. package/es/tabbar-item/TabbarItem.d.ts +14 -80
  254. package/es/tabbar-item/index.css +1 -1
  255. package/es/tabbar-item/index.d.ts +12 -60
  256. package/es/tabs/Tabs.d.ts +43 -44
  257. package/es/tabs/TabsContent.d.ts +18 -17
  258. package/es/tabs/TabsTitle.d.ts +19 -32
  259. package/es/tabs/index.css +1 -1
  260. package/es/tabs/index.d.ts +43 -44
  261. package/es/tag/Tag.d.ts +17 -22
  262. package/es/tag/index.css +1 -1
  263. package/es/tag/index.d.ts +17 -22
  264. package/es/toast/Toast.d.ts +31 -38
  265. package/es/toast/index.css +1 -1
  266. package/es/tree-select/TreeSelect.d.ts +26 -15
  267. package/es/tree-select/index.css +1 -1
  268. package/es/tree-select/index.d.ts +26 -15
  269. package/es/uploader/Uploader.d.ts +61 -50
  270. package/es/uploader/UploaderPreviewItem.d.ts +13 -20
  271. package/es/uploader/index.css +1 -1
  272. package/es/uploader/index.d.ts +61 -50
  273. package/lib/action-bar/ActionBar.d.ts +6 -5
  274. package/lib/action-bar/index.css +1 -1
  275. package/lib/action-bar/index.d.ts +6 -5
  276. package/lib/action-bar-button/ActionBarButton.d.ts +11 -21
  277. package/lib/action-bar-button/index.css +1 -1
  278. package/lib/action-bar-button/index.d.ts +11 -21
  279. package/lib/action-bar-icon/ActionBarIcon.d.ts +16 -84
  280. package/lib/action-bar-icon/index.css +1 -1
  281. package/lib/action-bar-icon/index.d.ts +14 -64
  282. package/lib/action-sheet/ActionSheet.d.ts +54 -47
  283. package/lib/action-sheet/index.css +1 -1
  284. package/lib/action-sheet/index.d.ts +54 -47
  285. package/lib/address-edit/AddressEdit.d.ts +48 -48
  286. package/lib/address-edit/AddressEditDetail.d.ts +10 -20
  287. package/lib/address-edit/index.css +1 -1
  288. package/lib/address-edit/index.d.ts +48 -48
  289. package/lib/address-list/AddressList.d.ts +18 -18
  290. package/lib/address-list/AddressListItem.d.ts +9 -12
  291. package/lib/address-list/index.css +1 -1
  292. package/lib/address-list/index.d.ts +18 -18
  293. package/lib/address-list/index.less +1 -1
  294. package/lib/area/Area.d.ts +41 -33
  295. package/lib/area/index.d.ts +41 -33
  296. package/lib/badge/Badge.d.ts +19 -20
  297. package/lib/badge/index.css +1 -1
  298. package/lib/badge/index.d.ts +19 -20
  299. package/lib/button/Button.d.ts +39 -47
  300. package/lib/button/index.css +1 -1
  301. package/lib/button/index.d.ts +39 -47
  302. package/lib/calendar/Calendar.d.ts +85 -62
  303. package/lib/calendar/Calendar.js +6 -1
  304. package/lib/calendar/CalendarDay.d.ts +13 -14
  305. package/lib/calendar/CalendarHeader.d.ts +7 -14
  306. package/lib/calendar/CalendarMonth.d.ts +25 -32
  307. package/lib/calendar/index.css +1 -1
  308. package/lib/calendar/index.d.ts +85 -62
  309. package/lib/card/Card.d.ts +16 -26
  310. package/lib/card/index.css +1 -1
  311. package/lib/card/index.d.ts +16 -26
  312. package/lib/cascader/Cascader.d.ts +36 -22
  313. package/lib/cascader/Cascader.js +3 -2
  314. package/lib/cascader/index.css +1 -1
  315. package/lib/cascader/index.d.ts +32 -22
  316. package/lib/cell/Cell.d.ts +27 -41
  317. package/lib/cell/index.css +1 -1
  318. package/lib/cell/index.d.ts +27 -41
  319. package/lib/cell-group/CellGroup.d.ts +8 -10
  320. package/lib/cell-group/index.css +1 -1
  321. package/lib/cell-group/index.d.ts +8 -10
  322. package/lib/checkbox/Checkbox.d.ts +17 -21
  323. package/lib/checkbox/Checker.d.ts +24 -29
  324. package/lib/checkbox/index.css +1 -1
  325. package/lib/checkbox/index.d.ts +17 -21
  326. package/lib/checkbox-group/CheckboxGroup.d.ts +11 -16
  327. package/lib/checkbox-group/index.css +1 -1
  328. package/lib/checkbox-group/index.d.ts +11 -16
  329. package/lib/circle/Circle.d.ts +35 -28
  330. package/lib/circle/index.css +1 -1
  331. package/lib/circle/index.d.ts +35 -28
  332. package/lib/col/Col.d.ts +11 -10
  333. package/lib/col/index.css +1 -1
  334. package/lib/col/index.d.ts +11 -10
  335. package/lib/collapse/Collapse.d.ts +11 -9
  336. package/lib/collapse/index.d.ts +11 -9
  337. package/lib/collapse-item/CollapseItem.d.ts +31 -41
  338. package/lib/collapse-item/index.css +1 -1
  339. package/lib/collapse-item/index.d.ts +31 -41
  340. package/lib/composables/use-height.js +6 -2
  341. package/lib/config-provider/ConfigProvider.d.ts +8 -10
  342. package/lib/config-provider/index.d.ts +8 -10
  343. package/lib/contact-card/ContactCard.d.ts +13 -14
  344. package/lib/contact-card/index.css +1 -1
  345. package/lib/contact-card/index.d.ts +13 -14
  346. package/lib/contact-edit/ContactEdit.d.ts +15 -18
  347. package/lib/contact-edit/index.css +1 -1
  348. package/lib/contact-edit/index.d.ts +15 -18
  349. package/lib/contact-list/ContactList.d.ts +6 -11
  350. package/lib/contact-list/index.css +1 -1
  351. package/lib/contact-list/index.d.ts +6 -11
  352. package/lib/count-down/CountDown.d.ts +15 -11
  353. package/lib/count-down/index.css +1 -1
  354. package/lib/count-down/index.d.ts +15 -11
  355. package/lib/coupon/Coupon.d.ts +12 -11
  356. package/lib/coupon/index.css +1 -1
  357. package/lib/coupon/index.d.ts +12 -11
  358. package/lib/coupon-cell/CouponCell.d.ts +23 -16
  359. package/lib/coupon-cell/index.css +1 -1
  360. package/lib/coupon-cell/index.d.ts +23 -16
  361. package/lib/coupon-list/CouponList.d.ts +53 -40
  362. package/lib/coupon-list/index.css +1 -1
  363. package/lib/coupon-list/index.d.ts +53 -40
  364. package/lib/datetime-picker/DatePicker.d.ts +45 -36
  365. package/lib/datetime-picker/TimePicker.d.ts +47 -38
  366. package/lib/dialog/Dialog.d.ts +52 -59
  367. package/lib/dialog/function-call.d.ts +52 -59
  368. package/lib/dialog/index.css +1 -1
  369. package/lib/divider/Divider.d.ts +11 -9
  370. package/lib/divider/index.css +1 -1
  371. package/lib/divider/index.d.ts +11 -9
  372. package/lib/dropdown-item/DropdownItem.d.ts +15 -18
  373. package/lib/dropdown-item/index.css +1 -1
  374. package/lib/dropdown-item/index.d.ts +15 -18
  375. package/lib/dropdown-menu/DropdownMenu.d.ts +24 -18
  376. package/lib/dropdown-menu/index.css +1 -1
  377. package/lib/dropdown-menu/index.d.ts +24 -18
  378. package/lib/empty/Empty.d.ts +8 -10
  379. package/lib/empty/index.css +1 -1
  380. package/lib/empty/index.d.ts +8 -10
  381. package/lib/field/Field.d.ts +80 -90
  382. package/lib/field/index.css +1 -1
  383. package/lib/field/index.d.ts +80 -90
  384. package/lib/form/Form.d.ts +24 -30
  385. package/lib/form/index.d.ts +24 -30
  386. package/lib/grid/Grid.d.ts +20 -22
  387. package/lib/grid/index.css +1 -1
  388. package/lib/grid/index.d.ts +20 -22
  389. package/lib/grid-item/GridItem.d.ts +15 -82
  390. package/lib/grid-item/index.css +1 -1
  391. package/lib/grid-item/index.d.ts +13 -62
  392. package/lib/icon/Icon.d.ts +16 -79
  393. package/lib/icon/index.css +1 -1
  394. package/lib/icon/index.d.ts +14 -59
  395. package/lib/image/Image.d.ts +32 -32
  396. package/lib/image/Image.js +12 -3
  397. package/lib/image/index.css +1 -1
  398. package/lib/image/index.d.ts +30 -32
  399. package/lib/image-preview/ImagePreview.d.ts +54 -42
  400. package/lib/image-preview/ImagePreviewItem.d.ts +21 -18
  401. package/lib/image-preview/ImagePreviewItem.js +12 -4
  402. package/lib/image-preview/function-call.d.ts +54 -42
  403. package/lib/image-preview/index.css +1 -1
  404. package/lib/index-anchor/IndexAnchor.d.ts +3 -5
  405. package/lib/index-anchor/index.css +1 -1
  406. package/lib/index-anchor/index.d.ts +3 -5
  407. package/lib/index-bar/IndexBar.d.ts +17 -16
  408. package/lib/index-bar/index.css +1 -1
  409. package/lib/index-bar/index.d.ts +17 -16
  410. package/lib/index.css +1 -1
  411. package/lib/index.d.ts +1 -1
  412. package/lib/index.js +1 -1
  413. package/lib/list/List.d.ts +20 -22
  414. package/lib/list/index.css +1 -1
  415. package/lib/list/index.d.ts +20 -22
  416. package/lib/loading/Loading.d.ts +11 -16
  417. package/lib/loading/index.css +1 -1
  418. package/lib/loading/index.d.ts +11 -16
  419. package/lib/nav-bar/NavBar.d.ts +14 -22
  420. package/lib/nav-bar/index.css +1 -1
  421. package/lib/nav-bar/index.d.ts +14 -22
  422. package/lib/notice-bar/NoticeBar.d.ts +20 -22
  423. package/lib/notice-bar/index.css +1 -1
  424. package/lib/notice-bar/index.d.ts +20 -22
  425. package/lib/notify/Notify.d.ts +39 -39
  426. package/lib/notify/function-call.d.ts +39 -39
  427. package/lib/notify/index.css +1 -1
  428. package/lib/number-keyboard/NumberKeyboard.d.ts +46 -38
  429. package/lib/number-keyboard/NumberKeyboardKey.d.ts +8 -16
  430. package/lib/number-keyboard/index.css +1 -1
  431. package/lib/number-keyboard/index.d.ts +46 -38
  432. package/lib/overlay/Overlay.d.ts +24 -16
  433. package/lib/overlay/Overlay.js +2 -1
  434. package/lib/overlay/index.css +1 -1
  435. package/lib/overlay/index.d.ts +20 -16
  436. package/lib/pagination/Pagination.d.ts +29 -22
  437. package/lib/pagination/index.css +1 -1
  438. package/lib/pagination/index.d.ts +29 -22
  439. package/lib/password-input/PasswordInput.d.ts +18 -18
  440. package/lib/password-input/index.css +1 -1
  441. package/lib/password-input/index.d.ts +18 -18
  442. package/lib/picker/Picker.d.ts +38 -33
  443. package/lib/picker/PickerColumn.d.ts +29 -22
  444. package/lib/picker/index.css +1 -1
  445. package/lib/picker/index.d.ts +38 -33
  446. package/lib/popover/Popover.d.ts +48 -36
  447. package/lib/popover/index.css +1 -1
  448. package/lib/popover/index.d.ts +48 -36
  449. package/lib/popup/Popup.d.ts +44 -45
  450. package/lib/popup/index.css +1 -1
  451. package/lib/popup/index.d.ts +44 -45
  452. package/lib/progress/Progress.d.ts +18 -22
  453. package/lib/progress/index.css +1 -1
  454. package/lib/progress/index.d.ts +18 -22
  455. package/lib/pull-refresh/PullRefresh.d.ts +21 -24
  456. package/lib/pull-refresh/index.css +1 -1
  457. package/lib/pull-refresh/index.d.ts +21 -24
  458. package/lib/radio/Radio.d.ts +13 -20
  459. package/lib/radio/index.css +1 -1
  460. package/lib/radio/index.d.ts +13 -20
  461. package/lib/radio-group/RadioGroup.d.ts +7 -14
  462. package/lib/radio-group/index.css +1 -1
  463. package/lib/radio-group/index.d.ts +7 -14
  464. package/lib/rate/Rate.d.ts +31 -32
  465. package/lib/rate/index.css +1 -1
  466. package/lib/rate/index.d.ts +31 -32
  467. package/lib/row/Row.d.ts +16 -14
  468. package/lib/row/index.css +1 -1
  469. package/lib/row/index.d.ts +16 -14
  470. package/lib/search/Search.d.ts +58 -51
  471. package/lib/search/index.css +1 -1
  472. package/lib/search/index.d.ts +58 -51
  473. package/lib/share-sheet/ShareSheet.d.ts +45 -41
  474. package/lib/share-sheet/index.css +1 -1
  475. package/lib/share-sheet/index.d.ts +45 -41
  476. package/lib/sidebar/Sidebar.d.ts +6 -5
  477. package/lib/sidebar/index.css +1 -1
  478. package/lib/sidebar/index.d.ts +6 -5
  479. package/lib/sidebar-item/SidebarItem.d.ts +13 -78
  480. package/lib/sidebar-item/index.css +1 -1
  481. package/lib/sidebar-item/index.d.ts +11 -58
  482. package/lib/skeleton/Skeleton.d.ts +27 -24
  483. package/lib/skeleton/Skeleton.js +1 -1
  484. package/lib/skeleton/index.css +1 -1
  485. package/lib/skeleton/index.d.ts +27 -24
  486. package/lib/slider/Slider.d.ts +27 -30
  487. package/lib/slider/index.css +1 -1
  488. package/lib/slider/index.d.ts +27 -30
  489. package/lib/step/Step.d.ts +1 -1
  490. package/lib/step/index.css +1 -1
  491. package/lib/step/index.d.ts +1 -1
  492. package/lib/stepper/Stepper.d.ts +51 -48
  493. package/lib/stepper/index.css +1 -1
  494. package/lib/stepper/index.d.ts +51 -48
  495. package/lib/steps/Steps.d.ts +19 -20
  496. package/lib/steps/index.css +1 -1
  497. package/lib/steps/index.d.ts +19 -20
  498. package/lib/sticky/Sticky.d.ts +16 -14
  499. package/lib/sticky/index.css +1 -1
  500. package/lib/sticky/index.d.ts +16 -14
  501. package/lib/style/animation.css +1 -1
  502. package/lib/style/base.css +1 -1
  503. package/lib/style/css-variables.css +1 -1
  504. package/lib/style/normalize.css +1 -1
  505. package/lib/submit-bar/SubmitBar.d.ts +28 -32
  506. package/lib/submit-bar/index.css +1 -1
  507. package/lib/submit-bar/index.d.ts +28 -32
  508. package/lib/swipe/Swipe.d.ts +35 -28
  509. package/lib/swipe/index.css +1 -1
  510. package/lib/swipe/index.d.ts +35 -28
  511. package/lib/swipe-cell/SwipeCell.d.ts +11 -16
  512. package/lib/swipe-cell/index.css +1 -1
  513. package/lib/swipe-cell/index.d.ts +11 -16
  514. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  515. package/lib/swipe-item/index.css +1 -1
  516. package/lib/swipe-item/index.d.ts +1 -1
  517. package/lib/switch/Switch.d.ts +16 -20
  518. package/lib/switch/index.css +1 -1
  519. package/lib/switch/index.d.ts +16 -20
  520. package/lib/tab/Tab.d.ts +16 -25
  521. package/lib/tab/index.css +1 -1
  522. package/lib/tab/index.d.ts +16 -25
  523. package/lib/tabbar/Tabbar.d.ts +24 -24
  524. package/lib/tabbar/index.css +1 -1
  525. package/lib/tabbar/index.d.ts +24 -24
  526. package/lib/tabbar-item/TabbarItem.d.ts +14 -80
  527. package/lib/tabbar-item/index.css +1 -1
  528. package/lib/tabbar-item/index.d.ts +12 -60
  529. package/lib/tabs/Tabs.d.ts +43 -44
  530. package/lib/tabs/TabsContent.d.ts +18 -17
  531. package/lib/tabs/TabsTitle.d.ts +19 -32
  532. package/lib/tabs/index.css +1 -1
  533. package/lib/tabs/index.d.ts +43 -44
  534. package/lib/tag/Tag.d.ts +17 -22
  535. package/lib/tag/index.css +1 -1
  536. package/lib/tag/index.d.ts +17 -22
  537. package/lib/toast/Toast.d.ts +31 -38
  538. package/lib/toast/index.css +1 -1
  539. package/lib/tree-select/TreeSelect.d.ts +26 -15
  540. package/lib/tree-select/index.css +1 -1
  541. package/lib/tree-select/index.d.ts +26 -15
  542. package/lib/uploader/Uploader.d.ts +61 -50
  543. package/lib/uploader/UploaderPreviewItem.d.ts +13 -20
  544. package/lib/uploader/index.css +1 -1
  545. package/lib/uploader/index.d.ts +61 -50
  546. package/lib/vant.cjs.js +43 -15
  547. package/lib/vant.cjs.min.js +1 -1
  548. package/lib/vant.es.js +43 -15
  549. package/lib/vant.es.min.js +43 -15
  550. package/lib/vant.js +43 -15
  551. package/lib/vant.min.js +1 -1
  552. package/package.json +3 -3
  553. package/vetur/attributes.json +939 -939
  554. package/vetur/tags.json +31 -31
  555. package/vetur/web-types.json +1511 -1511
@@ -1 +1 @@
1
- :root{--van-stepper-background-color:var(--van-active-color);--van-stepper-button-icon-color:var(--van-text-color);--van-stepper-button-disabled-color:var(--van-background-color);--van-stepper-button-disabled-icon-color:var(--van-gray-5);--van-stepper-button-round-theme-color:var(--van-danger-color);--van-stepper-input-width:32px;--van-stepper-input-height:28px;--van-stepper-input-font-size:var(--van-font-size-md);--van-stepper-input-line-height:normal;--van-stepper-input-text-color:var(--van-text-color);--van-stepper-input-disabled-text-color:var(--van-text-color-3);--van-stepper-input-disabled-background-color:var(--van-active-color);--van-stepper-border-radius:var(--van-border-radius-md)}.van-stepper{display:inline-block;-webkit-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:var(--van-stepper-input-height);height:var(--van-stepper-input-height);margin:0;padding:0;color:var(--van-stepper-button-icon-color);vertical-align:middle;background:var(--van-stepper-background-color);border:0;cursor:pointer}.van-stepper__minus::before,.van-stepper__plus::before{width:50%;height:1px}.van-stepper__minus::after,.van-stepper__plus::after{width:1px;height:50%}.van-stepper__minus::after,.van-stepper__minus::before,.van-stepper__plus::after,.van-stepper__plus::before{position:absolute;top:50%;left:50%;background-color:currentColor;transform:translate(-50%,-50%);content:''}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:var(--van-stepper-button-disabled-icon-color);background-color:var(--van-stepper-button-disabled-color);cursor:not-allowed}.van-stepper__minus{border-radius:var(--van-stepper-border-radius) 0 0 var(--van-stepper-border-radius)}.van-stepper__minus::after{display:none}.van-stepper__plus{border-radius:0 var(--van-stepper-border-radius) var(--van-stepper-border-radius) 0}.van-stepper__input{box-sizing:border-box;width:var(--van-stepper-input-width);height:var(--van-stepper-input-height);margin:0 2px;padding:0;color:var(--van-stepper-input-text-color);font-size:var(--van-stepper-input-font-size);line-height:var(--van-stepper-input-line-height);text-align:center;vertical-align:middle;background:var(--van-stepper-background-color);border:0;border-width:1px 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:var(--van-stepper-input-disabled-text-color);background-color:var(--van-stepper-input-disabled-background-color);-webkit-text-fill-color:var(--van-stepper-input-disabled-text-color);opacity:1}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__minus,.van-stepper--round .van-stepper__plus{border-radius:100%}.van-stepper--round .van-stepper__minus--disabled,.van-stepper--round .van-stepper__plus--disabled{opacity:.3;cursor:not-allowed}.van-stepper--round .van-stepper__plus{color:var(--van-white);background:var(--van-stepper-button-round-theme-color)}.van-stepper--round .van-stepper__minus{color:var(--van-stepper-button-round-theme-color);background-color:var(--van-background-color-light);border:1px solid var(--van-stepper-button-round-theme-color)}
1
+ :root{--van-stepper-background-color: var(--van-active-color);--van-stepper-button-icon-color: var(--van-text-color);--van-stepper-button-disabled-color: var(--van-background-color);--van-stepper-button-disabled-icon-color: var(--van-gray-5);--van-stepper-button-round-theme-color: var(--van-danger-color);--van-stepper-input-width: 32px;--van-stepper-input-height: 28px;--van-stepper-input-font-size: var(--van-font-size-md);--van-stepper-input-line-height: normal;--van-stepper-input-text-color: var(--van-text-color);--van-stepper-input-disabled-text-color: var(--van-text-color-3);--van-stepper-input-disabled-background-color: var(--van-active-color);--van-stepper-border-radius: var(--van-border-radius-md)}.van-stepper{display:inline-block;-webkit-user-select:none;user-select:none}.van-stepper__minus,.van-stepper__plus{position:relative;box-sizing:border-box;width:var(--van-stepper-input-height);height:var(--van-stepper-input-height);margin:0;padding:0;color:var(--van-stepper-button-icon-color);vertical-align:middle;background:var(--van-stepper-background-color);border:0;cursor:pointer}.van-stepper__minus:before,.van-stepper__plus:before{width:50%;height:1px}.van-stepper__minus:after,.van-stepper__plus:after{width:1px;height:50%}.van-stepper__minus:before,.van-stepper__plus:before,.van-stepper__minus:after,.van-stepper__plus:after{position:absolute;top:50%;left:50%;background-color:currentColor;transform:translate(-50%,-50%);content:""}.van-stepper__minus--disabled,.van-stepper__plus--disabled{color:var(--van-stepper-button-disabled-icon-color);background-color:var(--van-stepper-button-disabled-color);cursor:not-allowed}.van-stepper__minus{border-radius:var(--van-stepper-border-radius) 0 0 var(--van-stepper-border-radius)}.van-stepper__minus:after{display:none}.van-stepper__plus{border-radius:0 var(--van-stepper-border-radius) var(--van-stepper-border-radius) 0}.van-stepper__input{box-sizing:border-box;width:var(--van-stepper-input-width);height:var(--van-stepper-input-height);margin:0 2px;padding:0;color:var(--van-stepper-input-text-color);font-size:var(--van-stepper-input-font-size);line-height:var(--van-stepper-input-line-height);text-align:center;vertical-align:middle;background:var(--van-stepper-background-color);border:0;border-width:1px 0;border-radius:0;-webkit-appearance:none}.van-stepper__input:disabled{color:var(--van-stepper-input-disabled-text-color);background-color:var(--van-stepper-input-disabled-background-color);-webkit-text-fill-color:var(--van-stepper-input-disabled-text-color);opacity:1}.van-stepper__input:read-only{cursor:default}.van-stepper--round .van-stepper__input{background-color:transparent}.van-stepper--round .van-stepper__plus,.van-stepper--round .van-stepper__minus{border-radius:100%}.van-stepper--round .van-stepper__plus--disabled,.van-stepper--round .van-stepper__minus--disabled{opacity:.3;cursor:not-allowed}.van-stepper--round .van-stepper__plus{color:var(--van-white);background:var(--van-stepper-button-round-theme-color)}.van-stepper--round .van-stepper__minus{color:var(--van-stepper-button-round-theme-color);background-color:var(--van-background-color-light);border:1px solid var(--van-stepper-button-round-theme-color)}
@@ -48,54 +48,57 @@ export declare const Stepper: import("../utils").WithInstall<import("vue").Defin
48
48
  default: number;
49
49
  };
50
50
  decimalLength: (NumberConstructor | StringConstructor)[];
51
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
52
- min?: unknown;
53
- max?: unknown;
54
- name?: unknown;
55
- step?: unknown;
56
- theme?: unknown;
57
- integer?: unknown;
58
- disabled?: unknown;
59
- showPlus?: unknown;
60
- showMinus?: unknown;
61
- showInput?: unknown;
62
- longPress?: unknown;
63
- allowEmpty?: unknown;
64
- modelValue?: unknown;
65
- inputWidth?: unknown;
66
- buttonSize?: unknown;
67
- placeholder?: unknown;
68
- disablePlus?: unknown;
69
- disableMinus?: unknown;
70
- disableInput?: unknown;
71
- beforeChange?: unknown;
72
- defaultValue?: unknown;
73
- decimalLength?: unknown;
74
- } & {
75
- name: string | number;
76
- max: string | number;
77
- disabled: boolean;
78
- min: string | number;
79
- step: string | number;
80
- integer: boolean;
81
- showPlus: boolean;
82
- showMinus: boolean;
83
- showInput: boolean;
84
- longPress: boolean;
85
- allowEmpty: boolean;
86
- disablePlus: boolean;
87
- disableMinus: boolean;
88
- disableInput: boolean;
89
- defaultValue: string | number;
90
- } & {
91
- modelValue?: string | number | undefined;
92
- placeholder?: string | undefined;
93
- beforeChange?: import("../utils").Interceptor | undefined;
94
- theme?: import("./Stepper").StepperTheme | undefined;
95
- buttonSize?: string | number | undefined;
96
- inputWidth?: string | number | undefined;
97
- decimalLength?: string | number | undefined;
98
- }> & {
51
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "plus" | "minus" | "overlimit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
+ min: {
53
+ type: (NumberConstructor | StringConstructor)[];
54
+ default: number;
55
+ };
56
+ max: {
57
+ type: (NumberConstructor | StringConstructor)[];
58
+ default: number;
59
+ };
60
+ name: {
61
+ type: (NumberConstructor | StringConstructor)[];
62
+ default: string;
63
+ };
64
+ step: {
65
+ type: (NumberConstructor | StringConstructor)[];
66
+ default: number;
67
+ };
68
+ theme: import("vue").PropType<import("./Stepper").StepperTheme>;
69
+ integer: BooleanConstructor;
70
+ disabled: BooleanConstructor;
71
+ showPlus: {
72
+ type: BooleanConstructor;
73
+ default: true;
74
+ };
75
+ showMinus: {
76
+ type: BooleanConstructor;
77
+ default: true;
78
+ };
79
+ showInput: {
80
+ type: BooleanConstructor;
81
+ default: true;
82
+ };
83
+ longPress: {
84
+ type: BooleanConstructor;
85
+ default: true;
86
+ };
87
+ allowEmpty: BooleanConstructor;
88
+ modelValue: (NumberConstructor | StringConstructor)[];
89
+ inputWidth: (NumberConstructor | StringConstructor)[];
90
+ buttonSize: (NumberConstructor | StringConstructor)[];
91
+ placeholder: StringConstructor;
92
+ disablePlus: BooleanConstructor;
93
+ disableMinus: BooleanConstructor;
94
+ disableInput: BooleanConstructor;
95
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
96
+ defaultValue: {
97
+ type: (NumberConstructor | StringConstructor)[];
98
+ default: number;
99
+ };
100
+ decimalLength: (NumberConstructor | StringConstructor)[];
101
+ }>> & {
99
102
  onFocus?: ((...args: any[]) => any) | undefined;
100
103
  onBlur?: ((...args: any[]) => any) | undefined;
101
104
  onChange?: ((...args: any[]) => any) | undefined;
@@ -43,26 +43,25 @@ declare const _default: import("vue").DefineComponent<{
43
43
  activeColor: StringConstructor;
44
44
  inactiveIcon: StringConstructor;
45
45
  inactiveColor: StringConstructor;
46
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click-step"[], "click-step", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
47
- active?: unknown;
48
- direction?: unknown;
49
- activeIcon?: unknown;
50
- iconPrefix?: unknown;
51
- finishIcon?: unknown;
52
- activeColor?: unknown;
53
- inactiveIcon?: unknown;
54
- inactiveColor?: unknown;
55
- } & {
56
- active: string | number;
57
- direction: StepsDirection;
58
- activeIcon: string;
59
- } & {
60
- iconPrefix?: string | undefined;
61
- activeColor?: string | undefined;
62
- inactiveColor?: string | undefined;
63
- finishIcon?: string | undefined;
64
- inactiveIcon?: string | undefined;
65
- }> & {
46
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click-step"[], "click-step", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
47
+ active: {
48
+ type: (NumberConstructor | StringConstructor)[];
49
+ default: number;
50
+ };
51
+ direction: {
52
+ type: import("vue").PropType<StepsDirection>;
53
+ default: StepsDirection;
54
+ };
55
+ activeIcon: {
56
+ type: import("vue").PropType<string>;
57
+ default: string;
58
+ };
59
+ iconPrefix: StringConstructor;
60
+ finishIcon: StringConstructor;
61
+ activeColor: StringConstructor;
62
+ inactiveIcon: StringConstructor;
63
+ inactiveColor: StringConstructor;
64
+ }>> & {
66
65
  "onClick-step"?: ((...args: any[]) => any) | undefined;
67
66
  }, {
68
67
  active: string | number;
@@ -1 +1 @@
1
- :root{--van-steps-background-color:var(--van-background-color-light)}.van-steps{overflow:hidden;background-color:var(--van-steps-background-color)}.van-steps--horizontal{padding:10px 10px 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 10px;padding-bottom:22px}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}
1
+ :root{--van-steps-background-color: var(--van-background-color-light)}.van-steps{overflow:hidden;background-color:var(--van-steps-background-color)}.van-steps--horizontal{padding:10px 10px 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 10px;padding-bottom:22px}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}
@@ -16,26 +16,25 @@ export declare const Steps: import("../utils").WithInstall<import("vue").DefineC
16
16
  activeColor: StringConstructor;
17
17
  inactiveIcon: StringConstructor;
18
18
  inactiveColor: StringConstructor;
19
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click-step"[], "click-step", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
20
- active?: unknown;
21
- direction?: unknown;
22
- activeIcon?: unknown;
23
- iconPrefix?: unknown;
24
- finishIcon?: unknown;
25
- activeColor?: unknown;
26
- inactiveIcon?: unknown;
27
- inactiveColor?: unknown;
28
- } & {
29
- active: string | number;
30
- direction: import("./Steps").StepsDirection;
31
- activeIcon: string;
32
- } & {
33
- iconPrefix?: string | undefined;
34
- activeColor?: string | undefined;
35
- inactiveColor?: string | undefined;
36
- finishIcon?: string | undefined;
37
- inactiveIcon?: string | undefined;
38
- }> & {
19
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click-step"[], "click-step", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ active: {
21
+ type: (NumberConstructor | StringConstructor)[];
22
+ default: number;
23
+ };
24
+ direction: {
25
+ type: import("vue").PropType<import("./Steps").StepsDirection>;
26
+ default: import("./Steps").StepsDirection;
27
+ };
28
+ activeIcon: {
29
+ type: import("vue").PropType<string>;
30
+ default: string;
31
+ };
32
+ iconPrefix: StringConstructor;
33
+ finishIcon: StringConstructor;
34
+ activeColor: StringConstructor;
35
+ inactiveIcon: StringConstructor;
36
+ inactiveColor: StringConstructor;
37
+ }>> & {
39
38
  "onClick-step"?: ((...args: any[]) => any) | undefined;
40
39
  }, {
41
40
  active: string | number;
@@ -32,20 +32,22 @@ declare const _default: import("vue").DefineComponent<{
32
32
  type: (NumberConstructor | StringConstructor)[];
33
33
  default: number;
34
34
  };
35
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change")[], "scroll" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
36
- zIndex?: unknown;
37
- position?: unknown;
38
- container?: unknown;
39
- offsetTop?: unknown;
40
- offsetBottom?: unknown;
41
- } & {
42
- position: StickyPosition;
43
- offsetTop: string | number;
44
- offsetBottom: string | number;
45
- } & {
46
- zIndex?: string | number | undefined;
47
- container?: Element | undefined;
48
- }> & {
35
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change")[], "scroll" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
36
+ zIndex: (NumberConstructor | StringConstructor)[];
37
+ position: {
38
+ type: PropType<StickyPosition>;
39
+ default: StickyPosition;
40
+ };
41
+ container: PropType<Element>;
42
+ offsetTop: {
43
+ type: (NumberConstructor | StringConstructor)[];
44
+ default: number;
45
+ };
46
+ offsetBottom: {
47
+ type: (NumberConstructor | StringConstructor)[];
48
+ default: number;
49
+ };
50
+ }>> & {
49
51
  onChange?: ((...args: any[]) => any) | undefined;
50
52
  onScroll?: ((...args: any[]) => any) | undefined;
51
53
  }, {
@@ -1 +1 @@
1
- :root{--van-sticky-z-index:99}.van-sticky--fixed{position:fixed;z-index:var(--van-sticky-z-index)}
1
+ :root{--van-sticky-z-index: 99}.van-sticky--fixed{position:fixed;z-index:var(--van-sticky-z-index)}
@@ -13,20 +13,22 @@ export declare const Sticky: import("../utils").WithInstall<import("vue").Define
13
13
  type: (NumberConstructor | StringConstructor)[];
14
14
  default: number;
15
15
  };
16
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change")[], "scroll" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
17
- zIndex?: unknown;
18
- position?: unknown;
19
- container?: unknown;
20
- offsetTop?: unknown;
21
- offsetBottom?: unknown;
22
- } & {
23
- position: import("./Sticky").StickyPosition;
24
- offsetTop: string | number;
25
- offsetBottom: string | number;
26
- } & {
27
- zIndex?: string | number | undefined;
28
- container?: Element | undefined;
29
- }> & {
16
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change")[], "scroll" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ zIndex: (NumberConstructor | StringConstructor)[];
18
+ position: {
19
+ type: import("vue").PropType<import("./Sticky").StickyPosition>;
20
+ default: import("./Sticky").StickyPosition;
21
+ };
22
+ container: import("vue").PropType<Element>;
23
+ offsetTop: {
24
+ type: (NumberConstructor | StringConstructor)[];
25
+ default: number;
26
+ };
27
+ offsetBottom: {
28
+ type: (NumberConstructor | StringConstructor)[];
29
+ default: number;
30
+ };
31
+ }>> & {
30
32
  onChange?: ((...args: any[]) => any) | undefined;
31
33
  onScroll?: ((...args: any[]) => any) | undefined;
32
34
  }, {
@@ -1 +1 @@
1
- @keyframes van-slide-up-enter{from{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{from{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{from{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{from{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{from{opacity:0}to{opacity:1}}@keyframes van-fade-out{from{opacity:1}to{opacity:0}}@keyframes van-rotate{from{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-animation-duration-base) van-fade-in both var(--van-animation-timing-function-enter)}.van-fade-leave-active{animation:var(--van-animation-duration-base) van-fade-out both var(--van-animation-timing-function-leave)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}
1
+ @keyframes van-slide-up-enter{0%{transform:translateY(100%)}}@keyframes van-slide-up-leave{to{transform:translateY(100%)}}@keyframes van-slide-down-enter{0%{transform:translateY(-100%)}}@keyframes van-slide-down-leave{to{transform:translateY(-100%)}}@keyframes van-slide-left-enter{0%{transform:translate(-100%)}}@keyframes van-slide-left-leave{to{transform:translate(-100%)}}@keyframes van-slide-right-enter{0%{transform:translate(100%)}}@keyframes van-slide-right-leave{to{transform:translate(100%)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-animation-duration-base) van-fade-in both var(--van-animation-timing-function-enter)}.van-fade-leave-active{animation:var(--van-animation-duration-base) van-fade-out both var(--van-animation-timing-function-leave)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}
package/es/style/base.css CHANGED
@@ -1 +1 @@
1
- :root{--van-black:#000;--van-white:#fff;--van-gray-1:#f7f8fa;--van-gray-2:#f2f3f5;--van-gray-3:#ebedf0;--van-gray-4:#dcdee0;--van-gray-5:#c8c9cc;--van-gray-6:#969799;--van-gray-7:#646566;--van-gray-8:#323233;--van-red:#ee0a24;--van-blue:#1989fa;--van-orange:#ff976a;--van-orange-dark:#ed6a0c;--van-orange-light:#fffbe8;--van-green:#07c160;--van-gradient-red:linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange:linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color:var(--van-blue);--van-success-color:var(--van-green);--van-danger-color:var(--van-red);--van-warning-color:var(--van-orange);--van-text-color:var(--van-gray-8);--van-text-color-2:var(--van-gray-6);--van-text-color-3:var(--van-gray-5);--van-text-link-color:#576b95;--van-active-color:var(--van-gray-2);--van-active-opacity:0.6;--van-disabled-opacity:0.5;--van-background-color:var(--van-gray-1);--van-background-color-light:var(--van-white);--van-padding-base:4px;--van-padding-xs:8px;--van-padding-sm:12px;--van-padding-md:16px;--van-padding-lg:24px;--van-padding-xl:32px;--van-font-size-xs:10px;--van-font-size-sm:12px;--van-font-size-md:14px;--van-font-size-lg:16px;--van-font-weight-bold:500;--van-line-height-xs:14px;--van-line-height-sm:18px;--van-line-height-md:20px;--van-line-height-lg:22px;--van-base-font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC','miui','Hiragino Sans GB','Microsoft Yahei',sans-serif;--van-price-integer-font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif;--van-animation-duration-base:0.3s;--van-animation-duration-fast:0.2s;--van-animation-timing-function-enter:ease-out;--van-animation-timing-function-leave:ease-in;--van-border-color:var(--van-gray-3);--van-border-width-base:1px;--van-border-radius-sm:2px;--van-border-radius-md:4px;--van-border-radius-lg:8px;--van-border-radius-max:999px}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC',miui,'Hiragino Sans GB','Microsoft Yahei',sans-serif}a{text-decoration:none}button,input,textarea{color:inherit;font:inherit}[class*=van-]:focus,a:focus,button:focus,input:focus,textarea:focus{outline:0}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{from{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{from{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{from{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{from{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{from{opacity:0}to{opacity:1}}@keyframes van-fade-out{from{opacity:1}to{opacity:0}}@keyframes van-rotate{from{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-animation-duration-base) van-fade-in both var(--van-animation-timing-function-enter)}.van-fade-leave-active{animation:var(--van-animation-duration-base) van-fade-out both var(--van-animation-timing-function-leave)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-clearfix::after{display:table;clear:both;content:''}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]::after{position:absolute;box-sizing:border-box;content:' ';pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--top::after{border-top-width:1px}.van-hairline--left::after{border-left-width:1px}.van-hairline--right::after{border-right-width:1px}.van-hairline--bottom::after{border-bottom-width:1px}.van-hairline--top-bottom::after,.van-hairline-unset--top-bottom::after{border-width:1px 0}.van-hairline--surround::after{border-width:1px}
1
+ :root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-text-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background-color: var(--van-gray-1);--van-background-color-light: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-font-weight-bold: 500;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif;--van-animation-duration-base: .3s;--van-animation-duration-fast: .2s;--van-animation-timing-function-enter: ease-out;--van-animation-timing-function-leave: ease-in;--van-border-color: var(--van-gray-3);--van-border-width-base: 1px;--van-border-radius-sm: 2px;--van-border-radius-md: 4px;--van-border-radius-lg: 8px;--van-border-radius-max: 999px}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translateY(100%)}}@keyframes van-slide-up-leave{to{transform:translateY(100%)}}@keyframes van-slide-down-enter{0%{transform:translateY(-100%)}}@keyframes van-slide-down-leave{to{transform:translateY(-100%)}}@keyframes van-slide-left-enter{0%{transform:translate(-100%)}}@keyframes van-slide-left-leave{to{transform:translate(-100%)}}@keyframes van-slide-right-enter{0%{transform:translate(100%)}}@keyframes van-slide-right-leave{to{transform:translate(100%)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-animation-duration-base) van-fade-in both var(--van-animation-timing-function-enter)}.van-fade-leave-active{animation:var(--van-animation-duration-base) van-fade-out both var(--van-animation-timing-function-leave)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-animation-duration-base) both var(--van-animation-timing-function-enter)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-animation-duration-base) both var(--van-animation-timing-function-leave)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}
@@ -1 +1 @@
1
- :root{--van-black:#000;--van-white:#fff;--van-gray-1:#f7f8fa;--van-gray-2:#f2f3f5;--van-gray-3:#ebedf0;--van-gray-4:#dcdee0;--van-gray-5:#c8c9cc;--van-gray-6:#969799;--van-gray-7:#646566;--van-gray-8:#323233;--van-red:#ee0a24;--van-blue:#1989fa;--van-orange:#ff976a;--van-orange-dark:#ed6a0c;--van-orange-light:#fffbe8;--van-green:#07c160;--van-gradient-red:linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange:linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color:var(--van-blue);--van-success-color:var(--van-green);--van-danger-color:var(--van-red);--van-warning-color:var(--van-orange);--van-text-color:var(--van-gray-8);--van-text-color-2:var(--van-gray-6);--van-text-color-3:var(--van-gray-5);--van-text-link-color:#576b95;--van-active-color:var(--van-gray-2);--van-active-opacity:0.6;--van-disabled-opacity:0.5;--van-background-color:var(--van-gray-1);--van-background-color-light:var(--van-white);--van-padding-base:4px;--van-padding-xs:8px;--van-padding-sm:12px;--van-padding-md:16px;--van-padding-lg:24px;--van-padding-xl:32px;--van-font-size-xs:10px;--van-font-size-sm:12px;--van-font-size-md:14px;--van-font-size-lg:16px;--van-font-weight-bold:500;--van-line-height-xs:14px;--van-line-height-sm:18px;--van-line-height-md:20px;--van-line-height-lg:22px;--van-base-font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC','miui','Hiragino Sans GB','Microsoft Yahei',sans-serif;--van-price-integer-font-family:Avenir-Heavy,PingFang SC,Helvetica Neue,Arial,sans-serif;--van-animation-duration-base:0.3s;--van-animation-duration-fast:0.2s;--van-animation-timing-function-enter:ease-out;--van-animation-timing-function-leave:ease-in;--van-border-color:var(--van-gray-3);--van-border-width-base:1px;--van-border-radius-sm:2px;--van-border-radius-md:4px;--van-border-radius-lg:8px;--van-border-radius-max:999px}
1
+ :root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-text-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background-color: var(--van-gray-1);--van-background-color-light: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-font-weight-bold: 500;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif;--van-animation-duration-base: .3s;--van-animation-duration-fast: .2s;--van-animation-timing-function-enter: ease-out;--van-animation-timing-function-leave: ease-in;--van-border-color: var(--van-gray-3);--van-border-width-base: 1px;--van-border-radius-sm: 2px;--van-border-radius-md: 4px;--van-border-radius-lg: 8px;--van-border-radius-max: 999px}
@@ -1 +1 @@
1
- html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC',miui,'Hiragino Sans GB','Microsoft Yahei',sans-serif}a{text-decoration:none}button,input,textarea{color:inherit;font:inherit}[class*=van-]:focus,a:focus,button:focus,input:focus,textarea:focus{outline:0}ol,ul{margin:0;padding:0;list-style:none}
1
+ html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}
@@ -57,38 +57,34 @@ declare const _default: import("vue").DefineComponent<{
57
57
  type: BooleanConstructor;
58
58
  default: true;
59
59
  };
60
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
61
- tip?: unknown;
62
- label?: unknown;
63
- price?: unknown;
64
- tipIcon?: unknown;
65
- loading?: unknown;
66
- currency?: unknown;
67
- disabled?: unknown;
68
- textAlign?: unknown;
69
- buttonText?: unknown;
70
- buttonType?: unknown;
71
- buttonColor?: unknown;
72
- suffixLabel?: unknown;
73
- decimalLength?: unknown;
74
- safeAreaInsetBottom?: unknown;
75
- } & {
76
- disabled: boolean;
77
- safeAreaInsetBottom: boolean;
78
- loading: boolean;
79
- currency: string;
80
- decimalLength: string | number;
81
- buttonType: ButtonType;
82
- } & {
83
- label?: string | undefined;
84
- price?: number | undefined;
85
- textAlign?: SubmitBarTextAlign | undefined;
86
- tip?: string | undefined;
87
- tipIcon?: string | undefined;
88
- buttonText?: string | undefined;
89
- buttonColor?: string | undefined;
90
- suffixLabel?: string | undefined;
91
- }> & {
60
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
61
+ tip: StringConstructor;
62
+ label: StringConstructor;
63
+ price: NumberConstructor;
64
+ tipIcon: StringConstructor;
65
+ loading: BooleanConstructor;
66
+ currency: {
67
+ type: PropType<string>;
68
+ default: string;
69
+ };
70
+ disabled: BooleanConstructor;
71
+ textAlign: PropType<SubmitBarTextAlign>;
72
+ buttonText: StringConstructor;
73
+ buttonType: {
74
+ type: PropType<ButtonType>;
75
+ default: ButtonType;
76
+ };
77
+ buttonColor: StringConstructor;
78
+ suffixLabel: StringConstructor;
79
+ decimalLength: {
80
+ type: (NumberConstructor | StringConstructor)[];
81
+ default: number;
82
+ };
83
+ safeAreaInsetBottom: {
84
+ type: BooleanConstructor;
85
+ default: true;
86
+ };
87
+ }>> & {
92
88
  onSubmit?: ((...args: any[]) => any) | undefined;
93
89
  }, {
94
90
  disabled: boolean;
@@ -1 +1 @@
1
- :root{--van-submit-bar-height:50px;--van-submit-bar-z-index:100;--van-submit-bar-background-color:var(--van-background-color-light);--van-submit-bar-button-width:110px;--van-submit-bar-price-color:var(--van-danger-color);--van-submit-bar-price-font-size:var(--van-font-size-sm);--van-submit-bar-price-integer-font-size:20px;--van-submit-bar-price-font-family:var(--van-price-integer-font-family);--van-submit-bar-currency-font-size:var(--van-font-size-md);--van-submit-bar-text-color:var(--van-text-color);--van-submit-bar-text-font-size:var(--van-font-size-md);--van-submit-bar-tip-padding:var(--van-padding-xs) var(--van-padding-sm);--van-submit-bar-tip-font-size:var(--van-font-size-sm);--van-submit-bar-tip-line-height:1.5;--van-submit-bar-tip-color:var(--van-orange-dark);--van-submit-bar-tip-background-color:var(--van-orange-light);--van-submit-bar-tip-icon-size:12px;--van-submit-bar-button-height:40px;--van-submit-bar-padding:0 var(--van-padding-md)}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:var(--van-submit-bar-z-index);width:100%;background:var(--van-submit-bar-background-color);-webkit-user-select:none;user-select:none}.van-submit-bar__tip{padding:var(--van-submit-bar-tip-padding);color:var(--van-submit-bar-tip-color);font-size:var(--van-submit-bar-tip-font-size);line-height:var(--van-submit-bar-tip-line-height);background:var(--van-submit-bar-tip-background-color)}.van-submit-bar__tip-icon{margin-right:var(--van-padding-base);font-size:var(--van-submit-bar-tip-icon-size);vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:flex;align-items:center;justify-content:flex-end;height:var(--van-submit-bar-height);padding:var(--van-submit-bar-padding);font-size:var(--van-submit-bar-text-font-size)}.van-submit-bar__text{flex:1;padding-right:var(--van-padding-sm);color:var(--van-submit-bar-text-color);text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:var(--van-padding-base);font-weight:var(--van-font-weight-bold)}.van-submit-bar__price{color:var(--van-submit-bar-price-color);font-weight:var(--van-font-weight-bold);font-size:var(--van-submit-bar-price-font-size)}.van-submit-bar__price-integer{font-size:var(--van-submit-bar-price-integer-font-size);font-family:var(--van-submit-bar-price-font-family)}.van-submit-bar__button{width:var(--van-submit-bar-button-width);height:var(--van-submit-bar-button-height);font-weight:var(--van-font-weight-bold);border:none}.van-submit-bar__button--danger{background:var(--van-gradient-red)}
1
+ :root{--van-submit-bar-height: 50px;--van-submit-bar-z-index: 100;--van-submit-bar-background-color: var(--van-background-color-light);--van-submit-bar-button-width: 110px;--van-submit-bar-price-color: var(--van-danger-color);--van-submit-bar-price-font-size: var(--van-font-size-sm);--van-submit-bar-price-integer-font-size: 20px;--van-submit-bar-price-font-family: var(--van-price-integer-font-family);--van-submit-bar-currency-font-size: var(--van-font-size-md);--van-submit-bar-text-color: var(--van-text-color);--van-submit-bar-text-font-size: var(--van-font-size-md);--van-submit-bar-tip-padding: var(--van-padding-xs) var(--van-padding-sm);--van-submit-bar-tip-font-size: var(--van-font-size-sm);--van-submit-bar-tip-line-height: 1.5;--van-submit-bar-tip-color: var(--van-orange-dark);--van-submit-bar-tip-background-color: var(--van-orange-light);--van-submit-bar-tip-icon-size: 12px;--van-submit-bar-button-height: 40px;--van-submit-bar-padding: 0 var(--van-padding-md)}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:var(--van-submit-bar-z-index);width:100%;background:var(--van-submit-bar-background-color);-webkit-user-select:none;user-select:none}.van-submit-bar__tip{padding:var(--van-submit-bar-tip-padding);color:var(--van-submit-bar-tip-color);font-size:var(--van-submit-bar-tip-font-size);line-height:var(--van-submit-bar-tip-line-height);background:var(--van-submit-bar-tip-background-color)}.van-submit-bar__tip-icon{margin-right:var(--van-padding-base);font-size:var(--van-submit-bar-tip-icon-size);vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:flex;align-items:center;justify-content:flex-end;height:var(--van-submit-bar-height);padding:var(--van-submit-bar-padding);font-size:var(--van-submit-bar-text-font-size)}.van-submit-bar__text{flex:1;padding-right:var(--van-padding-sm);color:var(--van-submit-bar-text-color);text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:var(--van-padding-base);font-weight:var(--van-font-weight-bold)}.van-submit-bar__price{color:var(--van-submit-bar-price-color);font-weight:var(--van-font-weight-bold);font-size:var(--van-submit-bar-price-font-size)}.van-submit-bar__price-integer{font-size:var(--van-submit-bar-price-integer-font-size);font-family:var(--van-submit-bar-price-font-family)}.van-submit-bar__button{width:var(--van-submit-bar-button-width);height:var(--van-submit-bar-button-height);font-weight:var(--van-font-weight-bold);border:none}.van-submit-bar__button--danger{background:var(--van-gradient-red)}
@@ -25,38 +25,34 @@ export declare const SubmitBar: import("../utils").WithInstall<import("vue").Def
25
25
  type: BooleanConstructor;
26
26
  default: true;
27
27
  };
28
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
29
- tip?: unknown;
30
- label?: unknown;
31
- price?: unknown;
32
- tipIcon?: unknown;
33
- loading?: unknown;
34
- currency?: unknown;
35
- disabled?: unknown;
36
- textAlign?: unknown;
37
- buttonText?: unknown;
38
- buttonType?: unknown;
39
- buttonColor?: unknown;
40
- suffixLabel?: unknown;
41
- decimalLength?: unknown;
42
- safeAreaInsetBottom?: unknown;
43
- } & {
44
- disabled: boolean;
45
- safeAreaInsetBottom: boolean;
46
- loading: boolean;
47
- currency: string;
48
- decimalLength: string | number;
49
- buttonType: import("..").ButtonType;
50
- } & {
51
- label?: string | undefined;
52
- price?: number | undefined;
53
- textAlign?: import("./SubmitBar").SubmitBarTextAlign | undefined;
54
- tip?: string | undefined;
55
- tipIcon?: string | undefined;
56
- buttonText?: string | undefined;
57
- buttonColor?: string | undefined;
58
- suffixLabel?: string | undefined;
59
- }> & {
28
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ tip: StringConstructor;
30
+ label: StringConstructor;
31
+ price: NumberConstructor;
32
+ tipIcon: StringConstructor;
33
+ loading: BooleanConstructor;
34
+ currency: {
35
+ type: import("vue").PropType<string>;
36
+ default: string;
37
+ };
38
+ disabled: BooleanConstructor;
39
+ textAlign: import("vue").PropType<import("./SubmitBar").SubmitBarTextAlign>;
40
+ buttonText: StringConstructor;
41
+ buttonType: {
42
+ type: import("vue").PropType<import("..").ButtonType>;
43
+ default: import("..").ButtonType;
44
+ };
45
+ buttonColor: StringConstructor;
46
+ suffixLabel: StringConstructor;
47
+ decimalLength: {
48
+ type: (NumberConstructor | StringConstructor)[];
49
+ default: number;
50
+ };
51
+ safeAreaInsetBottom: {
52
+ type: BooleanConstructor;
53
+ default: true;
54
+ };
55
+ }>> & {
60
56
  onSubmit?: ((...args: any[]) => any) | undefined;
61
57
  }, {
62
58
  disabled: boolean;
@@ -71,34 +71,41 @@ declare const _default: import("vue").DefineComponent<{
71
71
  type: BooleanConstructor;
72
72
  default: true;
73
73
  };
74
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
75
- loop?: unknown;
76
- width?: unknown;
77
- height?: unknown;
78
- vertical?: unknown;
79
- autoplay?: unknown;
80
- duration?: unknown;
81
- touchable?: unknown;
82
- lazyRender?: unknown;
83
- initialSwipe?: unknown;
84
- indicatorColor?: unknown;
85
- showIndicators?: unknown;
86
- stopPropagation?: unknown;
87
- } & {
88
- autoplay: string | number;
89
- loop: boolean;
90
- vertical: boolean;
91
- duration: string | number;
92
- lazyRender: boolean;
93
- touchable: boolean;
94
- initialSwipe: string | number;
95
- showIndicators: boolean;
96
- stopPropagation: boolean;
97
- } & {
98
- width?: string | number | undefined;
99
- height?: string | number | undefined;
100
- indicatorColor?: string | undefined;
101
- }> & {
74
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
75
+ loop: {
76
+ type: BooleanConstructor;
77
+ default: true;
78
+ };
79
+ width: (NumberConstructor | StringConstructor)[];
80
+ height: (NumberConstructor | StringConstructor)[];
81
+ vertical: BooleanConstructor;
82
+ autoplay: {
83
+ type: (NumberConstructor | StringConstructor)[];
84
+ default: number;
85
+ };
86
+ duration: {
87
+ type: (NumberConstructor | StringConstructor)[];
88
+ default: number;
89
+ };
90
+ touchable: {
91
+ type: BooleanConstructor;
92
+ default: true;
93
+ };
94
+ lazyRender: BooleanConstructor;
95
+ initialSwipe: {
96
+ type: (NumberConstructor | StringConstructor)[];
97
+ default: number;
98
+ };
99
+ indicatorColor: StringConstructor;
100
+ showIndicators: {
101
+ type: BooleanConstructor;
102
+ default: true;
103
+ };
104
+ stopPropagation: {
105
+ type: BooleanConstructor;
106
+ default: true;
107
+ };
108
+ }>> & {
102
109
  onChange?: ((...args: any[]) => any) | undefined;
103
110
  }, {
104
111
  autoplay: string | number;
@@ -1 +1 @@
1
- :root{--van-swipe-indicator-size:6px;--van-swipe-indicator-margin:var(--van-padding-sm);--van-swipe-indicator-active-opacity:1;--van-swipe-indicator-inactive-opacity:0.3;--van-swipe-indicator-active-background-color:var(--van-primary-color);--van-swipe-indicator-inactive-background-color:var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translateX(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background-color);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-animation-duration-fast),background-color var(--van-animation-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background-color);opacity:var(--van-swipe-indicator-active-opacity)}
1
+ :root{--van-swipe-indicator-size: 6px;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background-color: var(--van-primary-color);--van-swipe-indicator-inactive-background-color: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background-color);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-animation-duration-fast),background-color var(--van-animation-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background-color);opacity:var(--van-swipe-indicator-active-opacity)}