vant 4.9.4 → 4.9.6

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 (724) hide show
  1. package/es/action-bar/ActionBar.d.ts +4 -4
  2. package/es/action-bar/ActionBar.mjs +1 -2
  3. package/es/action-bar/index.d.ts +4 -4
  4. package/es/action-bar-button/ActionBarButton.d.ts +7 -7
  5. package/es/action-bar-button/ActionBarButton.mjs +1 -2
  6. package/es/action-bar-button/index.d.ts +6 -6
  7. package/es/action-bar-icon/ActionBarIcon.d.ts +7 -7
  8. package/es/action-bar-icon/ActionBarIcon.mjs +1 -2
  9. package/es/action-bar-icon/index.d.ts +6 -6
  10. package/es/action-sheet/ActionSheet.d.ts +8 -8
  11. package/es/action-sheet/ActionSheet.mjs +1 -2
  12. package/es/action-sheet/index.d.ts +7 -7
  13. package/es/address-edit/AddressEdit.d.ts +5 -5
  14. package/es/address-edit/AddressEdit.mjs +1 -2
  15. package/es/address-edit/AddressEditDetail.d.ts +5 -5
  16. package/es/address-edit/AddressEditDetail.mjs +1 -2
  17. package/es/address-edit/index.d.ts +5 -5
  18. package/es/address-list/AddressList.d.ts +8 -8
  19. package/es/address-list/AddressList.mjs +1 -2
  20. package/es/address-list/AddressListItem.d.ts +5 -5
  21. package/es/address-list/AddressListItem.mjs +1 -2
  22. package/es/address-list/index.d.ts +7 -7
  23. package/es/area/Area.d.ts +5 -5
  24. package/es/area/Area.mjs +1 -2
  25. package/es/area/index.d.ts +5 -5
  26. package/es/back-top/BackTop.d.ts +12 -12
  27. package/es/back-top/BackTop.mjs +1 -2
  28. package/es/back-top/index.d.ts +9 -9
  29. package/es/badge/Badge.d.ts +4 -4
  30. package/es/badge/Badge.mjs +1 -2
  31. package/es/badge/index.d.ts +4 -4
  32. package/es/barrage/Barrage.d.ts +5 -5
  33. package/es/barrage/Barrage.mjs +1 -2
  34. package/es/barrage/index.d.ts +5 -5
  35. package/es/button/Button.d.ts +8 -8
  36. package/es/button/Button.mjs +1 -2
  37. package/es/button/index.d.ts +7 -7
  38. package/es/calendar/Calendar.d.ts +9 -9
  39. package/es/calendar/Calendar.mjs +6 -5
  40. package/es/calendar/CalendarDay.d.ts +5 -5
  41. package/es/calendar/CalendarDay.mjs +1 -2
  42. package/es/calendar/CalendarHeader.d.ts +5 -5
  43. package/es/calendar/CalendarHeader.mjs +1 -2
  44. package/es/calendar/CalendarMonth.d.ts +5 -5
  45. package/es/calendar/CalendarMonth.mjs +1 -2
  46. package/es/calendar/index.css +1 -1
  47. package/es/calendar/index.d.ts +7 -7
  48. package/es/calendar/types.d.ts +2 -2
  49. package/es/calendar/utils.d.ts +1 -1
  50. package/es/card/Card.d.ts +5 -5
  51. package/es/card/Card.mjs +1 -2
  52. package/es/card/index.d.ts +5 -5
  53. package/es/cascader/Cascader.d.ts +6 -6
  54. package/es/cascader/Cascader.mjs +2 -4
  55. package/es/cascader/index.d.ts +6 -6
  56. package/es/cell/Cell.d.ts +7 -7
  57. package/es/cell/Cell.mjs +1 -2
  58. package/es/cell/index.d.ts +6 -6
  59. package/es/cell-group/CellGroup.d.ts +4 -4
  60. package/es/cell-group/CellGroup.mjs +1 -2
  61. package/es/cell-group/index.d.ts +4 -4
  62. package/es/checkbox/Checkbox.d.ts +5 -5
  63. package/es/checkbox/Checkbox.mjs +3 -6
  64. package/es/checkbox/Checker.d.ts +7 -7
  65. package/es/checkbox/Checker.mjs +1 -2
  66. package/es/checkbox/index.d.ts +5 -5
  67. package/es/checkbox-group/CheckboxGroup.d.ts +5 -5
  68. package/es/checkbox-group/CheckboxGroup.mjs +1 -2
  69. package/es/checkbox-group/index.d.ts +5 -5
  70. package/es/circle/Circle.d.ts +5 -5
  71. package/es/circle/Circle.mjs +1 -2
  72. package/es/circle/index.d.ts +5 -5
  73. package/es/col/Col.d.ts +4 -4
  74. package/es/col/Col.mjs +1 -2
  75. package/es/col/index.d.ts +4 -4
  76. package/es/collapse/Collapse.d.ts +5 -5
  77. package/es/collapse/Collapse.mjs +1 -2
  78. package/es/collapse/index.d.ts +5 -5
  79. package/es/collapse-item/CollapseItem.d.ts +4 -4
  80. package/es/collapse-item/CollapseItem.mjs +1 -2
  81. package/es/collapse-item/index.d.ts +4 -4
  82. package/es/composables/use-height.d.ts +1 -1
  83. package/es/composables/use-lazy-render.d.ts +0 -1
  84. package/es/composables/use-placeholder.d.ts +0 -1
  85. package/es/composables/use-refs.d.ts +1 -1
  86. package/es/composables/use-route.d.ts +2 -1
  87. package/es/composables/use-sync-prop-ref.d.ts +1 -1
  88. package/es/composables/use-touch.d.ts +8 -8
  89. package/es/config-provider/ConfigProvider.d.ts +4 -4
  90. package/es/config-provider/ConfigProvider.mjs +1 -2
  91. package/es/config-provider/index.d.ts +4 -4
  92. package/es/contact-card/ContactCard.d.ts +5 -5
  93. package/es/contact-card/ContactCard.mjs +1 -2
  94. package/es/contact-card/index.d.ts +5 -5
  95. package/es/contact-edit/ContactEdit.d.ts +5 -5
  96. package/es/contact-edit/ContactEdit.mjs +1 -2
  97. package/es/contact-edit/index.d.ts +5 -5
  98. package/es/contact-list/ContactList.d.ts +4 -4
  99. package/es/contact-list/ContactList.mjs +1 -2
  100. package/es/contact-list/index.d.ts +4 -4
  101. package/es/count-down/CountDown.d.ts +5 -5
  102. package/es/count-down/CountDown.mjs +1 -2
  103. package/es/count-down/index.d.ts +5 -5
  104. package/es/coupon/Coupon.d.ts +4 -4
  105. package/es/coupon/Coupon.mjs +1 -2
  106. package/es/coupon/index.d.ts +4 -4
  107. package/es/coupon-cell/CouponCell.d.ts +4 -4
  108. package/es/coupon-cell/CouponCell.mjs +1 -2
  109. package/es/coupon-cell/index.d.ts +4 -4
  110. package/es/coupon-list/CouponList.d.ts +5 -5
  111. package/es/coupon-list/CouponList.mjs +1 -2
  112. package/es/coupon-list/index.d.ts +5 -5
  113. package/es/date-picker/DatePicker.d.ts +8 -8
  114. package/es/date-picker/DatePicker.mjs +1 -2
  115. package/es/date-picker/index.d.ts +7 -7
  116. package/es/date-picker/utils.d.ts +2 -1
  117. package/es/dialog/Dialog.d.ts +10 -10
  118. package/es/dialog/Dialog.mjs +1 -2
  119. package/es/dialog/function-call.mjs +1 -1
  120. package/es/dialog/index.d.ts +9 -9
  121. package/es/dialog/types.d.ts +0 -1
  122. package/es/divider/Divider.d.ts +4 -4
  123. package/es/divider/Divider.mjs +1 -2
  124. package/es/divider/index.d.ts +4 -4
  125. package/es/dropdown-item/DropdownItem.d.ts +10 -10
  126. package/es/dropdown-item/DropdownItem.mjs +1 -2
  127. package/es/dropdown-item/index.d.ts +8 -8
  128. package/es/dropdown-menu/DropdownMenu.d.ts +4 -4
  129. package/es/dropdown-menu/DropdownMenu.mjs +1 -2
  130. package/es/dropdown-menu/index.d.ts +4 -4
  131. package/es/empty/Empty.d.ts +4 -4
  132. package/es/empty/Empty.mjs +1 -2
  133. package/es/empty/index.d.ts +4 -4
  134. package/es/field/Field.d.ts +13 -5
  135. package/es/field/Field.mjs +9 -3
  136. package/es/field/index.d.ts +9 -5
  137. package/es/floating-bubble/FloatingBubble.d.ts +9 -9
  138. package/es/floating-bubble/FloatingBubble.mjs +9 -18
  139. package/es/floating-bubble/index.d.ts +7 -7
  140. package/es/floating-panel/FloatingPanel.d.ts +5 -5
  141. package/es/floating-panel/FloatingPanel.mjs +2 -4
  142. package/es/floating-panel/index.d.ts +5 -5
  143. package/es/form/Form.d.ts +5 -5
  144. package/es/form/Form.mjs +1 -2
  145. package/es/form/index.d.ts +5 -5
  146. package/es/grid/Grid.d.ts +4 -4
  147. package/es/grid/Grid.mjs +1 -2
  148. package/es/grid/index.d.ts +4 -4
  149. package/es/grid-item/GridItem.d.ts +7 -7
  150. package/es/grid-item/GridItem.mjs +1 -2
  151. package/es/grid-item/index.d.ts +6 -6
  152. package/es/highlight/Highlight.d.ts +4 -4
  153. package/es/highlight/Highlight.mjs +1 -2
  154. package/es/highlight/index.d.ts +4 -4
  155. package/es/icon/Icon.d.ts +4 -4
  156. package/es/icon/Icon.mjs +1 -2
  157. package/es/icon/index.d.ts +4 -4
  158. package/es/image/Image.d.ts +19 -18
  159. package/es/image/Image.mjs +1 -2
  160. package/es/image/index.d.ts +13 -13
  161. package/es/image-preview/ImagePreview.d.ts +9 -9
  162. package/es/image-preview/ImagePreview.mjs +1 -2
  163. package/es/image-preview/ImagePreviewItem.d.ts +5 -5
  164. package/es/image-preview/ImagePreviewItem.mjs +4 -8
  165. package/es/image-preview/function-call.mjs +1 -1
  166. package/es/image-preview/index.d.ts +7 -7
  167. package/es/index-anchor/IndexAnchor.d.ts +3 -3
  168. package/es/index-anchor/IndexAnchor.mjs +1 -2
  169. package/es/index-anchor/index.d.ts +3 -3
  170. package/es/index-bar/IndexBar.d.ts +9 -9
  171. package/es/index-bar/IndexBar.mjs +1 -2
  172. package/es/index-bar/index.d.ts +7 -7
  173. package/es/index.d.ts +1 -1
  174. package/es/index.mjs +1 -1
  175. package/es/lazyload/vue-lazyload/index.d.ts +1 -1
  176. package/es/lazyload/vue-lazyload/lazy-container.mjs +2 -4
  177. package/es/lazyload/vue-lazyload/lazy.mjs +8 -16
  178. package/es/lazyload/vue-lazyload/listener.mjs +2 -4
  179. package/es/lazyload/vue-lazyload/util.mjs +5 -10
  180. package/es/list/List.d.ts +5 -5
  181. package/es/list/List.mjs +1 -2
  182. package/es/list/index.d.ts +5 -5
  183. package/es/loading/Loading.d.ts +4 -4
  184. package/es/loading/Loading.mjs +1 -2
  185. package/es/loading/index.d.ts +4 -4
  186. package/es/locale/index.d.ts +1 -1
  187. package/es/nav-bar/NavBar.d.ts +5 -5
  188. package/es/nav-bar/NavBar.mjs +1 -2
  189. package/es/nav-bar/index.d.ts +5 -5
  190. package/es/notice-bar/NoticeBar.d.ts +5 -5
  191. package/es/notice-bar/NoticeBar.mjs +1 -2
  192. package/es/notice-bar/index.d.ts +5 -5
  193. package/es/notify/Notify.d.ts +8 -8
  194. package/es/notify/Notify.mjs +1 -2
  195. package/es/notify/function-call.mjs +1 -1
  196. package/es/notify/index.d.ts +7 -7
  197. package/es/number-keyboard/NumberKeyboard.d.ts +10 -10
  198. package/es/number-keyboard/NumberKeyboard.mjs +7 -3
  199. package/es/number-keyboard/NumberKeyboardKey.d.ts +5 -5
  200. package/es/number-keyboard/NumberKeyboardKey.mjs +1 -2
  201. package/es/number-keyboard/index.d.ts +8 -8
  202. package/es/overlay/Overlay.d.ts +8 -5
  203. package/es/overlay/Overlay.mjs +19 -9
  204. package/es/overlay/index.d.ts +6 -4
  205. package/es/pagination/Pagination.d.ts +5 -5
  206. package/es/pagination/Pagination.mjs +1 -2
  207. package/es/pagination/index.d.ts +5 -5
  208. package/es/password-input/PasswordInput.d.ts +5 -5
  209. package/es/password-input/PasswordInput.mjs +1 -2
  210. package/es/password-input/index.d.ts +5 -5
  211. package/es/picker/Picker.d.ts +5 -5
  212. package/es/picker/Picker.mjs +1 -2
  213. package/es/picker/PickerColumn.d.ts +5 -5
  214. package/es/picker/PickerColumn.mjs +2 -4
  215. package/es/picker/PickerToolbar.d.ts +4 -4
  216. package/es/picker/PickerToolbar.mjs +1 -2
  217. package/es/picker/index.d.ts +5 -5
  218. package/es/picker/utils.d.ts +1 -1
  219. package/es/picker/utils.mjs +2 -4
  220. package/es/picker-group/PickerGroup.d.ts +5 -5
  221. package/es/picker-group/PickerGroup.mjs +1 -2
  222. package/es/picker-group/index.d.ts +5 -5
  223. package/es/popover/Popover.d.ts +9 -9
  224. package/es/popover/Popover.mjs +1 -2
  225. package/es/popover/index.d.ts +7 -7
  226. package/es/popup/Popup.d.ts +9 -9
  227. package/es/popup/Popup.mjs +2 -4
  228. package/es/popup/index.d.ts +8 -8
  229. package/es/popup/shared.d.ts +2 -2
  230. package/es/progress/Progress.d.ts +4 -4
  231. package/es/progress/Progress.mjs +1 -2
  232. package/es/progress/index.d.ts +4 -4
  233. package/es/pull-refresh/PullRefresh.d.ts +5 -5
  234. package/es/pull-refresh/PullRefresh.mjs +1 -2
  235. package/es/pull-refresh/index.d.ts +5 -5
  236. package/es/radio/Radio.d.ts +5 -5
  237. package/es/radio/Radio.mjs +1 -2
  238. package/es/radio/index.d.ts +5 -5
  239. package/es/radio-group/RadioGroup.d.ts +8 -8
  240. package/es/radio-group/RadioGroup.mjs +1 -2
  241. package/es/radio-group/index.d.ts +7 -7
  242. package/es/rate/Rate.d.ts +5 -5
  243. package/es/rate/Rate.mjs +2 -4
  244. package/es/rate/index.d.ts +5 -5
  245. package/es/rolling-text/RollingText.d.ts +4 -4
  246. package/es/rolling-text/RollingText.mjs +4 -8
  247. package/es/rolling-text/RollingTextItem.d.ts +4 -4
  248. package/es/rolling-text/RollingTextItem.mjs +1 -2
  249. package/es/rolling-text/index.d.ts +4 -4
  250. package/es/row/Row.d.ts +4 -4
  251. package/es/row/Row.mjs +2 -4
  252. package/es/row/index.d.ts +4 -4
  253. package/es/search/Search.d.ts +11 -5
  254. package/es/search/Search.mjs +1 -2
  255. package/es/search/index.d.ts +9 -5
  256. package/es/share-sheet/ShareSheet.d.ts +8 -8
  257. package/es/share-sheet/ShareSheet.mjs +1 -2
  258. package/es/share-sheet/index.d.ts +7 -7
  259. package/es/sidebar/Sidebar.d.ts +5 -5
  260. package/es/sidebar/Sidebar.mjs +1 -2
  261. package/es/sidebar/index.d.ts +5 -5
  262. package/es/sidebar-item/SidebarItem.d.ts +8 -8
  263. package/es/sidebar-item/SidebarItem.mjs +1 -2
  264. package/es/sidebar-item/index.d.ts +7 -7
  265. package/es/signature/Signature.d.ts +5 -5
  266. package/es/signature/Signature.mjs +2 -4
  267. package/es/signature/index.d.ts +5 -5
  268. package/es/skeleton/Skeleton.d.ts +5 -5
  269. package/es/skeleton/Skeleton.mjs +1 -2
  270. package/es/skeleton/index.d.ts +5 -5
  271. package/es/skeleton-avatar/SkeletonAvatar.d.ts +4 -4
  272. package/es/skeleton-avatar/SkeletonAvatar.mjs +1 -2
  273. package/es/skeleton-avatar/index.d.ts +4 -4
  274. package/es/skeleton-image/SkeletonImage.d.ts +4 -4
  275. package/es/skeleton-image/SkeletonImage.mjs +1 -2
  276. package/es/skeleton-image/index.d.ts +4 -4
  277. package/es/skeleton-paragraph/SkeletonParagraph.d.ts +4 -4
  278. package/es/skeleton-paragraph/SkeletonParagraph.mjs +1 -2
  279. package/es/skeleton-paragraph/index.d.ts +4 -4
  280. package/es/skeleton-title/SkeletonTitle.d.ts +4 -4
  281. package/es/skeleton-title/SkeletonTitle.mjs +1 -2
  282. package/es/skeleton-title/index.d.ts +4 -4
  283. package/es/slider/Slider.d.ts +6 -6
  284. package/es/slider/Slider.mjs +1 -2
  285. package/es/slider/index.d.ts +6 -6
  286. package/es/space/Space.d.ts +10 -10
  287. package/es/space/Space.mjs +1 -2
  288. package/es/space/index.d.ts +8 -8
  289. package/es/step/Step.d.ts +1 -1
  290. package/es/step/Step.mjs +1 -2
  291. package/es/step/index.d.ts +1 -1
  292. package/es/stepper/Stepper.d.ts +5 -5
  293. package/es/stepper/Stepper.mjs +1 -2
  294. package/es/stepper/index.d.ts +5 -5
  295. package/es/steps/Steps.d.ts +5 -5
  296. package/es/steps/Steps.mjs +1 -2
  297. package/es/steps/index.d.ts +5 -5
  298. package/es/sticky/Sticky.d.ts +5 -5
  299. package/es/sticky/Sticky.mjs +1 -2
  300. package/es/sticky/index.d.ts +5 -5
  301. package/es/submit-bar/SubmitBar.d.ts +5 -5
  302. package/es/submit-bar/SubmitBar.mjs +1 -2
  303. package/es/submit-bar/index.d.ts +5 -5
  304. package/es/swipe/Swipe.d.ts +5 -5
  305. package/es/swipe/Swipe.mjs +2 -4
  306. package/es/swipe/index.d.ts +5 -5
  307. package/es/swipe-cell/SwipeCell.d.ts +6 -6
  308. package/es/swipe-cell/SwipeCell.mjs +2 -4
  309. package/es/swipe-cell/index.d.ts +6 -6
  310. package/es/swipe-item/SwipeItem.d.ts +1 -1
  311. package/es/swipe-item/SwipeItem.mjs +1 -2
  312. package/es/swipe-item/index.d.ts +1 -1
  313. package/es/switch/Switch.d.ts +5 -5
  314. package/es/switch/Switch.mjs +1 -2
  315. package/es/switch/index.d.ts +5 -5
  316. package/es/tab/Tab.d.ts +7 -7
  317. package/es/tab/Tab.mjs +1 -2
  318. package/es/tab/TabTitle.d.ts +4 -4
  319. package/es/tab/TabTitle.mjs +1 -2
  320. package/es/tab/index.d.ts +6 -6
  321. package/es/tabbar/Tabbar.d.ts +5 -5
  322. package/es/tabbar/Tabbar.mjs +1 -2
  323. package/es/tabbar/index.d.ts +5 -5
  324. package/es/tabbar-item/TabbarItem.d.ts +8 -8
  325. package/es/tabbar-item/TabbarItem.mjs +1 -2
  326. package/es/tabbar-item/index.d.ts +7 -7
  327. package/es/tabs/Tabs.d.ts +5 -5
  328. package/es/tabs/Tabs.mjs +3 -6
  329. package/es/tabs/TabsContent.d.ts +5 -5
  330. package/es/tabs/TabsContent.mjs +1 -2
  331. package/es/tabs/index.d.ts +5 -5
  332. package/es/tag/Tag.d.ts +5 -5
  333. package/es/tag/Tag.mjs +1 -2
  334. package/es/tag/index.d.ts +5 -5
  335. package/es/text-ellipsis/TextEllipsis.d.ts +5 -5
  336. package/es/text-ellipsis/TextEllipsis.mjs +3 -6
  337. package/es/text-ellipsis/index.d.ts +5 -5
  338. package/es/time-picker/TimePicker.d.ts +12 -11
  339. package/es/time-picker/TimePicker.mjs +1 -2
  340. package/es/time-picker/index.d.ts +9 -9
  341. package/es/toast/Toast.d.ts +9 -9
  342. package/es/toast/Toast.mjs +1 -2
  343. package/es/toast/function-call.mjs +1 -2
  344. package/es/toast/index.d.ts +7 -7
  345. package/es/tree-select/TreeSelect.d.ts +5 -5
  346. package/es/tree-select/TreeSelect.mjs +1 -2
  347. package/es/tree-select/index.d.ts +5 -5
  348. package/es/uploader/Uploader.d.ts +5 -5
  349. package/es/uploader/Uploader.mjs +1 -2
  350. package/es/uploader/UploaderPreviewItem.d.ts +8 -7
  351. package/es/uploader/UploaderPreviewItem.mjs +1 -2
  352. package/es/uploader/index.d.ts +5 -5
  353. package/es/uploader/utils.d.ts +1 -1
  354. package/es/utils/basic.d.ts +2 -2
  355. package/es/utils/create.d.ts +1 -1
  356. package/es/utils/dom.d.ts +1 -1
  357. package/es/utils/mount-component.d.ts +1 -1
  358. package/es/watermark/Watermark.d.ts +4 -4
  359. package/es/watermark/Watermark.mjs +1 -2
  360. package/es/watermark/index.d.ts +4 -4
  361. package/lib/action-bar/ActionBar.d.ts +4 -4
  362. package/lib/action-bar/ActionBar.js +2 -3
  363. package/lib/action-bar/index.d.ts +4 -4
  364. package/lib/action-bar-button/ActionBarButton.d.ts +7 -7
  365. package/lib/action-bar-button/ActionBarButton.js +3 -4
  366. package/lib/action-bar-button/index.d.ts +6 -6
  367. package/lib/action-bar-icon/ActionBarIcon.d.ts +7 -7
  368. package/lib/action-bar-icon/ActionBarIcon.js +1 -2
  369. package/lib/action-bar-icon/index.d.ts +6 -6
  370. package/lib/action-sheet/ActionSheet.d.ts +8 -8
  371. package/lib/action-sheet/ActionSheet.js +2 -3
  372. package/lib/action-sheet/index.d.ts +7 -7
  373. package/lib/address-edit/AddressEdit.d.ts +5 -5
  374. package/lib/address-edit/AddressEdit.js +11 -12
  375. package/lib/address-edit/AddressEditDetail.d.ts +5 -5
  376. package/lib/address-edit/AddressEditDetail.js +2 -3
  377. package/lib/address-edit/index.d.ts +5 -5
  378. package/lib/address-list/AddressList.d.ts +8 -8
  379. package/lib/address-list/AddressList.js +2 -3
  380. package/lib/address-list/AddressListItem.d.ts +5 -5
  381. package/lib/address-list/AddressListItem.js +1 -2
  382. package/lib/address-list/index.d.ts +7 -7
  383. package/lib/area/Area.d.ts +5 -5
  384. package/lib/area/Area.js +6 -7
  385. package/lib/area/index.d.ts +5 -5
  386. package/lib/back-top/BackTop.d.ts +12 -12
  387. package/lib/back-top/BackTop.js +11 -12
  388. package/lib/back-top/index.d.ts +9 -9
  389. package/lib/badge/Badge.d.ts +4 -4
  390. package/lib/badge/Badge.js +2 -3
  391. package/lib/badge/index.d.ts +4 -4
  392. package/lib/barrage/Barrage.d.ts +5 -5
  393. package/lib/barrage/Barrage.js +9 -10
  394. package/lib/barrage/index.d.ts +5 -5
  395. package/lib/button/Button.d.ts +8 -8
  396. package/lib/button/Button.js +1 -2
  397. package/lib/button/index.d.ts +7 -7
  398. package/lib/calendar/Calendar.d.ts +9 -9
  399. package/lib/calendar/Calendar.js +19 -18
  400. package/lib/calendar/CalendarDay.d.ts +5 -5
  401. package/lib/calendar/CalendarDay.js +2 -3
  402. package/lib/calendar/CalendarHeader.d.ts +5 -5
  403. package/lib/calendar/CalendarHeader.js +5 -6
  404. package/lib/calendar/CalendarMonth.d.ts +5 -5
  405. package/lib/calendar/CalendarMonth.js +11 -12
  406. package/lib/calendar/index.css +1 -1
  407. package/lib/calendar/index.d.ts +7 -7
  408. package/lib/calendar/types.d.ts +2 -2
  409. package/lib/calendar/utils.d.ts +1 -1
  410. package/lib/card/Card.d.ts +5 -5
  411. package/lib/card/Card.js +1 -2
  412. package/lib/card/index.d.ts +5 -5
  413. package/lib/cascader/Cascader.d.ts +6 -6
  414. package/lib/cascader/Cascader.js +9 -11
  415. package/lib/cascader/index.d.ts +6 -6
  416. package/lib/cell/Cell.d.ts +7 -7
  417. package/lib/cell/Cell.js +1 -2
  418. package/lib/cell/index.d.ts +6 -6
  419. package/lib/cell-group/CellGroup.d.ts +4 -4
  420. package/lib/cell-group/CellGroup.js +1 -2
  421. package/lib/cell-group/index.d.ts +4 -4
  422. package/lib/checkbox/Checkbox.d.ts +5 -5
  423. package/lib/checkbox/Checkbox.js +5 -8
  424. package/lib/checkbox/Checker.d.ts +7 -7
  425. package/lib/checkbox/Checker.js +6 -7
  426. package/lib/checkbox/index.d.ts +5 -5
  427. package/lib/checkbox-group/CheckboxGroup.d.ts +5 -5
  428. package/lib/checkbox-group/CheckboxGroup.js +2 -3
  429. package/lib/checkbox-group/index.d.ts +5 -5
  430. package/lib/circle/Circle.d.ts +5 -5
  431. package/lib/circle/Circle.js +5 -6
  432. package/lib/circle/index.d.ts +5 -5
  433. package/lib/col/Col.d.ts +4 -4
  434. package/lib/col/Col.js +2 -3
  435. package/lib/col/index.d.ts +4 -4
  436. package/lib/collapse/Collapse.d.ts +5 -5
  437. package/lib/collapse/Collapse.js +1 -2
  438. package/lib/collapse/index.d.ts +5 -5
  439. package/lib/collapse-item/CollapseItem.d.ts +4 -4
  440. package/lib/collapse-item/CollapseItem.js +8 -9
  441. package/lib/collapse-item/index.d.ts +4 -4
  442. package/lib/composables/use-height.d.ts +1 -1
  443. package/lib/composables/use-lazy-render.d.ts +0 -1
  444. package/lib/composables/use-placeholder.d.ts +0 -1
  445. package/lib/composables/use-refs.d.ts +1 -1
  446. package/lib/composables/use-route.d.ts +2 -1
  447. package/lib/composables/use-sync-prop-ref.d.ts +1 -1
  448. package/lib/composables/use-touch.d.ts +8 -8
  449. package/lib/config-provider/ConfigProvider.d.ts +4 -4
  450. package/lib/config-provider/ConfigProvider.js +10 -11
  451. package/lib/config-provider/index.d.ts +4 -4
  452. package/lib/contact-card/ContactCard.d.ts +5 -5
  453. package/lib/contact-card/ContactCard.js +1 -2
  454. package/lib/contact-card/index.d.ts +5 -5
  455. package/lib/contact-edit/ContactEdit.d.ts +5 -5
  456. package/lib/contact-edit/ContactEdit.js +3 -4
  457. package/lib/contact-edit/index.d.ts +5 -5
  458. package/lib/contact-list/ContactList.d.ts +4 -4
  459. package/lib/contact-list/ContactList.js +1 -2
  460. package/lib/contact-list/index.d.ts +4 -4
  461. package/lib/count-down/CountDown.d.ts +5 -5
  462. package/lib/count-down/CountDown.js +3 -4
  463. package/lib/count-down/index.d.ts +5 -5
  464. package/lib/coupon/Coupon.d.ts +4 -4
  465. package/lib/coupon/Coupon.js +4 -5
  466. package/lib/coupon/index.d.ts +4 -4
  467. package/lib/coupon-cell/CouponCell.d.ts +4 -4
  468. package/lib/coupon-cell/CouponCell.js +1 -2
  469. package/lib/coupon-cell/index.d.ts +4 -4
  470. package/lib/coupon-list/CouponList.d.ts +5 -5
  471. package/lib/coupon-list/CouponList.js +13 -14
  472. package/lib/coupon-list/index.d.ts +5 -5
  473. package/lib/date-picker/DatePicker.d.ts +8 -8
  474. package/lib/date-picker/DatePicker.js +7 -8
  475. package/lib/date-picker/index.d.ts +7 -7
  476. package/lib/date-picker/utils.d.ts +2 -1
  477. package/lib/dialog/Dialog.d.ts +10 -10
  478. package/lib/dialog/Dialog.js +4 -5
  479. package/lib/dialog/index.d.ts +9 -9
  480. package/lib/dialog/types.d.ts +0 -1
  481. package/lib/divider/Divider.d.ts +4 -4
  482. package/lib/divider/Divider.js +1 -2
  483. package/lib/divider/index.d.ts +4 -4
  484. package/lib/dropdown-item/DropdownItem.d.ts +10 -10
  485. package/lib/dropdown-item/DropdownItem.js +4 -5
  486. package/lib/dropdown-item/index.d.ts +8 -8
  487. package/lib/dropdown-menu/DropdownMenu.d.ts +4 -4
  488. package/lib/dropdown-menu/DropdownMenu.js +7 -8
  489. package/lib/dropdown-menu/index.d.ts +4 -4
  490. package/lib/empty/Empty.d.ts +4 -4
  491. package/lib/empty/Empty.js +1 -2
  492. package/lib/empty/index.d.ts +4 -4
  493. package/lib/field/Field.d.ts +13 -5
  494. package/lib/field/Field.js +25 -19
  495. package/lib/field/index.d.ts +9 -5
  496. package/lib/floating-bubble/FloatingBubble.d.ts +9 -9
  497. package/lib/floating-bubble/FloatingBubble.js +22 -31
  498. package/lib/floating-bubble/index.d.ts +7 -7
  499. package/lib/floating-panel/FloatingPanel.d.ts +5 -5
  500. package/lib/floating-panel/FloatingPanel.js +9 -11
  501. package/lib/floating-panel/index.d.ts +5 -5
  502. package/lib/form/Form.d.ts +5 -5
  503. package/lib/form/Form.js +1 -2
  504. package/lib/form/index.d.ts +5 -5
  505. package/lib/grid/Grid.d.ts +4 -4
  506. package/lib/grid/Grid.js +1 -2
  507. package/lib/grid/index.d.ts +4 -4
  508. package/lib/grid-item/GridItem.d.ts +7 -7
  509. package/lib/grid-item/GridItem.js +3 -4
  510. package/lib/grid-item/index.d.ts +6 -6
  511. package/lib/highlight/Highlight.d.ts +4 -4
  512. package/lib/highlight/Highlight.js +2 -3
  513. package/lib/highlight/index.d.ts +4 -4
  514. package/lib/icon/Icon.d.ts +4 -4
  515. package/lib/icon/Icon.js +3 -4
  516. package/lib/icon/index.d.ts +4 -4
  517. package/lib/image/Image.d.ts +19 -18
  518. package/lib/image/Image.js +11 -12
  519. package/lib/image/index.d.ts +13 -13
  520. package/lib/image-preview/ImagePreview.d.ts +9 -9
  521. package/lib/image-preview/ImagePreview.js +9 -10
  522. package/lib/image-preview/ImagePreviewItem.d.ts +5 -5
  523. package/lib/image-preview/ImagePreviewItem.js +16 -20
  524. package/lib/image-preview/index.d.ts +7 -7
  525. package/lib/index-anchor/IndexAnchor.d.ts +3 -3
  526. package/lib/index-anchor/IndexAnchor.js +4 -5
  527. package/lib/index-anchor/index.d.ts +3 -3
  528. package/lib/index-bar/IndexBar.d.ts +9 -9
  529. package/lib/index-bar/IndexBar.js +11 -12
  530. package/lib/index-bar/index.d.ts +7 -7
  531. package/lib/index.css +1 -1
  532. package/lib/index.d.ts +1 -1
  533. package/lib/index.js +1 -1
  534. package/lib/lazyload/vue-lazyload/index.d.ts +1 -1
  535. package/lib/lazyload/vue-lazyload/lazy-container.js +2 -4
  536. package/lib/lazyload/vue-lazyload/lazy.js +8 -16
  537. package/lib/lazyload/vue-lazyload/listener.js +2 -4
  538. package/lib/lazyload/vue-lazyload/util.js +5 -10
  539. package/lib/list/List.d.ts +5 -5
  540. package/lib/list/List.js +10 -11
  541. package/lib/list/index.d.ts +5 -5
  542. package/lib/loading/Loading.d.ts +4 -4
  543. package/lib/loading/Loading.js +2 -3
  544. package/lib/loading/index.d.ts +4 -4
  545. package/lib/locale/index.d.ts +1 -1
  546. package/lib/nav-bar/NavBar.d.ts +5 -5
  547. package/lib/nav-bar/NavBar.js +2 -3
  548. package/lib/nav-bar/index.d.ts +5 -5
  549. package/lib/notice-bar/NoticeBar.d.ts +5 -5
  550. package/lib/notice-bar/NoticeBar.js +5 -6
  551. package/lib/notice-bar/index.d.ts +5 -5
  552. package/lib/notify/Notify.d.ts +8 -8
  553. package/lib/notify/Notify.js +1 -2
  554. package/lib/notify/index.d.ts +7 -7
  555. package/lib/number-keyboard/NumberKeyboard.d.ts +10 -10
  556. package/lib/number-keyboard/NumberKeyboard.js +12 -8
  557. package/lib/number-keyboard/NumberKeyboardKey.d.ts +5 -5
  558. package/lib/number-keyboard/NumberKeyboardKey.js +2 -3
  559. package/lib/number-keyboard/index.d.ts +8 -8
  560. package/lib/overlay/Overlay.d.ts +8 -5
  561. package/lib/overlay/Overlay.js +20 -10
  562. package/lib/overlay/index.d.ts +6 -4
  563. package/lib/pagination/Pagination.d.ts +5 -5
  564. package/lib/pagination/Pagination.js +4 -5
  565. package/lib/pagination/index.d.ts +5 -5
  566. package/lib/password-input/PasswordInput.d.ts +5 -5
  567. package/lib/password-input/PasswordInput.js +1 -2
  568. package/lib/password-input/index.d.ts +5 -5
  569. package/lib/picker/Picker.d.ts +5 -5
  570. package/lib/picker/Picker.js +15 -16
  571. package/lib/picker/PickerColumn.d.ts +5 -5
  572. package/lib/picker/PickerColumn.js +8 -10
  573. package/lib/picker/PickerToolbar.d.ts +4 -4
  574. package/lib/picker/PickerToolbar.js +1 -2
  575. package/lib/picker/index.d.ts +5 -5
  576. package/lib/picker/utils.d.ts +1 -1
  577. package/lib/picker/utils.js +2 -4
  578. package/lib/picker-group/PickerGroup.d.ts +5 -5
  579. package/lib/picker-group/PickerGroup.js +3 -4
  580. package/lib/picker-group/index.d.ts +5 -5
  581. package/lib/popover/Popover.d.ts +9 -9
  582. package/lib/popover/Popover.js +9 -10
  583. package/lib/popover/index.d.ts +7 -7
  584. package/lib/popup/Popup.d.ts +9 -9
  585. package/lib/popup/Popup.js +13 -15
  586. package/lib/popup/index.d.ts +8 -8
  587. package/lib/popup/shared.d.ts +2 -2
  588. package/lib/progress/Progress.d.ts +4 -4
  589. package/lib/progress/Progress.js +2 -3
  590. package/lib/progress/index.d.ts +4 -4
  591. package/lib/pull-refresh/PullRefresh.d.ts +5 -5
  592. package/lib/pull-refresh/PullRefresh.js +6 -7
  593. package/lib/pull-refresh/index.d.ts +5 -5
  594. package/lib/radio/Radio.d.ts +5 -5
  595. package/lib/radio/Radio.js +1 -2
  596. package/lib/radio/index.d.ts +5 -5
  597. package/lib/radio-group/RadioGroup.d.ts +8 -8
  598. package/lib/radio-group/RadioGroup.js +2 -3
  599. package/lib/radio-group/index.d.ts +7 -7
  600. package/lib/rate/Rate.d.ts +5 -5
  601. package/lib/rate/Rate.js +6 -8
  602. package/lib/rate/index.d.ts +5 -5
  603. package/lib/rolling-text/RollingText.d.ts +4 -4
  604. package/lib/rolling-text/RollingText.js +10 -14
  605. package/lib/rolling-text/RollingTextItem.d.ts +4 -4
  606. package/lib/rolling-text/RollingTextItem.js +5 -6
  607. package/lib/rolling-text/index.d.ts +4 -4
  608. package/lib/row/Row.d.ts +4 -4
  609. package/lib/row/Row.js +5 -7
  610. package/lib/row/index.d.ts +4 -4
  611. package/lib/search/Search.d.ts +11 -5
  612. package/lib/search/Search.js +2 -3
  613. package/lib/search/index.d.ts +9 -5
  614. package/lib/share-sheet/ShareSheet.d.ts +8 -8
  615. package/lib/share-sheet/ShareSheet.js +1 -2
  616. package/lib/share-sheet/index.d.ts +7 -7
  617. package/lib/sidebar/Sidebar.d.ts +5 -5
  618. package/lib/sidebar/Sidebar.js +1 -2
  619. package/lib/sidebar/index.d.ts +5 -5
  620. package/lib/sidebar-item/SidebarItem.d.ts +8 -8
  621. package/lib/sidebar-item/SidebarItem.js +1 -2
  622. package/lib/sidebar-item/index.d.ts +7 -7
  623. package/lib/signature/Signature.d.ts +5 -5
  624. package/lib/signature/Signature.js +7 -9
  625. package/lib/signature/index.d.ts +5 -5
  626. package/lib/skeleton/Skeleton.d.ts +5 -5
  627. package/lib/skeleton/Skeleton.js +1 -2
  628. package/lib/skeleton/index.d.ts +5 -5
  629. package/lib/skeleton-avatar/SkeletonAvatar.d.ts +4 -4
  630. package/lib/skeleton-avatar/SkeletonAvatar.js +1 -2
  631. package/lib/skeleton-avatar/index.d.ts +4 -4
  632. package/lib/skeleton-image/SkeletonImage.d.ts +4 -4
  633. package/lib/skeleton-image/SkeletonImage.js +1 -2
  634. package/lib/skeleton-image/index.d.ts +4 -4
  635. package/lib/skeleton-paragraph/SkeletonParagraph.d.ts +4 -4
  636. package/lib/skeleton-paragraph/SkeletonParagraph.js +1 -2
  637. package/lib/skeleton-paragraph/index.d.ts +4 -4
  638. package/lib/skeleton-title/SkeletonTitle.d.ts +4 -4
  639. package/lib/skeleton-title/SkeletonTitle.js +1 -2
  640. package/lib/skeleton-title/index.d.ts +4 -4
  641. package/lib/slider/Slider.d.ts +6 -6
  642. package/lib/slider/Slider.js +7 -8
  643. package/lib/slider/index.d.ts +6 -6
  644. package/lib/space/Space.d.ts +10 -10
  645. package/lib/space/Space.js +4 -5
  646. package/lib/space/index.d.ts +8 -8
  647. package/lib/step/Step.d.ts +1 -1
  648. package/lib/step/Step.js +3 -4
  649. package/lib/step/index.d.ts +1 -1
  650. package/lib/stepper/Stepper.d.ts +5 -5
  651. package/lib/stepper/Stepper.js +11 -12
  652. package/lib/stepper/index.d.ts +5 -5
  653. package/lib/steps/Steps.d.ts +5 -5
  654. package/lib/steps/Steps.js +1 -2
  655. package/lib/steps/index.d.ts +5 -5
  656. package/lib/sticky/Sticky.d.ts +5 -5
  657. package/lib/sticky/Sticky.js +10 -11
  658. package/lib/sticky/index.d.ts +5 -5
  659. package/lib/submit-bar/SubmitBar.d.ts +5 -5
  660. package/lib/submit-bar/SubmitBar.js +2 -3
  661. package/lib/submit-bar/index.d.ts +5 -5
  662. package/lib/swipe/Swipe.d.ts +5 -5
  663. package/lib/swipe/Swipe.js +24 -26
  664. package/lib/swipe/index.d.ts +5 -5
  665. package/lib/swipe-cell/SwipeCell.d.ts +6 -6
  666. package/lib/swipe-cell/SwipeCell.js +8 -10
  667. package/lib/swipe-cell/index.d.ts +6 -6
  668. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  669. package/lib/swipe-item/SwipeItem.js +6 -7
  670. package/lib/swipe-item/index.d.ts +1 -1
  671. package/lib/switch/Switch.d.ts +5 -5
  672. package/lib/switch/Switch.js +1 -2
  673. package/lib/switch/index.d.ts +5 -5
  674. package/lib/tab/Tab.d.ts +7 -7
  675. package/lib/tab/Tab.js +12 -13
  676. package/lib/tab/TabTitle.d.ts +4 -4
  677. package/lib/tab/TabTitle.js +2 -3
  678. package/lib/tab/index.d.ts +6 -6
  679. package/lib/tabbar/Tabbar.d.ts +5 -5
  680. package/lib/tabbar/Tabbar.js +2 -3
  681. package/lib/tabbar/index.d.ts +5 -5
  682. package/lib/tabbar-item/TabbarItem.d.ts +8 -8
  683. package/lib/tabbar-item/TabbarItem.js +3 -4
  684. package/lib/tabbar-item/index.d.ts +7 -7
  685. package/lib/tabs/Tabs.d.ts +5 -5
  686. package/lib/tabs/Tabs.js +23 -26
  687. package/lib/tabs/TabsContent.d.ts +5 -5
  688. package/lib/tabs/TabsContent.js +4 -5
  689. package/lib/tabs/index.d.ts +5 -5
  690. package/lib/tag/Tag.d.ts +5 -5
  691. package/lib/tag/Tag.js +2 -3
  692. package/lib/tag/index.d.ts +5 -5
  693. package/lib/text-ellipsis/TextEllipsis.d.ts +5 -5
  694. package/lib/text-ellipsis/TextEllipsis.js +13 -16
  695. package/lib/text-ellipsis/index.d.ts +5 -5
  696. package/lib/time-picker/TimePicker.d.ts +12 -11
  697. package/lib/time-picker/TimePicker.js +6 -7
  698. package/lib/time-picker/index.d.ts +9 -9
  699. package/lib/toast/Toast.d.ts +9 -9
  700. package/lib/toast/Toast.js +5 -6
  701. package/lib/toast/function-call.js +3 -4
  702. package/lib/toast/index.d.ts +7 -7
  703. package/lib/tree-select/TreeSelect.d.ts +5 -5
  704. package/lib/tree-select/TreeSelect.js +1 -2
  705. package/lib/tree-select/index.d.ts +5 -5
  706. package/lib/uploader/Uploader.d.ts +5 -5
  707. package/lib/uploader/Uploader.js +7 -8
  708. package/lib/uploader/UploaderPreviewItem.d.ts +8 -7
  709. package/lib/uploader/UploaderPreviewItem.js +1 -2
  710. package/lib/uploader/index.d.ts +5 -5
  711. package/lib/uploader/utils.d.ts +1 -1
  712. package/lib/utils/basic.d.ts +2 -2
  713. package/lib/utils/create.d.ts +1 -1
  714. package/lib/utils/dom.d.ts +1 -1
  715. package/lib/utils/mount-component.d.ts +1 -1
  716. package/lib/vant.cjs.js +85 -108
  717. package/lib/vant.es.js +86 -109
  718. package/lib/vant.js +86 -109
  719. package/lib/vant.min.js +3 -3
  720. package/lib/watermark/Watermark.d.ts +4 -4
  721. package/lib/watermark/Watermark.js +8 -9
  722. package/lib/watermark/index.d.ts +4 -4
  723. package/lib/web-types.json +1 -1
  724. package/package.json +14 -14
