vant 4.8.5 → 4.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/es/action-bar/index.d.ts +1 -1
  2. package/es/action-bar-button/index.d.ts +3 -3
  3. package/es/action-bar-icon/index.d.ts +3 -3
  4. package/es/action-sheet/ActionSheet.d.ts +4 -3
  5. package/es/action-sheet/ActionSheet.mjs +9 -1
  6. package/es/action-sheet/index.css +1 -1
  7. package/es/action-sheet/index.d.ts +3 -3
  8. package/es/address-edit/index.d.ts +5 -5
  9. package/es/address-list/index.d.ts +1 -1
  10. package/es/area/Area.d.ts +3 -3
  11. package/es/area/index.d.ts +2 -2
  12. package/es/back-top/index.d.ts +1 -1
  13. package/es/badge/index.d.ts +3 -3
  14. package/es/barrage/Barrage.d.ts +1 -1
  15. package/es/barrage/index.d.ts +2 -2
  16. package/es/button/index.d.ts +3 -3
  17. package/es/calendar/index.d.ts +6 -6
  18. package/es/calendar/utils.d.ts +1 -1
  19. package/es/card/index.d.ts +1 -1
  20. package/es/cascader/index.d.ts +1 -1
  21. package/es/cell/index.d.ts +1 -1
  22. package/es/cell-group/index.d.ts +1 -1
  23. package/es/checkbox/index.d.ts +5 -5
  24. package/es/checkbox-group/index.d.ts +8 -8
  25. package/es/circle/index.d.ts +1 -1
  26. package/es/col/index.d.ts +1 -1
  27. package/es/collapse/index.d.ts +4 -4
  28. package/es/collapse-item/index.d.ts +5 -5
  29. package/es/config-provider/index.d.ts +1 -1
  30. package/es/contact-card/index.d.ts +1 -1
  31. package/es/contact-edit/index.d.ts +3 -3
  32. package/es/contact-list/index.d.ts +1 -1
  33. package/es/count-down/index.d.ts +1 -1
  34. package/es/coupon/index.d.ts +1 -1
  35. package/es/coupon-cell/index.d.ts +4 -4
  36. package/es/coupon-list/index.d.ts +7 -7
  37. package/es/date-picker/DatePicker.d.ts +10 -10
  38. package/es/date-picker/index.d.ts +8 -8
  39. package/es/dialog/Dialog.d.ts +3 -3
  40. package/es/dialog/index.d.ts +3 -3
  41. package/es/divider/index.d.ts +1 -1
  42. package/es/dropdown-item/index.d.ts +1 -1
  43. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  44. package/es/dropdown-menu/index.d.ts +2 -2
  45. package/es/empty/index.d.ts +3 -3
  46. package/es/field/index.d.ts +5 -5
  47. package/es/floating-bubble/index.d.ts +1 -1
  48. package/es/floating-panel/FloatingPanel.d.ts +1 -1
  49. package/es/floating-panel/index.d.ts +2 -2
  50. package/es/form/index.d.ts +10 -10
  51. package/es/grid/index.d.ts +1 -1
  52. package/es/grid-item/index.d.ts +3 -3
  53. package/es/highlight/index.d.ts +1 -1
  54. package/es/icon/index.d.ts +3 -3
  55. package/es/image/index.d.ts +1 -1
  56. package/es/image-preview/ImagePreview.d.ts +4 -0
  57. package/es/image-preview/ImagePreview.mjs +3 -0
  58. package/es/image-preview/ImagePreviewItem.d.ts +4 -0
  59. package/es/image-preview/ImagePreviewItem.mjs +3 -2
  60. package/es/image-preview/function-call.mjs +1 -0
  61. package/es/image-preview/index.d.ts +11 -8
  62. package/es/image-preview/types.d.ts +1 -0
  63. package/es/index-anchor/index.d.ts +1 -1
  64. package/es/index-bar/index.d.ts +4 -4
  65. package/es/index.d.ts +1 -1
  66. package/es/index.mjs +1 -1
  67. package/es/list/index.d.ts +1 -1
  68. package/es/loading/index.d.ts +1 -1
  69. package/es/nav-bar/index.d.ts +1 -1
  70. package/es/notice-bar/index.d.ts +1 -1
  71. package/es/notify/Notify.d.ts +3 -3
  72. package/es/notify/index.d.ts +3 -3
  73. package/es/number-keyboard/index.d.ts +1 -1
  74. package/es/overlay/index.d.ts +1 -1
  75. package/es/pagination/Pagination.d.ts +1 -1
  76. package/es/pagination/index.d.ts +2 -2
  77. package/es/password-input/index.d.ts +1 -1
  78. package/es/picker/index.d.ts +4 -4
  79. package/es/picker/utils.d.ts +1 -1
  80. package/es/picker-group/index.d.ts +1 -1
  81. package/es/popover/index.d.ts +1 -1
  82. package/es/popup/Popup.d.ts +3 -3
  83. package/es/popup/index.d.ts +3 -3
  84. package/es/progress/index.d.ts +3 -3
  85. package/es/pull-refresh/index.d.ts +1 -1
  86. package/es/radio/index.d.ts +3 -3
  87. package/es/radio-group/index.d.ts +5 -5
  88. package/es/rate/index.d.ts +1 -1
  89. package/es/rolling-text/index.d.ts +1 -1
  90. package/es/row/index.d.ts +1 -1
  91. package/es/search/Search.d.ts +17 -17
  92. package/es/search/index.d.ts +13 -13
  93. package/es/share-sheet/ShareSheet.d.ts +3 -3
  94. package/es/share-sheet/index.d.ts +3 -3
  95. package/es/sidebar/index.d.ts +1 -1
  96. package/es/sidebar-item/index.d.ts +3 -3
  97. package/es/signature/Signature.mjs +3 -1
  98. package/es/signature/index.d.ts +1 -1
  99. package/es/signature/types.d.ts +2 -0
  100. package/es/skeleton/index.d.ts +9 -9
  101. package/es/skeleton-avatar/index.d.ts +1 -1
  102. package/es/skeleton-image/index.d.ts +1 -1
  103. package/es/skeleton-paragraph/index.d.ts +1 -1
  104. package/es/skeleton-title/index.d.ts +1 -1
  105. package/es/slider/index.d.ts +1 -1
  106. package/es/space/index.d.ts +1 -1
  107. package/es/step/index.d.ts +1 -1
  108. package/es/stepper/index.d.ts +3 -3
  109. package/es/steps/index.d.ts +1 -1
  110. package/es/sticky/index.d.ts +1 -1
  111. package/es/submit-bar/index.d.ts +6 -6
  112. package/es/swipe/Swipe.d.ts +1 -1
  113. package/es/swipe/index.d.ts +2 -2
  114. package/es/swipe-cell/index.d.ts +3 -3
  115. package/es/swipe-item/index.d.ts +1 -1
  116. package/es/switch/index.d.ts +1 -1
  117. package/es/tab/index.d.ts +1 -1
  118. package/es/tabbar/index.d.ts +3 -3
  119. package/es/tabbar-item/index.d.ts +3 -3
  120. package/es/tabs/Tabs.d.ts +1 -1
  121. package/es/tabs/index.d.ts +4 -4
  122. package/es/tag/index.d.ts +1 -1
  123. package/es/text-ellipsis/index.d.ts +1 -1
  124. package/es/time-picker/TimePicker.d.ts +13 -13
  125. package/es/time-picker/index.d.ts +10 -10
  126. package/es/toast/Toast.d.ts +1 -1
  127. package/es/toast/index.d.ts +4 -4
  128. package/es/tree-select/index.d.ts +4 -4
  129. package/es/uploader/index.d.ts +7 -7
  130. package/es/uploader/utils.d.ts +1 -1
  131. package/es/watermark/index.d.ts +1 -1
  132. package/lib/action-bar/index.d.ts +1 -1
  133. package/lib/action-bar-button/index.d.ts +3 -3
  134. package/lib/action-bar-icon/index.d.ts +3 -3
  135. package/lib/action-sheet/ActionSheet.d.ts +4 -3
  136. package/lib/action-sheet/ActionSheet.js +9 -1
  137. package/lib/action-sheet/index.css +1 -1
  138. package/lib/action-sheet/index.d.ts +3 -3
  139. package/lib/address-edit/index.d.ts +5 -5
  140. package/lib/address-list/index.d.ts +1 -1
  141. package/lib/area/Area.d.ts +3 -3
  142. package/lib/area/index.d.ts +2 -2
  143. package/lib/back-top/index.d.ts +1 -1
  144. package/lib/badge/index.d.ts +3 -3
  145. package/lib/barrage/Barrage.d.ts +1 -1
  146. package/lib/barrage/index.d.ts +2 -2
  147. package/lib/button/index.d.ts +3 -3
  148. package/lib/calendar/index.d.ts +6 -6
  149. package/lib/calendar/utils.d.ts +1 -1
  150. package/lib/card/index.d.ts +1 -1
  151. package/lib/cascader/index.d.ts +1 -1
  152. package/lib/cell/index.d.ts +1 -1
  153. package/lib/cell-group/index.d.ts +1 -1
  154. package/lib/checkbox/index.d.ts +5 -5
  155. package/lib/checkbox-group/index.d.ts +8 -8
  156. package/lib/circle/index.d.ts +1 -1
  157. package/lib/col/index.d.ts +1 -1
  158. package/lib/collapse/index.d.ts +4 -4
  159. package/lib/collapse-item/index.d.ts +5 -5
  160. package/lib/config-provider/index.d.ts +1 -1
  161. package/lib/contact-card/index.d.ts +1 -1
  162. package/lib/contact-edit/index.d.ts +3 -3
  163. package/lib/contact-list/index.d.ts +1 -1
  164. package/lib/count-down/index.d.ts +1 -1
  165. package/lib/coupon/index.d.ts +1 -1
  166. package/lib/coupon-cell/index.d.ts +4 -4
  167. package/lib/coupon-list/index.d.ts +7 -7
  168. package/lib/date-picker/DatePicker.d.ts +10 -10
  169. package/lib/date-picker/index.d.ts +8 -8
  170. package/lib/dialog/Dialog.d.ts +3 -3
  171. package/lib/dialog/index.d.ts +3 -3
  172. package/lib/divider/index.d.ts +1 -1
  173. package/lib/dropdown-item/index.d.ts +1 -1
  174. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  175. package/lib/dropdown-menu/index.d.ts +2 -2
  176. package/lib/empty/index.d.ts +3 -3
  177. package/lib/field/index.d.ts +5 -5
  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/ImagePreview.d.ts +4 -0
  188. package/lib/image-preview/ImagePreview.js +3 -0
  189. package/lib/image-preview/ImagePreviewItem.d.ts +4 -0
  190. package/lib/image-preview/ImagePreviewItem.js +3 -2
  191. package/lib/image-preview/function-call.js +1 -0
  192. package/lib/image-preview/index.d.ts +11 -8
  193. package/lib/image-preview/types.d.ts +1 -0
  194. package/lib/index-anchor/index.d.ts +1 -1
  195. package/lib/index-bar/index.d.ts +4 -4
  196. package/lib/index.css +1 -1
  197. package/lib/index.d.ts +1 -1
  198. package/lib/index.js +1 -1
  199. package/lib/list/index.d.ts +1 -1
  200. package/lib/loading/index.d.ts +1 -1
  201. package/lib/nav-bar/index.d.ts +1 -1
  202. package/lib/notice-bar/index.d.ts +1 -1
  203. package/lib/notify/Notify.d.ts +3 -3
  204. package/lib/notify/index.d.ts +3 -3
  205. package/lib/number-keyboard/index.d.ts +1 -1
  206. package/lib/overlay/index.d.ts +1 -1
  207. package/lib/pagination/Pagination.d.ts +1 -1
  208. package/lib/pagination/index.d.ts +2 -2
  209. package/lib/password-input/index.d.ts +1 -1
  210. package/lib/picker/index.d.ts +4 -4
  211. package/lib/picker/utils.d.ts +1 -1
  212. package/lib/picker-group/index.d.ts +1 -1
  213. package/lib/popover/index.d.ts +1 -1
  214. package/lib/popup/Popup.d.ts +3 -3
  215. package/lib/popup/index.d.ts +3 -3
  216. package/lib/progress/index.d.ts +3 -3
  217. package/lib/pull-refresh/index.d.ts +1 -1
  218. package/lib/radio/index.d.ts +3 -3
  219. package/lib/radio-group/index.d.ts +5 -5
  220. package/lib/rate/index.d.ts +1 -1
  221. package/lib/rolling-text/index.d.ts +1 -1
  222. package/lib/row/index.d.ts +1 -1
  223. package/lib/search/Search.d.ts +17 -17
  224. package/lib/search/index.d.ts +13 -13
  225. package/lib/share-sheet/ShareSheet.d.ts +3 -3
  226. package/lib/share-sheet/index.d.ts +3 -3
  227. package/lib/sidebar/index.d.ts +1 -1
  228. package/lib/sidebar-item/index.d.ts +3 -3
  229. package/lib/signature/Signature.js +3 -1
  230. package/lib/signature/index.d.ts +1 -1
  231. package/lib/signature/types.d.ts +2 -0
  232. package/lib/skeleton/index.d.ts +9 -9
  233. package/lib/skeleton-avatar/index.d.ts +1 -1
  234. package/lib/skeleton-image/index.d.ts +1 -1
  235. package/lib/skeleton-paragraph/index.d.ts +1 -1
  236. package/lib/skeleton-title/index.d.ts +1 -1
  237. package/lib/slider/index.d.ts +1 -1
  238. package/lib/space/index.d.ts +1 -1
  239. package/lib/step/index.d.ts +1 -1
  240. package/lib/stepper/index.d.ts +3 -3
  241. package/lib/steps/index.d.ts +1 -1
  242. package/lib/sticky/index.d.ts +1 -1
  243. package/lib/submit-bar/index.d.ts +6 -6
  244. package/lib/swipe/Swipe.d.ts +1 -1
  245. package/lib/swipe/index.d.ts +2 -2
  246. package/lib/swipe-cell/index.d.ts +3 -3
  247. package/lib/swipe-item/index.d.ts +1 -1
  248. package/lib/switch/index.d.ts +1 -1
  249. package/lib/tab/index.d.ts +1 -1
  250. package/lib/tabbar/index.d.ts +3 -3
  251. package/lib/tabbar-item/index.d.ts +3 -3
  252. package/lib/tabs/Tabs.d.ts +1 -1
  253. package/lib/tabs/index.d.ts +4 -4
  254. package/lib/tag/index.d.ts +1 -1
  255. package/lib/text-ellipsis/index.d.ts +1 -1
  256. package/lib/time-picker/TimePicker.d.ts +13 -13
  257. package/lib/time-picker/index.d.ts +10 -10
  258. package/lib/toast/Toast.d.ts +1 -1
  259. package/lib/toast/index.d.ts +4 -4
  260. package/lib/tree-select/index.d.ts +4 -4
  261. package/lib/uploader/index.d.ts +7 -7
  262. package/lib/uploader/utils.d.ts +1 -1
  263. package/lib/vant.cjs.js +20 -5
  264. package/lib/vant.es.js +20 -5
  265. package/lib/vant.js +20 -5
  266. package/lib/vant.min.js +2 -2
  267. package/lib/watermark/index.d.ts +1 -1
  268. package/lib/web-types.json +1 -1
  269. package/package.json +1 -1
