vant 4.8.4 → 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 (277) 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/DropdownMenu.mjs +2 -2
  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/index.d.ts +1 -1
  49. package/es/floating-panel/FloatingPanel.d.ts +1 -1
  50. package/es/floating-panel/index.d.ts +2 -2
  51. package/es/form/index.d.ts +10 -10
  52. package/es/grid/index.d.ts +1 -1
  53. package/es/grid-item/index.d.ts +3 -3
  54. package/es/highlight/index.d.ts +1 -1
  55. package/es/icon/index.d.ts +3 -3
  56. package/es/image/Image.d.ts +6 -0
  57. package/es/image/Image.mjs +6 -2
  58. package/es/image/index.d.ts +5 -1
  59. package/es/image-preview/ImagePreview.d.ts +4 -0
  60. package/es/image-preview/ImagePreview.mjs +3 -0
  61. package/es/image-preview/ImagePreviewItem.d.ts +4 -0
  62. package/es/image-preview/ImagePreviewItem.mjs +3 -2
  63. package/es/image-preview/function-call.mjs +1 -0
  64. package/es/image-preview/index.d.ts +11 -8
  65. package/es/image-preview/types.d.ts +1 -0
  66. package/es/index-anchor/index.d.ts +1 -1
  67. package/es/index-bar/index.d.ts +4 -4
  68. package/es/index.d.ts +1 -1
  69. package/es/index.mjs +1 -1
  70. package/es/list/index.d.ts +1 -1
  71. package/es/loading/index.d.ts +1 -1
  72. package/es/nav-bar/index.d.ts +1 -1
  73. package/es/notice-bar/index.d.ts +1 -1
  74. package/es/notify/Notify.d.ts +3 -3
  75. package/es/notify/index.d.ts +3 -3
  76. package/es/number-keyboard/NumberKeyboard.mjs +1 -1
  77. package/es/number-keyboard/index.d.ts +1 -1
  78. package/es/overlay/index.d.ts +1 -1
  79. package/es/pagination/Pagination.d.ts +1 -1
  80. package/es/pagination/index.d.ts +2 -2
  81. package/es/password-input/index.d.ts +1 -1
  82. package/es/picker/index.d.ts +4 -4
  83. package/es/picker/utils.d.ts +1 -1
  84. package/es/picker-group/index.d.ts +1 -1
  85. package/es/popover/index.d.ts +1 -1
  86. package/es/popup/Popup.d.ts +3 -3
  87. package/es/popup/index.d.ts +3 -3
  88. package/es/progress/index.d.ts +3 -3
  89. package/es/pull-refresh/index.d.ts +1 -1
  90. package/es/radio/index.d.ts +3 -3
  91. package/es/radio-group/index.d.ts +5 -5
  92. package/es/rate/index.d.ts +1 -1
  93. package/es/rolling-text/index.d.ts +1 -1
  94. package/es/row/index.d.ts +1 -1
  95. package/es/search/Search.d.ts +17 -17
  96. package/es/search/index.d.ts +13 -13
  97. package/es/share-sheet/ShareSheet.d.ts +3 -3
  98. package/es/share-sheet/index.d.ts +3 -3
  99. package/es/sidebar/index.d.ts +1 -1
  100. package/es/sidebar-item/index.d.ts +3 -3
  101. package/es/signature/Signature.mjs +3 -1
  102. package/es/signature/index.d.ts +1 -1
  103. package/es/signature/types.d.ts +2 -0
  104. package/es/skeleton/index.d.ts +9 -9
  105. package/es/skeleton-avatar/index.d.ts +1 -1
  106. package/es/skeleton-image/index.d.ts +1 -1
  107. package/es/skeleton-paragraph/index.d.ts +1 -1
  108. package/es/skeleton-title/index.d.ts +1 -1
  109. package/es/slider/index.d.ts +1 -1
  110. package/es/space/index.d.ts +1 -1
  111. package/es/step/index.d.ts +1 -1
  112. package/es/stepper/index.d.ts +3 -3
  113. package/es/steps/index.d.ts +1 -1
  114. package/es/sticky/index.d.ts +1 -1
  115. package/es/submit-bar/index.d.ts +6 -6
  116. package/es/swipe/Swipe.d.ts +1 -1
  117. package/es/swipe/index.d.ts +2 -2
  118. package/es/swipe-cell/index.d.ts +3 -3
  119. package/es/swipe-item/index.d.ts +1 -1
  120. package/es/switch/index.d.ts +1 -1
  121. package/es/tab/index.d.ts +1 -1
  122. package/es/tabbar/index.d.ts +3 -3
  123. package/es/tabbar-item/index.d.ts +3 -3
  124. package/es/tabs/Tabs.d.ts +1 -1
  125. package/es/tabs/index.d.ts +4 -4
  126. package/es/tag/index.d.ts +1 -1
  127. package/es/text-ellipsis/index.d.ts +1 -1
  128. package/es/time-picker/TimePicker.d.ts +13 -13
  129. package/es/time-picker/index.d.ts +10 -10
  130. package/es/toast/Toast.d.ts +1 -1
  131. package/es/toast/index.d.ts +4 -4
  132. package/es/tree-select/index.d.ts +4 -4
  133. package/es/uploader/index.d.ts +7 -7
  134. package/es/uploader/utils.d.ts +1 -1
  135. package/es/watermark/index.d.ts +1 -1
  136. package/lib/action-bar/index.d.ts +1 -1
  137. package/lib/action-bar-button/index.d.ts +3 -3
  138. package/lib/action-bar-icon/index.d.ts +3 -3
  139. package/lib/action-sheet/ActionSheet.d.ts +4 -3
  140. package/lib/action-sheet/ActionSheet.js +9 -1
  141. package/lib/action-sheet/index.css +1 -1
  142. package/lib/action-sheet/index.d.ts +3 -3
  143. package/lib/address-edit/index.d.ts +5 -5
  144. package/lib/address-list/index.d.ts +1 -1
  145. package/lib/area/Area.d.ts +3 -3
  146. package/lib/area/index.d.ts +2 -2
  147. package/lib/back-top/index.d.ts +1 -1
  148. package/lib/badge/index.d.ts +3 -3
  149. package/lib/barrage/Barrage.d.ts +1 -1
  150. package/lib/barrage/index.d.ts +2 -2
  151. package/lib/button/index.d.ts +3 -3
  152. package/lib/calendar/index.d.ts +6 -6
  153. package/lib/calendar/utils.d.ts +1 -1
  154. package/lib/card/index.d.ts +1 -1
  155. package/lib/cascader/index.d.ts +1 -1
  156. package/lib/cell/index.d.ts +1 -1
  157. package/lib/cell-group/index.d.ts +1 -1
  158. package/lib/checkbox/index.d.ts +5 -5
  159. package/lib/checkbox-group/index.d.ts +8 -8
  160. package/lib/circle/index.d.ts +1 -1
  161. package/lib/col/index.d.ts +1 -1
  162. package/lib/collapse/index.d.ts +4 -4
  163. package/lib/collapse-item/index.d.ts +5 -5
  164. package/lib/config-provider/index.d.ts +1 -1
  165. package/lib/contact-card/index.d.ts +1 -1
  166. package/lib/contact-edit/index.d.ts +3 -3
  167. package/lib/contact-list/index.d.ts +1 -1
  168. package/lib/count-down/index.d.ts +1 -1
  169. package/lib/coupon/index.d.ts +1 -1
  170. package/lib/coupon-cell/index.d.ts +4 -4
  171. package/lib/coupon-list/index.d.ts +7 -7
  172. package/lib/date-picker/DatePicker.d.ts +10 -10
  173. package/lib/date-picker/index.d.ts +8 -8
  174. package/lib/dialog/Dialog.d.ts +3 -3
  175. package/lib/dialog/index.d.ts +3 -3
  176. package/lib/divider/index.d.ts +1 -1
  177. package/lib/dropdown-item/index.d.ts +1 -1
  178. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  179. package/lib/dropdown-menu/DropdownMenu.js +1 -1
  180. package/lib/dropdown-menu/index.d.ts +2 -2
  181. package/lib/empty/index.d.ts +3 -3
  182. package/lib/field/index.d.ts +5 -5
  183. package/lib/floating-bubble/index.d.ts +1 -1
  184. package/lib/floating-panel/FloatingPanel.d.ts +1 -1
  185. package/lib/floating-panel/index.d.ts +2 -2
  186. package/lib/form/index.d.ts +10 -10
  187. package/lib/grid/index.d.ts +1 -1
  188. package/lib/grid-item/index.d.ts +3 -3
  189. package/lib/highlight/index.d.ts +1 -1
  190. package/lib/icon/index.d.ts +3 -3
  191. package/lib/image/Image.d.ts +6 -0
  192. package/lib/image/Image.js +6 -2
  193. package/lib/image/index.d.ts +5 -1
  194. package/lib/image-preview/ImagePreview.d.ts +4 -0
  195. package/lib/image-preview/ImagePreview.js +3 -0
  196. package/lib/image-preview/ImagePreviewItem.d.ts +4 -0
  197. package/lib/image-preview/ImagePreviewItem.js +3 -2
  198. package/lib/image-preview/function-call.js +1 -0
  199. package/lib/image-preview/index.d.ts +11 -8
  200. package/lib/image-preview/types.d.ts +1 -0
  201. package/lib/index-anchor/index.d.ts +1 -1
  202. package/lib/index-bar/index.d.ts +4 -4
  203. package/lib/index.css +1 -1
  204. package/lib/index.d.ts +1 -1
  205. package/lib/index.js +1 -1
  206. package/lib/list/index.d.ts +1 -1
  207. package/lib/loading/index.d.ts +1 -1
  208. package/lib/nav-bar/index.d.ts +1 -1
  209. package/lib/notice-bar/index.d.ts +1 -1
  210. package/lib/notify/Notify.d.ts +3 -3
  211. package/lib/notify/index.d.ts +3 -3
  212. package/lib/number-keyboard/NumberKeyboard.js +1 -1
  213. package/lib/number-keyboard/index.d.ts +1 -1
  214. package/lib/overlay/index.d.ts +1 -1
  215. package/lib/pagination/Pagination.d.ts +1 -1
  216. package/lib/pagination/index.d.ts +2 -2
  217. package/lib/password-input/index.d.ts +1 -1
  218. package/lib/picker/index.d.ts +4 -4
  219. package/lib/picker/utils.d.ts +1 -1
  220. package/lib/picker-group/index.d.ts +1 -1
  221. package/lib/popover/index.d.ts +1 -1
  222. package/lib/popup/Popup.d.ts +3 -3
  223. package/lib/popup/index.d.ts +3 -3
  224. package/lib/progress/index.d.ts +3 -3
  225. package/lib/pull-refresh/index.d.ts +1 -1
  226. package/lib/radio/index.d.ts +3 -3
  227. package/lib/radio-group/index.d.ts +5 -5
  228. package/lib/rate/index.d.ts +1 -1
  229. package/lib/rolling-text/index.d.ts +1 -1
  230. package/lib/row/index.d.ts +1 -1
  231. package/lib/search/Search.d.ts +17 -17
  232. package/lib/search/index.d.ts +13 -13
  233. package/lib/share-sheet/ShareSheet.d.ts +3 -3
  234. package/lib/share-sheet/index.d.ts +3 -3
  235. package/lib/sidebar/index.d.ts +1 -1
  236. package/lib/sidebar-item/index.d.ts +3 -3
  237. package/lib/signature/Signature.js +3 -1
  238. package/lib/signature/index.d.ts +1 -1
  239. package/lib/signature/types.d.ts +2 -0
  240. package/lib/skeleton/index.d.ts +9 -9
  241. package/lib/skeleton-avatar/index.d.ts +1 -1
  242. package/lib/skeleton-image/index.d.ts +1 -1
  243. package/lib/skeleton-paragraph/index.d.ts +1 -1
  244. package/lib/skeleton-title/index.d.ts +1 -1
  245. package/lib/slider/index.d.ts +1 -1
  246. package/lib/space/index.d.ts +1 -1
  247. package/lib/step/index.d.ts +1 -1
  248. package/lib/stepper/index.d.ts +3 -3
  249. package/lib/steps/index.d.ts +1 -1
  250. package/lib/sticky/index.d.ts +1 -1
  251. package/lib/submit-bar/index.d.ts +6 -6
  252. package/lib/swipe/Swipe.d.ts +1 -1
  253. package/lib/swipe/index.d.ts +2 -2
  254. package/lib/swipe-cell/index.d.ts +3 -3
  255. package/lib/swipe-item/index.d.ts +1 -1
  256. package/lib/switch/index.d.ts +1 -1
  257. package/lib/tab/index.d.ts +1 -1
  258. package/lib/tabbar/index.d.ts +3 -3
  259. package/lib/tabbar-item/index.d.ts +3 -3
  260. package/lib/tabs/Tabs.d.ts +1 -1
  261. package/lib/tabs/index.d.ts +4 -4
  262. package/lib/tag/index.d.ts +1 -1
  263. package/lib/text-ellipsis/index.d.ts +1 -1
  264. package/lib/time-picker/TimePicker.d.ts +13 -13
  265. package/lib/time-picker/index.d.ts +10 -10
  266. package/lib/toast/Toast.d.ts +1 -1
  267. package/lib/toast/index.d.ts +4 -4
  268. package/lib/tree-select/index.d.ts +4 -4
  269. package/lib/uploader/index.d.ts +7 -7
  270. package/lib/uploader/utils.d.ts +1 -1
  271. package/lib/vant.cjs.js +28 -9
  272. package/lib/vant.es.js +29 -10
  273. package/lib/vant.js +28 -9
  274. package/lib/vant.min.js +2 -2
  275. package/lib/watermark/index.d.ts +1 -1
  276. package/lib/web-types.json +1 -1
  277. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- export declare const CountDown: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const CountDown: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  time: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -1,4 +1,4 @@
