vant 4.8.6 → 4.8.8

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 (265) hide show
  1. package/README.md +1 -1
  2. package/es/action-bar/index.d.ts +1 -1
  3. package/es/action-bar-button/index.d.ts +3 -3
  4. package/es/action-bar-icon/index.d.ts +3 -3
  5. package/es/action-sheet/ActionSheet.d.ts +3 -3
  6. package/es/action-sheet/index.d.ts +3 -3
  7. package/es/address-edit/index.d.ts +5 -5
  8. package/es/address-list/AddressList.mjs +3 -1
  9. package/es/address-list/AddressListItem.mjs +3 -3
  10. package/es/address-list/index.d.ts +1 -1
  11. package/es/area/Area.d.ts +3 -3
  12. package/es/area/index.d.ts +2 -2
  13. package/es/back-top/index.d.ts +1 -1
  14. package/es/badge/index.d.ts +3 -3
  15. package/es/barrage/Barrage.d.ts +1 -1
  16. package/es/barrage/index.d.ts +2 -2
  17. package/es/button/index.d.ts +3 -3
  18. package/es/calendar/index.d.ts +6 -6
  19. package/es/calendar/utils.d.ts +1 -1
  20. package/es/card/index.d.ts +1 -1
  21. package/es/cascader/index.d.ts +1 -1
  22. package/es/cell/index.d.ts +1 -1
  23. package/es/cell-group/index.d.ts +1 -1
  24. package/es/checkbox/index.d.ts +5 -5
  25. package/es/checkbox-group/index.d.ts +8 -8
  26. package/es/circle/index.d.ts +1 -1
  27. package/es/col/index.d.ts +1 -1
  28. package/es/collapse/index.d.ts +4 -4
  29. package/es/collapse-item/index.d.ts +5 -5
  30. package/es/config-provider/index.d.ts +1 -1
  31. package/es/contact-card/index.d.ts +1 -1
  32. package/es/contact-edit/index.d.ts +3 -3
  33. package/es/contact-list/index.d.ts +1 -1
  34. package/es/count-down/index.d.ts +1 -1
  35. package/es/coupon/index.d.ts +1 -1
  36. package/es/coupon-cell/index.d.ts +4 -4
  37. package/es/coupon-list/index.d.ts +7 -7
  38. package/es/date-picker/DatePicker.d.ts +10 -10
  39. package/es/date-picker/index.d.ts +8 -8
  40. package/es/dialog/Dialog.d.ts +3 -3
  41. package/es/dialog/index.d.ts +3 -3
  42. package/es/divider/index.d.ts +1 -1
  43. package/es/dropdown-item/index.d.ts +1 -1
  44. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  45. package/es/dropdown-menu/index.d.ts +2 -2
  46. package/es/empty/index.d.ts +3 -3
  47. package/es/field/index.d.ts +5 -5
  48. package/es/floating-bubble/FloatingBubble.mjs +3 -1
  49. package/es/floating-bubble/index.d.ts +1 -1
  50. package/es/floating-panel/FloatingPanel.d.ts +1 -1
  51. package/es/floating-panel/index.d.ts +2 -2
  52. package/es/form/index.d.ts +10 -10
  53. package/es/grid/index.d.ts +1 -1
  54. package/es/grid-item/index.d.ts +3 -3
  55. package/es/highlight/index.d.ts +1 -1
  56. package/es/icon/index.d.ts +3 -3
  57. package/es/image/index.d.ts +1 -1
  58. package/es/image-preview/ImagePreviewItem.mjs +3 -1
  59. package/es/image-preview/index.d.ts +8 -8
  60. package/es/index-anchor/index.d.ts +1 -1
  61. package/es/index-bar/index.d.ts +4 -4
  62. package/es/index.d.ts +1 -1
  63. package/es/index.mjs +1 -1
  64. package/es/list/index.d.ts +1 -1
  65. package/es/loading/index.d.ts +1 -1
  66. package/es/nav-bar/index.d.ts +1 -1
  67. package/es/notice-bar/index.d.ts +1 -1
  68. package/es/notify/Notify.d.ts +3 -3
  69. package/es/notify/index.d.ts +3 -3
  70. package/es/number-keyboard/index.d.ts +1 -1
  71. package/es/overlay/index.d.ts +1 -1
  72. package/es/pagination/Pagination.d.ts +1 -1
  73. package/es/pagination/index.d.ts +2 -2
  74. package/es/password-input/index.d.ts +1 -1
  75. package/es/picker/index.d.ts +4 -4
  76. package/es/picker/utils.d.ts +1 -1
  77. package/es/picker-group/PickerGroup.mjs +11 -3
  78. package/es/picker-group/index.d.ts +1 -1
  79. package/es/popover/index.d.ts +1 -1
  80. package/es/popup/Popup.d.ts +3 -3
  81. package/es/popup/index.d.ts +3 -3
  82. package/es/progress/index.d.ts +3 -3
  83. package/es/pull-refresh/index.d.ts +1 -1
  84. package/es/radio/index.d.ts +3 -3
  85. package/es/radio-group/index.d.ts +5 -5
  86. package/es/rate/index.d.ts +1 -1
  87. package/es/rolling-text/index.d.ts +1 -1
  88. package/es/row/index.d.ts +1 -1
  89. package/es/search/Search.d.ts +17 -17
  90. package/es/search/index.d.ts +13 -13
  91. package/es/share-sheet/ShareSheet.d.ts +3 -3
  92. package/es/share-sheet/index.d.ts +3 -3
  93. package/es/sidebar/index.d.ts +1 -1
  94. package/es/sidebar-item/index.d.ts +3 -3
  95. package/es/signature/index.d.ts +1 -1
  96. package/es/skeleton/index.d.ts +9 -9
  97. package/es/skeleton-avatar/index.d.ts +1 -1
  98. package/es/skeleton-image/index.d.ts +1 -1
  99. package/es/skeleton-paragraph/index.d.ts +1 -1
  100. package/es/skeleton-title/index.d.ts +1 -1
  101. package/es/slider/index.d.ts +1 -1
  102. package/es/space/index.d.ts +1 -1
  103. package/es/step/index.d.ts +1 -1
  104. package/es/stepper/index.d.ts +3 -3
  105. package/es/steps/index.d.ts +1 -1
  106. package/es/sticky/index.d.ts +1 -1
  107. package/es/submit-bar/index.d.ts +6 -6
  108. package/es/swipe/Swipe.d.ts +1 -1
  109. package/es/swipe/index.d.ts +2 -2
  110. package/es/swipe-cell/index.d.ts +3 -3
  111. package/es/swipe-item/index.d.ts +1 -1
  112. package/es/switch/index.d.ts +1 -1
  113. package/es/tab/index.d.ts +1 -1
  114. package/es/tabbar/index.d.ts +3 -3
  115. package/es/tabbar-item/index.d.ts +3 -3
  116. package/es/tabs/Tabs.d.ts +1 -1
  117. package/es/tabs/index.d.ts +4 -4
  118. package/es/tag/index.d.ts +1 -1
  119. package/es/text-ellipsis/TextEllipsis.mjs +30 -21
  120. package/es/text-ellipsis/index.d.ts +1 -1
  121. package/es/time-picker/TimePicker.d.ts +13 -13
  122. package/es/time-picker/index.d.ts +10 -10
  123. package/es/toast/Toast.d.ts +1 -1
  124. package/es/toast/index.d.ts +4 -4
  125. package/es/tree-select/index.d.ts +4 -4
  126. package/es/uploader/index.d.ts +7 -7
  127. package/es/uploader/utils.d.ts +1 -1
  128. package/es/utils/basic.d.ts +1 -0
  129. package/es/utils/basic.mjs +2 -0
  130. package/es/watermark/index.d.ts +1 -1
  131. package/lib/action-bar/index.d.ts +1 -1
  132. package/lib/action-bar-button/index.d.ts +3 -3
  133. package/lib/action-bar-icon/index.d.ts +3 -3
  134. package/lib/action-sheet/ActionSheet.d.ts +3 -3
  135. package/lib/action-sheet/index.d.ts +3 -3
  136. package/lib/address-edit/index.d.ts +5 -5
  137. package/lib/address-list/AddressList.js +3 -1
  138. package/lib/address-list/AddressListItem.js +3 -3
  139. package/lib/address-list/index.d.ts +1 -1
  140. package/lib/area/Area.d.ts +3 -3
  141. package/lib/area/index.d.ts +2 -2
  142. package/lib/back-top/index.d.ts +1 -1
  143. package/lib/badge/index.d.ts +3 -3
  144. package/lib/barrage/Barrage.d.ts +1 -1
  145. package/lib/barrage/index.d.ts +2 -2
  146. package/lib/button/index.d.ts +3 -3
  147. package/lib/calendar/index.d.ts +6 -6
  148. package/lib/calendar/utils.d.ts +1 -1
  149. package/lib/card/index.d.ts +1 -1
  150. package/lib/cascader/index.d.ts +1 -1
  151. package/lib/cell/index.d.ts +1 -1
  152. package/lib/cell-group/index.d.ts +1 -1
  153. package/lib/checkbox/index.d.ts +5 -5
  154. package/lib/checkbox-group/index.d.ts +8 -8
  155. package/lib/circle/index.d.ts +1 -1
  156. package/lib/col/index.d.ts +1 -1
  157. package/lib/collapse/index.d.ts +4 -4
  158. package/lib/collapse-item/index.d.ts +5 -5
  159. package/lib/config-provider/index.d.ts +1 -1
  160. package/lib/contact-card/index.d.ts +1 -1
  161. package/lib/contact-edit/index.d.ts +3 -3
  162. package/lib/contact-list/index.d.ts +1 -1
  163. package/lib/count-down/index.d.ts +1 -1
  164. package/lib/coupon/index.d.ts +1 -1
  165. package/lib/coupon-cell/index.d.ts +4 -4
  166. package/lib/coupon-list/index.d.ts +7 -7
  167. package/lib/date-picker/DatePicker.d.ts +10 -10
  168. package/lib/date-picker/index.d.ts +8 -8
  169. package/lib/dialog/Dialog.d.ts +3 -3
  170. package/lib/dialog/index.d.ts +3 -3
  171. package/lib/divider/index.d.ts +1 -1
  172. package/lib/dropdown-item/index.d.ts +1 -1
  173. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  174. package/lib/dropdown-menu/index.d.ts +2 -2
  175. package/lib/empty/index.d.ts +3 -3
  176. package/lib/field/index.d.ts +5 -5
  177. package/lib/floating-bubble/FloatingBubble.js +3 -1
  178. package/lib/floating-bubble/index.d.ts +1 -1
  179. package/lib/floating-panel/FloatingPanel.d.ts +1 -1
  180. package/lib/floating-panel/index.d.ts +2 -2
  181. package/lib/form/index.d.ts +10 -10
  182. package/lib/grid/index.d.ts +1 -1
  183. package/lib/grid-item/index.d.ts +3 -3
  184. package/lib/highlight/index.d.ts +1 -1
  185. package/lib/icon/index.d.ts +3 -3
  186. package/lib/image/index.d.ts +1 -1
  187. package/lib/image-preview/ImagePreviewItem.js +3 -1
  188. package/lib/image-preview/index.d.ts +8 -8
  189. package/lib/index-anchor/index.d.ts +1 -1
  190. package/lib/index-bar/index.d.ts +4 -4
  191. package/lib/index.d.ts +1 -1
  192. package/lib/index.js +1 -1
  193. package/lib/list/index.d.ts +1 -1
  194. package/lib/loading/index.d.ts +1 -1
  195. package/lib/nav-bar/index.d.ts +1 -1
  196. package/lib/notice-bar/index.d.ts +1 -1
  197. package/lib/notify/Notify.d.ts +3 -3
  198. package/lib/notify/index.d.ts +3 -3
  199. package/lib/number-keyboard/index.d.ts +1 -1
  200. package/lib/overlay/index.d.ts +1 -1
  201. package/lib/pagination/Pagination.d.ts +1 -1
  202. package/lib/pagination/index.d.ts +2 -2
  203. package/lib/password-input/index.d.ts +1 -1
  204. package/lib/picker/index.d.ts +4 -4
  205. package/lib/picker/utils.d.ts +1 -1
  206. package/lib/picker-group/PickerGroup.js +9 -1
  207. package/lib/picker-group/index.d.ts +1 -1
  208. package/lib/popover/index.d.ts +1 -1
  209. package/lib/popup/Popup.d.ts +3 -3
  210. package/lib/popup/index.d.ts +3 -3
  211. package/lib/progress/index.d.ts +3 -3
  212. package/lib/pull-refresh/index.d.ts +1 -1
  213. package/lib/radio/index.d.ts +3 -3
  214. package/lib/radio-group/index.d.ts +5 -5
  215. package/lib/rate/index.d.ts +1 -1
  216. package/lib/rolling-text/index.d.ts +1 -1
  217. package/lib/row/index.d.ts +1 -1
  218. package/lib/search/Search.d.ts +17 -17
  219. package/lib/search/index.d.ts +13 -13
  220. package/lib/share-sheet/ShareSheet.d.ts +3 -3
  221. package/lib/share-sheet/index.d.ts +3 -3
  222. package/lib/sidebar/index.d.ts +1 -1
  223. package/lib/sidebar-item/index.d.ts +3 -3
  224. package/lib/signature/index.d.ts +1 -1
  225. package/lib/skeleton/index.d.ts +9 -9
  226. package/lib/skeleton-avatar/index.d.ts +1 -1
  227. package/lib/skeleton-image/index.d.ts +1 -1
  228. package/lib/skeleton-paragraph/index.d.ts +1 -1
  229. package/lib/skeleton-title/index.d.ts +1 -1
  230. package/lib/slider/index.d.ts +1 -1
  231. package/lib/space/index.d.ts +1 -1
  232. package/lib/step/index.d.ts +1 -1
  233. package/lib/stepper/index.d.ts +3 -3
  234. package/lib/steps/index.d.ts +1 -1
  235. package/lib/sticky/index.d.ts +1 -1
  236. package/lib/submit-bar/index.d.ts +6 -6
  237. package/lib/swipe/Swipe.d.ts +1 -1
  238. package/lib/swipe/index.d.ts +2 -2
  239. package/lib/swipe-cell/index.d.ts +3 -3
  240. package/lib/swipe-item/index.d.ts +1 -1
  241. package/lib/switch/index.d.ts +1 -1
  242. package/lib/tab/index.d.ts +1 -1
  243. package/lib/tabbar/index.d.ts +3 -3
  244. package/lib/tabbar-item/index.d.ts +3 -3
  245. package/lib/tabs/Tabs.d.ts +1 -1
  246. package/lib/tabs/index.d.ts +4 -4
  247. package/lib/tag/index.d.ts +1 -1
  248. package/lib/text-ellipsis/TextEllipsis.js +29 -20
  249. package/lib/text-ellipsis/index.d.ts +1 -1
  250. package/lib/time-picker/TimePicker.d.ts +13 -13
  251. package/lib/time-picker/index.d.ts +10 -10
  252. package/lib/toast/Toast.d.ts +1 -1
  253. package/lib/toast/index.d.ts +4 -4
  254. package/lib/tree-select/index.d.ts +4 -4
  255. package/lib/uploader/index.d.ts +7 -7
  256. package/lib/uploader/utils.d.ts +1 -1
  257. package/lib/utils/basic.d.ts +1 -0
  258. package/lib/utils/basic.js +2 -0
  259. package/lib/vant.cjs.js +52 -28
  260. package/lib/vant.es.js +52 -28
  261. package/lib/vant.js +53 -29
  262. package/lib/vant.min.js +2 -2
  263. package/lib/watermark/index.d.ts +1 -1
  264. package/lib/web-types.json +1 -1
  265. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- export declare const ShareSheet: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ShareSheet: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  show: BooleanConstructor;