@@ -25,7 +25,8 @@ const imagePreviewItemProps = {
25
25
  disableZoom: Boolean,
26
26
  doubleScale: Boolean,
27
27
  closeOnClickImage: Boolean,
28
- closeOnClickOverlay: Boolean
28
+ closeOnClickOverlay: Boolean,
29
+ vertical: Boolean
29
30
  };
30
31
  var stdin_default = defineComponent({
31
32
  props: imagePreviewItemProps,
@@ -168,7 +169,7 @@ var stdin_default = defineComponent({
168
169
  } = touch;
169
170
  const moveX = deltaX.value + startMoveX;
170
171
  const moveY = deltaY.value + startMoveY;
171
- if ((moveX > maxMoveX.value || moveX < -maxMoveX.value) && !isImageMoved && touch.isHorizontal()) {
172
+ if ((props.vertical ? touch.isVertical() && Math.abs(moveY) > maxMoveY.value : touch.isHorizontal() && Math.abs(moveX) > maxMoveX.value) && !isImageMoved) {
172
173
  state.moving = false;
173
174
  return;
174
175
  }
@@ -11,6 +11,7 @@ const defaultConfig = {
11
11
  onScale: void 0,
12
12
  onClose: void 0,
13
13
  onChange: void 0,
14
+ vertical: false,
14
15
  teleport: "body",
15
16
  className: "",
16
17
  showIndex: true,
@@ -1,5 +1,5 @@
1
1
  import type { ImagePreviewProps } from './ImagePreview';
2
- export declare const ImagePreview: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const ImagePreview: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  show: BooleanConstructor;
4
4
  loop: {
5
5
  type: BooleanConstructor;
@@ -21,6 +21,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
21
21
  type: BooleanConstructor;
22
22
  default: true;
23
23
  };
24
+ vertical: BooleanConstructor;
24
25
  closeable: BooleanConstructor;
25
26
  showIndex: {
26
27
  type: BooleanConstructor;
@@ -32,7 +33,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
32
33
  default: string;
33
34
  };
34
35
  transition: StringConstructor;
35
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
36
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
36
37
  doubleScale: {
37
38
  type: BooleanConstructor;
38
39
  default: true;
@@ -61,8 +62,8 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
61
62
  default: true;
62
63
  };
63
64
  closeIconPosition: {
64
- type: import("vue").PropType<import("..").PopupCloseIconPosition>;
65
- default: import("..").PopupCloseIconPosition;
65
+ type: import("vue").PropType<import("packages/vant/es").PopupCloseIconPosition>;
66
+ default: import("packages/vant/es").PopupCloseIconPosition;
66
67
  };
67
68
  teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
68
69
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "update:show" | "scale" | "longPress")[], "change" | "close" | "closed" | "update:show" | "scale" | "longPress", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -87,6 +88,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
87
88
  type: BooleanConstructor;
88
89
  default: true;
89
90
  };
91
+ vertical: BooleanConstructor;
90
92
  closeable: BooleanConstructor;
91
93
  showIndex: {
92
94
  type: BooleanConstructor;
@@ -98,7 +100,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
98
100
  default: string;
99
101
  };
100
102
  transition: StringConstructor;
101
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
103
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
102
104
  doubleScale: {
103
105
  type: BooleanConstructor;
104
106
  default: true;
@@ -127,8 +129,8 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
127
129
  default: true;
128
130
  };
129
131
  closeIconPosition: {
130
- type: import("vue").PropType<import("..").PopupCloseIconPosition>;
131
- default: import("..").PopupCloseIconPosition;
132
+ type: import("vue").PropType<import("packages/vant/es").PopupCloseIconPosition>;
133
+ default: import("packages/vant/es").PopupCloseIconPosition;
132
134
  };
133
135
  teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
134
136
  }>> & {
@@ -142,11 +144,12 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
142
144
  loop: boolean;
143
145
  overlay: boolean;
144
146
  show: boolean;
147
+ vertical: boolean;
145
148
  closeOnClickOverlay: boolean;
146
149
  closeIcon: string;
147
150
  closeable: boolean;
148
151
  closeOnPopstate: boolean;
149
- closeIconPosition: import("..").PopupCloseIconPosition;
152
+ closeIconPosition: import("packages/vant/es").PopupCloseIconPosition;
150
153
  swipeDuration: string | number;
151
154
  showIndicators: boolean;
152
155
  startPosition: string | number;
@@ -9,6 +9,7 @@ export type ImagePreviewOptions = {
9
9
  images: string[];
10
10
  maxZoom?: number;
11
11
  minZoom?: number;
12
+ vertical?: boolean;
12
13
  teleport?: TeleportProps['to'];
13
14
  className?: unknown;
14
15
  showIndex?: boolean;
@@ -1,4 +1,4 @@
1
- export declare const IndexAnchor: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const IndexAnchor: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  index: (NumberConstructor | StringConstructor)[];
3
3
  }, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
4
4
  index: (NumberConstructor | StringConstructor)[];
@@ -1,5 +1,5 @@
1
1
  import { IndexBarProps } from './IndexBar';
2
- export declare const IndexBar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const IndexBar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  sticky: {
4
4
  type: BooleanConstructor;
5
5
  default: true;
@@ -12,7 +12,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
12
12
  default: number;
13
13
  };
14
14
  indexList: {
15
- type: import("vue").PropType<import("../utils").Numeric[]>;
15
+ type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric[]>;
16
16
  default: () => string[];
17
17
  };
18
18
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -28,7 +28,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
28
28
  default: number;
29
29
  };
30
30
  indexList: {
31
- type: import("vue").PropType<import("../utils").Numeric[]>;
31
+ type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric[]>;
32
32
  default: () => string[];
33
33
  };
34
34
  }>> & {
@@ -37,7 +37,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
37
37
  }, {
38
38
  sticky: boolean;
39
39
  stickyOffsetTop: number;
40
- indexList: import("../utils").Numeric[];
40
+ indexList: import("packages/vant/es/utils/basic").Numeric[];
41
41
  }, {}>>;
42
42
  export default IndexBar;
43
43
  export { indexBarProps } from './IndexBar';
package/es/index.d.ts CHANGED
@@ -106,4 +106,4 @@ declare namespace _default {
106
106
  }
107
107
  export default _default;
108
108
  export function install(app: any): void;
109
- export const version: "4.8.5";
109
+ export const version: "4.8.6";
package/es/index.mjs CHANGED
@@ -99,7 +99,7 @@ import { Toast } from "./toast/index.mjs";
99
99
  import { TreeSelect } from "./tree-select/index.mjs";
100
100
  import { Uploader } from "./uploader/index.mjs";
101
101
  import { Watermark } from "./watermark/index.mjs";
102
- const version = "4.8.5";
102
+ const version = "4.8.6";
103
103
  function install(app) {
104
104
  const components = [
105
105
  ActionBar,
@@ -1,5 +1,5 @@
1
1
  import { ListProps } from './List';
2
- export declare const List: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const List: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  error: BooleanConstructor;
4
4
  offset: {
5
5
  type: (NumberConstructor | StringConstructor)[];
@@ -1,4 +1,4 @@
1
- export declare const Loading: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Loading: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  size: (NumberConstructor | StringConstructor)[];
3
3
  type: {
4
4
  type: import("vue").PropType<import("./Loading").LoadingType>;
@@ -1,4 +1,4 @@
1
- export declare const NavBar: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const NavBar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  title: StringConstructor;
3
3
  fixed: BooleanConstructor;
4
4
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -1,5 +1,5 @@
1
1
  import { NoticeBarProps } from './NoticeBar';
2
- export declare const NoticeBar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const NoticeBar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  text: StringConstructor;
4
4
  mode: import("vue").PropType<import("./types").NoticeBarMode>;
5
5
  color: StringConstructor;
@@ -17,7 +17,7 @@ export declare const notifyProps: {
17
17
  type: BooleanConstructor;
18
18
  default: true;
19
19
  };
20
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
20
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
21
21
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
22
22
  overlayClass: import("vue").PropType<unknown>;
23
23
  transitionAppear: BooleanConstructor;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  type: BooleanConstructor;
59
59
  default: true;
60
60
  };
61
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
61
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
62
62
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
63
63
  overlayClass: import("vue").PropType<unknown>;
64
64
  transitionAppear: BooleanConstructor;
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
97
97
  type: BooleanConstructor;
98
98
  default: true;
99
99
  };
100
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
100
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
101
101
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
102
102
  overlayClass: import("vue").PropType<unknown>;
103
103
  transitionAppear: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const Notify: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Notify: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  show: BooleanConstructor;
3
3
  zIndex: (NumberConstructor | StringConstructor)[];
4
4
  overlay: {
@@ -15,7 +15,7 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
15
15
  type: BooleanConstructor;
16
16
  default: true;
17
17
  };
18
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
18
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
19
19
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
20
20
  overlayClass: import("vue").PropType<unknown>;
21
21
  transitionAppear: BooleanConstructor;
@@ -54,7 +54,7 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
54
54
  type: BooleanConstructor;
55
55
  default: true;
56
56
  };
57
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
57
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
58
58
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
59
59
  overlayClass: import("vue").PropType<unknown>;
60
60
  transitionAppear: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const NumberKeyboard: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const NumberKeyboard: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  show: BooleanConstructor;
3
3
  title: StringConstructor;
4
4
  theme: {
@@ -1,4 +1,4 @@
1
- export declare const Overlay: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Overlay: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  show: BooleanConstructor;
3
3
  zIndex: (NumberConstructor | StringConstructor)[];
4
4
  duration: (NumberConstructor | StringConstructor)[];
@@ -114,8 +114,8 @@ declare const _default: import("vue").DefineComponent<{
114
114
  onChange?: ((...args: any[]) => any) | undefined;
115
115
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
116
116
  }, {
117
- modelValue: number;
118
117
  mode: PaginationMode;
118
+ modelValue: number;
119
119
  pageCount: string | number;
120
120
  totalItems: string | number;
121
121
  showPageSize: string | number;
@@ -1,4 +1,4 @@
1
- export declare const Pagination: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Pagination: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  mode: {
3
3
  type: import("vue").PropType<import("./Pagination").PaginationMode>;
4
4
  default: import("./Pagination").PaginationMode;
@@ -74,8 +74,8 @@ export declare const Pagination: import("../utils").WithInstall<import("vue").De
74
74
  onChange?: ((...args: any[]) => any) | undefined;
75
75
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
76
76
  }, {
77
- modelValue: number;
78
77
  mode: import("./Pagination").PaginationMode;
78
+ modelValue: number;
79
79
  pageCount: string | number;
80
80
  totalItems: string | number;
81
81
  showPageSize: string | number;
@@ -1,4 +1,4 @@
1
- export declare const PasswordInput: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const PasswordInput: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  info: StringConstructor;
3
3
  mask: {
4
4
  type: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { PickerProps } from './Picker';
2
- export declare const Picker: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const Picker: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  loading: BooleanConstructor;
4
4
  readonly: BooleanConstructor;
5
5
  allowHtml: BooleanConstructor;
@@ -29,7 +29,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
29
29
  default: () => never[];
30
30
  };
31
31
  modelValue: {
32
- type: import("vue").PropType<import("../utils").Numeric[]>;
32
+ type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric[]>;
33
33
  default: () => never[];
34
34
  };
35
35
  toolbarPosition: {
@@ -67,7 +67,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
67
67
  default: () => never[];
68
68
  };
69
69
  modelValue: {
70
- type: import("vue").PropType<import("../utils").Numeric[]>;
70
+ type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric[]>;
71
71
  default: () => never[];
72
72
  };
73
73
  toolbarPosition: {
@@ -83,7 +83,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
83
83
  onScrollInto?: ((...args: any[]) => any) | undefined;
84
84
  onConfirm?: ((...args: any[]) => any) | undefined;
85
85
  }, {
86
- modelValue: import("../utils").Numeric[];
86
+ modelValue: import("packages/vant/es/utils/basic").Numeric[];
87
87
  readonly: boolean;
88
88
  loading: boolean;
89
89
  allowHtml: boolean;
@@ -1,7 +1,7 @@
1
1
  import { type Numeric } from '../utils';
2
2
  import type { Ref } from 'vue';
3
3
  import type { PickerOption, PickerColumn, PickerFieldNames } from './types';
4
- declare const name: string, bem: (el?: import("../utils").Mods | undefined, mods?: import("../utils").Mods | undefined) => import("../utils").Mods, t: (path: string, ...args: unknown[]) => any;
4
+ 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;
5
5
  export { name, bem, t };
6
6
  export declare const getFirstEnabledOption: (options: PickerOption[]) => PickerOption | undefined;
7
7
  export declare function getColumnsType(columns: PickerColumn | PickerColumn[], fields: Required<PickerFieldNames>): "default" | "multiple" | "cascade";
@@ -1,5 +1,5 @@
1
1
  import { PickerGroupProps } from './PickerGroup';
2
- export declare const PickerGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const PickerGroup: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  tabs: {
4
4
  type: import("vue").PropType<string[]>;
5
5
  default: () => never[];
@@ -1,4 +1,4 @@
1
- export declare const Popover: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Popover: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  show: BooleanConstructor;
3
3
  theme: {
4
4
  type: import("vue").PropType<import("./types").PopoverTheme>;
@@ -17,7 +17,7 @@ export declare const popupProps: {
17
17
  type: BooleanConstructor;
18
18
  default: true;
19
19
  };
20
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
20
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
21
21
  overlayStyle: import("vue").PropType<CSSProperties>;
22
22
  overlayClass: import("vue").PropType<unknown>;
23
23
  transitionAppear: BooleanConstructor;
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
64
64
  type: BooleanConstructor;
65
65
  default: true;
66
66
  };
67
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
67
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
68
68
  overlayStyle: import("vue").PropType<CSSProperties>;
69
69
  overlayClass: import("vue").PropType<unknown>;
70
70
  transitionAppear: BooleanConstructor;
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
109
109
  type: BooleanConstructor;
110
110
  default: true;
111
111
  };
112
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
112
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
113
113
  overlayStyle: import("vue").PropType<CSSProperties>;
114
114
  overlayClass: import("vue").PropType<unknown>;
115
115
  transitionAppear: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const Popup: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Popup: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  show: BooleanConstructor;
3
3
  zIndex: (NumberConstructor | StringConstructor)[];
4
4
  overlay: {
@@ -15,7 +15,7 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
15
15
  type: BooleanConstructor;
16
16
  default: true;
17
17
  };
18
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
18
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").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 Popup: import("../utils").WithInstall<import("vue").DefineC
60
60
  type: BooleanConstructor;
61
61
  default: true;
62
62
  };
63
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
63
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
64
64
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
65
65
  overlayClass: import("vue").PropType<unknown>;
66
66
  transitionAppear: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { ProgressProps } from './Progress';
2
- export declare const Progress: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const Progress: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  color: StringConstructor;
4
4
  inactive: BooleanConstructor;
5
5
  pivotText: StringConstructor;
@@ -14,7 +14,7 @@ export declare const Progress: import("../utils").WithInstall<import("vue").Defi
14
14
  percentage: {
15
15
  type: (NumberConstructor | StringConstructor)[];
16
16
  default: number;
17
- validator: (value: import("../utils").Numeric) => boolean;
17
+ validator: (value: import("packages/vant/es/utils/basic").Numeric) => boolean;
18
18
  };
19
19
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
20
  color: StringConstructor;
@@ -31,7 +31,7 @@ export declare const Progress: import("../utils").WithInstall<import("vue").Defi
31
31
  percentage: {
32
32
  type: (NumberConstructor | StringConstructor)[];
33
33
  default: number;
34
- validator: (value: import("../utils").Numeric) => boolean;
34
+ validator: (value: import("packages/vant/es/utils/basic").Numeric) => boolean;
35
35
  };
36
36
  }>>, {
37
37
  inactive: boolean;
@@ -1,4 +1,4 @@
1
- export declare const PullRefresh: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const PullRefresh: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  disabled: BooleanConstructor;
3
3
  modelValue: BooleanConstructor;
4
4
  headHeight: {
@@ -1,10 +1,10 @@
1
- export declare const Radio: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Radio: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  name: import("vue").PropType<unknown>;
3
3
  disabled: BooleanConstructor;
4
4
  iconSize: (NumberConstructor | StringConstructor)[];
5
5
  modelValue: import("vue").PropType<unknown>;
6
6
  checkedColor: StringConstructor;
7
- labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
7
+ labelPosition: import("vue").PropType<import("packages/vant/es/checkbox/Checker").CheckerLabelPosition>;
8
8
  labelDisabled: BooleanConstructor;
9
9
  } & {
10
10
  shape: import("vue").PropType<import("./Radio").RadioShape>;
@@ -14,7 +14,7 @@ export declare const Radio: import("../utils").WithInstall<import("vue").DefineC
14
14
  iconSize: (NumberConstructor | StringConstructor)[];
15
15
  modelValue: import("vue").PropType<unknown>;
16
16
  checkedColor: StringConstructor;
17
- labelPosition: import("vue").PropType<import("../checkbox/Checker").CheckerLabelPosition>;
17
+ labelPosition: import("vue").PropType<import("packages/vant/es/checkbox/Checker").CheckerLabelPosition>;
18
18
  labelDisabled: BooleanConstructor;
19
19
  } & {
20
20
  shape: import("vue").PropType<import("./Radio").RadioShape>;
@@ -1,15 +1,15 @@
1
- export declare const RadioGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
2
- shape: import("vue").PropType<import("..").RadioShape>;
1
+ export declare const RadioGroup: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
+ shape: import("vue").PropType<import("packages/vant/es").RadioShape>;
3
3
  disabled: BooleanConstructor;
4
4
  iconSize: (NumberConstructor | StringConstructor)[];
5
- direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
5
+ direction: import("vue").PropType<import("packages/vant/es/checkbox/Checker").CheckerDirection>;
6
6
  modelValue: import("vue").PropType<unknown>;
7
7
  checkedColor: StringConstructor;
8
8
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
- shape: import("vue").PropType<import("..").RadioShape>;
9
+ shape: import("vue").PropType<import("packages/vant/es").RadioShape>;
10
10
  disabled: BooleanConstructor;
11
11
  iconSize: (NumberConstructor | StringConstructor)[];
12
- direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
12
+ direction: import("vue").PropType<import("packages/vant/es/checkbox/Checker").CheckerDirection>;
13
13
  modelValue: import("vue").PropType<unknown>;
14
14
  checkedColor: StringConstructor;
15
15
  }>> & {
@@ -1,4 +1,4 @@
1
- export declare const Rate: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Rate: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  size: (NumberConstructor | StringConstructor)[];
3
3
  icon: {
4
4
  type: import("vue").PropType<string>;
@@ -1,5 +1,5 @@
1
1
  import _RollingText from './RollingText';
2
- export declare const RollingText: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const RollingText: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  startNum: {
4
4
  type: NumberConstructor;
5
5
  default: number;
package/es/row/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const Row: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Row: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  tag: {
3
3
  type: import("vue").PropType<keyof HTMLElementTagNameMap>;
4
4
  default: keyof HTMLElementTagNameMap;
@@ -17,7 +17,7 @@ export declare const searchProps: {
17
17
  type: (NumberConstructor | StringConstructor)[];
18
18
  default: string;
19
19
  };
20
- inputAlign: import("vue").PropType<import("../field").FieldTextAlign>;
20
+ inputAlign: import("vue").PropType<import("packages/vant/es/field/types").FieldTextAlign>;
21
21
  placeholder: StringConstructor;
22
22
  autocomplete: StringConstructor;
23
23
  autocapitalize: StringConstructor;
@@ -25,12 +25,12 @@ export declare const searchProps: {
25
25
  errorMessage: StringConstructor;
26
26
  enterkeyhint: StringConstructor;
27
27
  clearTrigger: {
28
- type: import("vue").PropType<import("../field").FieldClearTrigger>;
29
- default: import("../field").FieldClearTrigger;
28
+ type: import("vue").PropType<import("packages/vant/es/field/types").FieldClearTrigger>;
29
+ default: import("packages/vant/es/field/types").FieldClearTrigger;
30
30
  };
31
31
  formatTrigger: {
32
- type: import("vue").PropType<import("../field").FieldFormatTrigger>;
33
- default: import("../field").FieldFormatTrigger;
32
+ type: import("vue").PropType<import("packages/vant/es/field/types").FieldFormatTrigger>;
33
+ default: import("packages/vant/es/field/types").FieldFormatTrigger;
34
34
  };
35
35
  spellcheck: {
36
36
  type: BooleanConstructor;
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
84
84
  type: (NumberConstructor | StringConstructor)[];
85
85
  default: string;
86
86
  };
87
- inputAlign: import("vue").PropType<import("../field").FieldTextAlign>;
87
+ inputAlign: import("vue").PropType<import("packages/vant/es/field/types").FieldTextAlign>;
88
88
  placeholder: StringConstructor;
89
89
  autocomplete: StringConstructor;
90
90
  autocapitalize: StringConstructor;
@@ -92,12 +92,12 @@ declare const _default: import("vue").DefineComponent<{
92
92
  errorMessage: StringConstructor;
93
93
  enterkeyhint: StringConstructor;
94
94
  clearTrigger: {
95
- type: import("vue").PropType<import("../field").FieldClearTrigger>;
96
- default: import("../field").FieldClearTrigger;
95
+ type: import("vue").PropType<import("packages/vant/es/field/types").FieldClearTrigger>;
96
+ default: import("packages/vant/es/field/types").FieldClearTrigger;
97
97
  };
98
98
  formatTrigger: {
99
- type: import("vue").PropType<import("../field").FieldFormatTrigger>;
100
- default: import("../field").FieldFormatTrigger;
99
+ type: import("vue").PropType<import("packages/vant/es/field/types").FieldFormatTrigger>;
100
+ default: import("packages/vant/es/field/types").FieldFormatTrigger;
101
101
  };
102
102
  spellcheck: {
103
103
  type: BooleanConstructor;
@@ -149,7 +149,7 @@ declare const _default: import("vue").DefineComponent<{
149
149
  type: (NumberConstructor | StringConstructor)[];
150
150
  default: string;
151
151
  };
152
- inputAlign: import("vue").PropType<import("../field").FieldTextAlign>;
152
+ inputAlign: import("vue").PropType<import("packages/vant/es/field/types").FieldTextAlign>;
153
153
  placeholder: StringConstructor;
154
154
  autocomplete: StringConstructor;
155
155
  autocapitalize: StringConstructor;
@@ -157,12 +157,12 @@ declare const _default: import("vue").DefineComponent<{
157
157
  errorMessage: StringConstructor;
158
158
  enterkeyhint: StringConstructor;
159
159
  clearTrigger: {
160
- type: import("vue").PropType<import("../field").FieldClearTrigger>;
161
- default: import("../field").FieldClearTrigger;
160
+ type: import("vue").PropType<import("packages/vant/es/field/types").FieldClearTrigger>;
161
+ default: import("packages/vant/es/field/types").FieldClearTrigger;
162
162
  };
163
163
  formatTrigger: {
164
- type: import("vue").PropType<import("../field").FieldFormatTrigger>;
165
- default: import("../field").FieldFormatTrigger;
164
+ type: import("vue").PropType<import("packages/vant/es/field/types").FieldFormatTrigger>;
165
+ default: import("packages/vant/es/field/types").FieldFormatTrigger;
166
166
  };
167
167
  spellcheck: {
168
168
  type: BooleanConstructor;
@@ -215,8 +215,8 @@ declare const _default: import("vue").DefineComponent<{
215
215
  clearable: boolean;
216
216
  clearIcon: string;
217
217
  modelValue: string | number;
218
- clearTrigger: import("../field").FieldClearTrigger;
219
- formatTrigger: import("../field").FieldFormatTrigger;
218
+ clearTrigger: import("packages/vant/es/field/types").FieldClearTrigger;
219
+ formatTrigger: import("packages/vant/es/field/types").FieldFormatTrigger;
220
220
  spellcheck: boolean;
221
221
  error: boolean;
222
222
  readonly: boolean;