vant 4.9.9 → 4.9.11

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 (284) hide show
  1. package/es/action-sheet/ActionSheet.d.ts +6 -6
  2. package/es/action-sheet/index.d.ts +4 -4
  3. package/es/address-edit/AddressEdit.d.ts +3 -3
  4. package/es/address-edit/index.d.ts +2 -2
  5. package/es/address-list/AddressList.d.ts +9 -9
  6. package/es/address-list/AddressListItem.d.ts +2 -2
  7. package/es/address-list/index.d.ts +6 -6
  8. package/es/area/Area.d.ts +3 -3
  9. package/es/area/index.d.ts +2 -2
  10. package/es/badge/Badge.d.ts +6 -6
  11. package/es/badge/index.d.ts +4 -4
  12. package/es/barrage/Barrage.d.ts +3 -3
  13. package/es/barrage/index.d.ts +2 -2
  14. package/es/button/Button.d.ts +15 -15
  15. package/es/button/index.d.ts +10 -10
  16. package/es/calendar/Calendar.d.ts +9 -9
  17. package/es/calendar/CalendarHeader.d.ts +2 -2
  18. package/es/calendar/index.d.ts +6 -6
  19. package/es/card/Card.d.ts +3 -3
  20. package/es/card/index.d.ts +2 -2
  21. package/es/cascader/Cascader.d.ts +6 -6
  22. package/es/cascader/index.d.ts +4 -4
  23. package/es/cell/Cell.d.ts +4 -4
  24. package/es/cell/index.d.ts +2 -2
  25. package/es/checkbox-group/CheckboxGroup.d.ts +6 -6
  26. package/es/checkbox-group/index.d.ts +4 -4
  27. package/es/circle/Circle.d.ts +6 -6
  28. package/es/circle/index.d.ts +4 -4
  29. package/es/col/Col.d.ts +3 -3
  30. package/es/col/index.d.ts +2 -2
  31. package/es/collapse-item/CollapseItem.d.ts +3 -3
  32. package/es/collapse-item/index.d.ts +2 -2
  33. package/es/composables/use-lazy-render.d.ts +1 -1
  34. package/es/config-provider/ConfigProvider.d.ts +9 -9
  35. package/es/config-provider/index.d.ts +6 -6
  36. package/es/contact-card/ContactCard.d.ts +3 -3
  37. package/es/contact-card/index.d.ts +2 -2
  38. package/es/count-down/CountDown.d.ts +3 -3
  39. package/es/count-down/index.d.ts +2 -2
  40. package/es/coupon/Coupon.d.ts +2 -2
  41. package/es/coupon/index.d.ts +2 -2
  42. package/es/coupon-cell/CouponCell.d.ts +6 -6
  43. package/es/coupon-cell/index.d.ts +4 -4
  44. package/es/coupon-list/CouponList.d.ts +12 -12
  45. package/es/coupon-list/index.d.ts +8 -8
  46. package/es/date-picker/DatePicker.d.ts +3 -3
  47. package/es/date-picker/index.d.ts +2 -2
  48. package/es/date-picker/utils.d.ts +1 -1
  49. package/es/dialog/Dialog.d.ts +3 -3
  50. package/es/dialog/index.d.ts +2 -2
  51. package/es/divider/Divider.d.ts +3 -3
  52. package/es/divider/index.d.ts +2 -2
  53. package/es/dropdown-item/DropdownItem.d.ts +3 -3
  54. package/es/dropdown-item/index.d.ts +2 -2
  55. package/es/dropdown-menu/DropdownMenu.d.ts +3 -3
  56. package/es/dropdown-menu/index.d.ts +2 -2
  57. package/es/empty/Empty.d.ts +3 -3
  58. package/es/empty/index.d.ts +2 -2
  59. package/es/field/Field.d.ts +18 -18
  60. package/es/field/index.d.ts +10 -10
  61. package/es/floating-bubble/FloatingBubble.d.ts +3 -3
  62. package/es/floating-bubble/index.d.ts +2 -2
  63. package/es/floating-panel/FloatingPanel.d.ts +3 -3
  64. package/es/floating-panel/index.d.ts +2 -2
  65. package/es/highlight/Highlight.d.ts +12 -12
  66. package/es/highlight/index.d.ts +8 -8
  67. package/es/icon/Icon.d.ts +3 -3
  68. package/es/icon/index.d.ts +2 -2
  69. package/es/image/Image.d.ts +6 -6
  70. package/es/image/index.d.ts +4 -4
  71. package/es/image-preview/ImagePreview.d.ts +9 -9
  72. package/es/image-preview/index.d.ts +6 -6
  73. package/es/index.d.ts +1 -1
  74. package/es/index.mjs +1 -1
  75. package/es/list/List.d.ts +3 -3
  76. package/es/list/index.d.ts +2 -2
  77. package/es/loading/Loading.d.ts +3 -3
  78. package/es/loading/index.d.ts +2 -2
  79. package/es/notify/Notify.d.ts +6 -6
  80. package/es/notify/index.d.ts +4 -4
  81. package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
  82. package/es/number-keyboard/index.d.ts +4 -4
  83. package/es/pagination/Pagination.d.ts +3 -3
  84. package/es/pagination/index.d.ts +2 -2
  85. package/es/password-input/PasswordInput.d.ts +3 -3
  86. package/es/password-input/index.d.ts +2 -2
  87. package/es/picker/Picker.d.ts +9 -9
  88. package/es/picker/Picker.mjs +3 -0
  89. package/es/picker/PickerColumn.d.ts +2 -2
  90. package/es/picker/index.d.ts +6 -6
  91. package/es/picker-group/PickerGroup.d.ts +3 -3
  92. package/es/picker-group/index.d.ts +2 -2
  93. package/es/popover/Popover.d.ts +15 -15
  94. package/es/popover/index.d.ts +10 -10
  95. package/es/popup/Popup.d.ts +13 -9
  96. package/es/popup/Popup.mjs +8 -2
  97. package/es/popup/index.d.ts +9 -6
  98. package/es/rate/Rate.d.ts +6 -6
  99. package/es/rate/index.d.ts +4 -4
  100. package/es/rolling-text/RollingText.d.ts +9 -9
  101. package/es/rolling-text/RollingTextItem.d.ts +6 -6
  102. package/es/rolling-text/index.d.ts +6 -6
  103. package/es/row/Row.d.ts +3 -3
  104. package/es/row/index.d.ts +2 -2
  105. package/es/search/Search.d.ts +15 -15
  106. package/es/search/index.d.ts +10 -10
  107. package/es/share-sheet/ShareSheet.d.ts +3 -3
  108. package/es/share-sheet/index.d.ts +2 -2
  109. package/es/signature/Signature.d.ts +9 -9
  110. package/es/signature/index.d.ts +6 -6
  111. package/es/skeleton/Skeleton.d.ts +3 -3
  112. package/es/skeleton/index.d.ts +2 -2
  113. package/es/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
  114. package/es/skeleton-avatar/index.d.ts +2 -2
  115. package/es/skeleton-image/SkeletonImage.d.ts +3 -3
  116. package/es/skeleton-image/index.d.ts +2 -2
  117. package/es/steps/Steps.d.ts +6 -6
  118. package/es/steps/index.d.ts +4 -4
  119. package/es/sticky/Sticky.d.ts +3 -3
  120. package/es/sticky/index.d.ts +2 -2
  121. package/es/submit-bar/SubmitBar.d.ts +6 -6
  122. package/es/submit-bar/index.d.ts +4 -4
  123. package/es/tabs/Tabs.d.ts +3 -3
  124. package/es/tabs/index.d.ts +2 -2
  125. package/es/tag/Tag.d.ts +3 -3
  126. package/es/tag/index.d.ts +2 -2
  127. package/es/text-ellipsis/TextEllipsis.d.ts +15 -15
  128. package/es/text-ellipsis/index.d.ts +10 -10
  129. package/es/time-picker/TimePicker.d.ts +3 -3
  130. package/es/time-picker/index.d.ts +2 -2
  131. package/es/toast/Toast.d.ts +9 -9
  132. package/es/toast/index.d.ts +6 -6
  133. package/es/tree-select/TreeSelect.d.ts +6 -6
  134. package/es/tree-select/index.d.ts +4 -4
  135. package/es/uploader/Uploader.d.ts +15 -15
  136. package/es/uploader/index.d.ts +10 -10
  137. package/es/watermark/Watermark.d.ts +3 -3
  138. package/es/watermark/index.d.ts +2 -2
  139. package/lib/action-sheet/ActionSheet.d.ts +6 -6
  140. package/lib/action-sheet/index.d.ts +4 -4
  141. package/lib/address-edit/AddressEdit.d.ts +3 -3
  142. package/lib/address-edit/index.d.ts +2 -2
  143. package/lib/address-list/AddressList.d.ts +9 -9
  144. package/lib/address-list/AddressListItem.d.ts +2 -2
  145. package/lib/address-list/index.d.ts +6 -6
  146. package/lib/area/Area.d.ts +3 -3
  147. package/lib/area/index.d.ts +2 -2
  148. package/lib/badge/Badge.d.ts +6 -6
  149. package/lib/badge/index.d.ts +4 -4
  150. package/lib/barrage/Barrage.d.ts +3 -3
  151. package/lib/barrage/index.d.ts +2 -2
  152. package/lib/button/Button.d.ts +15 -15
  153. package/lib/button/index.d.ts +10 -10
  154. package/lib/calendar/Calendar.d.ts +9 -9
  155. package/lib/calendar/CalendarHeader.d.ts +2 -2
  156. package/lib/calendar/index.d.ts +6 -6
  157. package/lib/card/Card.d.ts +3 -3
  158. package/lib/card/index.d.ts +2 -2
  159. package/lib/cascader/Cascader.d.ts +6 -6
  160. package/lib/cascader/index.d.ts +4 -4
  161. package/lib/cell/Cell.d.ts +4 -4
  162. package/lib/cell/index.d.ts +2 -2
  163. package/lib/checkbox-group/CheckboxGroup.d.ts +6 -6
  164. package/lib/checkbox-group/index.d.ts +4 -4
  165. package/lib/circle/Circle.d.ts +6 -6
  166. package/lib/circle/index.d.ts +4 -4
  167. package/lib/col/Col.d.ts +3 -3
  168. package/lib/col/index.d.ts +2 -2
  169. package/lib/collapse-item/CollapseItem.d.ts +3 -3
  170. package/lib/collapse-item/index.d.ts +2 -2
  171. package/lib/composables/use-lazy-render.d.ts +1 -1
  172. package/lib/config-provider/ConfigProvider.d.ts +9 -9
  173. package/lib/config-provider/index.d.ts +6 -6
  174. package/lib/contact-card/ContactCard.d.ts +3 -3
  175. package/lib/contact-card/index.d.ts +2 -2
  176. package/lib/count-down/CountDown.d.ts +3 -3
  177. package/lib/count-down/index.d.ts +2 -2
  178. package/lib/coupon/Coupon.d.ts +2 -2
  179. package/lib/coupon/index.d.ts +2 -2
  180. package/lib/coupon-cell/CouponCell.d.ts +6 -6
  181. package/lib/coupon-cell/index.d.ts +4 -4
  182. package/lib/coupon-list/CouponList.d.ts +12 -12
  183. package/lib/coupon-list/index.d.ts +8 -8
  184. package/lib/date-picker/DatePicker.d.ts +3 -3
  185. package/lib/date-picker/index.d.ts +2 -2
  186. package/lib/date-picker/utils.d.ts +1 -1
  187. package/lib/dialog/Dialog.d.ts +3 -3
  188. package/lib/dialog/index.d.ts +2 -2
  189. package/lib/divider/Divider.d.ts +3 -3
  190. package/lib/divider/index.d.ts +2 -2
  191. package/lib/dropdown-item/DropdownItem.d.ts +3 -3
  192. package/lib/dropdown-item/index.d.ts +2 -2
  193. package/lib/dropdown-menu/DropdownMenu.d.ts +3 -3
  194. package/lib/dropdown-menu/index.d.ts +2 -2
  195. package/lib/empty/Empty.d.ts +3 -3
  196. package/lib/empty/index.d.ts +2 -2
  197. package/lib/field/Field.d.ts +18 -18
  198. package/lib/field/index.d.ts +10 -10
  199. package/lib/floating-bubble/FloatingBubble.d.ts +3 -3
  200. package/lib/floating-bubble/index.d.ts +2 -2
  201. package/lib/floating-panel/FloatingPanel.d.ts +3 -3
  202. package/lib/floating-panel/index.d.ts +2 -2
  203. package/lib/highlight/Highlight.d.ts +12 -12
  204. package/lib/highlight/index.d.ts +8 -8
  205. package/lib/icon/Icon.d.ts +3 -3
  206. package/lib/icon/index.d.ts +2 -2
  207. package/lib/image/Image.d.ts +6 -6
  208. package/lib/image/index.d.ts +4 -4
  209. package/lib/image-preview/ImagePreview.d.ts +9 -9
  210. package/lib/image-preview/index.d.ts +6 -6
  211. package/lib/index.d.ts +1 -1
  212. package/lib/index.js +1 -1
  213. package/lib/list/List.d.ts +3 -3
  214. package/lib/list/index.d.ts +2 -2
  215. package/lib/loading/Loading.d.ts +3 -3
  216. package/lib/loading/index.d.ts +2 -2
  217. package/lib/notify/Notify.d.ts +6 -6
  218. package/lib/notify/index.d.ts +4 -4
  219. package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
  220. package/lib/number-keyboard/index.d.ts +4 -4
  221. package/lib/pagination/Pagination.d.ts +3 -3
  222. package/lib/pagination/index.d.ts +2 -2
  223. package/lib/password-input/PasswordInput.d.ts +3 -3
  224. package/lib/password-input/index.d.ts +2 -2
  225. package/lib/picker/Picker.d.ts +9 -9
  226. package/lib/picker/Picker.js +3 -0
  227. package/lib/picker/PickerColumn.d.ts +2 -2
  228. package/lib/picker/index.d.ts +6 -6
  229. package/lib/picker-group/PickerGroup.d.ts +3 -3
  230. package/lib/picker-group/index.d.ts +2 -2
  231. package/lib/popover/Popover.d.ts +15 -15
  232. package/lib/popover/index.d.ts +10 -10
  233. package/lib/popup/Popup.d.ts +13 -9
  234. package/lib/popup/Popup.js +8 -2
  235. package/lib/popup/index.d.ts +9 -6
  236. package/lib/rate/Rate.d.ts +6 -6
  237. package/lib/rate/index.d.ts +4 -4
  238. package/lib/rolling-text/RollingText.d.ts +9 -9
  239. package/lib/rolling-text/RollingTextItem.d.ts +6 -6
  240. package/lib/rolling-text/index.d.ts +6 -6
  241. package/lib/row/Row.d.ts +3 -3
  242. package/lib/row/index.d.ts +2 -2
  243. package/lib/search/Search.d.ts +15 -15
  244. package/lib/search/index.d.ts +10 -10
  245. package/lib/share-sheet/ShareSheet.d.ts +3 -3
  246. package/lib/share-sheet/index.d.ts +2 -2
  247. package/lib/signature/Signature.d.ts +9 -9
  248. package/lib/signature/index.d.ts +6 -6
  249. package/lib/skeleton/Skeleton.d.ts +3 -3
  250. package/lib/skeleton/index.d.ts +2 -2
  251. package/lib/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
  252. package/lib/skeleton-avatar/index.d.ts +2 -2
  253. package/lib/skeleton-image/SkeletonImage.d.ts +3 -3
  254. package/lib/skeleton-image/index.d.ts +2 -2
  255. package/lib/steps/Steps.d.ts +6 -6
  256. package/lib/steps/index.d.ts +4 -4
  257. package/lib/sticky/Sticky.d.ts +3 -3
  258. package/lib/sticky/index.d.ts +2 -2
  259. package/lib/submit-bar/SubmitBar.d.ts +6 -6
  260. package/lib/submit-bar/index.d.ts +4 -4
  261. package/lib/tabs/Tabs.d.ts +3 -3
  262. package/lib/tabs/index.d.ts +2 -2
  263. package/lib/tag/Tag.d.ts +3 -3
  264. package/lib/tag/index.d.ts +2 -2
  265. package/lib/text-ellipsis/TextEllipsis.d.ts +15 -15
  266. package/lib/text-ellipsis/index.d.ts +10 -10
  267. package/lib/time-picker/TimePicker.d.ts +3 -3
  268. package/lib/time-picker/index.d.ts +2 -2
  269. package/lib/toast/Toast.d.ts +9 -9
  270. package/lib/toast/index.d.ts +6 -6
  271. package/lib/tree-select/TreeSelect.d.ts +6 -6
  272. package/lib/tree-select/index.d.ts +4 -4
  273. package/lib/uploader/Uploader.d.ts +15 -15
  274. package/lib/uploader/index.d.ts +10 -10
  275. package/lib/utils/support.js +1 -0
  276. package/lib/vant.cjs.js +12 -3
  277. package/lib/vant.es.js +12 -3
  278. package/lib/vant.js +1765 -1816
  279. package/lib/vant.min.js +3 -3
  280. package/lib/watermark/Watermark.d.ts +3 -3
  281. package/lib/watermark/index.d.ts +2 -2
  282. package/lib/web-types.json +1 -1
  283. package/package.json +33 -32
  284. package/README.md +0 -178