3
3
  zIndex: (NumberConstructor | StringConstructor)[];
4
4
  overlay: {
@@ -15,7 +15,7 @@ export declare const ShareSheet: import("packages/vant/es/utils/with-install").W
15
15
  type: BooleanConstructor;
16
16
  default: true;
17
17
  };
18
- beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
18
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
19
19
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
20
20
  overlayClass: import("vue").PropType<unknown>;
21
21
  transitionAppear: BooleanConstructor;
@@ -60,7 +60,7 @@ export declare const ShareSheet: import("packages/vant/es/utils/with-install").W
60
60
  type: BooleanConstructor;
61
61
  default: true;
62
62
  };
63
- beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
63
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
64
64
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
65
65
  overlayClass: import("vue").PropType<unknown>;
66
66
  transitionAppear: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const Sidebar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Sidebar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  modelValue: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -1,4 +1,4 @@
1
- export declare const SidebarItem: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SidebarItem: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
@@ -7,7 +7,7 @@ export declare const SidebarItem: import("packages/vant/es/utils/with-install").
7
7
  title: StringConstructor;
8
8
  badge: (NumberConstructor | StringConstructor)[];
9
9
  disabled: BooleanConstructor;
10
- badgeProps: import("vue").PropType<Partial<import("packages/vant/es").BadgeProps>>;
10
+ badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
11
11
  }, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
