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.
- package/es/action-bar/index.d.ts +1 -1
- package/es/action-bar-button/index.d.ts +3 -3
- package/es/action-bar-icon/index.d.ts +3 -3
- package/es/action-sheet/ActionSheet.d.ts +4 -3
- package/es/action-sheet/ActionSheet.mjs +9 -1
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +3 -3
- package/es/address-edit/index.d.ts +5 -5
- package/es/address-list/index.d.ts +1 -1
- package/es/area/Area.d.ts +3 -3
- package/es/area/index.d.ts +2 -2
- package/es/back-top/index.d.ts +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/barrage/Barrage.d.ts +1 -1
- package/es/barrage/index.d.ts +2 -2
- package/es/button/index.d.ts +3 -3
- package/es/calendar/index.d.ts +6 -6
- package/es/calendar/utils.d.ts +1 -1
- package/es/card/index.d.ts +1 -1
- package/es/cascader/index.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell-group/index.d.ts +1 -1
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/index.d.ts +8 -8
- package/es/circle/index.d.ts +1 -1
- package/es/col/index.d.ts +1 -1
- package/es/collapse/index.d.ts +4 -4
- package/es/collapse-item/index.d.ts +5 -5
- package/es/config-provider/index.d.ts +1 -1
- package/es/contact-card/index.d.ts +1 -1
- package/es/contact-edit/index.d.ts +3 -3
- package/es/contact-list/index.d.ts +1 -1
- package/es/count-down/index.d.ts +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/index.d.ts +7 -7
- package/es/date-picker/DatePicker.d.ts +10 -10
- package/es/date-picker/index.d.ts +8 -8
- package/es/dialog/Dialog.d.ts +3 -3
- package/es/dialog/index.d.ts +3 -3
- package/es/divider/index.d.ts +1 -1
- package/es/dropdown-item/index.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.mjs +2 -2
- package/es/dropdown-menu/index.d.ts +2 -2
- package/es/empty/index.d.ts +3 -3
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/index.d.ts +1 -1
- package/es/floating-panel/FloatingPanel.d.ts +1 -1
- package/es/floating-panel/index.d.ts +2 -2
- package/es/form/index.d.ts +10 -10
- package/es/grid/index.d.ts +1 -1
- package/es/grid-item/index.d.ts +3 -3
- package/es/highlight/index.d.ts +1 -1
- package/es/icon/index.d.ts +3 -3
- package/es/image/Image.d.ts +6 -0
- package/es/image/Image.mjs +6 -2
- package/es/image/index.d.ts +5 -1
- package/es/image-preview/ImagePreview.d.ts +4 -0
- package/es/image-preview/ImagePreview.mjs +3 -0
- package/es/image-preview/ImagePreviewItem.d.ts +4 -0
- package/es/image-preview/ImagePreviewItem.mjs +3 -2
- package/es/image-preview/function-call.mjs +1 -0
- package/es/image-preview/index.d.ts +11 -8
- package/es/image-preview/types.d.ts +1 -0
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-bar/index.d.ts +4 -4
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/loading/index.d.ts +1 -1
- package/es/nav-bar/index.d.ts +1 -1
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notify/Notify.d.ts +3 -3
- package/es/notify/index.d.ts +3 -3
- package/es/number-keyboard/NumberKeyboard.mjs +1 -1
- package/es/number-keyboard/index.d.ts +1 -1
- package/es/overlay/index.d.ts +1 -1
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/index.d.ts +2 -2
- package/es/password-input/index.d.ts +1 -1
- package/es/picker/index.d.ts +4 -4
- package/es/picker/utils.d.ts +1 -1
- package/es/picker-group/index.d.ts +1 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/index.d.ts +3 -3
- package/es/progress/index.d.ts +3 -3
- package/es/pull-refresh/index.d.ts +1 -1
- package/es/radio/index.d.ts +3 -3
- package/es/radio-group/index.d.ts +5 -5
- package/es/rate/index.d.ts +1 -1
- package/es/rolling-text/index.d.ts +1 -1
- package/es/row/index.d.ts +1 -1
- package/es/search/Search.d.ts +17 -17
- package/es/search/index.d.ts +13 -13
- package/es/share-sheet/ShareSheet.d.ts +3 -3
- package/es/share-sheet/index.d.ts +3 -3
- package/es/sidebar/index.d.ts +1 -1
- package/es/sidebar-item/index.d.ts +3 -3
- package/es/signature/Signature.mjs +3 -1
- package/es/signature/index.d.ts +1 -1
- package/es/signature/types.d.ts +2 -0
- package/es/skeleton/index.d.ts +9 -9
- package/es/skeleton-avatar/index.d.ts +1 -1
- package/es/skeleton-image/index.d.ts +1 -1
- package/es/skeleton-paragraph/index.d.ts +1 -1
- package/es/skeleton-title/index.d.ts +1 -1
- package/es/slider/index.d.ts +1 -1
- package/es/space/index.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/index.d.ts +3 -3
- package/es/steps/index.d.ts +1 -1
- package/es/sticky/index.d.ts +1 -1
- package/es/submit-bar/index.d.ts +6 -6
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/index.d.ts +2 -2
- package/es/swipe-cell/index.d.ts +3 -3
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/index.d.ts +1 -1
- package/es/tab/index.d.ts +1 -1
- package/es/tabbar/index.d.ts +3 -3
- package/es/tabbar-item/index.d.ts +3 -3
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/index.d.ts +4 -4
- package/es/tag/index.d.ts +1 -1
- package/es/text-ellipsis/index.d.ts +1 -1
- package/es/time-picker/TimePicker.d.ts +13 -13
- package/es/time-picker/index.d.ts +10 -10
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/index.d.ts +4 -4
- package/es/tree-select/index.d.ts +4 -4
- package/es/uploader/index.d.ts +7 -7
- package/es/uploader/utils.d.ts +1 -1
- package/es/watermark/index.d.ts +1 -1
- package/lib/action-bar/index.d.ts +1 -1
- package/lib/action-bar-button/index.d.ts +3 -3
- package/lib/action-bar-icon/index.d.ts +3 -3
- package/lib/action-sheet/ActionSheet.d.ts +4 -3
- package/lib/action-sheet/ActionSheet.js +9 -1
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +3 -3
- package/lib/address-edit/index.d.ts +5 -5
- package/lib/address-list/index.d.ts +1 -1
- package/lib/area/Area.d.ts +3 -3
- package/lib/area/index.d.ts +2 -2
- package/lib/back-top/index.d.ts +1 -1
- package/lib/badge/index.d.ts +3 -3
- package/lib/barrage/Barrage.d.ts +1 -1
- package/lib/barrage/index.d.ts +2 -2
- package/lib/button/index.d.ts +3 -3
- package/lib/calendar/index.d.ts +6 -6
- package/lib/calendar/utils.d.ts +1 -1
- package/lib/card/index.d.ts +1 -1
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/index.d.ts +8 -8
- package/lib/circle/index.d.ts +1 -1
- package/lib/col/index.d.ts +1 -1
- package/lib/collapse/index.d.ts +4 -4
- package/lib/collapse-item/index.d.ts +5 -5
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/contact-card/index.d.ts +1 -1
- package/lib/contact-edit/index.d.ts +3 -3
- package/lib/contact-list/index.d.ts +1 -1
- package/lib/count-down/index.d.ts +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/index.d.ts +7 -7
- package/lib/date-picker/DatePicker.d.ts +10 -10
- package/lib/date-picker/index.d.ts +8 -8
- package/lib/dialog/Dialog.d.ts +3 -3
- package/lib/dialog/index.d.ts +3 -3
- package/lib/divider/index.d.ts +1 -1
- package/lib/dropdown-item/index.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.js +1 -1
- package/lib/dropdown-menu/index.d.ts +2 -2
- package/lib/empty/index.d.ts +3 -3
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/index.d.ts +1 -1
- package/lib/floating-panel/FloatingPanel.d.ts +1 -1
- package/lib/floating-panel/index.d.ts +2 -2
- package/lib/form/index.d.ts +10 -10
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid-item/index.d.ts +3 -3
- package/lib/highlight/index.d.ts +1 -1
- package/lib/icon/index.d.ts +3 -3
- package/lib/image/Image.d.ts +6 -0
- package/lib/image/Image.js +6 -2
- package/lib/image/index.d.ts +5 -1
- package/lib/image-preview/ImagePreview.d.ts +4 -0
- package/lib/image-preview/ImagePreview.js +3 -0
- package/lib/image-preview/ImagePreviewItem.d.ts +4 -0
- package/lib/image-preview/ImagePreviewItem.js +3 -2
- package/lib/image-preview/function-call.js +1 -0
- package/lib/image-preview/index.d.ts +11 -8
- package/lib/image-preview/types.d.ts +1 -0
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-bar/index.d.ts +4 -4
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notify/Notify.d.ts +3 -3
- package/lib/notify/index.d.ts +3 -3
- package/lib/number-keyboard/NumberKeyboard.js +1 -1
- package/lib/number-keyboard/index.d.ts +1 -1
- package/lib/overlay/index.d.ts +1 -1
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/index.d.ts +2 -2
- package/lib/password-input/index.d.ts +1 -1
- package/lib/picker/index.d.ts +4 -4
- package/lib/picker/utils.d.ts +1 -1
- package/lib/picker-group/index.d.ts +1 -1
- package/lib/popover/index.d.ts +1 -1
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/index.d.ts +3 -3
- package/lib/progress/index.d.ts +3 -3
- package/lib/pull-refresh/index.d.ts +1 -1
- package/lib/radio/index.d.ts +3 -3
- package/lib/radio-group/index.d.ts +5 -5
- package/lib/rate/index.d.ts +1 -1
- package/lib/rolling-text/index.d.ts +1 -1
- package/lib/row/index.d.ts +1 -1
- package/lib/search/Search.d.ts +17 -17
- package/lib/search/index.d.ts +13 -13
- package/lib/share-sheet/ShareSheet.d.ts +3 -3
- package/lib/share-sheet/index.d.ts +3 -3
- package/lib/sidebar/index.d.ts +1 -1
- package/lib/sidebar-item/index.d.ts +3 -3
- package/lib/signature/Signature.js +3 -1
- package/lib/signature/index.d.ts +1 -1
- package/lib/signature/types.d.ts +2 -0
- package/lib/skeleton/index.d.ts +9 -9
- package/lib/skeleton-avatar/index.d.ts +1 -1
- package/lib/skeleton-image/index.d.ts +1 -1
- package/lib/skeleton-paragraph/index.d.ts +1 -1
- package/lib/skeleton-title/index.d.ts +1 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/index.d.ts +3 -3
- package/lib/steps/index.d.ts +1 -1
- package/lib/sticky/index.d.ts +1 -1
- package/lib/submit-bar/index.d.ts +6 -6
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/index.d.ts +2 -2
- package/lib/swipe-cell/index.d.ts +3 -3
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/index.d.ts +1 -1
- package/lib/tab/index.d.ts +1 -1
- package/lib/tabbar/index.d.ts +3 -3
- package/lib/tabbar-item/index.d.ts +3 -3
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/index.d.ts +4 -4
- package/lib/tag/index.d.ts +1 -1
- package/lib/text-ellipsis/index.d.ts +1 -1
- package/lib/time-picker/TimePicker.d.ts +13 -13
- package/lib/time-picker/index.d.ts +10 -10
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/index.d.ts +4 -4
- package/lib/tree-select/index.d.ts +4 -4
- package/lib/uploader/index.d.ts +7 -7
- package/lib/uploader/utils.d.ts +1 -1
- package/lib/vant.cjs.js +28 -9
- package/lib/vant.es.js +29 -10
- package/lib/vant.js +28 -9
- package/lib/vant.min.js +2 -2
- package/lib/watermark/index.d.ts +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +6 -6
@@ -23,6 +23,7 @@ export declare const imagePreviewProps: {
|
|
23
23
|
type: BooleanConstructor;
|
24
24
|
default: true;
|
25
25
|
};
|
26
|
+
vertical: BooleanConstructor;
|
26
27
|
closeable: BooleanConstructor;
|
27
28
|
showIndex: {
|
28
29
|
type: BooleanConstructor;
|
@@ -91,6 +92,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
91
92
|
type: BooleanConstructor;
|
92
93
|
default: true;
|
93
94
|
};
|
95
|
+
vertical: BooleanConstructor;
|
94
96
|
closeable: BooleanConstructor;
|
95
97
|
showIndex: {
|
96
98
|
type: BooleanConstructor;
|
@@ -157,6 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
157
159
|
type: BooleanConstructor;
|
158
160
|
default: true;
|
159
161
|
};
|
162
|
+
vertical: BooleanConstructor;
|
160
163
|
closeable: BooleanConstructor;
|
161
164
|
showIndex: {
|
162
165
|
type: BooleanConstructor;
|
@@ -212,6 +215,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
212
215
|
loop: boolean;
|
213
216
|
overlay: boolean;
|
214
217
|
show: boolean;
|
218
|
+
vertical: boolean;
|
215
219
|
closeOnClickOverlay: boolean;
|
216
220
|
closeIcon: string;
|
217
221
|
closeable: boolean;
|
@@ -16,6 +16,7 @@ const imagePreviewProps = {
|
|
16
16
|
minZoom: makeNumericProp(1 / 3),
|
17
17
|
maxZoom: makeNumericProp(3),
|
18
18
|
overlay: truthProp,
|
19
|
+
vertical: Boolean,
|
19
20
|
closeable: Boolean,
|
20
21
|
showIndex: truthProp,
|
21
22
|
className: unknownProp,
|
@@ -99,6 +100,7 @@ var stdin_default = defineComponent({
|
|
99
100
|
"lazyRender": true,
|
100
101
|
"loop": props.loop,
|
101
102
|
"class": bem("swipe"),
|
103
|
+
"vertical": props.vertical,
|
102
104
|
"duration": props.swipeDuration,
|
103
105
|
"initialSwipe": props.startPosition,
|
104
106
|
"showIndicators": props.showIndicators,
|
@@ -124,6 +126,7 @@ var stdin_default = defineComponent({
|
|
124
126
|
"doubleScale": props.doubleScale,
|
125
127
|
"closeOnClickImage": props.closeOnClickImage,
|
126
128
|
"closeOnClickOverlay": props.closeOnClickOverlay,
|
129
|
+
"vertical": props.vertical,
|
127
130
|
"onScale": emitScale,
|
128
131
|
"onClose": emitClose,
|
129
132
|
"onLongPress": () => emit("longPress", {
|
@@ -23,6 +23,7 @@ declare const imagePreviewItemProps: {
|
|
23
23
|
doubleScale: BooleanConstructor;
|
24
24
|
closeOnClickImage: BooleanConstructor;
|
25
25
|
closeOnClickOverlay: BooleanConstructor;
|
26
|
+
vertical: BooleanConstructor;
|
26
27
|
};
|
27
28
|
export type ImagePreviewItemProps = ExtractPropTypes<typeof imagePreviewItemProps>;
|
28
29
|
declare const _default: import("vue").DefineComponent<{
|
@@ -49,6 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
49
50
|
doubleScale: BooleanConstructor;
|
50
51
|
closeOnClickImage: BooleanConstructor;
|
51
52
|
closeOnClickOverlay: BooleanConstructor;
|
53
|
+
vertical: BooleanConstructor;
|
52
54
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "scale" | "longPress")[], "close" | "scale" | "longPress", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
53
55
|
src: StringConstructor;
|
54
56
|
show: BooleanConstructor;
|
@@ -73,12 +75,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
73
75
|
doubleScale: BooleanConstructor;
|
74
76
|
closeOnClickImage: BooleanConstructor;
|
75
77
|
closeOnClickOverlay: BooleanConstructor;
|
78
|
+
vertical: BooleanConstructor;
|
76
79
|
}>> & {
|
77
80
|
onClose?: ((...args: any[]) => any) | undefined;
|
78
81
|
onScale?: ((...args: any[]) => any) | undefined;
|
79
82
|
onLongPress?: ((...args: any[]) => any) | undefined;
|
80
83
|
}, {
|
81
84
|
show: boolean;
|
85
|
+
vertical: boolean;
|
82
86
|
closeOnClickOverlay: boolean;
|
83
87
|
disableZoom: boolean;
|
84
88
|
doubleScale: boolean;
|
@@ -25,7 +25,8 @@ const imagePreviewItemProps = {
|
|
25
25
|
disableZoom: Boolean,
|
26
26
|
doubleScale: Boolean,
|
27
27
|
closeOnClickImage: Boolean,
|
28
|
-
closeOnClickOverlay: Boolean
|
28
|
+
closeOnClickOverlay: Boolean,
|
29
|
+
vertical: Boolean
|
29
30
|
};
|
30
31
|
var stdin_default = defineComponent({
|
31
32
|
props: imagePreviewItemProps,
|
@@ -168,7 +169,7 @@ var stdin_default = defineComponent({
|
|
168
169
|
} = touch;
|
169
170
|
const moveX = deltaX.value + startMoveX;
|
170
171
|
const moveY = deltaY.value + startMoveY;
|
171
|
-
if ((
|
172
|
+
if ((props.vertical ? touch.isVertical() && Math.abs(moveY) > maxMoveY.value : touch.isHorizontal() && Math.abs(moveX) > maxMoveX.value) && !isImageMoved) {
|
172
173
|
state.moving = false;
|
173
174
|
return;
|
174
175
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ImagePreviewProps } from './ImagePreview';
|
2
|
-
export declare const ImagePreview: import("
|
2
|
+
export declare const ImagePreview: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
show: BooleanConstructor;
|
4
4
|
loop: {
|
5
5
|
type: BooleanConstructor;
|
@@ -21,6 +21,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
21
21
|
type: BooleanConstructor;
|
22
22
|
default: true;
|
23
23
|
};
|
24
|
+
vertical: BooleanConstructor;
|
24
25
|
closeable: BooleanConstructor;
|
25
26
|
showIndex: {
|
26
27
|
type: BooleanConstructor;
|
@@ -32,7 +33,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
32
33
|
default: string;
|
33
34
|
};
|
34
35
|
transition: StringConstructor;
|
35
|
-
beforeClose: import("vue").PropType<import("
|
36
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
36
37
|
doubleScale: {
|
37
38
|
type: BooleanConstructor;
|
38
39
|
default: true;
|
@@ -61,8 +62,8 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
61
62
|
default: true;
|
62
63
|
};
|
63
64
|
closeIconPosition: {
|
64
|
-
type: import("vue").PropType<import("
|
65
|
-
default: import("
|
65
|
+
type: import("vue").PropType<import("packages/vant/es").PopupCloseIconPosition>;
|
66
|
+
default: import("packages/vant/es").PopupCloseIconPosition;
|
66
67
|
};
|
67
68
|
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
68
69
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "closed" | "update:show" | "scale" | "longPress")[], "change" | "close" | "closed" | "update:show" | "scale" | "longPress", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -87,6 +88,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
87
88
|
type: BooleanConstructor;
|
88
89
|
default: true;
|
89
90
|
};
|
91
|
+
vertical: BooleanConstructor;
|
90
92
|
closeable: BooleanConstructor;
|
91
93
|
showIndex: {
|
92
94
|
type: BooleanConstructor;
|
@@ -98,7 +100,7 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
98
100
|
default: string;
|
99
101
|
};
|
100
102
|
transition: StringConstructor;
|
101
|
-
beforeClose: import("vue").PropType<import("
|
103
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
102
104
|
doubleScale: {
|
103
105
|
type: BooleanConstructor;
|
104
106
|
default: true;
|
@@ -127,8 +129,8 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
127
129
|
default: true;
|
128
130
|
};
|
129
131
|
closeIconPosition: {
|
130
|
-
type: import("vue").PropType<import("
|
131
|
-
default: import("
|
132
|
+
type: import("vue").PropType<import("packages/vant/es").PopupCloseIconPosition>;
|
133
|
+
default: import("packages/vant/es").PopupCloseIconPosition;
|
132
134
|
};
|
133
135
|
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
134
136
|
}>> & {
|
@@ -142,11 +144,12 @@ export declare const ImagePreview: import("../utils").WithInstall<import("vue").
|
|
142
144
|
loop: boolean;
|
143
145
|
overlay: boolean;
|
144
146
|
show: boolean;
|
147
|
+
vertical: boolean;
|
145
148
|
closeOnClickOverlay: boolean;
|
146
149
|
closeIcon: string;
|
147
150
|
closeable: boolean;
|
148
151
|
closeOnPopstate: boolean;
|
149
|
-
closeIconPosition: import("
|
152
|
+
closeIconPosition: import("packages/vant/es").PopupCloseIconPosition;
|
150
153
|
swipeDuration: string | number;
|
151
154
|
showIndicators: boolean;
|
152
155
|
startPosition: string | number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const IndexAnchor: import("
|
1
|
+
export declare const IndexAnchor: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
index: (NumberConstructor | StringConstructor)[];
|
3
3
|
}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
4
4
|
index: (NumberConstructor | StringConstructor)[];
|
package/es/index-bar/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IndexBarProps } from './IndexBar';
|
2
|
-
export declare const IndexBar: import("
|
2
|
+
export declare const IndexBar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
sticky: {
|
4
4
|
type: BooleanConstructor;
|
5
5
|
default: true;
|
@@ -12,7 +12,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
12
12
|
default: number;
|
13
13
|
};
|
14
14
|
indexList: {
|
15
|
-
type: import("vue").PropType<import("
|
15
|
+
type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric[]>;
|
16
16
|
default: () => string[];
|
17
17
|
};
|
18
18
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -28,7 +28,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
28
28
|
default: number;
|
29
29
|
};
|
30
30
|
indexList: {
|
31
|
-
type: import("vue").PropType<import("
|
31
|
+
type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric[]>;
|
32
32
|
default: () => string[];
|
33
33
|
};
|
34
34
|
}>> & {
|
@@ -37,7 +37,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
|
|
37
37
|
}, {
|
38
38
|
sticky: boolean;
|
39
39
|
stickyOffsetTop: number;
|
40
|
-
indexList: import("
|
40
|
+
indexList: import("packages/vant/es/utils/basic").Numeric[];
|
41
41
|
}, {}>>;
|
42
42
|
export default IndexBar;
|
43
43
|
export { indexBarProps } from './IndexBar';
|
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
@@ -99,7 +99,7 @@ import { Toast } from "./toast/index.mjs";
|
|
99
99
|
import { TreeSelect } from "./tree-select/index.mjs";
|
100
100
|
import { Uploader } from "./uploader/index.mjs";
|
101
101
|
import { Watermark } from "./watermark/index.mjs";
|
102
|
-
const version = "4.8.
|
102
|
+
const version = "4.8.6";
|
103
103
|
function install(app) {
|
104
104
|
const components = [
|
105
105
|
ActionBar,
|
package/es/list/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ListProps } from './List';
|
2
|
-
export declare const List: import("
|
2
|
+
export declare const List: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
error: BooleanConstructor;
|
4
4
|
offset: {
|
5
5
|
type: (NumberConstructor | StringConstructor)[];
|
package/es/loading/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Loading: import("
|
1
|
+
export declare const Loading: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
3
3
|
type: {
|
4
4
|
type: import("vue").PropType<import("./Loading").LoadingType>;
|
package/es/nav-bar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const NavBar: import("
|
1
|
+
export declare const NavBar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
title: StringConstructor;
|
3
3
|
fixed: BooleanConstructor;
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
package/es/notice-bar/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { NoticeBarProps } from './NoticeBar';
|
2
|
-
export declare const NoticeBar: import("
|
2
|
+
export declare const NoticeBar: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
text: StringConstructor;
|
4
4
|
mode: import("vue").PropType<import("./types").NoticeBarMode>;
|
5
5
|
color: StringConstructor;
|
package/es/notify/Notify.d.ts
CHANGED
@@ -17,7 +17,7 @@ export declare const notifyProps: {
|
|
17
17
|
type: BooleanConstructor;
|
18
18
|
default: true;
|
19
19
|
};
|
20
|
-
beforeClose: import("vue").PropType<import("
|
20
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
21
21
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
22
22
|
overlayClass: import("vue").PropType<unknown>;
|
23
23
|
transitionAppear: BooleanConstructor;
|
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
58
58
|
type: BooleanConstructor;
|
59
59
|
default: true;
|
60
60
|
};
|
61
|
-
beforeClose: import("vue").PropType<import("
|
61
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
62
62
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
63
63
|
overlayClass: import("vue").PropType<unknown>;
|
64
64
|
transitionAppear: BooleanConstructor;
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
97
97
|
type: BooleanConstructor;
|
98
98
|
default: true;
|
99
99
|
};
|
100
|
-
beforeClose: import("vue").PropType<import("
|
100
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
101
101
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
102
102
|
overlayClass: import("vue").PropType<unknown>;
|
103
103
|
transitionAppear: BooleanConstructor;
|
package/es/notify/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Notify: import("
|
1
|
+
export declare const Notify: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
overlay: {
|
@@ -15,7 +15,7 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
|
|
15
15
|
type: BooleanConstructor;
|
16
16
|
default: true;
|
17
17
|
};
|
18
|
-
beforeClose: import("vue").PropType<import("
|
18
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
19
19
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
20
20
|
overlayClass: import("vue").PropType<unknown>;
|
21
21
|
transitionAppear: BooleanConstructor;
|
@@ -54,7 +54,7 @@ export declare const Notify: import("../utils").WithInstall<import("vue").Define
|
|
54
54
|
type: BooleanConstructor;
|
55
55
|
default: true;
|
56
56
|
};
|
57
|
-
beforeClose: import("vue").PropType<import("
|
57
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
58
58
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
59
59
|
overlayClass: import("vue").PropType<unknown>;
|
60
60
|
transitionAppear: BooleanConstructor;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const NumberKeyboard: import("
|
1
|
+
export declare const NumberKeyboard: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
title: StringConstructor;
|
4
4
|
theme: {
|
package/es/overlay/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Overlay: import("
|
1
|
+
export declare const Overlay: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
duration: (NumberConstructor | StringConstructor)[];
|
@@ -114,8 +114,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
114
114
|
onChange?: ((...args: any[]) => any) | undefined;
|
115
115
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
116
116
|
}, {
|
117
|
-
modelValue: number;
|
118
117
|
mode: PaginationMode;
|
118
|
+
modelValue: number;
|
119
119
|
pageCount: string | number;
|
120
120
|
totalItems: string | number;
|
121
121
|
showPageSize: string | number;
|
package/es/pagination/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Pagination: import("
|
1
|
+
export declare const Pagination: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
mode: {
|
3
3
|
type: import("vue").PropType<import("./Pagination").PaginationMode>;
|
4
4
|
default: import("./Pagination").PaginationMode;
|
@@ -74,8 +74,8 @@ export declare const Pagination: import("../utils").WithInstall<import("vue").De
|
|
74
74
|
onChange?: ((...args: any[]) => any) | undefined;
|
75
75
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
76
76
|
}, {
|
77
|
-
modelValue: number;
|
78
77
|
mode: import("./Pagination").PaginationMode;
|
78
|
+
modelValue: number;
|
79
79
|
pageCount: string | number;
|
80
80
|
totalItems: string | number;
|
81
81
|
showPageSize: string | number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const PasswordInput: import("
|
1
|
+
export declare const PasswordInput: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
info: StringConstructor;
|
3
3
|
mask: {
|
4
4
|
type: BooleanConstructor;
|
package/es/picker/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PickerProps } from './Picker';
|
2
|
-
export declare const Picker: import("
|
2
|
+
export declare const Picker: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
loading: BooleanConstructor;
|
4
4
|
readonly: BooleanConstructor;
|
5
5
|
allowHtml: BooleanConstructor;
|
@@ -29,7 +29,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
29
29
|
default: () => never[];
|
30
30
|
};
|
31
31
|
modelValue: {
|
32
|
-
type: import("vue").PropType<import("
|
32
|
+
type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric[]>;
|
33
33
|
default: () => never[];
|
34
34
|
};
|
35
35
|
toolbarPosition: {
|
@@ -67,7 +67,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
67
67
|
default: () => never[];
|
68
68
|
};
|
69
69
|
modelValue: {
|
70
|
-
type: import("vue").PropType<import("
|
70
|
+
type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric[]>;
|
71
71
|
default: () => never[];
|
72
72
|
};
|
73
73
|
toolbarPosition: {
|
@@ -83,7 +83,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
83
83
|
onScrollInto?: ((...args: any[]) => any) | undefined;
|
84
84
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
85
85
|
}, {
|
86
|
-
modelValue: import("
|
86
|
+
modelValue: import("packages/vant/es/utils/basic").Numeric[];
|
87
87
|
readonly: boolean;
|
88
88
|
loading: boolean;
|
89
89
|
allowHtml: boolean;
|
package/es/picker/utils.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { type Numeric } from '../utils';
|
2
2
|
import type { Ref } from 'vue';
|
3
3
|
import type { PickerOption, PickerColumn, PickerFieldNames } from './types';
|
4
|
-
declare const name: string, bem: (el?: import("
|
4
|
+
declare const name: string, bem: (el?: import("packages/vant/es/utils/create").Mods | undefined, mods?: import("packages/vant/es/utils/create").Mods | undefined) => import("packages/vant/es/utils/create").Mods, t: (path: string, ...args: unknown[]) => any;
|
5
5
|
export { name, bem, t };
|
6
6
|
export declare const getFirstEnabledOption: (options: PickerOption[]) => PickerOption | undefined;
|
7
7
|
export declare function getColumnsType(columns: PickerColumn | PickerColumn[], fields: Required<PickerFieldNames>): "default" | "multiple" | "cascade";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PickerGroupProps } from './PickerGroup';
|
2
|
-
export declare const PickerGroup: import("
|
2
|
+
export declare const PickerGroup: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
tabs: {
|
4
4
|
type: import("vue").PropType<string[]>;
|
5
5
|
default: () => never[];
|
package/es/popover/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Popover: import("
|
1
|
+
export declare const Popover: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
theme: {
|
4
4
|
type: import("vue").PropType<import("./types").PopoverTheme>;
|
package/es/popup/Popup.d.ts
CHANGED
@@ -17,7 +17,7 @@ export declare const popupProps: {
|
|
17
17
|
type: BooleanConstructor;
|
18
18
|
default: true;
|
19
19
|
};
|
20
|
-
beforeClose: import("vue").PropType<import("
|
20
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
21
21
|
overlayStyle: import("vue").PropType<CSSProperties>;
|
22
22
|
overlayClass: import("vue").PropType<unknown>;
|
23
23
|
transitionAppear: BooleanConstructor;
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
64
64
|
type: BooleanConstructor;
|
65
65
|
default: true;
|
66
66
|
};
|
67
|
-
beforeClose: import("vue").PropType<import("
|
67
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
68
68
|
overlayStyle: import("vue").PropType<CSSProperties>;
|
69
69
|
overlayClass: import("vue").PropType<unknown>;
|
70
70
|
transitionAppear: BooleanConstructor;
|
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
109
109
|
type: BooleanConstructor;
|
110
110
|
default: true;
|
111
111
|
};
|
112
|
-
beforeClose: import("vue").PropType<import("
|
112
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
113
113
|
overlayStyle: import("vue").PropType<CSSProperties>;
|
114
114
|
overlayClass: import("vue").PropType<unknown>;
|
115
115
|
transitionAppear: BooleanConstructor;
|
package/es/popup/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Popup: import("
|
1
|
+
export declare const Popup: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
overlay: {
|
@@ -15,7 +15,7 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
15
15
|
type: BooleanConstructor;
|
16
16
|
default: true;
|
17
17
|
};
|
18
|
-
beforeClose: import("vue").PropType<import("
|
18
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
19
19
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
20
20
|
overlayClass: import("vue").PropType<unknown>;
|
21
21
|
transitionAppear: BooleanConstructor;
|
@@ -60,7 +60,7 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
60
60
|
type: BooleanConstructor;
|
61
61
|
default: true;
|
62
62
|
};
|
63
|
-
beforeClose: import("vue").PropType<import("
|
63
|
+
beforeClose: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
64
64
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
65
65
|
overlayClass: import("vue").PropType<unknown>;
|
66
66
|
transitionAppear: BooleanConstructor;
|
package/es/progress/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ProgressProps } from './Progress';
|
2
|
-
export declare const Progress: import("
|
2
|
+
export declare const Progress: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
color: StringConstructor;
|
4
4
|
inactive: BooleanConstructor;
|
5
5
|
pivotText: StringConstructor;
|
@@ -14,7 +14,7 @@ export declare const Progress: import("../utils").WithInstall<import("vue").Defi
|
|
14
14
|
percentage: {
|
15
15
|
type: (NumberConstructor | StringConstructor)[];
|
16
16
|
default: number;
|
17
|
-
validator: (value: import("
|
17
|
+
validator: (value: import("packages/vant/es/utils/basic").Numeric) => boolean;
|
18
18
|
};
|
19
19
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
20
20
|
color: StringConstructor;
|
@@ -31,7 +31,7 @@ export declare const Progress: import("../utils").WithInstall<import("vue").Defi
|
|
31
31
|
percentage: {
|
32
32
|
type: (NumberConstructor | StringConstructor)[];
|
33
33
|
default: number;
|
34
|
-
validator: (value: import("
|
34
|
+
validator: (value: import("packages/vant/es/utils/basic").Numeric) => boolean;
|
35
35
|
};
|
36
36
|
}>>, {
|
37
37
|
inactive: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const PullRefresh: import("
|
1
|
+
export declare const PullRefresh: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
disabled: BooleanConstructor;
|
3
3
|
modelValue: BooleanConstructor;
|
4
4
|
headHeight: {
|
package/es/radio/index.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
export declare const Radio: import("
|
1
|
+
export declare const Radio: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
name: import("vue").PropType<unknown>;
|
3
3
|
disabled: BooleanConstructor;
|
4
4
|
iconSize: (NumberConstructor | StringConstructor)[];
|
5
5
|
modelValue: import("vue").PropType<unknown>;
|
6
6
|
checkedColor: StringConstructor;
|
7
|
-
labelPosition: import("vue").PropType<import("
|
7
|
+
labelPosition: import("vue").PropType<import("packages/vant/es/checkbox/Checker").CheckerLabelPosition>;
|
8
8
|
labelDisabled: BooleanConstructor;
|
9
9
|
} & {
|
10
10
|
shape: import("vue").PropType<import("./Radio").RadioShape>;
|
@@ -14,7 +14,7 @@ export declare const Radio: import("../utils").WithInstall<import("vue").DefineC
|
|
14
14
|
iconSize: (NumberConstructor | StringConstructor)[];
|
15
15
|
modelValue: import("vue").PropType<unknown>;
|
16
16
|
checkedColor: StringConstructor;
|
17
|
-
labelPosition: import("vue").PropType<import("
|
17
|
+
labelPosition: import("vue").PropType<import("packages/vant/es/checkbox/Checker").CheckerLabelPosition>;
|
18
18
|
labelDisabled: BooleanConstructor;
|
19
19
|
} & {
|
20
20
|
shape: import("vue").PropType<import("./Radio").RadioShape>;
|
@@ -1,15 +1,15 @@
|
|
1
|
-
export declare const RadioGroup: import("
|
2
|
-
shape: import("vue").PropType<import("
|
1
|
+
export declare const RadioGroup: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
|
+
shape: import("vue").PropType<import("packages/vant/es").RadioShape>;
|
3
3
|
disabled: BooleanConstructor;
|
4
4
|
iconSize: (NumberConstructor | StringConstructor)[];
|
5
|
-
direction: import("vue").PropType<import("
|
5
|
+
direction: import("vue").PropType<import("packages/vant/es/checkbox/Checker").CheckerDirection>;
|
6
6
|
modelValue: import("vue").PropType<unknown>;
|
7
7
|
checkedColor: StringConstructor;
|
8
8
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
9
|
-
shape: import("vue").PropType<import("
|
9
|
+
shape: import("vue").PropType<import("packages/vant/es").RadioShape>;
|
10
10
|
disabled: BooleanConstructor;
|
11
11
|
iconSize: (NumberConstructor | StringConstructor)[];
|
12
|
-
direction: import("vue").PropType<import("
|
12
|
+
direction: import("vue").PropType<import("packages/vant/es/checkbox/Checker").CheckerDirection>;
|
13
13
|
modelValue: import("vue").PropType<unknown>;
|
14
14
|
checkedColor: StringConstructor;
|
15
15
|
}>> & {
|
package/es/rate/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Rate: import("
|
1
|
+
export declare const Rate: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
3
3
|
icon: {
|
4
4
|
type: import("vue").PropType<string>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import _RollingText from './RollingText';
|
2
|
-
export declare const RollingText: import("
|
2
|
+
export declare const RollingText: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
startNum: {
|
4
4
|
type: NumberConstructor;
|
5
5
|
default: number;
|
package/es/row/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Row: import("
|
1
|
+
export declare const Row: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: {
|
3
3
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|