@@ -8,7 +8,7 @@ export declare const imagePreviewProps: {
8
8
  default: true;
9
9
  };
10
10
  images: {
11
- type: PropType<string[]>;
11
+ type: PropType<T[]>;
12
12
  default: () => never[];
13
13
  };
14
14
  minZoom: {
@@ -31,7 +31,7 @@ export declare const imagePreviewProps: {
31
31
  };
32
32
  className: PropType<unknown>;
33
33
  closeIcon: {
34
- type: PropType<string>;
34
+ type: PropType<T_1>;
35
35
  default: string;
36
36
  };
37
37
  transition: StringConstructor;
@@ -64,7 +64,7 @@ export declare const imagePreviewProps: {
64
64
  default: true;
65
65
  };
66
66
  closeIconPosition: {
67
- type: PropType<PopupCloseIconPosition>;
67
+ type: PropType<T_1>;
68
68
  default: PopupCloseIconPosition;
69
69
  };
70
70
  teleport: PropType<TeleportProps["to"]>;
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
77
77
  default: true;
78
78
  };
79
79
  images: {
80
- type: PropType<string[]>;
80
+ type: PropType<T[]>;
81
81
  default: () => never[];
82
82
  };
83
83
  minZoom: {
@@ -100,7 +100,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
100
100
  };
