vant 4.9.8 → 4.9.10

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 (296) hide show
  1. package/README.md +2 -0
  2. package/es/action-sheet/ActionSheet.d.ts +6 -6
  3. package/es/action-sheet/index.d.ts +4 -4
  4. package/es/address-edit/AddressEdit.d.ts +3 -3
  5. package/es/address-edit/index.d.ts +2 -2
  6. package/es/address-list/AddressList.d.ts +9 -9
  7. package/es/address-list/AddressListItem.d.ts +2 -2
  8. package/es/address-list/index.d.ts +6 -6
  9. package/es/area/Area.d.ts +3 -3
  10. package/es/area/index.d.ts +2 -2
  11. package/es/badge/Badge.d.ts +6 -6
  12. package/es/badge/index.d.ts +4 -4
  13. package/es/barrage/Barrage.d.ts +3 -3
  14. package/es/barrage/index.d.ts +2 -2
  15. package/es/button/Button.d.ts +15 -15
  16. package/es/button/index.d.ts +10 -10
  17. package/es/calendar/Calendar.d.ts +9 -9
  18. package/es/calendar/CalendarHeader.d.ts +2 -2
  19. package/es/calendar/CalendarHeader.mjs +1 -1
  20. package/es/calendar/index.css +1 -1
  21. package/es/calendar/index.d.ts +6 -6
  22. package/es/card/Card.d.ts +3 -3
  23. package/es/card/index.d.ts +2 -2
  24. package/es/cascader/Cascader.d.ts +6 -6
  25. package/es/cascader/index.d.ts +4 -4
  26. package/es/cell/Cell.d.ts +4 -4
  27. package/es/cell/index.d.ts +2 -2
  28. package/es/checkbox-group/CheckboxGroup.d.ts +6 -6
  29. package/es/checkbox-group/index.d.ts +4 -4
  30. package/es/circle/Circle.d.ts +6 -6
  31. package/es/circle/index.d.ts +4 -4
  32. package/es/col/Col.d.ts +3 -3
  33. package/es/col/index.d.ts +2 -2
  34. package/es/collapse-item/CollapseItem.d.ts +3 -3
  35. package/es/collapse-item/index.d.ts +2 -2
  36. package/es/composables/use-lazy-render.d.ts +1 -1
  37. package/es/config-provider/ConfigProvider.d.ts +9 -9
  38. package/es/config-provider/index.d.ts +6 -6
  39. package/es/contact-card/ContactCard.d.ts +3 -3
  40. package/es/contact-card/index.d.ts +2 -2
  41. package/es/count-down/CountDown.d.ts +3 -3
  42. package/es/count-down/index.d.ts +2 -2
  43. package/es/coupon/Coupon.d.ts +2 -2
  44. package/es/coupon/index.d.ts +2 -2
  45. package/es/coupon-cell/CouponCell.d.ts +6 -6
  46. package/es/coupon-cell/index.d.ts +4 -4
  47. package/es/coupon-list/CouponList.d.ts +12 -12
  48. package/es/coupon-list/index.d.ts +8 -8
  49. package/es/date-picker/DatePicker.d.ts +3 -3
  50. package/es/date-picker/index.d.ts +2 -2
  51. package/es/date-picker/utils.d.ts +1 -1
  52. package/es/dialog/Dialog.d.ts +16 -3
  53. package/es/dialog/Dialog.mjs +5 -1
  54. package/es/dialog/index.d.ts +11 -2
  55. package/es/divider/Divider.d.ts +3 -3
  56. package/es/divider/index.d.ts +2 -2
  57. package/es/dropdown-item/DropdownItem.d.ts +3 -3
  58. package/es/dropdown-item/index.d.ts +2 -2
  59. package/es/dropdown-menu/DropdownMenu.d.ts +3 -3
  60. package/es/dropdown-menu/index.d.ts +2 -2
  61. package/es/empty/Empty.d.ts +3 -3
  62. package/es/empty/index.d.ts +2 -2
  63. package/es/field/Field.d.ts +23 -19
  64. package/es/field/Field.mjs +6 -3
  65. package/es/field/index.d.ts +12 -10
  66. package/es/field/utils.d.ts +1 -1
  67. package/es/field/utils.mjs +6 -10
  68. package/es/floating-bubble/FloatingBubble.d.ts +3 -3
  69. package/es/floating-bubble/index.d.ts +2 -2
  70. package/es/floating-panel/FloatingPanel.d.ts +3 -3
  71. package/es/floating-panel/index.d.ts +2 -2
  72. package/es/highlight/Highlight.d.ts +12 -12
  73. package/es/highlight/index.d.ts +8 -8
  74. package/es/icon/Icon.d.ts +3 -3
  75. package/es/icon/index.d.ts +2 -2
  76. package/es/image/Image.d.ts +6 -6
  77. package/es/image/index.d.ts +4 -4
  78. package/es/image-preview/ImagePreview.d.ts +9 -9
  79. package/es/image-preview/index.d.ts +6 -6
  80. package/es/index.d.ts +1 -1
  81. package/es/index.mjs +1 -1
  82. package/es/list/List.d.ts +3 -3
  83. package/es/list/index.d.ts +2 -2
  84. package/es/loading/Loading.d.ts +3 -3
  85. package/es/loading/index.d.ts +2 -2
  86. package/es/notify/Notify.d.ts +6 -6
  87. package/es/notify/index.d.ts +4 -4
  88. package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
  89. package/es/number-keyboard/index.d.ts +4 -4
  90. package/es/pagination/Pagination.d.ts +3 -3
  91. package/es/pagination/index.d.ts +2 -2
  92. package/es/password-input/PasswordInput.d.ts +3 -3
  93. package/es/password-input/index.d.ts +2 -2
  94. package/es/picker/Picker.d.ts +9 -9
  95. package/es/picker/Picker.mjs +3 -0
  96. package/es/picker/PickerColumn.d.ts +2 -2
  97. package/es/picker/index.d.ts +6 -6
  98. package/es/picker-group/PickerGroup.d.ts +3 -3
  99. package/es/picker-group/index.d.ts +2 -2
  100. package/es/popover/Popover.d.ts +15 -15
  101. package/es/popover/index.d.ts +10 -10
  102. package/es/popup/Popup.d.ts +13 -9
  103. package/es/popup/Popup.mjs +8 -2
  104. package/es/popup/index.d.ts +9 -6
  105. package/es/rate/Rate.d.ts +6 -6
  106. package/es/rate/index.d.ts +4 -4
  107. package/es/rolling-text/RollingText.d.ts +9 -9
  108. package/es/rolling-text/RollingTextItem.d.ts +6 -6
  109. package/es/rolling-text/index.d.ts +6 -6
  110. package/es/row/Row.d.ts +3 -3
  111. package/es/row/index.d.ts +2 -2
  112. package/es/search/Search.d.ts +18 -15
  113. package/es/search/index.d.ts +12 -10
  114. package/es/share-sheet/ShareSheet.d.ts +3 -3
  115. package/es/share-sheet/index.d.ts +2 -2
  116. package/es/signature/Signature.d.ts +9 -9
  117. package/es/signature/index.d.ts +6 -6
  118. package/es/skeleton/Skeleton.d.ts +3 -3
  119. package/es/skeleton/index.d.ts +2 -2
  120. package/es/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
  121. package/es/skeleton-avatar/index.d.ts +2 -2
  122. package/es/skeleton-image/SkeletonImage.d.ts +3 -3
  123. package/es/skeleton-image/index.d.ts +2 -2
  124. package/es/steps/Steps.d.ts +6 -6
  125. package/es/steps/index.d.ts +4 -4
  126. package/es/sticky/Sticky.d.ts +3 -3
  127. package/es/sticky/index.d.ts +2 -2
  128. package/es/submit-bar/SubmitBar.d.ts +6 -6
  129. package/es/submit-bar/index.d.ts +4 -4
  130. package/es/tabs/Tabs.d.ts +3 -3
  131. package/es/tabs/index.d.ts +2 -2
  132. package/es/tag/Tag.d.ts +3 -3
  133. package/es/tag/index.d.ts +2 -2
  134. package/es/text-ellipsis/TextEllipsis.d.ts +15 -15
  135. package/es/text-ellipsis/index.d.ts +10 -10
  136. package/es/time-picker/TimePicker.d.ts +3 -3
  137. package/es/time-picker/index.d.ts +2 -2
  138. package/es/toast/Toast.d.ts +9 -9
  139. package/es/toast/index.d.ts +6 -6
  140. package/es/tree-select/TreeSelect.d.ts +6 -6
  141. package/es/tree-select/index.d.ts +4 -4
  142. package/es/uploader/Uploader.d.ts +15 -15
  143. package/es/uploader/index.d.ts +10 -10
  144. package/es/watermark/Watermark.d.ts +3 -3
  145. package/es/watermark/index.d.ts +2 -2
  146. package/lib/action-sheet/ActionSheet.d.ts +6 -6
  147. package/lib/action-sheet/index.d.ts +4 -4
  148. package/lib/address-edit/AddressEdit.d.ts +3 -3
  149. package/lib/address-edit/index.d.ts +2 -2
  150. package/lib/address-list/AddressList.d.ts +9 -9
  151. package/lib/address-list/AddressListItem.d.ts +2 -2
  152. package/lib/address-list/index.d.ts +6 -6
  153. package/lib/area/Area.d.ts +3 -3
  154. package/lib/area/index.d.ts +2 -2
  155. package/lib/badge/Badge.d.ts +6 -6
  156. package/lib/badge/index.d.ts +4 -4
  157. package/lib/barrage/Barrage.d.ts +3 -3
  158. package/lib/barrage/index.d.ts +2 -2
  159. package/lib/button/Button.d.ts +15 -15
  160. package/lib/button/index.d.ts +10 -10
  161. package/lib/calendar/Calendar.d.ts +9 -9
  162. package/lib/calendar/CalendarHeader.d.ts +2 -2
  163. package/lib/calendar/CalendarHeader.js +1 -1
  164. package/lib/calendar/index.css +1 -1
  165. package/lib/calendar/index.d.ts +6 -6
  166. package/lib/card/Card.d.ts +3 -3
  167. package/lib/card/index.d.ts +2 -2
  168. package/lib/cascader/Cascader.d.ts +6 -6
  169. package/lib/cascader/index.d.ts +4 -4
  170. package/lib/cell/Cell.d.ts +4 -4
  171. package/lib/cell/index.d.ts +2 -2
  172. package/lib/checkbox-group/CheckboxGroup.d.ts +6 -6
  173. package/lib/checkbox-group/index.d.ts +4 -4
  174. package/lib/circle/Circle.d.ts +6 -6
  175. package/lib/circle/index.d.ts +4 -4
  176. package/lib/col/Col.d.ts +3 -3
  177. package/lib/col/index.d.ts +2 -2
  178. package/lib/collapse-item/CollapseItem.d.ts +3 -3
  179. package/lib/collapse-item/index.d.ts +2 -2
  180. package/lib/composables/use-lazy-render.d.ts +1 -1
  181. package/lib/config-provider/ConfigProvider.d.ts +9 -9
  182. package/lib/config-provider/index.d.ts +6 -6
  183. package/lib/contact-card/ContactCard.d.ts +3 -3
  184. package/lib/contact-card/index.d.ts +2 -2
  185. package/lib/count-down/CountDown.d.ts +3 -3
  186. package/lib/count-down/index.d.ts +2 -2
  187. package/lib/coupon/Coupon.d.ts +2 -2
  188. package/lib/coupon/index.d.ts +2 -2
  189. package/lib/coupon-cell/CouponCell.d.ts +6 -6
  190. package/lib/coupon-cell/index.d.ts +4 -4
  191. package/lib/coupon-list/CouponList.d.ts +12 -12
  192. package/lib/coupon-list/index.d.ts +8 -8
  193. package/lib/date-picker/DatePicker.d.ts +3 -3
  194. package/lib/date-picker/index.d.ts +2 -2
  195. package/lib/date-picker/utils.d.ts +1 -1
  196. package/lib/dialog/Dialog.d.ts +16 -3
  197. package/lib/dialog/Dialog.js +5 -1
  198. package/lib/dialog/index.d.ts +11 -2
  199. package/lib/divider/Divider.d.ts +3 -3
  200. package/lib/divider/index.d.ts +2 -2
  201. package/lib/dropdown-item/DropdownItem.d.ts +3 -3
  202. package/lib/dropdown-item/index.d.ts +2 -2
  203. package/lib/dropdown-menu/DropdownMenu.d.ts +3 -3
  204. package/lib/dropdown-menu/index.d.ts +2 -2
  205. package/lib/empty/Empty.d.ts +3 -3
  206. package/lib/empty/index.d.ts +2 -2
  207. package/lib/field/Field.d.ts +23 -19
  208. package/lib/field/Field.js +6 -3
  209. package/lib/field/index.d.ts +12 -10
  210. package/lib/field/utils.d.ts +1 -1
  211. package/lib/field/utils.js +6 -10
  212. package/lib/floating-bubble/FloatingBubble.d.ts +3 -3
  213. package/lib/floating-bubble/index.d.ts +2 -2
  214. package/lib/floating-panel/FloatingPanel.d.ts +3 -3
  215. package/lib/floating-panel/index.d.ts +2 -2
  216. package/lib/highlight/Highlight.d.ts +12 -12
  217. package/lib/highlight/index.d.ts +8 -8
  218. package/lib/icon/Icon.d.ts +3 -3
  219. package/lib/icon/index.d.ts +2 -2
  220. package/lib/image/Image.d.ts +6 -6
  221. package/lib/image/index.d.ts +4 -4
  222. package/lib/image-preview/ImagePreview.d.ts +9 -9
  223. package/lib/image-preview/index.d.ts +6 -6
  224. package/lib/index.css +1 -1
  225. package/lib/index.d.ts +1 -1
  226. package/lib/index.js +1 -1
  227. package/lib/list/List.d.ts +3 -3
  228. package/lib/list/index.d.ts +2 -2
  229. package/lib/loading/Loading.d.ts +3 -3
  230. package/lib/loading/index.d.ts +2 -2
  231. package/lib/notify/Notify.d.ts +6 -6
  232. package/lib/notify/index.d.ts +4 -4
  233. package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
  234. package/lib/number-keyboard/index.d.ts +4 -4
  235. package/lib/pagination/Pagination.d.ts +3 -3
  236. package/lib/pagination/index.d.ts +2 -2
  237. package/lib/password-input/PasswordInput.d.ts +3 -3
  238. package/lib/password-input/index.d.ts +2 -2
  239. package/lib/picker/Picker.d.ts +9 -9
  240. package/lib/picker/Picker.js +3 -0
  241. package/lib/picker/PickerColumn.d.ts +2 -2
  242. package/lib/picker/index.d.ts +6 -6
  243. package/lib/picker-group/PickerGroup.d.ts +3 -3
  244. package/lib/picker-group/index.d.ts +2 -2
  245. package/lib/popover/Popover.d.ts +15 -15
  246. package/lib/popover/index.d.ts +10 -10
  247. package/lib/popup/Popup.d.ts +13 -9
  248. package/lib/popup/Popup.js +8 -2
  249. package/lib/popup/index.d.ts +9 -6
  250. package/lib/rate/Rate.d.ts +6 -6
  251. package/lib/rate/index.d.ts +4 -4
  252. package/lib/rolling-text/RollingText.d.ts +9 -9
  253. package/lib/rolling-text/RollingTextItem.d.ts +6 -6
  254. package/lib/rolling-text/index.d.ts +6 -6
  255. package/lib/row/Row.d.ts +3 -3
  256. package/lib/row/index.d.ts +2 -2
  257. package/lib/search/Search.d.ts +18 -15
  258. package/lib/search/index.d.ts +12 -10
  259. package/lib/share-sheet/ShareSheet.d.ts +3 -3
  260. package/lib/share-sheet/index.d.ts +2 -2
  261. package/lib/signature/Signature.d.ts +9 -9
  262. package/lib/signature/index.d.ts +6 -6
  263. package/lib/skeleton/Skeleton.d.ts +3 -3
  264. package/lib/skeleton/index.d.ts +2 -2
  265. package/lib/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
  266. package/lib/skeleton-avatar/index.d.ts +2 -2
  267. package/lib/skeleton-image/SkeletonImage.d.ts +3 -3
  268. package/lib/skeleton-image/index.d.ts +2 -2
  269. package/lib/steps/Steps.d.ts +6 -6
  270. package/lib/steps/index.d.ts +4 -4
  271. package/lib/sticky/Sticky.d.ts +3 -3
  272. package/lib/sticky/index.d.ts +2 -2
  273. package/lib/submit-bar/SubmitBar.d.ts +6 -6
  274. package/lib/submit-bar/index.d.ts +4 -4
  275. package/lib/tabs/Tabs.d.ts +3 -3
  276. package/lib/tabs/index.d.ts +2 -2
  277. package/lib/tag/Tag.d.ts +3 -3
  278. package/lib/tag/index.d.ts +2 -2
  279. package/lib/text-ellipsis/TextEllipsis.d.ts +15 -15
  280. package/lib/text-ellipsis/index.d.ts +10 -10
  281. package/lib/time-picker/TimePicker.d.ts +3 -3
  282. package/lib/time-picker/index.d.ts +2 -2
  283. package/lib/toast/Toast.d.ts +9 -9
  284. package/lib/toast/index.d.ts +6 -6
  285. package/lib/tree-select/TreeSelect.d.ts +6 -6
  286. package/lib/tree-select/index.d.ts +4 -4
  287. package/lib/uploader/Uploader.d.ts +15 -15
  288. package/lib/uploader/index.d.ts +10 -10
  289. package/lib/vant.cjs.js +30 -18
  290. package/lib/vant.es.js +30 -18
  291. package/lib/vant.js +1781 -1829
  292. package/lib/vant.min.js +3 -3
  293. package/lib/watermark/Watermark.d.ts +3 -3
  294. package/lib/watermark/index.d.ts +2 -2
  295. package/lib/web-types.json +1 -1
  296. package/package.json +14 -14
