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,5 +1,5 @@
1
1
  import { TimePickerProps } from './TimePicker';
2
- export declare const TimePicker: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
+ export declare const TimePicker: import("../utils").WithInstall<import("vue").DefineComponent<{
3
3
  loading: BooleanConstructor;
4
4
  readonly: BooleanConstructor;
5
5
  allowHtml: BooleanConstructor;
@@ -28,10 +28,10 @@ export declare const TimePicker: import("packages/vant/es/utils/with-install").W
28
28
  type: import("vue").PropType<string[]>;
29
29
  default: () => never[];
30
30
  };
31
- filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values?: string[] | undefined) => import("packages/vant/es").PickerOption[]>;
31
+ filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values?: string[] | undefined) => import("..").PickerOption[]>;
32
32
  formatter: {
33
- type: import("vue").PropType<(type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption>;
34
- default: (type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption;
33
+ type: import("vue").PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
34
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
35
35
  };
36
36
  } & {
37
37
  minHour: {
@@ -70,7 +70,7 @@ export declare const TimePicker: import("packages/vant/es/utils/with-install").W
70
70
  type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
71
71
  default: () => string[];
72
72
  };
73
- filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values: string[]) => import("packages/vant/es").PickerOption[]>;
73
+ filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
74
74
  }, () => 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<import("vue").ExtractPropTypes<{
75
75
  loading: BooleanConstructor;
76
76
  readonly: BooleanConstructor;
@@ -100,10 +100,10 @@ export declare const TimePicker: import("packages/vant/es/utils/with-install").W
100
100
  type: import("vue").PropType<string[]>;
101
101
  default: () => never[];
102
102
  };
103
- filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values?: string[] | undefined) => import("packages/vant/es").PickerOption[]>;
103
+ filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values?: string[] | undefined) => import("..").PickerOption[]>;
104
104
  formatter: {
105
- type: import("vue").PropType<(type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption>;
106
- default: (type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption;
105
+ type: import("vue").PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
106
+ default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
107
107
  };
108
108
  } & {
109
109
  minHour: {
@@ -142,14 +142,14 @@ export declare const TimePicker: import("packages/vant/es/utils/with-install").W
142
142
  type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
143
143
  default: () => string[];
144
144
  };
145
- filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values: string[]) => import("packages/vant/es").PickerOption[]>;
145
+ filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
146
146
  }>> & {
147
147
  onChange?: ((...args: any[]) => any) | undefined;
148
148
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
149
149
  onCancel?: ((...args: any[]) => any) | undefined;
150
150
  onConfirm?: ((...args: any[]) => any) | undefined;
151
151
  }, {
152
- formatter: (type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption;
152
+ formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
153
153
  modelValue: string[];
154
154
  readonly: boolean;
155
155
  loading: boolean;
@@ -107,9 +107,9 @@ declare const _default: import("vue").DefineComponent<{
107
107
  }, {
108
108
  type: ToastType;
109
109
  position: ToastPosition;
110
- duration: number;
111
110
  overlay: boolean;
112
111
  show: boolean;
112
+ duration: number;
113
113
  closeOnClickOverlay: boolean;
114
114
  transition: string;
115
115
  forbidClick: boolean;
@@ -1,4 +1,4 @@
1
- export declare const Toast: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Toast: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  icon: StringConstructor;
3
3
  show: BooleanConstructor;
4
4
  type: {
@@ -24,7 +24,7 @@ export declare const Toast: import("packages/vant/es/utils/with-install").WithIn
24
24
  type: import("vue").PropType<string>;
25
25
  default: string;
26
26
  };
27
- loadingType: import("vue").PropType<import("packages/vant/es").LoadingType>;
27
+ loadingType: import("vue").PropType<import("..").LoadingType>;
28
28
  forbidClick: BooleanConstructor;
29
29
  overlayClass: import("vue").PropType<unknown>;
30
30
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
@@ -57,7 +57,7 @@ export declare const Toast: import("packages/vant/es/utils/with-install").WithIn
57
57
  type: import("vue").PropType<string>;
58
58
  default: string;
59
59
  };
60
- loadingType: import("vue").PropType<import("packages/vant/es").LoadingType>;
60
+ loadingType: import("vue").PropType<import("..").LoadingType>;
61
61
  forbidClick: BooleanConstructor;
62
62
  overlayClass: import("vue").PropType<unknown>;
63
63
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
@@ -69,9 +69,9 @@ export declare const Toast: import("packages/vant/es/utils/with-install").WithIn
69
69
  }, {
70
70
  type: import("./types").ToastType;
71
71
  position: import("./types").ToastPosition;
72
- duration: number;
73
72
  overlay: boolean;
74
73
  show: boolean;
74
+ duration: number;
75
75
  closeOnClickOverlay: boolean;
76
76
  transition: string;
77
77
  forbidClick: boolean;
@@ -1,4 +1,4 @@
1
- export declare const TreeSelect: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const TreeSelect: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  max: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -20,7 +20,7 @@ export declare const TreeSelect: import("packages/vant/es/utils/with-install").W
20
20
  default: number;
21
21
  };
22
22
  activeId: {
23
- type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[]>;
23
+ type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
24
24
  default: number;
25
25
  };
26
26
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickItem" | "clickNav" | "update:activeId" | "update:mainActiveIndex")[], "clickItem" | "clickNav" | "update:activeId" | "update:mainActiveIndex", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -45,7 +45,7 @@ export declare const TreeSelect: import("packages/vant/es/utils/with-install").W
45
45
  default: number;
46
46
  };