101
101
  className: PropType<unknown>;
102
102
  closeIcon: {
103
- type: PropType<string>;
103
+ type: PropType<T_1>;
104
104
  default: string;
105
105
  };
106
106
  transition: StringConstructor;
@@ -133,7 +133,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
133
133
  default: true;
134
134
  };
135
135
  closeIconPosition: {
136
- type: PropType<PopupCloseIconPosition>;
136
+ type: PropType<T_1>;
137
137
  default: PopupCloseIconPosition;
138
138
  };
139
139
  teleport: PropType<TeleportProps["to"]>;
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
144
144
  default: true;
145
145
  };
146
146
  images: {
147
- type: PropType<string[]>;
147
+ type: PropType<T[]>;
148
148
  default: () => never[];
149
149
  };
150
150
  minZoom: {
@@ -167,7 +167,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
167
167
  };
168
168
  className: PropType<unknown>;
169
169
  closeIcon: {
170
- type: PropType<string>;
170
+ type: PropType<T_1>;
171
171
  default: string;
172
172
  };
173
173
  transition: StringConstructor;
@@ -200,7 +200,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
200
200
  default: true;
201
201
  };
202
202
  closeIconPosition: {
203
- type: PropType<PopupCloseIconPosition>;
203
+ type: PropType<T_1>;
204
204
  default: PopupCloseIconPosition;
205
205
  };