@@ -4,11 +4,11 @@ import type { CalendarType, CalendarSwitchMode, CalendarDayItem } from './types'
4
4
  export declare const calendarProps: {
5
5
  show: BooleanConstructor;
6
6
  type: {
7
- type: PropType<CalendarType>;
7
+ type: PropType<T>;
8
8
  default: CalendarType;
9
9
  };
10
10
  switchMode: {
11
- type: PropType<CalendarSwitchMode>;
11
+ type: PropType<T>;
12
12
  default: CalendarSwitchMode;
13
13
  };
14
14
  title: StringConstructor;
@@ -27,7 +27,7 @@ export declare const calendarProps: {
27
27
  default: null;
28
28
  };
29
29
  position: {
30
- type: PropType<PopupPosition>;
30
+ type: PropType<T>;
31
31
  default: PopupPosition;
32
32
  };
33
33
  teleport: PropType<TeleportProps["to"]>;
@@ -93,11 +93,11 @@ export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
93
93
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
94
94
  show: BooleanConstructor;
95
95
  type: {
96
- type: PropType<CalendarType>;
96
+ type: PropType<T>;
97
97
  default: CalendarType;
98
98
  };
99
99
  switchMode: {
100
- type: PropType<CalendarSwitchMode>;
100
+ type: PropType<T>;
101
101
  default: CalendarSwitchMode;
102
102
  };
103
103
  title: StringConstructor;
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
116
116
  default: null;
117
117
  };