1
- export declare const Coupon: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Coupon: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  chosen: BooleanConstructor;
3
3
  coupon: {
4
4
  type: import("vue").PropType<import("./Coupon").CouponInfo>;
@@ -1,4 +1,4 @@
1
- export declare const CouponCell: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const CouponCell: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  title: StringConstructor;
3
3
  border: {
4
4
  type: BooleanConstructor;
@@ -9,7 +9,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
9
9
  default: true;
10
10
  };
11
11
  coupons: {
12
- type: import("vue").PropType<import("..").CouponInfo[]>;
12
+ type: import("vue").PropType<import("packages/vant/es").CouponInfo[]>;
13
13
  default: () => never[];
14
14
  };
15
15
  currency: {
@@ -31,7 +31,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
31
31
  default: true;
32
32
  };
33
33
  coupons: {
34
- type: import("vue").PropType<import("..").CouponInfo[]>;
34
+ type: import("vue").PropType<import("packages/vant/es").CouponInfo[]>;
35
35
  default: () => never[];
36
36
  };
37
37
  currency: {
@@ -46,7 +46,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
46
46
  border: boolean;
47
47
  currency: string;
48
48
  editable: boolean;
49
- coupons: import("..").CouponInfo[];
49
+ coupons: import("packages/vant/es").CouponInfo[];
50
50
  chosenCoupon: string | number;
51
51
  }, {}>>;
52
52
  export default CouponCell;
@@ -1,10 +1,10 @@
1
- export declare const CouponList: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const CouponList: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  code: {
3
3
  type: import("vue").PropType<string>;
4
4
  default: string;
5
5
  };
6
6
  coupons: {
7
- type: import("vue").PropType<import("..").CouponInfo[]>;
7
+ type: import("vue").PropType<import("packages/vant/es").CouponInfo[]>;
8
8
  default: () => never[];
9
9
  };
10
10
  currency: {
@@ -23,7 +23,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
23
23
  enabledTitle: StringConstructor;
24
24
  disabledTitle: StringConstructor;
25
25
  disabledCoupons: {
26
- type: import("vue").PropType<import("..").CouponInfo[]>;
26
+ type: import("vue").PropType<import("packages/vant/es").CouponInfo[]>;
27
27
  default: () => never[];
28
28
  };
29
29
  showExchangeBar: {
@@ -53,7 +53,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
53
53
  default: string;
54
54
  };
55
55
  coupons: {
56
- type: import("vue").PropType<import("..").CouponInfo[]>;
56
+ type: import("vue").PropType<import("packages/vant/es").CouponInfo[]>;
57
57
  default: () => never[];
58
58
  };
59
59
  currency: {
@@ -72,7 +72,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
72
72
  enabledTitle: StringConstructor;
73
73
  disabledTitle: StringConstructor;
74
74
  disabledCoupons: {
75
- type: import("vue").PropType<import("..").CouponInfo[]>;
75
+ type: import("vue").PropType<import("packages/vant/es").CouponInfo[]>;
76
76
  default: () => never[];
77
77
  };
78
78
  showExchangeBar: {
@@ -103,10 +103,10 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
103
103
  }, {
104
104
  code: string;
105
105
  currency: string;
106
- coupons: import("..").CouponInfo[];
106
+ coupons: import("packages/vant/es").CouponInfo[];
107
107
  chosenCoupon: number;
108
108
  showCount: boolean;
109
- disabledCoupons: import("..").CouponInfo[];
109
+ disabledCoupons: import("packages/vant/es").CouponInfo[];
110
110
  showExchangeBar: boolean;
111
111
  showCloseButton: boolean;
112
112
  exchangeMinLength: number;
@@ -29,10 +29,10 @@ export declare const datePickerProps: {
29
29
  type: PropType<string[]>;
30
30
  default: () => never[];
31
31
  };
32
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
32
+ filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/picker/types").PickerOption[]>;
33
33
  formatter: {
34
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
35
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
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;
36
36
  };
37
37
  } & {
38
38
  columnsType: {
@@ -80,10 +80,10 @@ declare const _default: import("vue").DefineComponent<{
80
80
  type: PropType<string[]>;
81
81
  default: () => never[];
82
82
  };
83
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
83
+ filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/picker/types").PickerOption[]>;
84
84
  formatter: {
85
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
86
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
85
+ type: PropType<(type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption>;
86
+ default: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
87
87
  };
88
88
  } & {
89
89
  columnsType: {
@@ -129,10 +129,10 @@ declare const _default: import("vue").DefineComponent<{
129
129
  type: PropType<string[]>;
130
130
  default: () => never[];
131
131
  };
132
- filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
132
+ filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/picker/types").PickerOption[]>;
133
133
  formatter: {
134
- type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
135
- default: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
134
+ type: PropType<(type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption>;
135
+ default: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
136
136
  };
137
137
  } & {
138
138
  columnsType: {
@@ -155,7 +155,7 @@ declare const _default: import("vue").DefineComponent<{
155
155
  onCancel?: ((...args: any[]) => any) | undefined;
156
156
  onConfirm?: ((...args: any[]) => any) | undefined;
157
157
  }, {
158
- formatter: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
158
+ formatter: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
159
159
  modelValue: string[];
160
160
  readonly: boolean;
161
161
  loading: boolean;
@@ -1,5 +1,5 @@
1
1
  import { DatePickerProps } from './DatePicker';
2
- export declare const DatePicker: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const DatePicker: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  loading: BooleanConstructor;
4
4
  readonly: BooleanConstructor;
5
5
  allowHtml: BooleanConstructor;
@@ -28,10 +28,10 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
28
28
  type: import("vue").PropType<string[]>;
29
29
  default: () => never[];
30
30
  };
31
- filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values?: string[] | undefined) => import("..").PickerOption[]>;
31
+ filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values?: string[] | undefined) => import("packages/vant/es").PickerOption[]>;
32
32
  formatter: {
33
- type: import("vue").PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
34
- default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
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;
35
35
  };
36
36
  } & {
37
37
  columnsType: {
@@ -77,10 +77,10 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
77
77
  type: import("vue").PropType<string[]>;
78
78
  default: () => never[];
79
79
  };
80
- filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values?: string[] | undefined) => import("..").PickerOption[]>;
80
+ filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values?: string[] | undefined) => import("packages/vant/es").PickerOption[]>;
81
81
  formatter: {
82
- type: import("vue").PropType<(type: string, option: import("..").PickerOption) => import("..").PickerOption>;
83
- default: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
82
+ type: import("vue").PropType<(type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption>;
83
+ default: (type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption;
84
84
  };
85
85
  } & {
86
86
  columnsType: {
@@ -103,7 +103,7 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
103
103
  onCancel?: ((...args: any[]) => any) | undefined;
104
104
  onConfirm?: ((...args: any[]) => any) | undefined;
105
105
  }, {
106
- formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
106
+ formatter: (type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption;
107
107
  modelValue: string[];
108
108
  readonly: boolean;
109
109
  loading: boolean;
@@ -17,7 +17,7 @@ export declare const dialogProps: {
17
17
  type: BooleanConstructor;
18
18
  default: true;
19
19
  };
20
- beforeClose: PropType<import("../utils").Interceptor>;
20
+ beforeClose: PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
21
21
  overlayStyle: PropType<import("vue").CSSProperties>;
22
22
  overlayClass: PropType<unknown>;
23
23
  transitionAppear: BooleanConstructor;
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<{
73
73
  type: BooleanConstructor;
74
74
  default: true;
75
75
  };
76
- beforeClose: PropType<import("../utils").Interceptor>;
76
+ beforeClose: PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
77
77
  overlayStyle: PropType<import("vue").CSSProperties>;
78
78
  overlayClass: PropType<unknown>;
79
79
  transitionAppear: BooleanConstructor;
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<{
127
127
  type: BooleanConstructor;
128
128
  default: true;
129
129
  };
130
- beforeClose: PropType<import("../utils").Interceptor>;
130
+ beforeClose: PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
131
131
  overlayStyle: PropType<import("vue").CSSProperties>;
132
132
  overlayClass: PropType<unknown>;
133
133
  transitionAppear: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const Dialog: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Dialog: 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 Dialog: 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;
@@ -69,7 +69,7 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
69
69
  type: BooleanConstructor;
70
70
  default: true;
71
71
  };
72
- beforeClose: import("vue").PropType<import("../utils").Interceptor>;
72
+ beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
73
73
  overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
74
74
  overlayClass: import("vue").PropType<unknown>;
75
75
  transitionAppear: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const Divider: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Divider: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  dashed: BooleanConstructor;
3
3
  hairline: {
4
4
  type: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { DropdownItemProps } from './DropdownItem';
2
- export declare const DropdownItem: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const DropdownItem: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  title: StringConstructor;
4
4
  options: {
5
5
  type: import("vue").PropType<import("./types").DropdownItemOption[]>;
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<{
79
79
  };
80
80
  swipeThreshold: (NumberConstructor | StringConstructor)[];
81
81
  }>>, {
82
- overlay: boolean;
83
82
  duration: string | number;
83
+ overlay: boolean;
84
84
  closeOnClickOverlay: boolean;
85
85
  direction: DropdownMenuDirection;
86
86
  autoLocate: boolean;
@@ -1,5 +1,5 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
- import { ref, computed, defineComponent, toRaw } from "vue";
2
+ import { ref, computed, defineComponent } from "vue";
3
3
  import { isDef, truthProp, numericProp, windowHeight, makeStringProp, makeNumericProp, createNamespace, HAPTICS_FEEDBACK } from "../utils/index.mjs";
4
4
  import { useId } from "../composables/use-id.mjs";
5
5
  import { useExpose } from "../composables/use-expose.mjs";
@@ -84,7 +84,7 @@ var stdin_default = defineComponent({
84
84
  const {
85
85
  disabled,
86
86
  titleClass
87
- } = toRaw(item.$props);
87
+ } = item;
88
88
  return _createVNode("div", {
89
89
  "id": `${id}-${index}`,
90
90
  "role": "button",
@@ -1,5 +1,5 @@
1
1
  import { DropdownMenuProps } from './DropdownMenu';
2
- export declare const DropdownMenu: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const DropdownMenu: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  overlay: {
4
4
  type: BooleanConstructor;
5
5
  default: true;
@@ -50,8 +50,8 @@ export declare const DropdownMenu: import("../utils").WithInstall<import("vue").
50
50
  };
51
51
  swipeThreshold: (NumberConstructor | StringConstructor)[];
52
52
  }>>, {
53
- overlay: boolean;
54
53
  duration: string | number;
54
+ overlay: boolean;
55
55
  closeOnClickOverlay: boolean;
56
56
  direction: import("./types").DropdownMenuDirection;
57
57
  autoLocate: boolean;
@@ -1,16 +1,16 @@
1
- export declare const Empty: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Empty: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  image: {
3
3
  type: import("vue").PropType<string>;
4
4
  default: string;
5
5
  };
6
- imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
6
+ imageSize: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | [import("packages/vant/es/utils/basic").Numeric, import("packages/vant/es/utils/basic").Numeric]>;
7
7
  description: StringConstructor;
8
8
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
9
  image: {
10
10
  type: import("vue").PropType<string>;
11
11
  default: string;
12
12
  };
13
- imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
13
+ imageSize: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | [import("packages/vant/es/utils/basic").Numeric, import("packages/vant/es/utils/basic").Numeric]>;
14
14
  description: StringConstructor;
15
15
  }>>, {
16
16
  image: string;
@@ -1,11 +1,11 @@
1
1
  import { FieldProps } from './Field';
2
- export declare const Field: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const Field: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  tag: {
4
4
  type: import("vue").PropType<keyof HTMLElementTagNameMap>;
5
5
  default: keyof HTMLElementTagNameMap;
6
6
  };
7
7
  icon: StringConstructor;
8
- size: import("vue").PropType<import("..").CellSize>;
8
+ size: import("vue").PropType<import("packages/vant/es").CellSize>;
9
9
  title: (NumberConstructor | StringConstructor)[];
10
10
  value: (NumberConstructor | StringConstructor)[];
11
11
  label: (NumberConstructor | StringConstructor)[];
@@ -20,7 +20,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
20
20
  labelClass: import("vue").PropType<unknown>;
21
21
  titleClass: import("vue").PropType<unknown>;
22
22
  titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
23
- arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
23
+ arrowDirection: import("vue").PropType<import("packages/vant/es").CellArrowDirection>;
24
24
  required: {
25
25
  type: import("vue").PropType<boolean | "auto">;
26
26
  default: null;
@@ -100,7 +100,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
100
100
  default: keyof HTMLElementTagNameMap;
101
101
  };
102
102
  icon: StringConstructor;
103
- size: import("vue").PropType<import("..").CellSize>;
103
+ size: import("vue").PropType<import("packages/vant/es").CellSize>;
104
104
  title: (NumberConstructor | StringConstructor)[];
105
105
  value: (NumberConstructor | StringConstructor)[];
106
106
  label: (NumberConstructor | StringConstructor)[];
@@ -115,7 +115,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
115
115
  labelClass: import("vue").PropType<unknown>;
116
116
  titleClass: import("vue").PropType<unknown>;
117
117
  titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
118
- arrowDirection: import("vue").PropType<import("..").CellArrowDirection>;
118
+ arrowDirection: import("vue").PropType<import("packages/vant/es").CellArrowDirection>;
119
119
  required: {
120
120
  type: import("vue").PropType<boolean | "auto">;
121
121
  default: null;
@@ -1,4 +1,4 @@
1
- export declare const FloatingBubble: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const FloatingBubble: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  gap: {
3
3
  type: NumberConstructor;
4
4
  default: number;
@@ -72,8 +72,8 @@ declare const _default: import("vue").DefineComponent<{
72
72
  "onUpdate:height"?: ((...args: any[]) => any) | undefined;
73
73
  }, {
74
74
  height: string | number;
75
- safeAreaInsetBottom: boolean;
76
75
  duration: string | number;
76
+ safeAreaInsetBottom: boolean;
77
77
  lockScroll: boolean;
78
78
  anchors: number[];
79
79
  contentDraggable: boolean;
@@ -1,4 +1,4 @@
1
- export declare const FloatingPanel: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const FloatingPanel: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  height: {
3
3
  type: (NumberConstructor | StringConstructor)[];
4
4
  default: number;
@@ -47,8 +47,8 @@ export declare const FloatingPanel: import("../utils").WithInstall<import("vue")
47
47
  "onUpdate:height"?: ((...args: any[]) => any) | undefined;
48
48
  }, {
49
49
  height: string | number;
50
- safeAreaInsetBottom: boolean;
51
50
  duration: string | number;
51
+ safeAreaInsetBottom: boolean;
52
52
  lockScroll: boolean;
53
53
  anchors: number[];
54
54
  contentDraggable: boolean;
@@ -1,13 +1,13 @@
1
1
  import { FormProps } from './Form';
2
- export declare const Form: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ export declare const Form: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
3
3
  colon: BooleanConstructor;
4
4
  disabled: BooleanConstructor;
5
5
  readonly: BooleanConstructor;
6
6
  required: import("vue").PropType<boolean | "auto">;
7
7
  showError: BooleanConstructor;
8
8
  labelWidth: (NumberConstructor | StringConstructor)[];
9
- labelAlign: import("vue").PropType<import("..").FieldTextAlign>;
10
- inputAlign: import("vue").PropType<import("..").FieldTextAlign>;
9
+ labelAlign: import("vue").PropType<import("packages/vant/es").FieldTextAlign>;
10
+ inputAlign: import("vue").PropType<import("packages/vant/es").FieldTextAlign>;
11
11
  scrollToError: BooleanConstructor;
12
12
  validateFirst: BooleanConstructor;
13
13
  submitOnEnter: {
@@ -18,9 +18,9 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
18
18
  type: BooleanConstructor;
19
19
  default: true;
20
20
  };
21
- errorMessageAlign: import("vue").PropType<import("..").FieldTextAlign>;
21
+ errorMessageAlign: import("vue").PropType<import("packages/vant/es").FieldTextAlign>;
22
22
  validateTrigger: {
23
- type: import("vue").PropType<import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[]>;
23
+ type: import("vue").PropType<import("packages/vant/es").FieldValidateTrigger | import("packages/vant/es").FieldValidateTrigger[]>;
24
24
  default: string;
25
25
  };
26
26
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "failed")[], "submit" | "failed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -30,8 +30,8 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
30
30
  required: import("vue").PropType<boolean | "auto">;
31
31
  showError: BooleanConstructor;
32
32
  labelWidth: (NumberConstructor | StringConstructor)[];
33
- labelAlign: import("vue").PropType<import("..").FieldTextAlign>;
34
- inputAlign: import("vue").PropType<import("..").FieldTextAlign>;
33
+ labelAlign: import("vue").PropType<import("packages/vant/es").FieldTextAlign>;
34
+ inputAlign: import("vue").PropType<import("packages/vant/es").FieldTextAlign>;
35
35
  scrollToError: BooleanConstructor;
36
36
  validateFirst: BooleanConstructor;
37
37
  submitOnEnter: {
@@ -42,9 +42,9 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
42
42
  type: BooleanConstructor;
43
43
  default: true;
44
44
  };
45
- errorMessageAlign: import("vue").PropType<import("..").FieldTextAlign>;
45
+ errorMessageAlign: import("vue").PropType<import("packages/vant/es").FieldTextAlign>;
46
46
  validateTrigger: {
47
- type: import("vue").PropType<import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[]>;
47
+ type: import("vue").PropType<import("packages/vant/es").FieldValidateTrigger | import("packages/vant/es").FieldValidateTrigger[]>;
48
48
  default: string;
49
49
  };
50
50
  }>> & {
@@ -59,7 +59,7 @@ export declare const Form: import("../utils").WithInstall<import("vue").DefineCo
59
59
  validateFirst: boolean;
60
60
  submitOnEnter: boolean;
61
61
  showErrorMessage: boolean;
62
- validateTrigger: import("..").FieldValidateTrigger | import("..").FieldValidateTrigger[];
62
+ validateTrigger: import("packages/vant/es").FieldValidateTrigger | import("packages/vant/es").FieldValidateTrigger[];
63
63
  }, {}>>;
64
64
  export default Form;
65
65
  export { formProps } from './Form';
@@ -1,4 +1,4 @@
1
- export declare const Grid: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Grid: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  square: BooleanConstructor;
3
3
  center: {
4
4
  type: BooleanConstructor;
@@ -1,4 +1,4 @@
1
- export declare const GridItem: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const GridItem: import("packages/vant/es/utils/with-install").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 GridItem: import("../utils").WithInstall<import("vue").Defi
9
9
  badge: (NumberConstructor | StringConstructor)[];
10
10
  iconColor: StringConstructor;
11
11
  iconPrefix: StringConstructor;
12
- badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
12
+ badgeProps: import("vue").PropType<Partial<import("packages/vant/es").BadgeProps>>;
13
13
  }, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
14
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
15
15
  url: StringConstructor;
@@ -21,7 +21,7 @@ export declare const GridItem: import("../utils").WithInstall<import("vue").Defi
21
21
  badge: (NumberConstructor | StringConstructor)[];
22
22
  iconColor: StringConstructor;
23
23
  iconPrefix: StringConstructor;
24
- badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
24
+ badgeProps: import("vue").PropType<Partial<import("packages/vant/es").BadgeProps>>;
25
25
  }>>, {
26
26
  replace: boolean;
27
27
  dot: boolean;
@@ -1,4 +1,4 @@
1
- export declare const Highlight: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Highlight: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  autoEscape: {
3
3
  type: BooleanConstructor;
4
4
  default: true;
@@ -1,4 +1,4 @@
1
- export declare const Icon: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Icon: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  dot: BooleanConstructor;
3
3
  tag: {
4
4
  type: import("vue").PropType<keyof HTMLElementTagNameMap>;
@@ -8,7 +8,7 @@ export declare const Icon: import("../utils").WithInstall<import("vue").DefineCo
8
8
  size: (NumberConstructor | StringConstructor)[];
9
9
  badge: (NumberConstructor | StringConstructor)[];
10
10
  color: StringConstructor;
11
- badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
11
+ badgeProps: import("vue").PropType<Partial<import("packages/vant/es").BadgeProps>>;
12
12
  classPrefix: StringConstructor;
13
13
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
14
  dot: BooleanConstructor;
@@ -20,7 +20,7 @@ export declare const Icon: import("../utils").WithInstall<import("vue").DefineCo
20
20
  size: (NumberConstructor | StringConstructor)[];
21
21
  badge: (NumberConstructor | StringConstructor)[];
22
22
  color: StringConstructor;
23
- badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
23
+ badgeProps: import("vue").PropType<Partial<import("packages/vant/es").BadgeProps>>;
24
24
  classPrefix: StringConstructor;
25
25
  }>>, {
26
26
  dot: boolean;
@@ -28,6 +28,8 @@ export declare const imageProps: {
28
28
  type: PropType<string>;
29
29
  default: string;
30
30
  };
31
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
32
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
31
33
  };
32
34
  export type ImageProps = ExtractPropTypes<typeof imageProps>;
33
35
  declare const _default: import("vue").DefineComponent<{
@@ -59,6 +61,8 @@ declare const _default: import("vue").DefineComponent<{
59
61
  type: PropType<string>;
60
62
  default: string;
61
63
  };
64
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
65
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
62
66
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "load")[], "error" | "load", import("vue").PublicProps, Readonly<ExtractPropTypes<{
63
67
  src: StringConstructor;
64
68
  alt: StringConstructor;
@@ -88,6 +92,8 @@ declare const _default: import("vue").DefineComponent<{
88
92
  type: PropType<string>;
89
93
  default: string;
90
94
  };
95
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
96
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
91
97
  }>> & {
92
98
  onLoad?: ((...args: any[]) => any) | undefined;
93
99
  onError?: ((...args: any[]) => any) | undefined;
@@ -19,7 +19,9 @@ const imageProps = {
19
19
  errorIcon: makeStringProp("photo-fail"),
20
20
  iconPrefix: String,
21
21
  showLoading: truthProp,
22
- loadingIcon: makeStringProp("photo")
22
+ loadingIcon: makeStringProp("photo"),
23
+ crossorigin: String,
24
+ referrerpolicy: String
23
25
  };
24
26
  var stdin_default = defineComponent({
25
27
  name,
@@ -102,7 +104,9 @@ var stdin_default = defineComponent({
102
104
  style: {
103
105
  objectFit: props.fit,
104
106
  objectPosition: props.position
105
- }
107
+ },
108
+ crossorigin: props.crossorigin,
109
+ referrerpolicy: props.referrerpolicy
106
110
  };
107
111
  if (props.lazyLoad) {
108
112
  return _withDirectives(_createVNode("img", _mergeProps({
@@ -1,4 +1,4 @@
1
- export declare const Image: import("../utils").WithInstall<import("vue").DefineComponent<{
1
+ export declare const Image: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
2
2
  src: StringConstructor;
3
3
  alt: StringConstructor;
4
4
  fit: import("vue").PropType<import("csstype").Property.ObjectFit | undefined>;
@@ -27,6 +27,8 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
27
27
  type: import("vue").PropType<string>;
28
28
  default: string;
29
29
  };
30
+ crossorigin: import("vue").PropType<"" | "anonymous" | "use-credentials" | undefined>;
31
+ referrerpolicy: import("vue").PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
30
32
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "load")[], "error" | "load", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
33
  src: StringConstructor;
32
34
  alt: StringConstructor;
@@ -56,6 +58,8 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
56
58
  type: import("vue").PropType<string>;
57
59
  default: string;
58
60
  };
61
+ crossorigin: import("vue").PropType<"" | "anonymous" | "use-credentials" | undefined>;
62
+ referrerpolicy: import("vue").PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
59
63
  }>> & {
60
64
  onLoad?: ((...args: any[]) => any) | undefined;
61
65
  onError?: ((...args: any[]) => any) | undefined;