206
206
  teleport: PropType<TeleportProps["to"]>;
@@ -6,7 +6,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
6
6
  default: true;
7
7
  };
8
8
  images: {
9
- type: import("vue").PropType<string[]>;
9
+ type: import("vue").PropType<T[]>;
10
10
  default: () => never[];
11
11
  };
12
12
  minZoom: {
@@ -29,7 +29,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
29
29
  };
30
30
  className: import("vue").PropType<unknown>;
31
31
  closeIcon: {
32
- type: import("vue").PropType<string>;
32
+ type: import("vue").PropType<T_1>;
33
33
  default: string;
34
34
  };
35
35
  transition: StringConstructor;
@@ -62,7 +62,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
62
62
  default: true;
63
63
  };
64
64
  closeIconPosition: {
65
- type: import("vue").PropType<import("..").PopupCloseIconPosition>;
65
+ type: import("vue").PropType<T_1>;
66
66
  default: import("..").PopupCloseIconPosition;
67
67
  };
68
68
  teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
@@ -73,7 +73,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
73
73
  default: true;
74
74
  };
75
75
  images: {
76
- type: import("vue").PropType<string[]>;
76
+ type: import("vue").PropType<T[]>;
77
77
  default: () => never[];
78
78
  };
79
79
  minZoom: {
@@ -96,7 +96,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
96
96
  };