12
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
13
13
  url: StringConstructor;
@@ -17,7 +17,7 @@ export declare const SidebarItem: import("packages/vant/es/utils/with-install").
17
17
  title: StringConstructor;
18
18
  badge: (NumberConstructor | StringConstructor)[];
19
19
  disabled: BooleanConstructor;
20
- badgeProps: import("vue").PropType<Partial<import("packages/vant/es").BadgeProps>>;
20
+ badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
21
21
  }>> & {
22
22
  onClick?: ((...args: any[]) => any) | undefined;
23
23
  }, {
@@ -1,4 +1,4 @@
1
- export declare const Signature: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Signature: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  tips: StringConstructor;
3
3
  type: {
4
4
  type: import("vue").PropType<string>;
@@ -1,4 +1,4 @@
1
- export declare const Skeleton: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Skeleton: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  row: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -9,8 +9,8 @@ export declare const Skeleton: import("packages/vant/es/utils/with-install").Wit
9
9
  avatar: BooleanConstructor;
10
10
  avatarSize: (NumberConstructor | StringConstructor)[];
11
11
  avatarShape: {
12
- type: import("vue").PropType<import("packages/vant/es").SkeletonAvatarShape>;
13
- default: import("packages/vant/es").SkeletonAvatarShape;
12
+ type: import("vue").PropType<import("..").SkeletonAvatarShape>;
13
+ default: import("..").SkeletonAvatarShape;
14
14
  };
15
15
  loading: {
16
16
  type: BooleanConstructor;
@@ -21,7 +21,7 @@ export declare const Skeleton: import("packages/vant/es/utils/with-install").Wit
21
21
  default: true;
22
22
  };
23
23
  rowWidth: {
24
- type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[]>;
24
+ type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
25
25
  default: string;
26
26
  };
27
27
  }, () => import("vue/jsx-runtime").JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -37,8 +37,8 @@ export declare const Skeleton: import("packages/vant/es/utils/with-install").Wit
37
37
  avatar: BooleanConstructor;
38
38
  avatarSize: (NumberConstructor | StringConstructor)[];
39
39
  avatarShape: {
40
- type: import("vue").PropType<import("packages/vant/es").SkeletonAvatarShape>;
41
- default: import("packages/vant/es").SkeletonAvatarShape;
40
+ type: import("vue").PropType<import("..").SkeletonAvatarShape>;
41
+ default: import("..").SkeletonAvatarShape;
42
42
  };
43
43
  loading: {
44
44
  type: BooleanConstructor;
@@ -49,7 +49,7 @@ export declare const Skeleton: import("packages/vant/es/utils/with-install").Wit
49
49
  default: true;
50
50
  };
51
51
  rowWidth: {
52
- type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[]>;
52
+ type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
53
53
  default: string;
54
54
  };
55
55
  }>>, {
@@ -58,8 +58,8 @@ export declare const Skeleton: import("packages/vant/es/utils/with-install").Wit
58
58
  round: boolean;
59
59
  row: string | number;
60
60
  loading: boolean;
61
- avatarShape: import("packages/vant/es").SkeletonAvatarShape;
62
- rowWidth: import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[];
61
+ avatarShape: import("..").SkeletonAvatarShape;
62
+ rowWidth: import("../utils").Numeric | import("../utils").Numeric[];
63
63
  avatar: boolean;
64
64
  }, {}>>;