47
47
  activeId: {
48
- type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[]>;
48
+ type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
49
49
  default: number;
50
50
  };
51
51
  }>> & {
@@ -59,7 +59,7 @@ export declare const TreeSelect: import("packages/vant/es/utils/with-install").W
59
59
  items: import("./TreeSelect").TreeSelectItem[];
60
60
  selectedIcon: string;
61
61
  mainActiveIndex: string | number;
62
- activeId: import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[];
62
+ activeId: import("../utils").Numeric | import("../utils").Numeric[];
63
63
  }, {}>>;
64
64
  export default TreeSelect;
65
65
  export { treeSelectProps } from './TreeSelect';
@@ -1,5 +1,5 @@
1
1
  import { UploaderProps } from './Uploader';
2
- export declare const Uploader: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
+ export declare const Uploader: import("../utils").WithInstall<import("vue").DefineComponent<{
3
3
  name: {
4
4
  type: (NumberConstructor | StringConstructor)[];
5
5
  default: string;
@@ -45,13 +45,13 @@ export declare const Uploader: import("packages/vant/es/utils/with-install").Wit
45
45
  default: () => never[];
46
46
  };
47
47
  beforeRead: import("vue").PropType<import("./types").UploaderBeforeRead>;
48
- beforeDelete: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
49
- previewSize: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | [import("packages/vant/es/utils/basic").Numeric, import("packages/vant/es/utils/basic").Numeric]>;
48
+ beforeDelete: import("vue").PropType<import("../utils").Interceptor>;
49
+ previewSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
50
50
  previewImage: {
51
51
  type: BooleanConstructor;
52
52
  default: true;
53
53
  };
54
- previewOptions: import("vue").PropType<Partial<import("packages/vant/es").ImagePreviewOptions>>;
54
+ previewOptions: import("vue").PropType<Partial<import("..").ImagePreviewOptions>>;
55
55
  previewFullImage: {
56
56
  type: BooleanConstructor;
57
57
  default: true;
@@ -106,13 +106,13 @@ export declare const Uploader: import("packages/vant/es/utils/with-install").Wit
106
106
  default: () => never[];
107
107
  };
108
108
  beforeRead: import("vue").PropType<import("./types").UploaderBeforeRead>;
109
- beforeDelete: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
110
- previewSize: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | [import("packages/vant/es/utils/basic").Numeric, import("packages/vant/es/utils/basic").Numeric]>;
109
+ beforeDelete: import("vue").PropType<import("../utils").Interceptor>;
110
+ previewSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
111
111
  previewImage: {
112
112
  type: BooleanConstructor;
113
113
  default: true;
114
114
  };
115
- previewOptions: import("vue").PropType<Partial<import("packages/vant/es").ImagePreviewOptions>>;
115
+ previewOptions: import("vue").PropType<Partial<import("..").ImagePreviewOptions>>;
116
116
  previewFullImage: {
117
117
  type: BooleanConstructor;
118
118
  default: true;
@@ -1,5 +1,5 @@
1
1
  import type { UploaderMaxSize, UploaderResultType, UploaderFileListItem } from './types';
2
- declare const name: string, bem: (el?: import("packages/vant/es/utils/create").Mods | undefined, mods?: import("packages/vant/es/utils/create").Mods | undefined) => import("packages/vant/es/utils/create").Mods, t: (path: string, ...args: unknown[]) => any;
2
+ declare const name: string, bem: (el?: import("../utils").Mods | undefined, mods?: import("../utils").Mods | undefined) => import("../utils").Mods, t: (path: string, ...args: unknown[]) => any;
3
3
  export { name, bem, t };
4
4
  export declare function readFileContent(file: File, resultType: UploaderResultType): Promise<string | void>;
5
5
  export declare function isOversize(items: UploaderFileListItem | UploaderFileListItem[], maxSize: UploaderMaxSize): boolean;
@@ -27,3 +27,4 @@ export type RequiredParams<T> = T extends (...args: infer P) => infer R ? (...ar
27
27
  export declare function pick<T, U extends keyof T>(obj: T, keys: ReadonlyArray<U>, ignoreUndefined?: boolean): Writeable<Pick<T, U>>;
28
28
  export declare const isSameValue: (newValue: unknown, oldValue: unknown) => boolean;
29
29
  export declare const toArray: <T>(item: T | T[]) => T[];
30
+ export declare const flat: <T>(arr: (T | T[])[]) => T[];
@@ -35,8 +35,10 @@ function pick(obj, keys, ignoreUndefined) {
35
35
  }
36
36
  const isSameValue = (newValue, oldValue) => JSON.stringify(newValue) === JSON.stringify(oldValue);
37
37
  const toArray = (item) => Array.isArray(item) ? item : [item];
38
+ const flat = (arr) => arr.reduce((acc, val) => acc.concat(val), []);
38
39
  export {
39
40
  extend,
41
+ flat,
40
42
  get,
41
43
  inBrowser,
42
44
  isDate,
@@ -1,4 +1,4 @@
1
- export declare const Watermark: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Watermark: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  gapX: {
3
3
  type: NumberConstructor;
4
4
  default: number;
@@ -1,4 +1,4 @@
1
- export declare const ActionBar: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionBar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  placeholder: BooleanConstructor;
3
3
  safeAreaInsetBottom: {
4
4
  type: BooleanConstructor;
@@ -1,9 +1,9 @@
1
- export declare const ActionBarButton: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionBarButton: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
5
5
  } & {
6
- type: import("vue").PropType<import("packages/vant/lib").ButtonType>;
6
+ type: import("vue").PropType<import("..").ButtonType>;
7
7
  text: StringConstructor;
8
8
  icon: StringConstructor;
9
9
  color: StringConstructor;
@@ -14,7 +14,7 @@ export declare const ActionBarButton: import("packages/vant/lib/utils/with-insta
14
14
  url: StringConstructor;
15
15
  replace: BooleanConstructor;
16
16
  } & {
17
- type: import("vue").PropType<import("packages/vant/lib").ButtonType>;
17
+ type: import("vue").PropType<import("..").ButtonType>;
18
18
  text: StringConstructor;
19
19
  icon: StringConstructor;
20
20
  color: StringConstructor;
@@ -1,4 +1,4 @@
1
- export declare const ActionBarIcon: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
@@ -9,7 +9,7 @@ export declare const ActionBarIcon: import("packages/vant/lib/utils/with-install
9
9
  color: StringConstructor;
10
10
  badge: (NumberConstructor | StringConstructor)[];
11
11
  iconClass: import("vue").PropType<unknown>;
12
- badgeProps: import("vue").PropType<Partial<import("packages/vant/lib").BadgeProps>>;
12
+ badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
13
13
  iconPrefix: StringConstructor;
14
14
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
@@ -22,7 +22,7 @@ export declare const ActionBarIcon: import("packages/vant/lib/utils/with-install
22
22
  color: StringConstructor;
23
23
  badge: (NumberConstructor | StringConstructor)[];
24
24
  iconClass: import("vue").PropType<unknown>;
25
- badgeProps: import("vue").PropType<Partial<import("packages/vant/lib").BadgeProps>>;
25
+ badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
26
26
  iconPrefix: StringConstructor;
27
27
  }>>, {
28
28
  replace: boolean;
@@ -26,7 +26,7 @@ export declare const actionSheetProps: {
26
26
  type: BooleanConstructor;
27
27
  default: true;
28
28
  };
29
- beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
29
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
30
30
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
31
31
  overlayClass: import("vue").PropType<unknown>;
32
32
  transitionAppear: BooleanConstructor;
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
82
82
  type: BooleanConstructor;
83
83
  default: true;
84
84
  };
85
- beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
85
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
86
86
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
87
87
  overlayClass: import("vue").PropType<unknown>;
88
88
  transitionAppear: BooleanConstructor;
@@ -136,7 +136,7 @@ declare const _default: import("vue").DefineComponent<{
136
136
  type: BooleanConstructor;
137
137
  default: true;
138
138
  };
139
- beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
139
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
140
140
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
141
141
  overlayClass: import("vue").PropType<unknown>;
142
142
  transitionAppear: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const ActionSheet: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const ActionSheet: 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 ActionSheet: import("packages/vant/lib/utils/with-install")
15
15
  type: BooleanConstructor;
16
16
  default: true;
17
17
  };
18
- beforeClose: import("vue").PropType<import("packages/vant/lib/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;
@@ -69,7 +69,7 @@ export declare const ActionSheet: import("packages/vant/lib/utils/with-install")
69
69
  type: BooleanConstructor;
70
70
  default: true;
71
71
  };
72
- beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
72
+ beforeClose: import("vue").PropType<import("../utils").Interceptor>;
73
73
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
74
74
  overlayClass: import("vue").PropType<unknown>;
75
75
  transitionAppear: BooleanConstructor;
@@ -1,6 +1,6 @@
1
1
  import { AddressEditProps } from './AddressEdit';
2
- export declare const AddressEdit: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
- areaList: import("vue").PropType<import("packages/vant/lib").AreaList>;
2
+ export declare const AddressEdit: import("../utils").WithInstall<import("vue").DefineComponent<{
3
+ areaList: import("vue").PropType<import("..").AreaList>;
4
4
  isSaving: BooleanConstructor;
5
5
  isDeleting: BooleanConstructor;
6
6
  validator: import("vue").PropType<(key: string, value: string) => string | undefined>;
@@ -39,10 +39,10 @@ export declare const AddressEdit: import("packages/vant/lib/utils/with-install")
39
39
  };
40
40
  telValidator: {
41
41
  type: import("vue").PropType<(val: string) => boolean>;
42
- default: typeof import("packages/vant/lib/utils/basic").isMobile;
42
+ default: typeof import("../utils").isMobile;
43
43
  };
44
44
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "focus" | "change" | "selectSearch" | "save" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "delete" | "focus" | "change" | "selectSearch" | "save" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
- areaList: import("vue").PropType<import("packages/vant/lib").AreaList>;
45
+ areaList: import("vue").PropType<import("..").AreaList>;
46
46
  isSaving: BooleanConstructor;
47
47
  isDeleting: BooleanConstructor;
48
48
  validator: import("vue").PropType<(key: string, value: string) => string | undefined>;
@@ -81,7 +81,7 @@ export declare const AddressEdit: import("packages/vant/lib/utils/with-install")
81
81
  };
82
82
  telValidator: {
83
83
  type: import("vue").PropType<(val: string) => boolean>;
84
- default: typeof import("packages/vant/lib/utils/basic").isMobile;
84
+ default: typeof import("../utils").isMobile;
85
85
  };
86
86
  }>> & {
87
87
  onFocus?: ((...args: any[]) => any) | undefined;
@@ -59,7 +59,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
59
59
  }) {
60
60
  const renderItem = (item, index, disabled) => {
61
61
  const onEdit = () => emit(disabled ? "editDisabled" : "edit", item, index);
62
- const onClick = () => emit("clickItem", item, index);
62
+ const onClick = (event) => emit("clickItem", item, index, {
63
+ event
64
+ });
63
65
  const onSelect = () => {
64
66
  emit(disabled ? "selectDisabled" : "select", item, index);
65
67
  if (!disabled) {
@@ -42,11 +42,11 @@ var stdin_default = (0, import_vue2.defineComponent)({
42
42
  slots,
43
43
  emit
44
44
  }) {
45
- const onClick = () => {
45
+ const onClick = (event) => {
46
46
  if (props.switchable) {
47
47
  emit("select");
48
48
  }
49
- emit("click");
49
+ emit("click", event);
50
50
  };
51
51
  const renderRightIcon = () => (0, import_vue.createVNode)(import_icon.Icon, {
52
52
  "name": props.rightIcon,
@@ -54,7 +54,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
54
54
  "onClick": (event) => {
55
55
  event.stopPropagation();
56
56
  emit("edit");
57
- emit("click");
57
+ emit("click", event);
58
58
  }
59
59
  }, null);
60
60
  const renderTag = () => {
@@ -1,4 +1,4 @@
1
- export declare const AddressList: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const AddressList: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  list: {
3
3
  type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;
4
4
  default: () => never[];
@@ -1,6 +1,6 @@
1
1
  import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import type { AreaList } from './types';
3
- export declare const areaProps: import("packages/vant/lib/utils/basic").Writeable<Pick<{
3
+ export declare const areaProps: import("../utils").Writeable<Pick<{
4
4
  loading: BooleanConstructor;
5
5
  readonly: BooleanConstructor;
6
6
  allowHtml: BooleanConstructor;
@@ -40,7 +40,7 @@ export declare const areaProps: import("packages/vant/lib/utils/basic").Writeabl
40
40
  };
41
41
  };
42
42
  export type AreaProps = ExtractPropTypes<typeof areaProps>;
43
- declare const _default: import("vue").DefineComponent<import("packages/vant/lib/utils/basic").Writeable<Pick<{
43
+ declare const _default: import("vue").DefineComponent<import("../utils").Writeable<Pick<{
44
44
  loading: BooleanConstructor;
45
45
  readonly: BooleanConstructor;
46
46
  allowHtml: BooleanConstructor;
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<import("packages/vant/lib/
78
78
  type: PropType<AreaList>;
79
79
  default: () => {};
80
80
  };
81
- }, () => 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<import("packages/vant/lib/utils/basic").Writeable<Pick<{
81
+ }, () => 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<import("../utils").Writeable<Pick<{
82
82
  loading: BooleanConstructor;
83
83
  readonly: BooleanConstructor;
84
84
  allowHtml: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const Area: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<import("packages/vant/lib/utils/basic").Writeable<Pick<{
1
+ export declare const Area: import("../utils").WithInstall<import("vue").DefineComponent<import("../utils").Writeable<Pick<{
2
2
  loading: BooleanConstructor;
3
3
  readonly: BooleanConstructor;
4
4
  allowHtml: BooleanConstructor;
@@ -36,7 +36,7 @@ export declare const Area: import("packages/vant/lib/utils/with-install").WithIn
36
36
  type: import("vue").PropType<import("./types").AreaList>;
37
37
  default: () => {};
38
38
  };
39
- }, () => 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<import("vue").ExtractPropTypes<import("packages/vant/lib/utils/basic").Writeable<Pick<{
39
+ }, () => 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<import("vue").ExtractPropTypes<import("../utils").Writeable<Pick<{
40
40
  loading: BooleanConstructor;
41
41
  readonly: BooleanConstructor;
42
42
  allowHtml: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const BackTop: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const BackTop: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  right: (NumberConstructor | StringConstructor)[];
3
3
  bottom: (NumberConstructor | StringConstructor)[];
4
4
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -1,4 +1,4 @@
1
- export declare const Badge: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Badge: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  dot: BooleanConstructor;
3
3
  max: (NumberConstructor | StringConstructor)[];
4
4
  tag: {
@@ -6,7 +6,7 @@ export declare const Badge: import("packages/vant/lib/utils/with-install").WithI
6
6
  default: keyof HTMLElementTagNameMap;
7
7
  };
8
8
  color: StringConstructor;
9
- offset: import("vue").PropType<[import("packages/vant/lib/utils/basic").Numeric, import("packages/vant/lib/utils/basic").Numeric]>;
9
+ offset: import("vue").PropType<[import("../utils").Numeric, import("../utils").Numeric]>;
10
10
  content: (NumberConstructor | StringConstructor)[];
11
11
  showZero: {
12
12
  type: BooleanConstructor;
@@ -24,7 +24,7 @@ export declare const Badge: import("packages/vant/lib/utils/with-install").WithI
24
24
  default: keyof HTMLElementTagNameMap;
25
25
  };
26
26
  color: StringConstructor;
27
- offset: import("vue").PropType<[import("packages/vant/lib/utils/basic").Numeric, import("packages/vant/lib/utils/basic").Numeric]>;
27
+ offset: import("vue").PropType<[import("../utils").Numeric, import("../utils").Numeric]>;
28
28
  content: (NumberConstructor | StringConstructor)[];
29
29
  showZero: {
30
30
  type: BooleanConstructor;
@@ -83,10 +83,10 @@ declare const _default: import("vue").DefineComponent<{
83
83
  }>> & {
84
84
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
85
85
  }, {
86
- duration: string | number;
87
86
  top: string | number;
88
87
  modelValue: BarrageItem[];
89
88
  rows: string | number;
89
+ duration: string | number;
90
90
  autoPlay: boolean;
91
91
  delay: number;
92
92
  }, {}>;
@@ -1,4 +1,4 @@
1
- export declare const Barrage: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Barrage: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  top: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -51,10 +51,10 @@ export declare const Barrage: import("packages/vant/lib/utils/with-install").Wit
51
51
  }>> & {
52
52
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
53
  }, {
54
- duration: string | number;
55
54
  top: string | number;
56
55
  modelValue: import("./Barrage").BarrageItem[];
57
56
  rows: string | number;
57
+ duration: string | number;
58
58
  autoPlay: boolean;
59
59
  delay: number;
60
60
  }, {}>>;
@@ -1,4 +1,4 @@
1
- export declare const Button: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Button: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
3
3
  url: StringConstructor;
4
4
  replace: BooleanConstructor;
@@ -32,7 +32,7 @@ export declare const Button: import("packages/vant/lib/utils/with-install").With
32
32
  };
33
33
  loadingSize: (NumberConstructor | StringConstructor)[];
34
34
  loadingText: StringConstructor;
35
- loadingType: import("vue").PropType<import("packages/vant/lib").LoadingType>;
35
+ loadingType: import("vue").PropType<import("..").LoadingType>;
36
36
  iconPosition: {
37
37
  type: import("vue").PropType<import("./types").ButtonIconPosition>;
38
38
  default: import("./types").ButtonIconPosition;
@@ -71,7 +71,7 @@ export declare const Button: import("packages/vant/lib/utils/with-install").With
71
71
  };
72
72
  loadingSize: (NumberConstructor | StringConstructor)[];
73
73
  loadingText: StringConstructor;
74
- loadingType: import("vue").PropType<import("packages/vant/lib").LoadingType>;
74
+ loadingType: import("vue").PropType<import("..").LoadingType>;
75
75
  iconPosition: {
76
76
  type: import("vue").PropType<import("./types").ButtonIconPosition>;
77
77
  default: import("./types").ButtonIconPosition;
@@ -1,4 +1,4 @@
1
- export declare const Calendar: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  show: BooleanConstructor;
3
3
  type: {
4
4
  type: import("vue").PropType<import("./types").CalendarType>;
@@ -20,8 +20,8 @@ export declare const Calendar: import("packages/vant/lib/utils/with-install").Wi
20
20
  default: null;
21
21
  };
22
22
  position: {
23
- type: import("vue").PropType<import("packages/vant/lib").PopupPosition>;
24
- default: import("packages/vant/lib").PopupPosition;
23
+ type: import("vue").PropType<import("..").PopupPosition>;
24
+ default: import("..").PopupPosition;
25
25
  };
26
26
  teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
27
27
  showMark: {
@@ -105,8 +105,8 @@ export declare const Calendar: import("packages/vant/lib/utils/with-install").Wi
105
105
  default: null;
106
106
  };
107
107
  position: {
108
- type: import("vue").PropType<import("packages/vant/lib").PopupPosition>;
109
- default: import("packages/vant/lib").PopupPosition;
108
+ type: import("vue").PropType<import("..").PopupPosition>;
109
+ default: import("..").PopupPosition;
110
110
  };
111
111
  teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
112
112
  showMark: {
@@ -179,7 +179,7 @@ export declare const Calendar: import("packages/vant/lib/utils/with-install").Wi
179
179
  onOverRange?: ((...args: any[]) => any) | undefined;
180
180
  }, {
181
181
  type: import("./types").CalendarType;
182
- position: import("packages/vant/lib").PopupPosition;
182
+ position: import("..").PopupPosition;
183
183
  round: boolean;
184
184
  show: boolean;
185
185
  readonly: boolean;
@@ -1,4 +1,4 @@
1
- declare const name: string, bem: (el?: import("packages/vant/lib/utils/create").Mods | undefined, mods?: import("packages/vant/lib/utils/create").Mods | undefined) => import("packages/vant/lib/utils/create").Mods, t: (path: string, ...args: unknown[]) => any;
1
+ declare const name: string, bem: (el?: import("../utils").Mods | undefined, mods?: import("../utils").Mods | undefined) => import("../utils").Mods, t: (path: string, ...args: unknown[]) => any;
2
2
  export { name, bem, t };
3
3
  export declare const formatMonthTitle: (date: Date) => any;
4
4
  export declare function compareMonth(date1: Date, date2: Date): 0 | 1 | -1;
@@ -1,4 +1,4 @@
1
- export declare const Card: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Card: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  tag: StringConstructor;
3
3
  num: (NumberConstructor | StringConstructor)[];
4
4
  desc: StringConstructor;
@@ -1,4 +1,4 @@
1
- export declare const Cascader: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  title: StringConstructor;
3
3
  options: {
4
4
  type: import("vue").PropType<import("./types").CascaderOption[]>;
@@ -1,4 +1,4 @@
1
- export declare const Cell: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  tag: {
3
3
  type: import("vue").PropType<keyof HTMLElementTagNameMap>;
4
4
  default: keyof HTMLElementTagNameMap;
@@ -1,4 +1,4 @@
1
- export declare const CellGroup: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
1
+ export declare const CellGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
2
2
  title: StringConstructor;
3
3
  inset: BooleanConstructor;
4
4
  border: {