97
97
  className: import("vue").PropType<unknown>;
98
98
  closeIcon: {
99
- type: import("vue").PropType<string>;
99
+ type: import("vue").PropType<T_1>;
100
100
  default: string;
101
101
  };
102
102
  transition: StringConstructor;
@@ -129,7 +129,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
129
129
  default: true;
130
130
  };
131
131
  closeIconPosition: {
132
- type: import("vue").PropType<import("..").PopupCloseIconPosition>;
132
+ type: import("vue").PropType<T_1>;
133
133
  default: import("..").PopupCloseIconPosition;
134
134
  };
135
135
  teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
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.9.9";
109
+ export const version: "4.9.10";
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.9.9";
102
+ const version = "4.9.10";
103
103
  function install(app) {
104
104
  const components = [
105
105
  ActionBar,
package/es/list/List.d.ts CHANGED
@@ -12,7 +12,7 @@ export declare const listProps: {
12
12
  scroller: PropType<Element>;
13
13
  errorText: StringConstructor;
14
14
  direction: {
15
- type: PropType<ListDirection>;
15
+ type: PropType<T>;
16
16
  default: ListDirection;
17
17
  };
18
18
  loadingText: StringConstructor;
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
35
35
  scroller: PropType<Element>;
36
36
  errorText: StringConstructor;
37
37
  direction: {
38
- type: PropType<ListDirection>;
38
+ type: PropType<T>;
39
39
  default: ListDirection;
40
40
  };
41
41
  loadingText: StringConstructor;
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
56
56
  scroller: PropType<Element>;
57
57
  errorText: StringConstructor;
58
58
  direction: {
59
- type: PropType<ListDirection>;
59
+ type: PropType<T>;
60
60
  default: ListDirection;
61
61
  };
62
62
  loadingText: StringConstructor;
@@ -11,7 +11,7 @@ export declare const List: import("../utils").WithInstall<import("vue").DefineCo
11
11
  scroller: import("vue").PropType<Element>;
12
12
  errorText: StringConstructor;
13
13
  direction: {
14
- type: import("vue").PropType<import("./types").ListDirection>;
14
+ type: import("vue").PropType<T>;
15
15
  default: import("./types").ListDirection;
16
16
  };
17
17
  loadingText: StringConstructor;
@@ -32,7 +32,7 @@ export declare const List: import("../utils").WithInstall<import("vue").DefineCo
32
32
  scroller: import("vue").PropType<Element>;
33
33
  errorText: StringConstructor;
34
34
  direction: {
35
- type: import("vue").PropType<import("./types").ListDirection>;
35
+ type: import("vue").PropType<T>;
36
36
  default: import("./types").ListDirection;
37
37
  };
38
38
  loadingText: StringConstructor;
@@ -3,7 +3,7 @@ export type LoadingType = 'circular' | 'spinner';
3
3
  export declare const loadingProps: {
4
4
  size: (NumberConstructor | StringConstructor)[];
5
5
  type: {
6
- type: import("vue").PropType<LoadingType>;
6
+ type: import("vue").PropType<T>;
7
7
  default: LoadingType;
8
8
  };
9
9
  color: StringConstructor;
@@ -15,7 +15,7 @@ export type LoadingProps = ExtractPropTypes<typeof loadingProps>;
15
15
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
16
16
  size: (NumberConstructor | StringConstructor)[];
17
17
  type: {
18
- type: import("vue").PropType<LoadingType>;
18
+ type: import("vue").PropType<T>;
19
19
  default: LoadingType;
20
20
  };
21
21
  color: StringConstructor;
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
25
25
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
26
26
  size: (NumberConstructor | StringConstructor)[];
27
27
  type: {
28
- type: import("vue").PropType<LoadingType>;
28
+ type: import("vue").PropType<T>;
29
29
  default: LoadingType;
30
30
  };
31
31
  color: StringConstructor;
@@ -1,7 +1,7 @@
1
1
  export declare const Loading: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  size: (NumberConstructor | StringConstructor)[];
3
3
  type: {
4
- type: import("vue").PropType<import("./Loading").LoadingType>;
4
+ type: import("vue").PropType<T>;
5
5
  default: import("./Loading").LoadingType;
6
6
  };
7
7
  color: StringConstructor;
@@ -11,7 +11,7 @@ export declare const Loading: import("../utils").WithInstall<import("vue").Defin
11
11
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
12
  size: (NumberConstructor | StringConstructor)[];
13
13
  type: {
14
- type: import("vue").PropType<import("./Loading").LoadingType>;
14
+ type: import("vue").PropType<T>;
15
15
  default: import("./Loading").LoadingType;
16
16
  };
17
17
  color: StringConstructor;
@@ -27,13 +27,13 @@ export declare const notifyProps: {
27
27
  };
28
28
  } & {
29
29
  type: {
30
- type: import("vue").PropType<NotifyType>;
30
+ type: import("vue").PropType<T>;
31
31
  default: NotifyType;
32
32
  };
33
33
  color: StringConstructor;
34
34
  message: (NumberConstructor | StringConstructor)[];
35
35
  position: {
36
- type: import("vue").PropType<NotifyPosition>;
36
+ type: import("vue").PropType<T>;
37
37
  default: NotifyPosition;
38
38
  };
39
39
  className: import("vue").PropType<unknown>;
@@ -68,13 +68,13 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
68
68
  };
69
69
  } & {
70
70
  type: {
71
- type: import("vue").PropType<NotifyType>;
71
+ type: import("vue").PropType<T>;
72
72
  default: NotifyType;
73
73
  };
74
74
  color: StringConstructor;
75
75
  message: (NumberConstructor | StringConstructor)[];
76
76
  position: {
77
- type: import("vue").PropType<NotifyPosition>;
77
+ type: import("vue").PropType<T>;
78
78
  default: NotifyPosition;
79
79
  };
80
80
  className: import("vue").PropType<unknown>;
@@ -107,13 +107,13 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
107
107
  };
108
108
  } & {
109
109
  type: {
110
- type: import("vue").PropType<NotifyType>;
110
+ type: import("vue").PropType<T>;
111
111
  default: NotifyType;
112
112
  };
113
113
  color: StringConstructor;
114
114
  message: (NumberConstructor | StringConstructor)[];
115
115
  position: {
116
- type: import("vue").PropType<NotifyPosition>;
116
+ type: import("vue").PropType<T>;
117
117
  default: NotifyPosition;
118
118
  };
119
119
  className: import("vue").PropType<unknown>;
@@ -25,13 +25,13 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
25
25
  };
26
26
  } & {
27
27
  type: {
28
- type: import("vue").PropType<import("./types").NotifyType>;
28
+ type: import("vue").PropType<T>;
29
29
  default: import("./types").NotifyType;
30
30
  };
31
31
  color: StringConstructor;
32
32
  message: (NumberConstructor | StringConstructor)[];
33
33
  position: {
34
- type: import("vue").PropType<import("./types").NotifyPosition>;
34
+ type: import("vue").PropType<T>;
35
35
  default: import("./types").NotifyPosition;
36
36
  };
37
37
  className: import("vue").PropType<unknown>;
@@ -64,13 +64,13 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
64
64
  };