@@ -1,18 +1,18 @@
1
- export declare const SkeletonAvatar: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SkeletonAvatar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  avatarSize: (NumberConstructor | StringConstructor)[];
3
3
  avatarShape: {
4
4
  type: import("vue").PropType<import("./SkeletonAvatar").SkeletonAvatarShape>;
5
5
  default: import("./SkeletonAvatar").SkeletonAvatarShape;
6
6
  };
7
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
8
  avatarSize: (NumberConstructor | StringConstructor)[];
9
9
  avatarShape: {
10
10
  type: import("vue").PropType<import("./SkeletonAvatar").SkeletonAvatarShape>;
11
11
  default: import("./SkeletonAvatar").SkeletonAvatarShape;
12
12
  };
13
- }>>, {
13
+ }>> & Readonly<{}>, {
14
14
  avatarShape: import("./SkeletonAvatar").SkeletonAvatarShape;
15
- }, {}>>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
16
16
  export default SkeletonAvatar;
17
17
  export { skeletonAvatarProps } from './SkeletonAvatar';
18
18
  export type { SkeletonAvatarProps, SkeletonAvatarShape, } from './SkeletonAvatar';
@@ -8,19 +8,19 @@ export declare const skeletonImageProps: {
8
8
  };
9
9
  };
10
10
  export type SkeletonImageProps = ExtractPropTypes<typeof skeletonImageProps>;