65
65
  export default Skeleton;
@@ -1,4 +1,4 @@
1
- export declare const SkeletonAvatar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SkeletonAvatar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  avatarSize: (NumberConstructor | StringConstructor)[];
3
3
  avatarShape: {
4
4
  type: import("vue").PropType<import("./SkeletonAvatar").SkeletonAvatarShape>;
@@ -1,4 +1,4 @@
1
- export declare const SkeletonImage: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SkeletonImage: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  imageSize: (NumberConstructor | StringConstructor)[];
3
3
  imageShape: {
4
4
  type: import("vue").PropType<import("./SkeletonImage").SkeletonImageShape>;
@@ -1,4 +1,4 @@
1
- export declare const SkeletonParagraph: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SkeletonParagraph: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  round: BooleanConstructor;
3
3
  rowWidth: {
4
4
  type: (NumberConstructor | StringConstructor)[];
@@ -1,4 +1,4 @@
1
- export declare const SkeletonTitle: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SkeletonTitle: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  round: BooleanConstructor;
3
3
  titleWidth: (NumberConstructor | StringConstructor)[];
4
4
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1,4 +1,4 @@
1
- export declare const Slider: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Slider: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  min: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -1,4 +1,4 @@
1
- export declare const Space: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Space: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  align: import("vue").PropType<import("./Space").SpaceAlign>;
3
3
  direction: {
4
4
  type: import("vue").PropType<"horizontal" | "vertical">;
@@ -1,4 +1,4 @@
1
- export declare const Step: import("packages/vant/es/utils/with-install").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<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
2
2
  export default Step;
3
3
  export type { StepThemeVars } from './types';
4
4
  declare module 'vue' {
@@ -1,4 +1,4 @@
1
- export declare const Stepper: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Stepper: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  min: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -46,7 +46,7 @@ export declare const Stepper: import("packages/vant/es/utils/with-install").With
46
46
  disablePlus: BooleanConstructor;
47
47
  disableMinus: BooleanConstructor;
48
48
  disableInput: BooleanConstructor;
49
- beforeChange: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
49
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
50
50
  defaultValue: {
51
51
  type: (NumberConstructor | StringConstructor)[];
52
52
  default: number;
@@ -100,7 +100,7 @@ export declare const Stepper: import("packages/vant/es/utils/with-install").With
100
100
  disablePlus: BooleanConstructor;
101
101
  disableMinus: BooleanConstructor;
102
102
  disableInput: BooleanConstructor;
103
- beforeChange: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
103
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
104
104
  defaultValue: {
105
105
  type: (NumberConstructor | StringConstructor)[];
106
106
  default: number;
@@ -1,4 +1,4 @@
1
- export declare const Steps: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Steps: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  active: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -1,4 +1,4 @@
1
- export declare const Sticky: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Sticky: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  zIndex: (NumberConstructor | StringConstructor)[];
3
3
  position: {
4
4
  type: import("vue").PropType<import("./Sticky").StickyPosition>;
@@ -1,4 +1,4 @@
1
- export declare const SubmitBar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const SubmitBar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  tip: StringConstructor;
3
3
  label: StringConstructor;
4
4
  price: NumberConstructor;
@@ -12,8 +12,8 @@ export declare const SubmitBar: import("packages/vant/es/utils/with-install").Wi
12
12
  textAlign: import("vue").PropType<import("./SubmitBar").SubmitBarTextAlign>;
13
13
  buttonText: StringConstructor;
14
14
  buttonType: {
15
- type: import("vue").PropType<import("packages/vant/es").ButtonType>;
16
- default: import("packages/vant/es").ButtonType;
15
+ type: import("vue").PropType<import("..").ButtonType>;
16
+ default: import("..").ButtonType;
17
17
  };
18
18
  buttonColor: StringConstructor;
19
19
  suffixLabel: StringConstructor;
@@ -40,8 +40,8 @@ export declare const SubmitBar: import("packages/vant/es/utils/with-install").Wi
40
40
  textAlign: import("vue").PropType<import("./SubmitBar").SubmitBarTextAlign>;
41
41
  buttonText: StringConstructor;
42
42
  buttonType: {
43
- type: import("vue").PropType<import("packages/vant/es").ButtonType>;
44
- default: import("packages/vant/es").ButtonType;
43
+ type: import("vue").PropType<import("..").ButtonType>;
44
+ default: import("..").ButtonType;
45
45
  };
46
46
  buttonColor: StringConstructor;
47
47
  suffixLabel: StringConstructor;
@@ -63,7 +63,7 @@ export declare const SubmitBar: import("packages/vant/es/utils/with-install").Wi
63
63
  loading: boolean;
64
64
  currency: string;
65
65
  decimalLength: string | number;
66
- buttonType: import("packages/vant/es").ButtonType;
66
+ buttonType: import("..").ButtonType;
67
67
  }, {}>>;
68
68
  export default SubmitBar;
69
69
  export { submitBarProps } from './SubmitBar';
@@ -110,10 +110,10 @@ declare const _default: import("vue").DefineComponent<{
110
110
  onDragStart?: ((...args: any[]) => any) | undefined;
111
111
  onDragEnd?: ((...args: any[]) => any) | undefined;
112
112
  }, {
113
- duration: string | number;
114
113
  autoplay: string | number;
115
114
  loop: boolean;
116
115
  vertical: boolean;
116
+ duration: string | number;
117
117
  lazyRender: boolean;
118
118
  touchable: boolean;
119
119
  initialSwipe: string | number;
@@ -1,5 +1,5 @@
1
1
  import { SwipeProps } from './Swipe';
2
- export declare const Swipe: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
+ export declare const Swipe: import("../utils").WithInstall<import("vue").DefineComponent<{
3
3
  loop: {
4
4
  type: BooleanConstructor;
5
5
  default: true;
@@ -72,10 +72,10 @@ export declare const Swipe: import("packages/vant/es/utils/with-install").WithIn
72
72
  onDragStart?: ((...args: any[]) => any) | undefined;
73
73
  onDragEnd?: ((...args: any[]) => any) | undefined;
74
74
  }, {
75
- duration: string | number;
76
75
  autoplay: string | number;
77
76
  loop: boolean;
78
77
  vertical: boolean;
78
+ duration: string | number;
79
79
  lazyRender: boolean;
80
80
  touchable: boolean;
81
81
  initialSwipe: string | number;
@@ -1,5 +1,5 @@
1
1
  import { SwipeCellProps } from './SwipeCell';
2
- export declare const SwipeCell: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
+ export declare const SwipeCell: import("../utils").WithInstall<import("vue").DefineComponent<{
3
3
  name: {
4
4
  type: (NumberConstructor | StringConstructor)[];
5
5
  default: string;
@@ -7,7 +7,7 @@ export declare const SwipeCell: import("packages/vant/es/utils/with-install").Wi
7
7
  disabled: BooleanConstructor;
8
8
  leftWidth: (NumberConstructor | StringConstructor)[];
9
9
  rightWidth: (NumberConstructor | StringConstructor)[];
10
- beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
10
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
11
11
  stopPropagation: BooleanConstructor;
12
12
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  name: {
@@ -17,7 +17,7 @@ export declare const SwipeCell: import("packages/vant/es/utils/with-install").Wi
17
17
  disabled: BooleanConstructor;
18
18
  leftWidth: (NumberConstructor | StringConstructor)[];
19
19
  rightWidth: (NumberConstructor | StringConstructor)[];
20
- beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
20
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
21
21
  stopPropagation: BooleanConstructor;
22
22
  }>> & {
23
23
  onClick?: ((...args: any[]) => any) | undefined;
@@ -1,4 +1,4 @@
1
- export declare const SwipeItem: import("packages/vant/es/utils/with-install").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 SwipeItem: 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<{}>>, {}, {}>>;
2
2
  export default SwipeItem;
3
3
  declare module 'vue' {
4
4
  interface GlobalComponents {
@@ -1,4 +1,4 @@
1
- export declare const Switch: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Switch: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  size: (NumberConstructor | StringConstructor)[];
3
3
  loading: BooleanConstructor;
4
4
  disabled: BooleanConstructor;
package/es/tab/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const Tab: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Tab: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const Tabbar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Tabbar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  route: BooleanConstructor;
3
3
  fixed: {
4
4
  type: BooleanConstructor;
@@ -11,7 +11,7 @@ export declare const Tabbar: import("packages/vant/es/utils/with-install").WithI
11
11
  zIndex: (NumberConstructor | StringConstructor)[];
12
12
  placeholder: BooleanConstructor;
13
13
  activeColor: StringConstructor;
14
- beforeChange: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
14
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
15
15
  inactiveColor: StringConstructor;
16
16
  modelValue: {
17
17
  type: (NumberConstructor | StringConstructor)[];
@@ -34,7 +34,7 @@ export declare const Tabbar: import("packages/vant/es/utils/with-install").WithI
34
34
  zIndex: (NumberConstructor | StringConstructor)[];
35
35
  placeholder: BooleanConstructor;
36
36
  activeColor: StringConstructor;
37
- beforeChange: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
37
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
38
38
  inactiveColor: StringConstructor;
39
39
  modelValue: {
40
40
  type: (NumberConstructor | StringConstructor)[];
@@ -1,4 +1,4 @@
1
- export declare const TabbarItem: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const TabbarItem: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
@@ -7,7 +7,7 @@ export declare const TabbarItem: import("packages/vant/es/utils/with-install").W
7
7
  icon: StringConstructor;
8
8
  name: (NumberConstructor | StringConstructor)[];
9
9
  badge: (NumberConstructor | StringConstructor)[];
10
- badgeProps: import("vue").PropType<Partial<import("packages/vant/es").BadgeProps>>;
10
+ badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
11
11
  iconPrefix: StringConstructor;
12
12
  }, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
@@ -18,7 +18,7 @@ export declare const TabbarItem: import("packages/vant/es/utils/with-install").W
18
18
  icon: StringConstructor;
19
19
  name: (NumberConstructor | StringConstructor)[];
20
20
  badge: (NumberConstructor | StringConstructor)[];
21
- badgeProps: import("vue").PropType<Partial<import("packages/vant/es").BadgeProps>>;
21
+ badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
22
22
  iconPrefix: StringConstructor;
23
23
  }>> & {
24
24
  onClick?: ((...args: any[]) => any) | undefined;
package/es/tabs/Tabs.d.ts CHANGED
@@ -150,11 +150,11 @@ declare const _default: import("vue").DefineComponent<{
150
150
  "onUpdate:active"?: ((...args: any[]) => any) | undefined;
151
151
  }, {
152
152
  type: TabsType;
153
- duration: string | number;
154
153
  ellipsis: boolean;
155
154
  sticky: boolean;
156
155
  border: boolean;
157
156
  active: string | number;
157
+ duration: string | number;
158
158
  lazyRender: boolean;
159
159
  offsetTop: string | number;
160
160
  animated: boolean;
@@ -1,5 +1,5 @@
1
1
  import { TabsProps } from './Tabs';
2
- export declare const Tabs: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
+ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineComponent<{
3
3
  type: {
4
4
  type: import("vue").PropType<import("./types").TabsType>;
5
5
  default: import("./types").TabsType;
@@ -38,7 +38,7 @@ export declare const Tabs: import("packages/vant/es/utils/with-install").WithIns
38
38
  };
39
39
  lineWidth: (NumberConstructor | StringConstructor)[];
40
40
  lineHeight: (NumberConstructor | StringConstructor)[];
41
- beforeChange: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
41
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
42
42
  swipeThreshold: {
43
43
  type: (NumberConstructor | StringConstructor)[];
44
44
  default: number;
@@ -84,7 +84,7 @@ export declare const Tabs: import("packages/vant/es/utils/with-install").WithIns
84
84
  };
85
85
  lineWidth: (NumberConstructor | StringConstructor)[];
86
86
  lineHeight: (NumberConstructor | StringConstructor)[];
87
- beforeChange: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
87
+ beforeChange: import("vue").PropType<import("../utils").Interceptor>;
88
88
  swipeThreshold: {
89
89
  type: (NumberConstructor | StringConstructor)[];
90
90
  default: number;
@@ -99,11 +99,11 @@ export declare const Tabs: import("packages/vant/es/utils/with-install").WithIns
99
99
  "onUpdate:active"?: ((...args: any[]) => any) | undefined;
100
100
  }, {
101
101
  type: import("./types").TabsType;
102
- duration: string | number;
103
102
  ellipsis: boolean;
104
103
  sticky: boolean;
105
104
  border: boolean;
106
105
  active: string | number;
106
+ duration: string | number;
107
107
  lazyRender: boolean;
108
108
  offsetTop: string | number;
109
109
  animated: boolean;
package/es/tag/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const Tag: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  size: import("vue").PropType<import("./types").TagSize>;
3
3
  mark: BooleanConstructor;
4
4
  show: {
@@ -1,5 +1,5 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
- import { ref, watch, computed, onMounted, defineComponent } from "vue";
2
+ import { ref, watch, computed, onActivated, onMounted, defineComponent } from "vue";
3
3
  import { makeNumericProp, makeStringProp, createNamespace, windowWidth } from "../utils/index.mjs";
4
4
  import { useExpose } from "../composables/use-expose.mjs";
5
5
  const [name, bem] = createNamespace("text-ellipsis");
@@ -23,6 +23,7 @@ var stdin_default = defineComponent({
23
23
  const expanded = ref(false);
24
24
  const hasAction = ref(false);
25
25
  const root = ref();
26
+ let needRecalculate = false;
26
27
  const actionText = computed(() => expanded.value ? props.collapseText : props.expandText);
27
28
  const pxToNum = (value) => {
28
29
  if (!value)
@@ -30,26 +31,26 @@ var stdin_default = defineComponent({
30
31
  const match = value.match(/^\d*(\.\d*)?/);
31
32
  return match ? Number(match[0]) : 0;
32
33
  };
34
+ const cloneContainer = () => {
35
+ if (!root.value || !root.value.isConnected)
36
+ return;
37
+ const originStyle = window.getComputedStyle(root.value);
38
+ const container = document.createElement("div");
39
+ const styleNames = Array.prototype.slice.apply(originStyle);
40
+ styleNames.forEach((name2) => {
41
+ container.style.setProperty(name2, originStyle.getPropertyValue(name2));
42
+ });
43
+ container.style.position = "fixed";
44
+ container.style.zIndex = "-9999";
45
+ container.style.top = "-9999px";
46
+ container.style.height = "auto";
47
+ container.style.minHeight = "auto";
48
+ container.style.maxHeight = "auto";
49
+ container.innerText = props.content;
50
+ document.body.appendChild(container);
51
+ return container;
52
+ };
33
53
  const calcEllipsised = () => {
34
- const cloneContainer = () => {
35
- if (!root.value)
36
- return;
37
- const originStyle = window.getComputedStyle(root.value);
38
- const container2 = document.createElement("div");
39
- const styleNames = Array.prototype.slice.apply(originStyle);
40
- styleNames.forEach((name2) => {
41
- container2.style.setProperty(name2, originStyle.getPropertyValue(name2));
42
- });
43
- container2.style.position = "fixed";
44
- container2.style.zIndex = "-9999";
45
- container2.style.top = "-9999px";
46
- container2.style.height = "auto";
47
- container2.style.minHeight = "auto";
48
- container2.style.maxHeight = "auto";
49
- container2.innerText = props.content;
50
- document.body.appendChild(container2);
51
- return container2;
52
- };
53
54
  const calcEllipsisText = (container2, maxHeight2) => {
54
55
  const {
55
56
  content,
@@ -101,8 +102,10 @@ var stdin_default = defineComponent({
101
102
  return container2.innerText;
102
103
  };
103
104
  const container = cloneContainer();
104
- if (!container)
105
+ if (!container) {
106
+ needRecalculate = true;
105
107
  return;
108
+ }
106
109
  const {
107
110
  paddingBottom,
108
111
  paddingTop,
@@ -135,6 +138,12 @@ var stdin_default = defineComponent({
135
138
  }, [action]);
136
139
  };
137
140
  onMounted(calcEllipsised);
141
+ onActivated(() => {
142
+ if (needRecalculate) {
143
+ needRecalculate = false;
144
+ calcEllipsised();
145
+ }
146
+ });
138
147
  watch([windowWidth, () => [props.content, props.rows, props.position]], calcEllipsised);
139
148
  useExpose({
140
149
  toggle
@@ -1,4 +1,4 @@
1
- export declare const TextEllipsis: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const TextEllipsis: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  rows: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -29,10 +29,10 @@ export declare const timePickerProps: {
29
29
  type: PropType<string[]>;
30
30
  default: () => never[];
31
31
  };
32
- filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/picker/types").PickerOption[]>;
32
+ filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
33
33
  formatter: {
34
- type: PropType<(type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption>;
35
- default: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
34
+ type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
35
+ default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
36
36
  };
37
37
  } & {
38
38
  minHour: {
@@ -71,7 +71,7 @@ export declare const timePickerProps: {
71
71
  type: PropType<TimePickerColumnType[]>;
72
72
  default: () => string[];
73
73
  };
74
- filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values: string[]) => import("packages/vant/es/picker/types").PickerOption[]>;
74
+ filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
75
75
  };
76
76
  export type TimePickerProps = ExtractPropTypes<typeof timePickerProps>;
77
77
  declare const _default: import("vue").DefineComponent<{
@@ -103,10 +103,10 @@ declare const _default: import("vue").DefineComponent<{
103
103
  type: PropType<string[]>;
104
104
  default: () => never[];
105
105
  };
106
- filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/picker/types").PickerOption[]>;
106
+ filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
107
107
  formatter: {
108
- type: PropType<(type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption>;
109
- default: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
108
+ type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
109
+ default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
110
110
  };
111
111
  } & {
112
112
  minHour: {
@@ -145,7 +145,7 @@ declare const _default: import("vue").DefineComponent<{
145
145
  type: PropType<TimePickerColumnType[]>;
146
146
  default: () => string[];
147
147
  };
148
- filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values: string[]) => import("packages/vant/es/picker/types").PickerOption[]>;
148
+ filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
149
149
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm")[], "update:modelValue" | "cancel" | "change" | "confirm", import("vue").PublicProps, Readonly<ExtractPropTypes<{
150
150
  loading: BooleanConstructor;
151
151
  readonly: BooleanConstructor;
@@ -175,10 +175,10 @@ declare const _default: import("vue").DefineComponent<{
175
175
  type: PropType<string[]>;
176
176
  default: () => never[];
177
177
  };
178
- filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/picker/types").PickerOption[]>;
178
+ filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
179
179
  formatter: {
180
- type: PropType<(type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption>;
181
- default: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
180
+ type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
181
+ default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
182
182
  };
183
183
  } & {
184
184
  minHour: {
@@ -217,14 +217,14 @@ declare const _default: import("vue").DefineComponent<{
217
217
  type: PropType<TimePickerColumnType[]>;
218
218
  default: () => string[];
219
219
  };
220
- filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values: string[]) => import("packages/vant/es/picker/types").PickerOption[]>;
220
+ filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
221
221
  }>> & {
222
222
  onChange?: ((...args: any[]) => any) | undefined;
223
223
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
224
224
  onCancel?: ((...args: any[]) => any) | undefined;
225
225
  onConfirm?: ((...args: any[]) => any) | undefined;
226
226
  }, {
227
- formatter: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
227
+ formatter: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
228
228
  modelValue: string[];
229
229
  readonly: boolean;
230
230
  loading: boolean;