65
65
  } & {
66
66
  type: {
67
- type: import("vue").PropType<import("./types").NotifyType>;
67
+ type: import("vue").PropType<T>;
68
68
  default: import("./types").NotifyType;
69
69
  };
70
70
  color: StringConstructor;
71
71
  message: (NumberConstructor | StringConstructor)[];
72
72
  position: {
73
- type: import("vue").PropType<import("./types").NotifyPosition>;
73
+ type: import("vue").PropType<T>;
74
74
  default: import("./types").NotifyPosition;
75
75
  };
76
76
  className: import("vue").PropType<unknown>;
@@ -4,7 +4,7 @@ export declare const numberKeyboardProps: {
4
4
  show: BooleanConstructor;
5
5
  title: StringConstructor;
6
6
  theme: {
7
- type: PropType<NumberKeyboardTheme>;
7
+ type: PropType<T>;
8
8
  default: NumberKeyboardTheme;
9
9
  };
10
10
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -14,7 +14,7 @@ export declare const numberKeyboardProps: {
14
14
  default: number;
15
15
  };
16
16
  modelValue: {
17
- type: PropType<string>;
17
+ type: PropType<T>;
18
18
  default: string;
19
19
  };
20
20
  transition: {
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
51
51
  show: BooleanConstructor;
52
52
  title: StringConstructor;
53
53
  theme: {
54
- type: PropType<NumberKeyboardTheme>;
54
+ type: PropType<T>;
55
55
  default: NumberKeyboardTheme;
56
56
  };
57
57
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
61
61
  default: number;
62
62
  };
63
63
  modelValue: {
64
- type: PropType<string>;
64
+ type: PropType<T>;
65
65
  default: string;
66
66
  };
67
67
  transition: {
@@ -96,7 +96,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
96
96
  show: BooleanConstructor;
97
97
  title: StringConstructor;
98
98
  theme: {
99
- type: PropType<NumberKeyboardTheme>;
99
+ type: PropType<T>;
100
100
  default: NumberKeyboardTheme;
101
101
  };
102
102
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -106,7 +106,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
106
106
  default: number;
107
107
  };
108
108
  modelValue: {
109
- type: PropType<string>;
109
+ type: PropType<T>;
110
110
  default: string;
111
111
  };
112
112
  transition: {
@@ -2,7 +2,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
2
2
  show: BooleanConstructor;
3
3
  title: StringConstructor;
4
4
  theme: {
5
- type: import("vue").PropType<import("./NumberKeyboard").NumberKeyboardTheme>;
5
+ type: import("vue").PropType<T>;
6
6
  default: import("./NumberKeyboard").NumberKeyboardTheme;
7
7
  };
8
8
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -12,7 +12,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
12
12
  default: number;
13
13
  };
14
14
  modelValue: {
15
- type: import("vue").PropType<string>;
15
+ type: import("vue").PropType<T>;
16
16
  default: string;
17
17
  };
18
18
  transition: {
@@ -47,7 +47,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
47
47
  show: BooleanConstructor;
48
48
  title: StringConstructor;
49
49
  theme: {
50
- type: import("vue").PropType<import("./NumberKeyboard").NumberKeyboardTheme>;
50
+ type: import("vue").PropType<T>;
51
51
  default: import("./NumberKeyboard").NumberKeyboardTheme;
52
52
  };
53
53
  zIndex: (NumberConstructor | StringConstructor)[];
@@ -57,7 +57,7 @@ export declare const NumberKeyboard: import("../utils").WithInstall<import("vue"
57
57
  default: number;
58
58
  };
59
59
  modelValue: {
60
- type: import("vue").PropType<string>;
60
+ type: import("vue").PropType<T>;
61
61
  default: string;
62
62
  };
63
63
  transition: {
@@ -2,7 +2,7 @@ import { type ExtractPropTypes } from 'vue';
2
2
  export type PaginationMode = 'simple' | 'multi';
3
3
  export declare const paginationProps: {
4
4
  mode: {
5
- type: import("vue").PropType<PaginationMode>;
5
+ type: import("vue").PropType<T>;
6
6
  default: PaginationMode;
7
7
  };
8
8
  prevText: StringConstructor;
@@ -40,7 +40,7 @@ export declare const paginationProps: {
40
40
  export type PaginationProps = ExtractPropTypes<typeof paginationProps>;
41
41
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
42
42
  mode: {
43
- type: import("vue").PropType<PaginationMode>;
43
+ type: import("vue").PropType<T>;
44
44
  default: PaginationMode;
45
45
  };
46
46
  prevText: StringConstructor;
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
76
76
  };
77
77
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
78
78
  mode: {
79
- type: import("vue").PropType<PaginationMode>;
79
+ type: import("vue").PropType<T>;
80
80
  default: PaginationMode;
81
81
  };
82
82
  prevText: StringConstructor;
@@ -1,6 +1,6 @@
1
1
  export declare const Pagination: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  mode: {
3
- type: import("vue").PropType<import("./Pagination").PaginationMode>;
3
+ type: import("vue").PropType<T>;
4
4
  default: import("./Pagination").PaginationMode;
5
5
  };
6
6
  prevText: StringConstructor;
@@ -36,7 +36,7 @@ export declare const Pagination: import("../utils").WithInstall<import("vue").De
36
36
  };
37
37
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
38
  mode: {
39
- type: import("vue").PropType<import("./Pagination").PaginationMode>;
39
+ type: import("vue").PropType<T>;
40
40
  default: import("./Pagination").PaginationMode;
41
41
  };
42
42
  prevText: StringConstructor;
@@ -6,7 +6,7 @@ export declare const passwordInputProps: {
6
6
  default: true;
7
7
  };
8
8
  value: {
9
- type: import("vue").PropType<string>;
9
+ type: import("vue").PropType<T>;
10
10
  default: string;
11
11
  };
12
12
  gutter: (NumberConstructor | StringConstructor)[];
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
25
25
  default: true;
26
26
  };
27
27
  value: {
28
- type: import("vue").PropType<string>;
28
+ type: import("vue").PropType<T>;
29
29
  default: string;
30
30
  };
31
31
  gutter: (NumberConstructor | StringConstructor)[];
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
42
42
  default: true;
43
43
  };
44
44
  value: {
45
- type: import("vue").PropType<string>;
45
+ type: import("vue").PropType<T>;
46
46
  default: string;
47
47
  };
48
48
  gutter: (NumberConstructor | StringConstructor)[];
@@ -5,7 +5,7 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
5
5
  default: true;
6
6
  };
7
7
  value: {
8
- type: import("vue").PropType<string>;
8
+ type: import("vue").PropType<T>;
9
9
  default: string;
10
10
  };
11
11
  gutter: (NumberConstructor | StringConstructor)[];
@@ -22,7 +22,7 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
22
22
  default: true;
23
23
  };