11
- declare const _default: import("vue").DefineComponent<{
11
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
12
12
  imageSize: (NumberConstructor | StringConstructor)[];
13
13
  imageShape: {
14
14
  type: import("vue").PropType<SkeletonImageShape>;
15
15
  default: SkeletonImageShape;
16
16
  };
17
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
17
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
18
18
  imageSize: (NumberConstructor | StringConstructor)[];
19
19
  imageShape: {
20
20
  type: import("vue").PropType<SkeletonImageShape>;
21
21
  default: SkeletonImageShape;
22
22
  };
23
- }>>, {
23
+ }>> & Readonly<{}>, {
24
24
  imageShape: SkeletonImageShape;
25
- }, {}>;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
26
  export default _default;
@@ -22,7 +22,6 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  var import_icon = require("../icon");
28
27
  const [name, bem] = (0, import_utils.createNamespace)("skeleton-image");
@@ -30,7 +29,7 @@ const skeletonImageProps = {
30
29
  imageSize: import_utils.numericProp,
31
30
  imageShape: (0, import_utils.makeStringProp)("square")
32
31
  };
33
- var stdin_default = (0, import_vue2.defineComponent)({
32
+ var stdin_default = (0, import_vue.defineComponent)({
34
33
  name,
35
34
  props: skeletonImageProps,
36
35
  setup(props) {
@@ -1,18 +1,18 @@
1
- export declare const SkeletonImage: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SkeletonImage: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  imageSize: (NumberConstructor | StringConstructor)[];
3
3
  imageShape: {
4
4
  type: import("vue").PropType<import("./SkeletonImage").SkeletonImageShape>;
5
5
  default: import("./SkeletonImage").SkeletonImageShape;
6
6
  };
7
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
8
  imageSize: (NumberConstructor | StringConstructor)[];
9
9
  imageShape: {
10
10
  type: import("vue").PropType<import("./SkeletonImage").SkeletonImageShape>;
11
11
  default: import("./SkeletonImage").SkeletonImageShape;
12
12
  };
13
- }>>, {
13
+ }>> & Readonly<{}>, {
14
14
  imageShape: import("./SkeletonImage").SkeletonImageShape;
15
- }, {}>>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
16
16
  export default SkeletonImage;
17
17
  export { skeletonImageProps } from './SkeletonImage';
18
18
  export type { SkeletonImageProps, SkeletonImageShape } from './SkeletonImage';
@@ -8,20 +8,20 @@ export declare const skeletonParagraphProps: {
8
8
  };
9
9
  };
10
10
  export type SkeletonParagraphProps = ExtractPropTypes<typeof skeletonParagraphProps>;
11
- declare const _default: import("vue").DefineComponent<{
11
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
12
12
  round: BooleanConstructor;
13
13
  rowWidth: {
14
14
  type: (NumberConstructor | StringConstructor)[];
15
15
  default: string;
16
16
  };
17
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
17
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
18
18
  round: BooleanConstructor;
19
19
  rowWidth: {
20
20
  type: (NumberConstructor | StringConstructor)[];
21
21
  default: string;
22
22
  };
23
- }>>, {
23
+ }>> & Readonly<{}>, {
24
24
  round: boolean;
25
25
  rowWidth: string | number;
26
- }, {}>;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
27
  export default _default;
@@ -23,7 +23,6 @@ __export(stdin_exports, {
23
23
  });
24
24
  module.exports = __toCommonJS(stdin_exports);
25
25
  var import_vue = require("vue");
26
- var import_vue2 = require("vue");
27
26
  var import_utils = require("../utils");
28
27
  const DEFAULT_ROW_WIDTH = "100%";
29
28
  const skeletonParagraphProps = {
@@ -34,7 +33,7 @@ const skeletonParagraphProps = {
34
33
  }
35
34
  };
36
35
  const [name, bem] = (0, import_utils.createNamespace)("skeleton-paragraph");
37
- var stdin_default = (0, import_vue2.defineComponent)({
36
+ var stdin_default = (0, import_vue.defineComponent)({
38
37
  name,
39
38
  props: skeletonParagraphProps,
40
39
  setup(props) {
@@ -1,19 +1,19 @@
1
- export declare const SkeletonParagraph: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SkeletonParagraph: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  round: BooleanConstructor;
3
3
  rowWidth: {
4
4
  type: (NumberConstructor | StringConstructor)[];
5
5
  default: string;
6
6
  };
7
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
8
  round: BooleanConstructor;
9
9
  rowWidth: {
10
10
  type: (NumberConstructor | StringConstructor)[];
11
11
  default: string;
12
12
  };
13
- }>>, {
13
+ }>> & Readonly<{}>, {
14
14
  round: boolean;
15
15
  rowWidth: string | number;
16
- }, {}>>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
17
17
  export default SkeletonParagraph;
18
18
  export { skeletonParagraphProps, DEFAULT_ROW_WIDTH } from './SkeletonParagraph';
19
19
  export type { SkeletonParagraphProps } from './SkeletonParagraph';
@@ -4,13 +4,13 @@ export declare const skeletonTitleProps: {
4
4
  titleWidth: (NumberConstructor | StringConstructor)[];
5
5
  };
6
6
  export type SkeletonTitleProps = ExtractPropTypes<typeof skeletonTitleProps>;
7
- declare const _default: import("vue").DefineComponent<{
7
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
8
8
  round: BooleanConstructor;
9
9
  titleWidth: (NumberConstructor | StringConstructor)[];
10
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
10
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
11
11
  round: BooleanConstructor;
12
12
  titleWidth: (NumberConstructor | StringConstructor)[];
13
- }>>, {
13
+ }>> & Readonly<{}>, {
14
14
  round: boolean;
15
- }, {}>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
16
  export default _default;
@@ -22,14 +22,13 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  const [name, bem] = (0, import_utils.createNamespace)("skeleton-title");
28
27
  const skeletonTitleProps = {
29
28
  round: Boolean,
30
29
  titleWidth: import_utils.numericProp
31
30
  };
32
- var stdin_default = (0, import_vue2.defineComponent)({
31
+ var stdin_default = (0, import_vue.defineComponent)({
33
32
  name,
34
33
  props: skeletonTitleProps,
35
34
  setup(props) {
@@ -1,12 +1,12 @@
1
- export declare const SkeletonTitle: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SkeletonTitle: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  round: BooleanConstructor;
3
3
  titleWidth: (NumberConstructor | StringConstructor)[];
4
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
4
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
5
  round: BooleanConstructor;
6
6
  titleWidth: (NumberConstructor | StringConstructor)[];
7
- }>>, {
7
+ }>> & Readonly<{}>, {
8
8
  round: boolean;
9
- }, {}>>;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
10
10
  export default SkeletonTitle;
11
11
  export { skeletonTitleProps } from './SkeletonTitle';
12
12
  export type { SkeletonTitleProps } from './SkeletonTitle';
@@ -29,7 +29,7 @@ export declare const sliderProps: {
29
29
  };
30
30
  };
31
31
  export type SliderProps = ExtractPropTypes<typeof sliderProps>;
32
- declare const _default: import("vue").DefineComponent<{
32
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
33
33
  min: {
34
34
  type: (NumberConstructor | StringConstructor)[];
35
35
  default: number;
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
55
55
  type: PropType<SliderValue>;
56
56
  default: number;
57
57
  };
58
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "dragStart" | "dragEnd")[], "update:modelValue" | "change" | "dragStart" | "dragEnd", import("vue").PublicProps, Readonly<ExtractPropTypes<{
58
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "dragStart" | "dragEnd")[], "update:modelValue" | "change" | "dragStart" | "dragEnd", import("vue").PublicProps, Readonly<ExtractPropTypes<{
59
59
  min: {
60
60
  type: (NumberConstructor | StringConstructor)[];
61
61
  default: number;
@@ -81,20 +81,20 @@ declare const _default: import("vue").DefineComponent<{
81
81
  type: PropType<SliderValue>;
82
82
  default: number;
83
83
  };
84
- }>> & {
84
+ }>> & Readonly<{
85
85
  onChange?: ((...args: any[]) => any) | undefined;
86
86
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
87
87
  onDragStart?: ((...args: any[]) => any) | undefined;
88
88
  onDragEnd?: ((...args: any[]) => any) | undefined;
89
- }, {
89
+ }>, {
90
90
  reverse: boolean;
91
91
  range: boolean;
92
92
  max: string | number;
93
93
  disabled: boolean;
94
94
  vertical: boolean;
95
+ min: string | number;
95
96
  modelValue: SliderValue;
96
97
  readonly: boolean;
97
- min: string | number;
98
98
  step: string | number;
99
- }, {}>;
99
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
100
  export default _default;
@@ -22,7 +22,6 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  var import_use = require("@vant/use");
28
27
  var import_use_touch = require("../composables/use-touch");
@@ -45,7 +44,7 @@ const sliderProps = {
45
44
  default: 0
46
45
  }
47
46
  };
48
- var stdin_default = (0, import_vue2.defineComponent)({
47
+ var stdin_default = (0, import_vue.defineComponent)({
49
48
  name,
50
49
  props: sliderProps,
51
50
  emits: ["change", "dragEnd", "dragStart", "update:modelValue"],
@@ -56,12 +55,12 @@ var stdin_default = (0, import_vue2.defineComponent)({
56
55
  let buttonIndex;
57
56
  let current;
58
57
  let startValue;
59
- const root = (0, import_vue2.ref)();
60
- const slider = [(0, import_vue2.ref)(), (0, import_vue2.ref)()];
61
- const dragStatus = (0, import_vue2.ref)();
58
+ const root = (0, import_vue.ref)();
59
+ const slider = [(0, import_vue.ref)(), (0, import_vue.ref)()];
60
+ const dragStatus = (0, import_vue.ref)();
62
61
  const touch = (0, import_use_touch.useTouch)();
63
- const scope = (0, import_vue2.computed)(() => Number(props.max) - Number(props.min));
64
- const wrapperStyle = (0, import_vue2.computed)(() => {
62
+ const scope = (0, import_vue.computed)(() => Number(props.max) - Number(props.min));
63
+ const wrapperStyle = (0, import_vue.computed)(() => {
65
64
  const crossAxis = props.vertical ? "width" : "height";
66
65
  return {
67
66
  background: props.inactiveColor,
@@ -89,7 +88,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
89
88
  }
90
89
  return "0%";
91
90
  };
92
- const barStyle = (0, import_vue2.computed)(() => {
91
+ const barStyle = (0, import_vue.computed)(() => {
93
92
  const mainAxis = props.vertical ? "height" : "width";
94
93
  const style = {
95
94
  [mainAxis]: calcMainAxis(),
@@ -1,4 +1,4 @@
1
- export declare const Slider: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Slider: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  min: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -24,7 +24,7 @@ export declare const Slider: import("../utils").WithInstall<import("vue").Define
24
24
  type: import("vue").PropType<number | [number, number]>;
25
25
  default: number;
26
26
  };
27
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "dragStart" | "dragEnd")[], "update:modelValue" | "change" | "dragStart" | "dragEnd", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "dragStart" | "dragEnd")[], "update:modelValue" | "change" | "dragStart" | "dragEnd", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
28
  min: {
29
29
  type: (NumberConstructor | StringConstructor)[];
30
30
  default: number;
@@ -50,22 +50,22 @@ export declare const Slider: import("../utils").WithInstall<import("vue").Define
50
50
  type: import("vue").PropType<number | [number, number]>;
51
51
  default: number;
52
52
  };
53
- }>> & {
53
+ }>> & Readonly<{
54
54
  onChange?: ((...args: any[]) => any) | undefined;
55
55
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
56
  onDragStart?: ((...args: any[]) => any) | undefined;
57
57
  onDragEnd?: ((...args: any[]) => any) | undefined;
58
- }, {
58
+ }>, {
59
59
  reverse: boolean;
60
60
  range: boolean;
61
61
  max: string | number;
62
62
  disabled: boolean;
63
63
  vertical: boolean;
64
+ min: string | number;
64
65
  modelValue: number | [number, number];
65
66
  readonly: boolean;
66
- min: string | number;
67
67
  step: string | number;
68
- }, {}>>;
68
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
69
69
  export default Slider;
70
70
  export { sliderProps } from './Slider';
71
71
  export type { SliderProps } from './Slider';
@@ -4,45 +4,45 @@ export type SpaceAlign = 'start' | 'end' | 'center' | 'baseline';
4
4
  export declare const spaceProps: {
5
5
  align: PropType<SpaceAlign>;
6
6
  direction: {
7
- type: PropType<"horizontal" | "vertical">;
7
+ type: PropType<"vertical" | "horizontal">;
8
8
  default: string;
9
9
  };
10
10
  size: {
11
- type: PropType<string | number | [SpaceSize, SpaceSize]>;
11
+ type: PropType<number | string | [SpaceSize, SpaceSize]>;
12
12
  default: number;
13
13
  };
14
14
  wrap: BooleanConstructor;
15
15
  fill: BooleanConstructor;
16
16
  };
17
17
  export type SpaceProps = ExtractPropTypes<typeof spaceProps>;
18
- declare const _default: import("vue").DefineComponent<{
18
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
19
19
  align: PropType<SpaceAlign>;
20
20
  direction: {
21
- type: PropType<"horizontal" | "vertical">;
21
+ type: PropType<"vertical" | "horizontal">;
22
22
  default: string;
23
23
  };
24
24
  size: {
25
- type: PropType<string | number | [SpaceSize, SpaceSize]>;
25
+ type: PropType<number | string | [SpaceSize, SpaceSize]>;
26
26
  default: number;
27
27
  };
28
28
  wrap: BooleanConstructor;
29
29
  fill: BooleanConstructor;
30
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
30
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
31
31
  align: PropType<SpaceAlign>;
32
32
  direction: {
33
- type: PropType<"horizontal" | "vertical">;
33
+ type: PropType<"vertical" | "horizontal">;
34
34
  default: string;
35
35
  };
36
36
  size: {
37
- type: PropType<string | number | [SpaceSize, SpaceSize]>;
37
+ type: PropType<number | string | [SpaceSize, SpaceSize]>;
38
38
  default: number;
39
39
  };
40
40
  wrap: BooleanConstructor;
41
41
  fill: BooleanConstructor;
42
- }>>, {
42
+ }>> & Readonly<{}>, {
43
43
  fill: boolean;
44
44
  size: string | number | [SpaceSize, SpaceSize];
45
45
  wrap: boolean;
46
46
  direction: "horizontal" | "vertical";
47
- }, {}>;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
48
  export default _default;
@@ -22,7 +22,6 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  const [name, bem] = (0, import_utils.createNamespace)("space");
28
27
  const spaceProps = {
@@ -43,7 +42,7 @@ function filterEmpty(children = []) {
43
42
  children.forEach((child) => {
44
43
  if (Array.isArray(child)) {
45
44
  nodes.push(...child);
46
- } else if (child.type === import_vue2.Fragment) {
45
+ } else if (child.type === import_vue.Fragment) {
47
46
  nodes.push(...filterEmpty(child.children));
48
47
  } else {
49
48
  nodes.push(child);
@@ -51,16 +50,16 @@ function filterEmpty(children = []) {
51
50
  });
52
51
  return nodes.filter((c) => {
53
52
  var _a;
54
- return !(c && (c.type === import_vue2.Comment || c.type === import_vue2.Fragment && ((_a = c.children) == null ? void 0 : _a.length) === 0 || c.type === import_vue2.Text && c.children.trim() === ""));
53
+ return !(c && (c.type === import_vue.Comment || c.type === import_vue.Fragment && ((_a = c.children) == null ? void 0 : _a.length) === 0 || c.type === import_vue.Text && c.children.trim() === ""));
55
54
  });
56
55
  }
57
- var stdin_default = (0, import_vue2.defineComponent)({
56
+ var stdin_default = (0, import_vue.defineComponent)({
58
57
  name,
59
58
  props: spaceProps,
60
59
  setup(props, {
61
60
  slots
62
61
  }) {
63
- const mergedAlign = (0, import_vue2.computed)(() => {
62
+ const mergedAlign = (0, import_vue.computed)(() => {
64
63
  var _a;
65
64
  return (_a = props.align) != null ? _a : props.direction === "horizontal" ? "center" : "";
66
65
  });
@@ -1,33 +1,33 @@
1
- export declare const Space: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Space: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  align: import("vue").PropType<import("./Space").SpaceAlign>;
3
3
  direction: {
4
- type: import("vue").PropType<"horizontal" | "vertical">;
4
+ type: import("vue").PropType<"vertical" | "horizontal">;
5
5
  default: string;
6
6
  };
7
7
  size: {
8
- type: import("vue").PropType<string | number | [import("./Space").SpaceSize, import("./Space").SpaceSize]>;
8
+ type: import("vue").PropType<number | string | [import("./Space").SpaceSize, import("./Space").SpaceSize]>;
9
9
  default: number;
10
10
  };
11
11
  wrap: BooleanConstructor;
12
12
  fill: BooleanConstructor;
13
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
14
  align: import("vue").PropType<import("./Space").SpaceAlign>;
15
15
  direction: {
16
- type: import("vue").PropType<"horizontal" | "vertical">;
16
+ type: import("vue").PropType<"vertical" | "horizontal">;
17
17
  default: string;
18
18
  };
19
19
  size: {
20
- type: import("vue").PropType<string | number | [import("./Space").SpaceSize, import("./Space").SpaceSize]>;
20
+ type: import("vue").PropType<number | string | [import("./Space").SpaceSize, import("./Space").SpaceSize]>;
21
21
  default: number;
22
22
  };
23
23
  wrap: BooleanConstructor;
24
24
  fill: BooleanConstructor;
25
- }>>, {
25
+ }>> & Readonly<{}>, {
26
26
  fill: boolean;
27
27
  size: string | number | [import("./Space").SpaceSize, import("./Space").SpaceSize];
28
28
  wrap: boolean;
29
29
  direction: "horizontal" | "vertical";
30
- }, {}>>;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
31
31
  export default Space;
32
32
  export { spaceProps } from './Space';
33
33
  export type { SpaceProps, SpaceSize, SpaceAlign } from './Space';
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
package/lib/step/Step.js CHANGED
@@ -21,13 +21,12 @@ __export(stdin_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(stdin_exports);
23
23
  var import_vue = require("vue");
24
- var import_vue2 = require("vue");
25
24
  var import_utils = require("../utils");
26
25
  var import_Steps = require("../steps/Steps");
27
26
  var import_use = require("@vant/use");
28
27
  var import_icon = require("../icon");
29
28
  const [name, bem] = (0, import_utils.createNamespace)("step");
30
- var stdin_default = (0, import_vue2.defineComponent)({
29
+ var stdin_default = (0, import_vue.defineComponent)({
31
30
  name,
32
31
  setup(props, {
33
32
  slots
@@ -51,10 +50,10 @@ var stdin_default = (0, import_vue2.defineComponent)({
51
50
  return index.value === active ? "process" : "waiting";
52
51
  };
53
52
  const isActive = () => getStatus() === "process";
54
- const lineStyle = (0, import_vue2.computed)(() => ({
53
+ const lineStyle = (0, import_vue.computed)(() => ({
55
54
  background: getStatus() === "finish" ? parentProps.activeColor : parentProps.inactiveColor
56
55
  }));
57
- const titleStyle = (0, import_vue2.computed)(() => {
56
+ const titleStyle = (0, import_vue.computed)(() => {
58
57
  if (isActive()) {
59
58
  return {
60
59
  color: parentProps.activeColor
@@ -1,4 +1,4 @@
1
- export declare const Step: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
1
+ export declare const Step: import("../utils").WithInstall<import("vue").DefineComponent<{}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
2
2
  export default Step;
3
3
  export type { StepThemeVars } from './types';
4
4
  declare module 'vue' {
@@ -57,7 +57,7 @@ export declare const stepperProps: {
57
57
  decimalLength: (NumberConstructor | StringConstructor)[];
58
58
  };
59
59
  export type StepperProps = ExtractPropTypes<typeof stepperProps>;
60
- declare const _default: import("vue").DefineComponent<{
60
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
61
61
  min: {
62
62
  type: (NumberConstructor | StringConstructor)[];
63
63
  default: number;
@@ -111,7 +111,7 @@ declare const _default: import("vue").DefineComponent<{
111
111
  default: number;
112
112
  };
113
113
  decimalLength: (NumberConstructor | StringConstructor)[];
114
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit", import("vue").PublicProps, Readonly<ExtractPropTypes<{
114
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit", import("vue").PublicProps, Readonly<ExtractPropTypes<{
115
115
  min: {
116
116
  type: (NumberConstructor | StringConstructor)[];
117
117
  default: number;
@@ -165,7 +165,7 @@ declare const _default: import("vue").DefineComponent<{
165
165
  default: number;
166
166
  };
167
167
  decimalLength: (NumberConstructor | StringConstructor)[];
168
- }>> & {
168
+ }>> & Readonly<{
169
169
  onFocus?: ((...args: any[]) => any) | undefined;
170
170
  onBlur?: ((...args: any[]) => any) | undefined;
171
171
  onChange?: ((...args: any[]) => any) | undefined;
@@ -173,7 +173,7 @@ declare const _default: import("vue").DefineComponent<{
173
173
  onMinus?: ((...args: any[]) => any) | undefined;
174
174
  onPlus?: ((...args: any[]) => any) | undefined;
175
175
  onOverlimit?: ((...args: any[]) => any) | undefined;
176
- }, {
176
+ }>, {
177
177
  name: string | number;
178
178
  max: string | number;
179
179
  disabled: boolean;
@@ -190,5 +190,5 @@ declare const _default: import("vue").DefineComponent<{
190
190
  disableMinus: boolean;
191
191
  disableInput: boolean;
192
192
  defaultValue: string | number;
193
- }, {}>;
193
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
194
194
  export default _default;
@@ -22,7 +22,6 @@ __export(stdin_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(stdin_exports);
24
24
  var import_vue = require("vue");
25
- var import_vue2 = require("vue");
26
25
  var import_utils = require("../utils");
27
26
  var import_use = require("@vant/use");
28
27
  const [name, bem] = (0, import_utils.createNamespace)("stepper");
@@ -53,7 +52,7 @@ const stepperProps = {
53
52
  defaultValue: (0, import_utils.makeNumericProp)(1),
54
53
  decimalLength: import_utils.numericProp
55
54
  };
56
- var stdin_default = (0, import_vue2.defineComponent)({
55
+ var stdin_default = (0, import_vue.defineComponent)({
57
56
  name,
58
57
  props: stepperProps,
59
58
  emits: ["plus", "blur", "minus", "focus", "change", "overlimit", "update:modelValue"],
@@ -89,15 +88,15 @@ var stdin_default = (0, import_vue2.defineComponent)({
89
88
  return value;
90
89
  };
91
90
  let actionType;
92
- const inputRef = (0, import_vue2.ref)();
93
- const current = (0, import_vue2.ref)(getInitialValue());
94
- const minusDisabled = (0, import_vue2.computed)(() => props.disabled || props.disableMinus || +current.value <= +props.min);
95
- const plusDisabled = (0, import_vue2.computed)(() => props.disabled || props.disablePlus || +current.value >= +props.max);
96
- const inputStyle = (0, import_vue2.computed)(() => ({
91
+ const inputRef = (0, import_vue.ref)();
92
+ const current = (0, import_vue.ref)(getInitialValue());
93
+ const minusDisabled = (0, import_vue.computed)(() => props.disabled || props.disableMinus || +current.value <= +props.min);
94
+ const plusDisabled = (0, import_vue.computed)(() => props.disabled || props.disablePlus || +current.value >= +props.max);
95
+ const inputStyle = (0, import_vue.computed)(() => ({
97
96
  width: (0, import_utils.addUnit)(props.inputWidth),
98
97
  height: (0, import_utils.addUnit)(props.buttonSize)
99
98
  }));
100
- const buttonStyle = (0, import_vue2.computed)(() => (0, import_utils.getSizeStyle)(props.buttonSize));
99
+ const buttonStyle = (0, import_vue.computed)(() => (0, import_utils.getSizeStyle)(props.buttonSize));
101
100
  const check = () => {
102
101
  const value = format(current.value);
103
102
  if (!isEqual(value, current.value)) {
@@ -160,7 +159,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
160
159
  const value = format(input.value, props.autoFixed);
161
160
  input.value = String(value);
162
161
  current.value = value;
163
- (0, import_vue2.nextTick)(() => {
162
+ (0, import_vue.nextTick)(() => {
164
163
  emit("blur", event);
165
164
  (0, import_utils.resetScroll)();
166
165
  });
@@ -210,13 +209,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
210
209
  onTouchend: onTouchEnd,
211
210
  onTouchcancel: onTouchEnd
212
211
  });
213
- (0, import_vue2.watch)(() => [props.max, props.min, props.integer, props.decimalLength], check);
214
- (0, import_vue2.watch)(() => props.modelValue, (value) => {
212
+ (0, import_vue.watch)(() => [props.max, props.min, props.integer, props.decimalLength], check);
213
+ (0, import_vue.watch)(() => props.modelValue, (value) => {
215
214
  if (!isEqual(value, current.value)) {
216
215
  current.value = format(value);
217
216
  }
218
217
  });
219
- (0, import_vue2.watch)(current, (value) => {
218
+ (0, import_vue.watch)(current, (value) => {
220
219
  emit("update:modelValue", value);
221
220
  emit("change", value, {
222
221
  name: props.name