118
118
  position: {
119
- type: PropType<PopupPosition>;
119
+ type: PropType<T>;
120
120
  default: PopupPosition;
121
121
  };
122
122
  teleport: PropType<TeleportProps["to"]>;
@@ -180,11 +180,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
180
180
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
181
181
  show: BooleanConstructor;
182
182
  type: {
183
- type: PropType<CalendarType>;
183
+ type: PropType<T>;
184
184
  default: CalendarType;
185
185
  };
186
186
  switchMode: {
187
- type: PropType<CalendarSwitchMode>;
187
+ type: PropType<T>;
188
188
  default: CalendarSwitchMode;
189
189
  };
190
190
  title: StringConstructor;
@@ -203,7 +203,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
203
203
  default: null;
204
204
  };
205
205
  position: {
206
- type: PropType<PopupPosition>;
206
+ type: PropType<T>;
207
207
  default: PopupPosition;
208
208
  };
209
209
  teleport: PropType<TeleportProps["to"]>;
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
9
9
  showSubtitle: BooleanConstructor;
10
10
  firstDayOfWeek: NumberConstructor;
11
11
  switchMode: {
12
- type: import("vue").PropType<CalendarSwitchMode>;
12
+ type: import("vue").PropType<T>;
13
13
  default: CalendarSwitchMode;
14
14
  };