24
24
  value: {
25
- type: import("vue").PropType<string>;
25
+ type: import("vue").PropType<T>;
26
26
  default: string;
27
27
  };
28
28
  gutter: (NumberConstructor | StringConstructor)[];
@@ -52,15 +52,15 @@ export declare const pickerProps: {
52
52
  confirmButtonText: StringConstructor;
53
53
  } & {
54
54
  columns: {
55
- type: PropType<(PickerColumn | PickerOption)[]>;
55
+ type: PropType<T[]>;
56
56
  default: () => never[];
57
57
  };
58
58
  modelValue: {
59
- type: PropType<Numeric[]>;
59
+ type: PropType<T[]>;
60
60
  default: () => never[];
61
61
  };
62
62
  toolbarPosition: {
63
- type: PropType<PickerToolbarPosition>;
63
+ type: PropType<T_1>;
64
64
  default: PickerToolbarPosition;
65
65
  };
66
66
  columnsFieldNames: PropType<PickerFieldNames>;
@@ -92,15 +92,15 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
92
92
  confirmButtonText: StringConstructor;
93
93
  } & {
94
94
  columns: {
95
- type: PropType<(PickerColumn | PickerOption)[]>;
95
+ type: PropType<T[]>;
96
96
  default: () => never[];
97
97
  };
98
98
  modelValue: {
99
- type: PropType<Numeric[]>;
99
+ type: PropType<T[]>;
100
100
  default: () => never[];
101
101
  };
102
102
  toolbarPosition: {
103
- type: PropType<PickerToolbarPosition>;
103
+ type: PropType<T_1>;
104
104
  default: PickerToolbarPosition;
105
105
  };
106
106
  columnsFieldNames: PropType<PickerFieldNames>;
@@ -130,15 +130,15 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
130
130
  confirmButtonText: StringConstructor;
131
131
  } & {
132
132
  columns: {
133
- type: PropType<(PickerColumn | PickerOption)[]>;
133
+ type: PropType<T[]>;
134
134
  default: () => never[];
135
135
  };
136
136
  modelValue: {
137
- type: PropType<Numeric[]>;
137
+ type: PropType<T[]>;
138
138
  default: () => never[];
139
139
  };
140
140
  toolbarPosition: {
141
- type: PropType<PickerToolbarPosition>;
141
+ type: PropType<T_1>;
142
142
  default: PickerToolbarPosition;
143
143
  };
144
144
  columnsFieldNames: PropType<PickerFieldNames>;
@@ -146,6 +146,9 @@ var stdin_default = defineComponent({
146
146
  const columnsStyle = {
147
147
  height: `${wrapHeight}px`
148
148
  };
149
+ if (!props.loading && !hasOptions.value && slots.empty) {
150
+ return slots.empty();
151
+ }
149
152
  return _createVNode("div", {
150
153
  "ref": columnsRef,
151
154
  "class": bem("columns"),
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
8
8
  required: true;
9
9
  };
10
10
  options: {
11
- type: PropType<PickerOption[]>;
11
+ type: PropType<T[]>;
12
12
  default: () => never[];
13
13
  };
14
14
  readonly: BooleanConstructor;
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
32
  required: true;
33
33
  };
34
34
  options: {
35
- type: PropType<PickerOption[]>;
35
+ type: PropType<T[]>;
36
36
  default: () => never[];
37
37
  };
38
38
  readonly: BooleanConstructor;
@@ -25,15 +25,15 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
25
25
  confirmButtonText: StringConstructor;
26
26
  } & {
27
27
  columns: {
28
- type: import("vue").PropType<(import("./types").PickerColumn | import("./types").PickerOption)[]>;
28
+ type: import("vue").PropType<T[]>;
29
29
  default: () => never[];
30
30
  };
31
31
  modelValue: {
32
- type: import("vue").PropType<import("../utils").Numeric[]>;
32
+ type: import("vue").PropType<T[]>;
33
33
  default: () => never[];
34
34
  };
35
35
  toolbarPosition: {
36
- type: import("vue").PropType<import("./types").PickerToolbarPosition>;
36
+ type: import("vue").PropType<T_1>;
37
37
  default: import("./types").PickerToolbarPosition;
38
38
  };
39
39
  columnsFieldNames: import("vue").PropType<import("./types").PickerFieldNames>;
@@ -63,15 +63,15 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
63
63
  confirmButtonText: StringConstructor;
64
64
  } & {
65
65
  columns: {
66
- type: import("vue").PropType<(import("./types").PickerColumn | import("./types").PickerOption)[]>;
66
+ type: import("vue").PropType<T[]>;
67
67
  default: () => never[];
68
68
  };
69
69
  modelValue: {
70
- type: import("vue").PropType<import("../utils").Numeric[]>;
70
+ type: import("vue").PropType<T[]>;
71
71
  default: () => never[];
72
72
  };
73
73
  toolbarPosition: {
74
- type: import("vue").PropType<import("./types").PickerToolbarPosition>;
74
+ type: import("vue").PropType<T_1>;
75
75
  default: import("./types").PickerToolbarPosition;
76
76
  };
77
77
  columnsFieldNames: import("vue").PropType<import("./types").PickerFieldNames>;
@@ -3,7 +3,7 @@ export type PickerGroupProvide = Record<string, string>;
3
3
  export declare const PICKER_GROUP_KEY: InjectionKey<PickerGroupProvide>;
4
4
  export declare const pickerGroupProps: {
5
5
  tabs: {
6
- type: import("vue").PropType<string[]>;
6
+ type: import("vue").PropType<T[]>;
7
7
  default: () => never[];
8
8
  };
9
9
  activeTab: {
@@ -23,7 +23,7 @@ export declare const pickerGroupProps: {
23
23
  export type PickerGroupProps = ExtractPropTypes<typeof pickerGroupProps>;
24
24
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
25
25
  tabs: {
26
- type: import("vue").PropType<string[]>;
26
+ type: import("vue").PropType<T[]>;
27
27
  default: () => never[];
28
28
  };
29
29
  activeTab: {
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
41
41
  confirmButtonText: StringConstructor;
42
42
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm" | "update:activeTab")[], "cancel" | "confirm" | "update:activeTab", import("vue").PublicProps, Readonly<ExtractPropTypes<{
43
43
  tabs: {
44
- type: import("vue").PropType<string[]>;
44
+ type: import("vue").PropType<T[]>;
45
45
  default: () => never[];
46
46
  };
47
47
  activeTab: {