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
package/lib/barrage/Barrage.d.ts
CHANGED
@@ -83,10 +83,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
83
83
|
}>> & {
|
84
84
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
85
85
|
}, {
|
86
|
+
duration: string | number;
|
86
87
|
top: string | number;
|
87
88
|
modelValue: BarrageItem[];
|
88
89
|
rows: string | number;
|
89
|
-
duration: string | number;
|
90
90
|
autoPlay: boolean;
|
91
91
|
delay: number;
|
92
92
|
}, {}>;
|
package/lib/barrage/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Barrage: import("
|
1
|
+
export declare const Barrage: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
top: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
@@ -51,10 +51,10 @@ export declare const Barrage: import("../utils").WithInstall<import("vue").Defin
|
|
51
51
|
}>> & {
|
52
52
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
53
53
|
}, {
|
54
|
+
duration: string | number;
|
54
55
|
top: string | number;
|
55
56
|
modelValue: import("./Barrage").BarrageItem[];
|
56
57
|
rows: string | number;
|
57
|
-
duration: string | number;
|
58
58
|
autoPlay: boolean;
|
59
59
|
delay: number;
|
60
60
|
}, {}>>;
|
package/lib/button/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Button: import("
|
1
|
+
export declare const Button: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
3
3
|
url: StringConstructor;
|
4
4
|
replace: BooleanConstructor;
|
@@ -32,7 +32,7 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
32
32
|
};
|
33
33
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
34
34
|
loadingText: StringConstructor;
|
35
|
-
loadingType: import("vue").PropType<import("
|
35
|
+
loadingType: import("vue").PropType<import("packages/vant/lib").LoadingType>;
|
36
36
|
iconPosition: {
|
37
37
|
type: import("vue").PropType<import("./types").ButtonIconPosition>;
|
38
38
|
default: import("./types").ButtonIconPosition;
|
@@ -71,7 +71,7 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
71
71
|
};
|
72
72
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
73
73
|
loadingText: StringConstructor;
|
74
|
-
loadingType: import("vue").PropType<import("
|
74
|
+
loadingType: import("vue").PropType<import("packages/vant/lib").LoadingType>;
|
75
75
|
iconPosition: {
|
76
76
|
type: import("vue").PropType<import("./types").ButtonIconPosition>;
|
77
77
|
default: import("./types").ButtonIconPosition;
|
package/lib/calendar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Calendar: import("
|
1
|
+
export declare const Calendar: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
type: {
|
4
4
|
type: import("vue").PropType<import("./types").CalendarType>;
|
@@ -20,8 +20,8 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
20
20
|
default: null;
|
21
21
|
};
|
22
22
|
position: {
|
23
|
-
type: import("vue").PropType<import("
|
24
|
-
default: import("
|
23
|
+
type: import("vue").PropType<import("packages/vant/lib").PopupPosition>;
|
24
|
+
default: import("packages/vant/lib").PopupPosition;
|
25
25
|
};
|
26
26
|
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
27
27
|
showMark: {
|
@@ -105,8 +105,8 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
105
105
|
default: null;
|
106
106
|
};
|
107
107
|
position: {
|
108
|
-
type: import("vue").PropType<import("
|
109
|
-
default: import("
|
108
|
+
type: import("vue").PropType<import("packages/vant/lib").PopupPosition>;
|
109
|
+
default: import("packages/vant/lib").PopupPosition;
|
110
110
|
};
|
111
111
|
teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
112
112
|
showMark: {
|
@@ -179,7 +179,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
179
179
|
onOverRange?: ((...args: any[]) => any) | undefined;
|
180
180
|
}, {
|
181
181
|
type: import("./types").CalendarType;
|
182
|
-
position: import("
|
182
|
+
position: import("packages/vant/lib").PopupPosition;
|
183
183
|
round: boolean;
|
184
184
|
show: boolean;
|
185
185
|
readonly: boolean;
|
package/lib/calendar/utils.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const name: string, bem: (el?: import("
|
1
|
+
declare const name: string, bem: (el?: import("packages/vant/lib/utils/create").Mods | undefined, mods?: import("packages/vant/lib/utils/create").Mods | undefined) => import("packages/vant/lib/utils/create").Mods, t: (path: string, ...args: unknown[]) => any;
|
2
2
|
export { name, bem, t };
|
3
3
|
export declare const formatMonthTitle: (date: Date) => any;
|
4
4
|
export declare function compareMonth(date1: Date, date2: Date): 0 | 1 | -1;
|
package/lib/card/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Card: import("
|
1
|
+
export declare const Card: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: StringConstructor;
|
3
3
|
num: (NumberConstructor | StringConstructor)[];
|
4
4
|
desc: StringConstructor;
|
package/lib/cascader/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Cascader: import("
|
1
|
+
export declare const Cascader: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
title: StringConstructor;
|
3
3
|
options: {
|
4
4
|
type: import("vue").PropType<import("./types").CascaderOption[]>;
|
package/lib/cell/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Cell: import("
|
1
|
+
export declare const Cell: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: {
|
3
3
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const CellGroup: import("
|
1
|
+
export declare const CellGroup: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
title: StringConstructor;
|
3
3
|
inset: BooleanConstructor;
|
4
4
|
border: {
|
package/lib/checkbox/index.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
export declare const Checkbox: import("
|
1
|
+
export declare const Checkbox: import("packages/vant/lib/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/lib/checkbox/Checker").CheckerLabelPosition>;
|
8
8
|
labelDisabled: BooleanConstructor;
|
9
9
|
} & {
|
10
|
-
shape: import("vue").PropType<import("
|
10
|
+
shape: import("vue").PropType<import("packages/vant/lib/checkbox/Checker").CheckerShape>;
|
11
11
|
bindGroup: {
|
12
12
|
type: BooleanConstructor;
|
13
13
|
default: true;
|
@@ -22,10 +22,10 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
22
22
|
iconSize: (NumberConstructor | StringConstructor)[];
|
23
23
|
modelValue: import("vue").PropType<unknown>;
|
24
24
|
checkedColor: StringConstructor;
|
25
|
-
labelPosition: import("vue").PropType<import("
|
25
|
+
labelPosition: import("vue").PropType<import("packages/vant/lib/checkbox/Checker").CheckerLabelPosition>;
|
26
26
|
labelDisabled: BooleanConstructor;
|
27
27
|
} & {
|
28
|
-
shape: import("vue").PropType<import("
|
28
|
+
shape: import("vue").PropType<import("packages/vant/lib/checkbox/Checker").CheckerShape>;
|
29
29
|
bindGroup: {
|
30
30
|
type: BooleanConstructor;
|
31
31
|
default: true;
|
@@ -1,12 +1,12 @@
|
|
1
|
-
export declare const CheckboxGroup: import("
|
1
|
+
export declare const CheckboxGroup: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
max: (NumberConstructor | StringConstructor)[];
|
3
3
|
shape: {
|
4
|
-
type: import("vue").PropType<import("
|
5
|
-
default: import("
|
4
|
+
type: import("vue").PropType<import("packages/vant/lib/checkbox/Checker").CheckerShape>;
|
5
|
+
default: import("packages/vant/lib/checkbox/Checker").CheckerShape;
|
6
6
|
};
|
7
7
|
disabled: BooleanConstructor;
|
8
8
|
iconSize: (NumberConstructor | StringConstructor)[];
|
9
|
-
direction: import("vue").PropType<import("
|
9
|
+
direction: import("vue").PropType<import("packages/vant/lib/checkbox/Checker").CheckerDirection>;
|
10
10
|
modelValue: {
|
11
11
|
type: import("vue").PropType<unknown[]>;
|
12
12
|
default: () => never[];
|
@@ -15,12 +15,12 @@ export declare const CheckboxGroup: import("../utils").WithInstall<import("vue")
|
|
15
15
|
}, () => 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<{
|
16
16
|
max: (NumberConstructor | StringConstructor)[];
|
17
17
|
shape: {
|
18
|
-
type: import("vue").PropType<import("
|
19
|
-
default: import("
|
18
|
+
type: import("vue").PropType<import("packages/vant/lib/checkbox/Checker").CheckerShape>;
|
19
|
+
default: import("packages/vant/lib/checkbox/Checker").CheckerShape;
|
20
20
|
};
|
21
21
|
disabled: BooleanConstructor;
|
22
22
|
iconSize: (NumberConstructor | StringConstructor)[];
|
23
|
-
direction: import("vue").PropType<import("
|
23
|
+
direction: import("vue").PropType<import("packages/vant/lib/checkbox/Checker").CheckerDirection>;
|
24
24
|
modelValue: {
|
25
25
|
type: import("vue").PropType<unknown[]>;
|
26
26
|
default: () => never[];
|
@@ -31,7 +31,7 @@ export declare const CheckboxGroup: import("../utils").WithInstall<import("vue")
|
|
31
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
32
32
|
}, {
|
33
33
|
disabled: boolean;
|
34
|
-
shape: import("
|
34
|
+
shape: import("packages/vant/lib/checkbox/Checker").CheckerShape;
|
35
35
|
modelValue: unknown[];
|
36
36
|
}, {}>>;
|
37
37
|
export default CheckboxGroup;
|
package/lib/circle/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Circle: import("
|
1
|
+
export declare const Circle: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
text: StringConstructor;
|
3
3
|
size: (NumberConstructor | StringConstructor)[];
|
4
4
|
fill: {
|
package/lib/col/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Col: import("
|
1
|
+
export declare const Col: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: {
|
3
3
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
package/lib/collapse/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
export declare const Collapse: import("
|
1
|
+
export declare const Collapse: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
border: {
|
3
3
|
type: BooleanConstructor;
|
4
4
|
default: true;
|
5
5
|
};
|
6
6
|
accordion: BooleanConstructor;
|
7
7
|
modelValue: {
|
8
|
-
type: import("vue").PropType<import("
|
8
|
+
type: import("vue").PropType<import("packages/vant/lib/utils/basic").Numeric | import("packages/vant/lib/utils/basic").Numeric[]>;
|
9
9
|
default: string;
|
10
10
|
};
|
11
11
|
}, () => 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<{
|
@@ -15,7 +15,7 @@ export declare const Collapse: import("../utils").WithInstall<import("vue").Defi
|
|
15
15
|
};
|
16
16
|
accordion: BooleanConstructor;
|
17
17
|
modelValue: {
|
18
|
-
type: import("vue").PropType<import("
|
18
|
+
type: import("vue").PropType<import("packages/vant/lib/utils/basic").Numeric | import("packages/vant/lib/utils/basic").Numeric[]>;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
}>> & {
|
@@ -23,7 +23,7 @@ export declare const Collapse: import("../utils").WithInstall<import("vue").Defi
|
|
23
23
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
24
24
|
}, {
|
25
25
|
border: boolean;
|
26
|
-
modelValue: import("
|
26
|
+
modelValue: import("packages/vant/lib/utils/basic").Numeric | import("packages/vant/lib/utils/basic").Numeric[];
|
27
27
|
accordion: boolean;
|
28
28
|
}, {}>>;
|
29
29
|
export default Collapse;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
export declare const CollapseItem: import("
|
1
|
+
export declare const CollapseItem: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: {
|
3
3
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
5
5
|
};
|
6
6
|
icon: StringConstructor;
|
7
|
-
size: import("vue").PropType<import("
|
7
|
+
size: import("vue").PropType<import("packages/vant/lib").CellSize>;
|
8
8
|
title: (NumberConstructor | StringConstructor)[];
|
9
9
|
value: (NumberConstructor | StringConstructor)[];
|
10
10
|
label: (NumberConstructor | StringConstructor)[];
|
@@ -19,7 +19,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
|
|
19
19
|
labelClass: import("vue").PropType<unknown>;
|
20
20
|
titleClass: import("vue").PropType<unknown>;
|
21
21
|
titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
22
|
-
arrowDirection: import("vue").PropType<import("
|
22
|
+
arrowDirection: import("vue").PropType<import("packages/vant/lib").CellArrowDirection>;
|
23
23
|
required: {
|
24
24
|
type: import("vue").PropType<boolean | "auto">;
|
25
25
|
default: null;
|
@@ -46,7 +46,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
|
|
46
46
|
default: keyof HTMLElementTagNameMap;
|
47
47
|
};
|
48
48
|
icon: StringConstructor;
|
49
|
-
size: import("vue").PropType<import("
|
49
|
+
size: import("vue").PropType<import("packages/vant/lib").CellSize>;
|
50
50
|
title: (NumberConstructor | StringConstructor)[];
|
51
51
|
value: (NumberConstructor | StringConstructor)[];
|
52
52
|
label: (NumberConstructor | StringConstructor)[];
|
@@ -61,7 +61,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
|
|
61
61
|
labelClass: import("vue").PropType<unknown>;
|
62
62
|
titleClass: import("vue").PropType<unknown>;
|
63
63
|
titleStyle: import("vue").PropType<string | import("vue").CSSProperties>;
|
64
|
-
arrowDirection: import("vue").PropType<import("
|
64
|
+
arrowDirection: import("vue").PropType<import("packages/vant/lib").CellArrowDirection>;
|
65
65
|
required: {
|
66
66
|
type: import("vue").PropType<boolean | "auto">;
|
67
67
|
default: null;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ConfigProvider: import("
|
1
|
+
export declare const ConfigProvider: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: {
|
3
3
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ContactCard: import("
|
1
|
+
export declare const ContactCard: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tel: StringConstructor;
|
3
3
|
name: StringConstructor;
|
4
4
|
type: {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ContactEdit: import("
|
1
|
+
export declare const ContactEdit: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
isEdit: BooleanConstructor;
|
3
3
|
isSaving: BooleanConstructor;
|
4
4
|
isDeleting: BooleanConstructor;
|
@@ -10,7 +10,7 @@ export declare const ContactEdit: import("../utils").WithInstall<import("vue").D
|
|
10
10
|
};
|
11
11
|
telValidator: {
|
12
12
|
type: import("vue").PropType<(val: string) => boolean>;
|
13
|
-
default: typeof import("
|
13
|
+
default: typeof import("packages/vant/lib/utils/basic").isMobile;
|
14
14
|
};
|
15
15
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "save" | "changeDefault")[], "delete" | "save" | "changeDefault", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
16
16
|
isEdit: BooleanConstructor;
|
@@ -24,7 +24,7 @@ export declare const ContactEdit: import("../utils").WithInstall<import("vue").D
|
|
24
24
|
};
|
25
25
|
telValidator: {
|
26
26
|
type: import("vue").PropType<(val: string) => boolean>;
|
27
|
-
default: typeof import("
|
27
|
+
default: typeof import("packages/vant/lib/utils/basic").isMobile;
|
28
28
|
};
|
29
29
|
}>> & {
|
30
30
|
onDelete?: ((...args: any[]) => any) | undefined;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ContactList: import("
|
1
|
+
export declare const ContactList: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
list: import("vue").PropType<import("./ContactList").ContactListItem[]>;
|
3
3
|
addText: StringConstructor;
|
4
4
|
modelValue: import("vue").PropType<unknown>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const CountDown: import("
|
1
|
+
export declare const CountDown: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
time: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
package/lib/coupon/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Coupon: import("
|
1
|
+
export declare const Coupon: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
chosen: BooleanConstructor;
|
3
3
|
coupon: {
|
4
4
|
type: import("vue").PropType<import("./Coupon").CouponInfo>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const CouponCell: import("
|
1
|
+
export declare const CouponCell: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
title: StringConstructor;
|
3
3
|
border: {
|
4
4
|
type: BooleanConstructor;
|
@@ -9,7 +9,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
|
|
9
9
|
default: true;
|
10
10
|
};
|
11
11
|
coupons: {
|
12
|
-
type: import("vue").PropType<import("
|
12
|
+
type: import("vue").PropType<import("packages/vant/lib").CouponInfo[]>;
|
13
13
|
default: () => never[];
|
14
14
|
};
|
15
15
|
currency: {
|
@@ -31,7 +31,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
|
|
31
31
|
default: true;
|
32
32
|
};
|
33
33
|
coupons: {
|
34
|
-
type: import("vue").PropType<import("
|
34
|
+
type: import("vue").PropType<import("packages/vant/lib").CouponInfo[]>;
|
35
35
|
default: () => never[];
|
36
36
|
};
|
37
37
|
currency: {
|
@@ -46,7 +46,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
|
|
46
46
|
border: boolean;
|
47
47
|
currency: string;
|
48
48
|
editable: boolean;
|
49
|
-
coupons: import("
|
49
|
+
coupons: import("packages/vant/lib").CouponInfo[];
|
50
50
|
chosenCoupon: string | number;
|
51
51
|
}, {}>>;
|
52
52
|
export default CouponCell;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
export declare const CouponList: import("
|
1
|
+
export declare const CouponList: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
code: {
|
3
3
|
type: import("vue").PropType<string>;
|
4
4
|
default: string;
|
5
5
|
};
|
6
6
|
coupons: {
|
7
|
-
type: import("vue").PropType<import("
|
7
|
+
type: import("vue").PropType<import("packages/vant/lib").CouponInfo[]>;
|
8
8
|
default: () => never[];
|
9
9
|
};
|
10
10
|
currency: {
|
@@ -23,7 +23,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
23
23
|
enabledTitle: StringConstructor;
|
24
24
|
disabledTitle: StringConstructor;
|
25
25
|
disabledCoupons: {
|
26
|
-
type: import("vue").PropType<import("
|
26
|
+
type: import("vue").PropType<import("packages/vant/lib").CouponInfo[]>;
|
27
27
|
default: () => never[];
|
28
28
|
};
|
29
29
|
showExchangeBar: {
|
@@ -53,7 +53,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
53
53
|
default: string;
|
54
54
|
};
|
55
55
|
coupons: {
|
56
|
-
type: import("vue").PropType<import("
|
56
|
+
type: import("vue").PropType<import("packages/vant/lib").CouponInfo[]>;
|
57
57
|
default: () => never[];
|
58
58
|
};
|
59
59
|
currency: {
|
@@ -72,7 +72,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
72
72
|
enabledTitle: StringConstructor;
|
73
73
|
disabledTitle: StringConstructor;
|
74
74
|
disabledCoupons: {
|
75
|
-
type: import("vue").PropType<import("
|
75
|
+
type: import("vue").PropType<import("packages/vant/lib").CouponInfo[]>;
|
76
76
|
default: () => never[];
|
77
77
|
};
|
78
78
|
showExchangeBar: {
|
@@ -103,10 +103,10 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
103
103
|
}, {
|
104
104
|
code: string;
|
105
105
|
currency: string;
|
106
|
-
coupons: import("
|
106
|
+
coupons: import("packages/vant/lib").CouponInfo[];
|
107
107
|
chosenCoupon: number;
|
108
108
|
showCount: boolean;
|
109
|
-
disabledCoupons: import("
|
109
|
+
disabledCoupons: import("packages/vant/lib").CouponInfo[];
|
110
110
|
showExchangeBar: boolean;
|
111
111
|
showCloseButton: boolean;
|
112
112
|
exchangeMinLength: number;
|
@@ -29,10 +29,10 @@ export declare const datePickerProps: {
|
|
29
29
|
type: PropType<string[]>;
|
30
30
|
default: () => never[];
|
31
31
|
};
|
32
|
-
filter: PropType<(columnType: string, options: import("
|
32
|
+
filter: PropType<(columnType: string, options: import("packages/vant/lib/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib/picker/types").PickerOption[]>;
|
33
33
|
formatter: {
|
34
|
-
type: PropType<(type: string, option: import("
|
35
|
-
default: (type: string, option: import("
|
34
|
+
type: PropType<(type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption>;
|
35
|
+
default: (type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption;
|
36
36
|
};
|
37
37
|
} & {
|
38
38
|
columnsType: {
|
@@ -80,10 +80,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
80
80
|
type: PropType<string[]>;
|
81
81
|
default: () => never[];
|
82
82
|
};
|
83
|
-
filter: PropType<(columnType: string, options: import("
|
83
|
+
filter: PropType<(columnType: string, options: import("packages/vant/lib/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib/picker/types").PickerOption[]>;
|
84
84
|
formatter: {
|
85
|
-
type: PropType<(type: string, option: import("
|
86
|
-
default: (type: string, option: import("
|
85
|
+
type: PropType<(type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption>;
|
86
|
+
default: (type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption;
|
87
87
|
};
|
88
88
|
} & {
|
89
89
|
columnsType: {
|
@@ -129,10 +129,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
129
129
|
type: PropType<string[]>;
|
130
130
|
default: () => never[];
|
131
131
|
};
|
132
|
-
filter: PropType<(columnType: string, options: import("
|
132
|
+
filter: PropType<(columnType: string, options: import("packages/vant/lib/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib/picker/types").PickerOption[]>;
|
133
133
|
formatter: {
|
134
|
-
type: PropType<(type: string, option: import("
|
135
|
-
default: (type: string, option: import("
|
134
|
+
type: PropType<(type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption>;
|
135
|
+
default: (type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption;
|
136
136
|
};
|
137
137
|
} & {
|
138
138
|
columnsType: {
|
@@ -155,7 +155,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
155
155
|
onCancel?: ((...args: any[]) => any) | undefined;
|
156
156
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
157
157
|
}, {
|
158
|
-
formatter: (type: string, option: import("
|
158
|
+
formatter: (type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption;
|
159
159
|
modelValue: string[];
|
160
160
|
readonly: boolean;
|
161
161
|
loading: boolean;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DatePickerProps } from './DatePicker';
|
2
|
-
export declare const DatePicker: import("
|
2
|
+
export declare const DatePicker: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
loading: BooleanConstructor;
|
4
4
|
readonly: BooleanConstructor;
|
5
5
|
allowHtml: BooleanConstructor;
|
@@ -28,10 +28,10 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
28
28
|
type: import("vue").PropType<string[]>;
|
29
29
|
default: () => never[];
|
30
30
|
};
|
31
|
-
filter: import("vue").PropType<(columnType: string, options: import("
|
31
|
+
filter: import("vue").PropType<(columnType: string, options: import("packages/vant/lib").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib").PickerOption[]>;
|
32
32
|
formatter: {
|
33
|
-
type: import("vue").PropType<(type: string, option: import("
|
34
|
-
default: (type: string, option: import("
|
33
|
+
type: import("vue").PropType<(type: string, option: import("packages/vant/lib").PickerOption) => import("packages/vant/lib").PickerOption>;
|
34
|
+
default: (type: string, option: import("packages/vant/lib").PickerOption) => import("packages/vant/lib").PickerOption;
|
35
35
|
};
|
36
36
|
} & {
|
37
37
|
columnsType: {
|
@@ -77,10 +77,10 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
77
77
|
type: import("vue").PropType<string[]>;
|
78
78
|
default: () => never[];
|
79
79
|
};
|
80
|
-
filter: import("vue").PropType<(columnType: string, options: import("
|
80
|
+
filter: import("vue").PropType<(columnType: string, options: import("packages/vant/lib").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib").PickerOption[]>;
|
81
81
|
formatter: {
|
82
|
-
type: import("vue").PropType<(type: string, option: import("
|
83
|
-
default: (type: string, option: import("
|
82
|
+
type: import("vue").PropType<(type: string, option: import("packages/vant/lib").PickerOption) => import("packages/vant/lib").PickerOption>;
|
83
|
+
default: (type: string, option: import("packages/vant/lib").PickerOption) => import("packages/vant/lib").PickerOption;
|
84
84
|
};
|
85
85
|
} & {
|
86
86
|
columnsType: {
|
@@ -103,7 +103,7 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
103
103
|
onCancel?: ((...args: any[]) => any) | undefined;
|
104
104
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
105
105
|
}, {
|
106
|
-
formatter: (type: string, option: import("
|
106
|
+
formatter: (type: string, option: import("packages/vant/lib").PickerOption) => import("packages/vant/lib").PickerOption;
|
107
107
|
modelValue: string[];
|
108
108
|
readonly: boolean;
|
109
109
|
loading: boolean;
|
package/lib/dialog/Dialog.d.ts
CHANGED
@@ -17,7 +17,7 @@ export declare const dialogProps: {
|
|
17
17
|
type: BooleanConstructor;
|
18
18
|
default: true;
|
19
19
|
};
|
20
|
-
beforeClose: PropType<import("
|
20
|
+
beforeClose: PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
21
21
|
overlayStyle: PropType<import("vue").CSSProperties>;
|
22
22
|
overlayClass: PropType<unknown>;
|
23
23
|
transitionAppear: BooleanConstructor;
|
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
73
73
|
type: BooleanConstructor;
|
74
74
|
default: true;
|
75
75
|
};
|
76
|
-
beforeClose: PropType<import("
|
76
|
+
beforeClose: PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
77
77
|
overlayStyle: PropType<import("vue").CSSProperties>;
|
78
78
|
overlayClass: PropType<unknown>;
|
79
79
|
transitionAppear: BooleanConstructor;
|
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
127
127
|
type: BooleanConstructor;
|
128
128
|
default: true;
|
129
129
|
};
|
130
|
-
beforeClose: PropType<import("
|
130
|
+
beforeClose: PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
131
131
|
overlayStyle: PropType<import("vue").CSSProperties>;
|
132
132
|
overlayClass: PropType<unknown>;
|
133
133
|
transitionAppear: BooleanConstructor;
|
package/lib/dialog/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Dialog: import("
|
1
|
+
export declare const Dialog: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
overlay: {
|
@@ -15,7 +15,7 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
15
15
|
type: BooleanConstructor;
|
16
16
|
default: true;
|
17
17
|
};
|
18
|
-
beforeClose: import("vue").PropType<import("
|
18
|
+
beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
19
19
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
20
20
|
overlayClass: import("vue").PropType<unknown>;
|
21
21
|
transitionAppear: BooleanConstructor;
|
@@ -69,7 +69,7 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
69
69
|
type: BooleanConstructor;
|
70
70
|
default: true;
|
71
71
|
};
|
72
|
-
beforeClose: import("vue").PropType<import("
|
72
|
+
beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
73
73
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
74
74
|
overlayClass: import("vue").PropType<unknown>;
|
75
75
|
transitionAppear: BooleanConstructor;
|
package/lib/divider/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Divider: import("
|
1
|
+
export declare const Divider: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
dashed: BooleanConstructor;
|
3
3
|
hairline: {
|
4
4
|
type: BooleanConstructor;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DropdownItemProps } from './DropdownItem';
|
2
|
-
export declare const DropdownItem: import("
|
2
|
+
export declare const DropdownItem: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
title: StringConstructor;
|
4
4
|
options: {
|
5
5
|
type: import("vue").PropType<import("./types").DropdownItemOption[]>;
|
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
79
79
|
};
|
80
80
|
swipeThreshold: (NumberConstructor | StringConstructor)[];
|
81
81
|
}>>, {
|
82
|
-
overlay: boolean;
|
83
82
|
duration: string | number;
|
83
|
+
overlay: boolean;
|
84
84
|
closeOnClickOverlay: boolean;
|
85
85
|
direction: DropdownMenuDirection;
|
86
86
|
autoLocate: boolean;
|