15
15
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickSubtitle" | "panelChange")[], "clickSubtitle" | "panelChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
22
  showSubtitle: BooleanConstructor;
23
23
  firstDayOfWeek: NumberConstructor;
24
24
  switchMode: {
25
- type: import("vue").PropType<CalendarSwitchMode>;
25
+ type: import("vue").PropType<T>;
26
26
  default: CalendarSwitchMode;
27
27
  };
28
28
  }>> & Readonly<{
@@ -83,7 +83,7 @@ var stdin_default = defineComponent({
83
83
  const canSwitch = props.switchMode !== "none";
84
84
  return _createVNode("div", {
85
85
  "class": bem("header-subtitle", {
86
- "with-swicth": canSwitch
86
+ "with-switch": canSwitch
87
87
  }),
88
88
  "onClick": onClickSubtitle
89
89
  }, [canSwitch ? [renderAction(), _createVNode("div", {
@@ -1 +1 @@
1
- :root,:host{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, .16);--van-calendar-header-title-height: 44px;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-header-action-width: 28px;--van-calendar-header-action-color: var(--van-text-color);--van-calendar-header-action-disabled-color: var(--van-text-color-3);--van-calendar-weekdays-height: 30px;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 160px;--van-calendar-day-height: 64px;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: 4px;--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 54px;--van-calendar-selected-day-color: var(--van-white);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-confirm-button-height: 36px;--van-calendar-confirm-button-margin: 7px 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__header-subtitle--with-swicth{display:flex;align-items:center;padding:0 var(--van-padding-base)}.van-calendar__header-subtitle-text{flex:1}.van-calendar__header-action{display:flex;align-items:center;justify-content:center;min-width:var(--van-calendar-header-action-width);height:100%;color:var(--van-calendar-header-action-color);cursor:pointer}.van-calendar__header-action--disabled{color:var(--van-calendar-header-action-disabled-color);cursor:not-allowed}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}
1
+ :root,:host{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, .16);--van-calendar-header-title-height: 44px;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-header-action-width: 28px;--van-calendar-header-action-color: var(--van-text-color);--van-calendar-header-action-disabled-color: var(--van-text-color-3);--van-calendar-weekdays-height: 30px;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 160px;--van-calendar-day-height: 64px;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: 4px;--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 54px;--van-calendar-selected-day-color: var(--van-white);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-confirm-button-height: 36px;--van-calendar-confirm-button-margin: 7px 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__header-subtitle--with-switch{display:flex;align-items:center;padding:0 var(--van-padding-base)}.van-calendar__header-subtitle-text{flex:1}.van-calendar__header-action{display:flex;align-items:center;justify-content:center;min-width:var(--van-calendar-header-action-width);height:100%;color:var(--van-calendar-header-action-color);cursor:pointer}.van-calendar__header-action--disabled{color:var(--van-calendar-header-action-disabled-color);cursor:not-allowed}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media (max-width: 350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}
@@ -1,11 +1,11 @@
1
1
  export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  show: BooleanConstructor;
3
3
  type: {
4
- type: import("vue").PropType<import("./types").CalendarType>;
4
+ type: import("vue").PropType<T>;
5
5
  default: import("./types").CalendarType;
6
6
  };
7
7
  switchMode: {
8
- type: import("vue").PropType<import("./types").CalendarSwitchMode>;
8
+ type: import("vue").PropType<T>;
9
9
  default: import("./types").CalendarSwitchMode;
10
10
  };
11
11
  title: StringConstructor;
@@ -24,7 +24,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
24
24
  default: null;
25
25
  };
26
26
  position: {
27
- type: import("vue").PropType<import("..").PopupPosition>;
27
+ type: import("vue").PropType<T>;
28
28
  default: import("..").PopupPosition;
29
29
  };
30
30
  teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
@@ -88,11 +88,11 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
88
88
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
89
89
  show: BooleanConstructor;
90
90
  type: {
91
- type: import("vue").PropType<import("./types").CalendarType>;
91
+ type: import("vue").PropType<T>;
92
92
  default: import("./types").CalendarType;
93
93
  };
94
94
  switchMode: {
95
- type: import("vue").PropType<import("./types").CalendarSwitchMode>;
95
+ type: import("vue").PropType<T>;
96
96
  default: import("./types").CalendarSwitchMode;
97
97
  };
98
98
  title: StringConstructor;
@@ -111,7 +111,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
111
111
  default: null;
112
112
  };
113
113
  position: {
114
- type: import("vue").PropType<import("..").PopupPosition>;
114
+ type: import("vue").PropType<T>;
115
115
  default: import("..").PopupPosition;
116
116
  };
117
117
  teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
package/es/card/Card.d.ts CHANGED
@@ -9,7 +9,7 @@ export declare const cardProps: {
9
9
  centered: BooleanConstructor;
10
10
  lazyLoad: BooleanConstructor;
11
11
  currency: {
12
- type: import("vue").PropType<string>;
12
+ type: import("vue").PropType<T>;
13
13
  default: string;
14
14
  };
15
15
  thumbLink: StringConstructor;
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
26
26
  centered: BooleanConstructor;
27
27
  lazyLoad: BooleanConstructor;
28
28
  currency: {
29
- type: import("vue").PropType<string>;
29
+ type: import("vue").PropType<T>;
30
30
  default: string;
31
31
  };
32
32
  thumbLink: StringConstructor;
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
41
41
  centered: BooleanConstructor;
42
42
  lazyLoad: BooleanConstructor;
43
43
  currency: {
44
- type: import("vue").PropType<string>;
44
+ type: import("vue").PropType<T>;
45
45
  default: string;
46
46
  };
47
47
  thumbLink: StringConstructor;
@@ -8,7 +8,7 @@ export declare const Card: import("../utils").WithInstall<import("vue").DefineCo
8
8
  centered: BooleanConstructor;
9
9
  lazyLoad: BooleanConstructor;
10
10
  currency: {
11
- type: import("vue").PropType<string>;
11
+ type: import("vue").PropType<T>;
12
12
  default: string;
13
13
  };
14
14
  thumbLink: StringConstructor;
@@ -23,7 +23,7 @@ export declare const Card: import("../utils").WithInstall<import("vue").DefineCo
23
23
  centered: BooleanConstructor;
24
24
  lazyLoad: BooleanConstructor;
25
25
  currency: {
26
- type: import("vue").PropType<string>;
26
+ type: import("vue").PropType<T>;
27
27
  default: string;
28
28
  };
29
29
  thumbLink: StringConstructor;
@@ -3,7 +3,7 @@ import type { CascaderOption, CascaderFieldNames } from './types';
3
3
  export declare const cascaderProps: {
4
4
  title: StringConstructor;
5
5
  options: {
6
- type: PropType<CascaderOption[]>;
6
+ type: PropType<T[]>;
7
7
  default: () => never[];
8
8
  };
9
9
  closeable: {
@@ -15,7 +15,7 @@ export declare const cascaderProps: {
15
15
  default: true;
16
16
  };
17
17
  closeIcon: {
18
- type: PropType<string>;
18
+ type: PropType<T_1>;
19
19
  default: string;
20
20
  };
21
21
  showHeader: {
@@ -31,7 +31,7 @@ export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
31
31
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
32
32
  title: StringConstructor;
33
33
  options: {
34
- type: PropType<CascaderOption[]>;
34
+ type: PropType<T[]>;
35
35
  default: () => never[];
36
36
  };
37
37
  closeable: {
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
43
43
  default: true;
44
44
  };
45
45
  closeIcon: {
46
- type: PropType<string>;
46
+ type: PropType<T_1>;
47
47
  default: string;
48
48
  };
49
49
  showHeader: {
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
57
57
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "clickTab" | "finish")[], "update:modelValue" | "change" | "close" | "clickTab" | "finish", import("vue").PublicProps, Readonly<ExtractPropTypes<{
58
58
  title: StringConstructor;
59
59
  options: {
60
- type: PropType<CascaderOption[]>;
60
+ type: PropType<T[]>;
61
61
  default: () => never[];
62
62
  };
63
63
  closeable: {
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
69
69
  default: true;
70
70
  };
71
71
  closeIcon: {
72
- type: PropType<string>;
72
+ type: PropType<T_1>;
73
73
  default: string;
74
74
  };
75
75
  showHeader: {
@@ -1,7 +1,7 @@
1
1
  export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  title: StringConstructor;
3
3
  options: {
4
- type: import("vue").PropType<import("./types").CascaderOption[]>;
4
+ type: import("vue").PropType<T[]>;
5
5
  default: () => never[];
6
6
  };
7
7
  closeable: {
@@ -13,7 +13,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
13
13
  default: true;
14
14
  };
15
15
  closeIcon: {
16
- type: import("vue").PropType<string>;
16
+ type: import("vue").PropType<T_1>;
17
17
  default: string;
18
18
  };
19
19
  showHeader: {
@@ -27,7 +27,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
27
27
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "clickTab" | "finish")[], "update:modelValue" | "change" | "close" | "clickTab" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
28
  title: StringConstructor;
29
29
  options: {
30
- type: import("vue").PropType<import("./types").CascaderOption[]>;
30
+ type: import("vue").PropType<T[]>;
31
31
  default: () => never[];
32
32
  };
33
33
  closeable: {
@@ -39,7 +39,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
39
39
  default: true;
40
40
  };
41
41
  closeIcon: {
42
- type: import("vue").PropType<string>;
42
+ type: import("vue").PropType<T_1>;
43
43
  default: string;
44
44
  };
45
45
  showHeader: {
package/es/cell/Cell.d.ts CHANGED
@@ -3,7 +3,7 @@ export type CellSize = 'normal' | 'large';
3
3
  export type CellArrowDirection = 'up' | 'down' | 'left' | 'right';
4
4
  export declare const cellSharedProps: {
5
5
  tag: {
6
- type: PropType<keyof HTMLElementTagNameMap>;
6
+ type: PropType<T>;
7
7
  default: keyof HTMLElementTagNameMap;
8
8
  };
9
9
  icon: StringConstructor;
@@ -34,7 +34,7 @@ export declare const cellSharedProps: {
34
34
  };
35
35
  export declare const cellProps: {
36
36
  tag: {
37
- type: PropType<keyof HTMLElementTagNameMap>;
37
+ type: PropType<T>;
38
38
  default: keyof HTMLElementTagNameMap;
39
39
  };
40
40
  icon: StringConstructor;
@@ -70,7 +70,7 @@ export declare const cellProps: {
70
70
  export type CellProps = ExtractPropTypes<typeof cellProps>;
71
71
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
72
72
  tag: {
73
- type: PropType<keyof HTMLElementTagNameMap>;
73
+ type: PropType<T>;
74
74
  default: keyof HTMLElementTagNameMap;
75
75
  };
76
76
  icon: StringConstructor;
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
104
104
  replace: BooleanConstructor;
105
105
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
106
106
  tag: {
107
- type: PropType<keyof HTMLElementTagNameMap>;
107
+ type: PropType<T>;
108
108
  default: keyof HTMLElementTagNameMap;
109
109
  };
110
110
  icon: StringConstructor;
@@ -1,6 +1,6 @@
1
1
  export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  tag: {
3
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
3
+ type: import("vue").PropType<T>;
4
4
  default: keyof HTMLElementTagNameMap;
5
5
  };
6
6
  icon: StringConstructor;
@@ -34,7 +34,7 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
34
34
  replace: BooleanConstructor;
35
35
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
36
  tag: {
37
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
37
+ type: import("vue").PropType<T>;
38
38
  default: keyof HTMLElementTagNameMap;
39
39
  };
40
40
  icon: StringConstructor;
@@ -4,14 +4,14 @@ import type { CheckboxGroupProvide } from './types';
4
4
  export declare const checkboxGroupProps: {
5
5
  max: (NumberConstructor | StringConstructor)[];
6
6
  shape: {
7
- type: PropType<CheckerShape>;
7
+ type: PropType<T>;
8
8
  default: CheckerShape;
9
9
  };
10
10
  disabled: BooleanConstructor;
11
11
  iconSize: (NumberConstructor | StringConstructor)[];
12
12
  direction: PropType<CheckerDirection>;
13
13
  modelValue: {
14
- type: PropType<unknown[]>;
14
+ type: PropType<T_1[]>;
15
15
  default: () => never[];
16
16
  };
17
17
  checkedColor: StringConstructor;
@@ -21,28 +21,28 @@ export declare const CHECKBOX_GROUP_KEY: InjectionKey<CheckboxGroupProvide>;
21
21
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
22
22
  max: (NumberConstructor | StringConstructor)[];
23
23
  shape: {
24
- type: PropType<CheckerShape>;
24
+ type: PropType<T>;
25
25
  default: CheckerShape;
26
26
  };
27
27
  disabled: BooleanConstructor;
28
28
  iconSize: (NumberConstructor | StringConstructor)[];
29
29
  direction: PropType<CheckerDirection>;
30
30
  modelValue: {
31
- type: PropType<unknown[]>;
31
+ type: PropType<T_1[]>;
32
32
  default: () => never[];
33
33
  };
34
34
  checkedColor: StringConstructor;
35
35
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
36
36
  max: (NumberConstructor | StringConstructor)[];
37
37
  shape: {
38
- type: PropType<CheckerShape>;
38
+ type: PropType<T>;
39
39
  default: CheckerShape;
40
40
  };
41
41
  disabled: BooleanConstructor;
42
42
  iconSize: (NumberConstructor | StringConstructor)[];
43
43
  direction: PropType<CheckerDirection>;
44
44
  modelValue: {
45
- type: PropType<unknown[]>;
45
+ type: PropType<T_1[]>;
46
46
  default: () => never[];
47
47
  };
48
48
  checkedColor: StringConstructor;
@@ -1,28 +1,28 @@
1
1
  export declare const CheckboxGroup: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  max: (NumberConstructor | StringConstructor)[];
3
3
  shape: {
4
- type: import("vue").PropType<import("../checkbox/Checker").CheckerShape>;
4
+ type: import("vue").PropType<T>;
5
5
  default: import("../checkbox/Checker").CheckerShape;
6
6
  };
7
7
  disabled: BooleanConstructor;
8
8
  iconSize: (NumberConstructor | StringConstructor)[];
9
9
  direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
10
10
  modelValue: {
11
- type: import("vue").PropType<unknown[]>;
11
+ type: import("vue").PropType<T_1[]>;
12
12
  default: () => never[];
13
13
  };
14
14
  checkedColor: StringConstructor;
15
15
  }>, () => 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<{
16
16
  max: (NumberConstructor | StringConstructor)[];
17
17
  shape: {
18
- type: import("vue").PropType<import("../checkbox/Checker").CheckerShape>;
18
+ type: import("vue").PropType<T>;
19
19
  default: import("../checkbox/Checker").CheckerShape;
20
20
  };
21
21
  disabled: BooleanConstructor;
22
22
  iconSize: (NumberConstructor | StringConstructor)[];
23
23
  direction: import("vue").PropType<import("../checkbox/Checker").CheckerDirection>;
24
24
  modelValue: {
25
- type: import("vue").PropType<unknown[]>;
25
+ type: import("vue").PropType<T_1[]>;
26
26
  default: () => never[];
27
27
  };
28
28
  checkedColor: StringConstructor;
@@ -4,7 +4,7 @@ export declare const circleProps: {
4
4
  text: StringConstructor;
5
5
  size: (NumberConstructor | StringConstructor)[];
6
6
  fill: {
7
- type: PropType<string>;
7
+ type: PropType<T>;
8
8
  default: string;
9
9
  };
10
10
  rate: {
@@ -31,7 +31,7 @@ export declare const circleProps: {
31
31
  };
32
32
  strokeLinecap: PropType<CanvasLineCap>;
33
33
  startPosition: {
34
- type: PropType<CircleStartPosition>;
34
+ type: PropType<T>;
35
35
  default: CircleStartPosition;
36
36
  };
37
37
  };
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
40
40
  text: StringConstructor;
41
41
  size: (NumberConstructor | StringConstructor)[];
42
42
  fill: {
43
- type: PropType<string>;
43
+ type: PropType<T>;
44
44
  default: string;
45
45
  };
46
46
  rate: {
@@ -67,14 +67,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
67
67
  };
68
68
  strokeLinecap: PropType<CanvasLineCap>;
69
69
  startPosition: {
70
- type: PropType<CircleStartPosition>;
70
+ type: PropType<T>;
71
71
  default: CircleStartPosition;
72
72
  };
73
73
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:currentRate"[], "update:currentRate", import("vue").PublicProps, Readonly<ExtractPropTypes<{
74
74
  text: StringConstructor;
75
75
  size: (NumberConstructor | StringConstructor)[];
76
76
  fill: {
77
- type: PropType<string>;
77
+ type: PropType<T>;
78
78
  default: string;
79
79
  };
80
80
  rate: {
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
101
101
  };
102
102
  strokeLinecap: PropType<CanvasLineCap>;
103
103
  startPosition: {
104
- type: PropType<CircleStartPosition>;
104
+ type: PropType<T>;
105
105
  default: CircleStartPosition;
106
106
  };
107
107
  }>> & Readonly<{
@@ -2,7 +2,7 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
2
2
  text: StringConstructor;
3
3
  size: (NumberConstructor | StringConstructor)[];
4
4
  fill: {
5
- type: import("vue").PropType<string>;
5
+ type: import("vue").PropType<T>;
6
6
  default: string;
7
7
  };
8
8
  rate: {
@@ -29,14 +29,14 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
29
29
  };
30
30
  strokeLinecap: import("vue").PropType<CanvasLineCap>;
31
31
  startPosition: {
32
- type: import("vue").PropType<import("./Circle").CircleStartPosition>;
32
+ type: import("vue").PropType<T>;
33
33
  default: import("./Circle").CircleStartPosition;
34
34
  };
35
35
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:currentRate"[], "update:currentRate", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
36
  text: StringConstructor;
37
37
  size: (NumberConstructor | StringConstructor)[];
38
38
  fill: {
39
- type: import("vue").PropType<string>;
39
+ type: import("vue").PropType<T>;
40
40
  default: string;
41
41
  };
42
42
  rate: {
@@ -63,7 +63,7 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
63
63
  };
64
64
  strokeLinecap: import("vue").PropType<CanvasLineCap>;
65
65
  startPosition: {
66
- type: import("vue").PropType<import("./Circle").CircleStartPosition>;
66
+ type: import("vue").PropType<T>;
67
67
  default: import("./Circle").CircleStartPosition;
68
68
  };
69
69
  }>> & Readonly<{
package/es/col/Col.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
2
  export declare const colProps: {
3
3
  tag: {
4
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
4
+ type: import("vue").PropType<T>;
5
5
  default: keyof HTMLElementTagNameMap;
6
6
  };
7
7
  span: {
@@ -13,7 +13,7 @@ export declare const colProps: {
13
13
  export type ColProps = ExtractPropTypes<typeof colProps>;
14
14
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
15
15
  tag: {
16
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
16
+ type: import("vue").PropType<T>;
17
17
  default: keyof HTMLElementTagNameMap;
18
18
  };
19
19
  span: {
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
23
23
  offset: (NumberConstructor | StringConstructor)[];
24
24
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
25
25
  tag: {
26
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
26
+ type: import("vue").PropType<T>;
27
27
  default: keyof HTMLElementTagNameMap;
28
28
  };
29
29
  span: {
package/es/col/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export declare const Col: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  tag: {
3
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
3
+ type: import("vue").PropType<T>;
4
4
  default: keyof HTMLElementTagNameMap;
5
5
  };
6
6
  span: {
@@ -10,7 +10,7 @@ export declare const Col: import("../utils").WithInstall<import("vue").DefineCom
10
10
  offset: (NumberConstructor | StringConstructor)[];
11
11
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
12
  tag: {
13
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
13
+ type: import("vue").PropType<T>;
14
14
  default: keyof HTMLElementTagNameMap;
15
15
  };
16
16
  span: {
@@ -1,7 +1,7 @@
1
1
  import { type ExtractPropTypes } from 'vue';
2
2
  export declare const collapseItemProps: {
3
3
  tag: {
4
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
4
+ type: import("vue").PropType<T>;
5
5
  default: keyof HTMLElementTagNameMap;
6
6
  };
7
7
  icon: StringConstructor;
@@ -45,7 +45,7 @@ export declare const collapseItemProps: {
45
45
  export type CollapseItemProps = ExtractPropTypes<typeof collapseItemProps>;
46
46
  declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
47
47
  tag: {
48
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
48
+ type: import("vue").PropType<T>;
49
49
  default: keyof HTMLElementTagNameMap;
50
50
  };
51
51
  icon: StringConstructor;
@@ -87,7 +87,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
87
87
  };
88
88
  }>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
89
89
  tag: {
90
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
90
+ type: import("vue").PropType<T>;
91
91
  default: keyof HTMLElementTagNameMap;
92
92
  };
93
93
  icon: StringConstructor;
@@ -1,6 +1,6 @@
1
1
  export declare const CollapseItem: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  tag: {
3
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
3
+ type: import("vue").PropType<T>;
4
4
  default: keyof HTMLElementTagNameMap;
5
5
  };
6
6
  icon: StringConstructor;
@@ -42,7 +42,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
42
42
  };
43
43
  }>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
44
44
  tag: {
45
- type: import("vue").PropType<keyof HTMLElementTagNameMap>;
45
+ type: import("vue").PropType<T>;
46
46
  default: keyof HTMLElementTagNameMap;
47
47
  };
48
48
  icon: StringConstructor;
@@ -1,2 +1,2 @@
1
1
  import { WatchSource } from 'vue';
2
- export declare function useLazyRender(show: WatchSource<boolean | undefined>): (render: () => JSX.Element) => () => JSX.Element | null;
2
+ export declare function useLazyRender(show: WatchSource<boolean | undefined>): (render: () => JSX.Element | undefined) => () => JSX.Element | null | undefined;