vant 4.8.6 → 4.8.8
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/README.md +1 -1
- 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 +3 -3
- package/es/action-sheet/index.d.ts +3 -3
- package/es/address-edit/index.d.ts +5 -5
- package/es/address-list/AddressList.mjs +3 -1
- package/es/address-list/AddressListItem.mjs +3 -3
- 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/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/FloatingBubble.mjs +3 -1
- 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/index.d.ts +1 -1
- package/es/image-preview/ImagePreviewItem.mjs +3 -1
- package/es/image-preview/index.d.ts +8 -8
- 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/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/PickerGroup.mjs +11 -3
- 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/index.d.ts +1 -1
- 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/TextEllipsis.mjs +30 -21
- 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/utils/basic.d.ts +1 -0
- package/es/utils/basic.mjs +2 -0
- 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 +3 -3
- package/lib/action-sheet/index.d.ts +3 -3
- package/lib/address-edit/index.d.ts +5 -5
- package/lib/address-list/AddressList.js +3 -1
- package/lib/address-list/AddressListItem.js +3 -3
- 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/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/FloatingBubble.js +3 -1
- 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/index.d.ts +1 -1
- package/lib/image-preview/ImagePreviewItem.js +3 -1
- package/lib/image-preview/index.d.ts +8 -8
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-bar/index.d.ts +4 -4
- 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/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/PickerGroup.js +9 -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/index.d.ts +1 -1
- 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/TextEllipsis.js +29 -20
- 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/utils/basic.d.ts +1 -0
- package/lib/utils/basic.js +2 -0
- package/lib/vant.cjs.js +52 -28
- package/lib/vant.es.js +52 -28
- package/lib/vant.js +53 -29
- 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 +4 -4
package/README.md
CHANGED
@@ -126,7 +126,7 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3)
|
|
126
126
|
| [vant-playground](https://github.com/LadyChatterleyLover/vant-playground) | Vant Playground |
|
127
127
|
| [sfc-playground-vant](https://github.com/zhixiaoqiang/sfc-playground-vant) | Vant Playground |
|
128
128
|
| [vue3-h5-template](https://github.com/yulimchen/vue3-h5-template) | Mobile project template based on Vant |
|
129
|
-
| [vue3-vant-mobile](https://github.com/
|
129
|
+
| [vue3-vant-mobile](https://github.com/easy-temps/vue3-vant-mobile) | Mobile project template based on Vant |
|
130
130
|
| [vscode-common-intellisense](https://github.com/Simon-He95/vscode-common-intellisense) | A VS Code extension that provides better intellisense to Vant developers |
|
131
131
|
|
132
132
|
## Links
|
package/es/action-bar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ActionBar: import("
|
1
|
+
export declare const ActionBar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
placeholder: BooleanConstructor;
|
3
3
|
safeAreaInsetBottom: {
|
4
4
|
type: BooleanConstructor;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
export declare const ActionBarButton: import("
|
1
|
+
export declare const ActionBarButton: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
3
3
|
url: StringConstructor;
|
4
4
|
replace: BooleanConstructor;
|
5
5
|
} & {
|
6
|
-
type: import("vue").PropType<import("
|
6
|
+
type: import("vue").PropType<import("..").ButtonType>;
|
7
7
|
text: StringConstructor;
|
8
8
|
icon: StringConstructor;
|
9
9
|
color: StringConstructor;
|
@@ -14,7 +14,7 @@ export declare const ActionBarButton: import("packages/vant/es/utils/with-instal
|
|
14
14
|
url: StringConstructor;
|
15
15
|
replace: BooleanConstructor;
|
16
16
|
} & {
|
17
|
-
type: import("vue").PropType<import("
|
17
|
+
type: import("vue").PropType<import("..").ButtonType>;
|
18
18
|
text: StringConstructor;
|
19
19
|
icon: StringConstructor;
|
20
20
|
color: StringConstructor;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ActionBarIcon: import("
|
1
|
+
export declare const ActionBarIcon: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
3
3
|
url: StringConstructor;
|
4
4
|
replace: BooleanConstructor;
|
@@ -9,7 +9,7 @@ export declare const ActionBarIcon: import("packages/vant/es/utils/with-install"
|
|
9
9
|
color: StringConstructor;
|
10
10
|
badge: (NumberConstructor | StringConstructor)[];
|
11
11
|
iconClass: import("vue").PropType<unknown>;
|
12
|
-
badgeProps: import("vue").PropType<Partial<import("
|
12
|
+
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
13
13
|
iconPrefix: StringConstructor;
|
14
14
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
15
15
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
@@ -22,7 +22,7 @@ export declare const ActionBarIcon: import("packages/vant/es/utils/with-install"
|
|
22
22
|
color: StringConstructor;
|
23
23
|
badge: (NumberConstructor | StringConstructor)[];
|
24
24
|
iconClass: import("vue").PropType<unknown>;
|
25
|
-
badgeProps: import("vue").PropType<Partial<import("
|
25
|
+
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
26
26
|
iconPrefix: StringConstructor;
|
27
27
|
}>>, {
|
28
28
|
replace: boolean;
|
@@ -26,7 +26,7 @@ export declare const actionSheetProps: {
|
|
26
26
|
type: BooleanConstructor;
|
27
27
|
default: true;
|
28
28
|
};
|
29
|
-
beforeClose: import("vue").PropType<import("
|
29
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
30
30
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
31
31
|
overlayClass: import("vue").PropType<unknown>;
|
32
32
|
transitionAppear: BooleanConstructor;
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
82
82
|
type: BooleanConstructor;
|
83
83
|
default: true;
|
84
84
|
};
|
85
|
-
beforeClose: import("vue").PropType<import("
|
85
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
86
86
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
87
87
|
overlayClass: import("vue").PropType<unknown>;
|
88
88
|
transitionAppear: BooleanConstructor;
|
@@ -136,7 +136,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
136
136
|
type: BooleanConstructor;
|
137
137
|
default: true;
|
138
138
|
};
|
139
|
-
beforeClose: import("vue").PropType<import("
|
139
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
140
140
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
141
141
|
overlayClass: import("vue").PropType<unknown>;
|
142
142
|
transitionAppear: BooleanConstructor;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ActionSheet: import("
|
1
|
+
export declare const ActionSheet: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
overlay: {
|
@@ -15,7 +15,7 @@ export declare const ActionSheet: import("packages/vant/es/utils/with-install").
|
|
15
15
|
type: BooleanConstructor;
|
16
16
|
default: true;
|
17
17
|
};
|
18
|
-
beforeClose: import("vue").PropType<import("
|
18
|
+
beforeClose: import("vue").PropType<import("../utils").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 ActionSheet: import("packages/vant/es/utils/with-install").
|
|
69
69
|
type: BooleanConstructor;
|
70
70
|
default: true;
|
71
71
|
};
|
72
|
-
beforeClose: import("vue").PropType<import("
|
72
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
73
73
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
74
74
|
overlayClass: import("vue").PropType<unknown>;
|
75
75
|
transitionAppear: BooleanConstructor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AddressEditProps } from './AddressEdit';
|
2
|
-
export declare const AddressEdit: import("
|
3
|
-
areaList: import("vue").PropType<import("
|
2
|
+
export declare const AddressEdit: import("../utils").WithInstall<import("vue").DefineComponent<{
|
3
|
+
areaList: import("vue").PropType<import("..").AreaList>;
|
4
4
|
isSaving: BooleanConstructor;
|
5
5
|
isDeleting: BooleanConstructor;
|
6
6
|
validator: import("vue").PropType<(key: string, value: string) => string | undefined>;
|
@@ -39,10 +39,10 @@ export declare const AddressEdit: import("packages/vant/es/utils/with-install").
|
|
39
39
|
};
|
40
40
|
telValidator: {
|
41
41
|
type: import("vue").PropType<(val: string) => boolean>;
|
42
|
-
default: typeof import("
|
42
|
+
default: typeof import("../utils").isMobile;
|
43
43
|
};
|
44
44
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "focus" | "change" | "selectSearch" | "save" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault")[], "delete" | "focus" | "change" | "selectSearch" | "save" | "clickArea" | "changeArea" | "changeDetail" | "changeDefault", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
45
|
-
areaList: import("vue").PropType<import("
|
45
|
+
areaList: import("vue").PropType<import("..").AreaList>;
|
46
46
|
isSaving: BooleanConstructor;
|
47
47
|
isDeleting: BooleanConstructor;
|
48
48
|
validator: import("vue").PropType<(key: string, value: string) => string | undefined>;
|
@@ -81,7 +81,7 @@ export declare const AddressEdit: import("packages/vant/es/utils/with-install").
|
|
81
81
|
};
|
82
82
|
telValidator: {
|
83
83
|
type: import("vue").PropType<(val: string) => boolean>;
|
84
|
-
default: typeof import("
|
84
|
+
default: typeof import("../utils").isMobile;
|
85
85
|
};
|
86
86
|
}>> & {
|
87
87
|
onFocus?: ((...args: any[]) => any) | undefined;
|
@@ -26,7 +26,9 @@ var stdin_default = defineComponent({
|
|
26
26
|
}) {
|
27
27
|
const renderItem = (item, index, disabled) => {
|
28
28
|
const onEdit = () => emit(disabled ? "editDisabled" : "edit", item, index);
|
29
|
-
const onClick = () => emit("clickItem", item, index
|
29
|
+
const onClick = (event) => emit("clickItem", item, index, {
|
30
|
+
event
|
31
|
+
});
|
30
32
|
const onSelect = () => {
|
31
33
|
emit(disabled ? "selectDisabled" : "select", item, index);
|
32
34
|
if (!disabled) {
|
@@ -20,11 +20,11 @@ var stdin_default = defineComponent({
|
|
20
20
|
slots,
|
21
21
|
emit
|
22
22
|
}) {
|
23
|
-
const onClick = () => {
|
23
|
+
const onClick = (event) => {
|
24
24
|
if (props.switchable) {
|
25
25
|
emit("select");
|
26
26
|
}
|
27
|
-
emit("click");
|
27
|
+
emit("click", event);
|
28
28
|
};
|
29
29
|
const renderRightIcon = () => _createVNode(Icon, {
|
30
30
|
"name": props.rightIcon,
|
@@ -32,7 +32,7 @@ var stdin_default = defineComponent({
|
|
32
32
|
"onClick": (event) => {
|
33
33
|
event.stopPropagation();
|
34
34
|
emit("edit");
|
35
|
-
emit("click");
|
35
|
+
emit("click", event);
|
36
36
|
}
|
37
37
|
}, null);
|
38
38
|
const renderTag = () => {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const AddressList: import("
|
1
|
+
export declare const AddressList: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
list: {
|
3
3
|
type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;
|
4
4
|
default: () => never[];
|
package/es/area/Area.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import type { AreaList } from './types';
|
3
|
-
export declare const areaProps: import("
|
3
|
+
export declare const areaProps: import("../utils").Writeable<Pick<{
|
4
4
|
loading: BooleanConstructor;
|
5
5
|
readonly: BooleanConstructor;
|
6
6
|
allowHtml: BooleanConstructor;
|
@@ -40,7 +40,7 @@ export declare const areaProps: import("packages/vant/es/utils/basic").Writeable
|
|
40
40
|
};
|
41
41
|
};
|
42
42
|
export type AreaProps = ExtractPropTypes<typeof areaProps>;
|
43
|
-
declare const _default: import("vue").DefineComponent<import("
|
43
|
+
declare const _default: import("vue").DefineComponent<import("../utils").Writeable<Pick<{
|
44
44
|
loading: BooleanConstructor;
|
45
45
|
readonly: BooleanConstructor;
|
46
46
|
allowHtml: BooleanConstructor;
|
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<import("packages/vant/es/u
|
|
78
78
|
type: PropType<AreaList>;
|
79
79
|
default: () => {};
|
80
80
|
};
|
81
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm")[], "update:modelValue" | "cancel" | "change" | "confirm", import("vue").PublicProps, Readonly<ExtractPropTypes<import("
|
81
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm")[], "update:modelValue" | "cancel" | "change" | "confirm", import("vue").PublicProps, Readonly<ExtractPropTypes<import("../utils").Writeable<Pick<{
|
82
82
|
loading: BooleanConstructor;
|
83
83
|
readonly: BooleanConstructor;
|
84
84
|
allowHtml: BooleanConstructor;
|
package/es/area/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Area: import("
|
1
|
+
export declare const Area: import("../utils").WithInstall<import("vue").DefineComponent<import("../utils").Writeable<Pick<{
|
2
2
|
loading: BooleanConstructor;
|
3
3
|
readonly: BooleanConstructor;
|
4
4
|
allowHtml: BooleanConstructor;
|
@@ -36,7 +36,7 @@ export declare const Area: import("packages/vant/es/utils/with-install").WithIns
|
|
36
36
|
type: import("vue").PropType<import("./types").AreaList>;
|
37
37
|
default: () => {};
|
38
38
|
};
|
39
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm")[], "update:modelValue" | "cancel" | "change" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<import("
|
39
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm")[], "update:modelValue" | "cancel" | "change" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<import("../utils").Writeable<Pick<{
|
40
40
|
loading: BooleanConstructor;
|
41
41
|
readonly: BooleanConstructor;
|
42
42
|
allowHtml: BooleanConstructor;
|
package/es/back-top/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const BackTop: import("
|
1
|
+
export declare const BackTop: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
right: (NumberConstructor | StringConstructor)[];
|
3
3
|
bottom: (NumberConstructor | StringConstructor)[];
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
package/es/badge/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Badge: import("
|
1
|
+
export declare const Badge: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
dot: BooleanConstructor;
|
3
3
|
max: (NumberConstructor | StringConstructor)[];
|
4
4
|
tag: {
|
@@ -6,7 +6,7 @@ export declare const Badge: import("packages/vant/es/utils/with-install").WithIn
|
|
6
6
|
default: keyof HTMLElementTagNameMap;
|
7
7
|
};
|
8
8
|
color: StringConstructor;
|
9
|
-
offset: import("vue").PropType<[import("
|
9
|
+
offset: import("vue").PropType<[import("../utils").Numeric, import("../utils").Numeric]>;
|
10
10
|
content: (NumberConstructor | StringConstructor)[];
|
11
11
|
showZero: {
|
12
12
|
type: BooleanConstructor;
|
@@ -24,7 +24,7 @@ export declare const Badge: import("packages/vant/es/utils/with-install").WithIn
|
|
24
24
|
default: keyof HTMLElementTagNameMap;
|
25
25
|
};
|
26
26
|
color: StringConstructor;
|
27
|
-
offset: import("vue").PropType<[import("
|
27
|
+
offset: import("vue").PropType<[import("../utils").Numeric, import("../utils").Numeric]>;
|
28
28
|
content: (NumberConstructor | StringConstructor)[];
|
29
29
|
showZero: {
|
30
30
|
type: BooleanConstructor;
|
package/es/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;
|
87
86
|
top: string | number;
|
88
87
|
modelValue: BarrageItem[];
|
89
88
|
rows: string | number;
|
89
|
+
duration: string | number;
|
90
90
|
autoPlay: boolean;
|
91
91
|
delay: number;
|
92
92
|
}, {}>;
|
package/es/barrage/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Barrage: import("
|
1
|
+
export declare const Barrage: import("../utils").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("packages/vant/es/utils/with-install").With
|
|
51
51
|
}>> & {
|
52
52
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
53
53
|
}, {
|
54
|
-
duration: string | number;
|
55
54
|
top: string | number;
|
56
55
|
modelValue: import("./Barrage").BarrageItem[];
|
57
56
|
rows: string | number;
|
57
|
+
duration: string | number;
|
58
58
|
autoPlay: boolean;
|
59
59
|
delay: number;
|
60
60
|
}, {}>>;
|
package/es/button/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Button: import("
|
1
|
+
export declare const Button: import("../utils").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("packages/vant/es/utils/with-install").WithI
|
|
32
32
|
};
|
33
33
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
34
34
|
loadingText: StringConstructor;
|
35
|
-
loadingType: import("vue").PropType<import("
|
35
|
+
loadingType: import("vue").PropType<import("..").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("packages/vant/es/utils/with-install").WithI
|
|
71
71
|
};
|
72
72
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
73
73
|
loadingText: StringConstructor;
|
74
|
-
loadingType: import("vue").PropType<import("
|
74
|
+
loadingType: import("vue").PropType<import("..").LoadingType>;
|
75
75
|
iconPosition: {
|
76
76
|
type: import("vue").PropType<import("./types").ButtonIconPosition>;
|
77
77
|
default: import("./types").ButtonIconPosition;
|
package/es/calendar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Calendar: import("
|
1
|
+
export declare const Calendar: import("../utils").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("packages/vant/es/utils/with-install").Wit
|
|
20
20
|
default: null;
|
21
21
|
};
|
22
22
|
position: {
|
23
|
-
type: import("vue").PropType<import("
|
24
|
-
default: import("
|
23
|
+
type: import("vue").PropType<import("..").PopupPosition>;
|
24
|
+
default: import("..").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("packages/vant/es/utils/with-install").Wit
|
|
105
105
|
default: null;
|
106
106
|
};
|
107
107
|
position: {
|
108
|
-
type: import("vue").PropType<import("
|
109
|
-
default: import("
|
108
|
+
type: import("vue").PropType<import("..").PopupPosition>;
|
109
|
+
default: import("..").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("packages/vant/es/utils/with-install").Wit
|
|
179
179
|
onOverRange?: ((...args: any[]) => any) | undefined;
|
180
180
|
}, {
|
181
181
|
type: import("./types").CalendarType;
|
182
|
-
position: import("
|
182
|
+
position: import("..").PopupPosition;
|
183
183
|
round: boolean;
|
184
184
|
show: boolean;
|
185
185
|
readonly: boolean;
|
package/es/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("../utils").Mods | undefined, mods?: import("../utils").Mods | undefined) => import("../utils").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/es/card/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Card: import("
|
1
|
+
export declare const Card: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: StringConstructor;
|
3
3
|
num: (NumberConstructor | StringConstructor)[];
|
4
4
|
desc: StringConstructor;
|
package/es/cascader/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Cascader: import("
|
1
|
+
export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
title: StringConstructor;
|
3
3
|
options: {
|
4
4
|
type: import("vue").PropType<import("./types").CascaderOption[]>;
|
package/es/cell/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Cell: import("
|
1
|
+
export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: {
|
3
3
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
package/es/cell-group/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const CellGroup: import("
|
1
|
+
export declare const CellGroup: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
title: StringConstructor;
|
3
3
|
inset: BooleanConstructor;
|
4
4
|
border: {
|
package/es/checkbox/index.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
export declare const Checkbox: import("
|
1
|
+
export declare const Checkbox: import("../utils").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("./Checker").CheckerLabelPosition>;
|
8
8
|
labelDisabled: BooleanConstructor;
|
9
9
|
} & {
|
10
|
-
shape: import("vue").PropType<import("
|
10
|
+
shape: import("vue").PropType<import("./Checker").CheckerShape>;
|
11
11
|
bindGroup: {
|
12
12
|
type: BooleanConstructor;
|
13
13
|
default: true;
|
@@ -22,10 +22,10 @@ export declare const Checkbox: import("packages/vant/es/utils/with-install").Wit
|
|
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("./Checker").CheckerLabelPosition>;
|
26
26
|
labelDisabled: BooleanConstructor;
|
27
27
|
} & {
|
28
|
-
shape: import("vue").PropType<import("
|
28
|
+
shape: import("vue").PropType<import("./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("../utils").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("../checkbox/Checker").CheckerShape>;
|
5
|
+
default: import("../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("../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("packages/vant/es/utils/with-install"
|
|
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("../checkbox/Checker").CheckerShape>;
|
19
|
+
default: import("../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("../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("packages/vant/es/utils/with-install"
|
|
31
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
32
32
|
}, {
|
33
33
|
disabled: boolean;
|
34
|
-
shape: import("
|
34
|
+
shape: import("../checkbox/Checker").CheckerShape;
|
35
35
|
modelValue: unknown[];
|
36
36
|
}, {}>>;
|
37
37
|
export default CheckboxGroup;
|
package/es/circle/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Circle: import("
|
1
|
+
export declare const Circle: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
text: StringConstructor;
|
3
3
|
size: (NumberConstructor | StringConstructor)[];
|
4
4
|
fill: {
|
package/es/col/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Col: import("
|
1
|
+
export declare const Col: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tag: {
|
3
3
|
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
package/es/collapse/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
export declare const Collapse: import("
|
1
|
+
export declare const Collapse: import("../utils").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("../utils").Numeric | import("../utils").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("packages/vant/es/utils/with-install").Wit
|
|
15
15
|
};
|
16
16
|
accordion: BooleanConstructor;
|
17
17
|
modelValue: {
|
18
|
-
type: import("vue").PropType<import("
|
18
|
+
type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
}>> & {
|
@@ -23,7 +23,7 @@ export declare const Collapse: import("packages/vant/es/utils/with-install").Wit
|
|
23
23
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
24
24
|
}, {
|
25
25
|
border: boolean;
|
26
|
-
modelValue: import("
|
26
|
+
modelValue: import("../utils").Numeric | import("../utils").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("../utils").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("..").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("packages/vant/es/utils/with-install")
|
|
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("..").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("packages/vant/es/utils/with-install")
|
|
46
46
|
default: keyof HTMLElementTagNameMap;
|
47
47
|
};
|
48
48
|
icon: StringConstructor;
|
49
|
-
size: import("vue").PropType<import("
|
49
|
+
size: import("vue").PropType<import("..").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("packages/vant/es/utils/with-install")
|
|
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("..").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("../utils").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("../utils").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("../utils").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("packages/vant/es/utils/with-install").
|
|
10
10
|
};
|
11
11
|
telValidator: {
|
12
12
|
type: import("vue").PropType<(val: string) => boolean>;
|
13
|
-
default: typeof import("
|
13
|
+
default: typeof import("../utils").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("packages/vant/es/utils/with-install").
|
|
24
24
|
};
|
25
25
|
telValidator: {
|
26
26
|
type: import("vue").PropType<(val: string) => boolean>;
|
27
|
-
default: typeof import("
|
27
|
+
default: typeof import("../utils").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("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
list: import("vue").PropType<import("./ContactList").ContactListItem[]>;
|
3
3
|
addText: StringConstructor;
|
4
4
|
modelValue: import("vue").PropType<unknown>;
|
package/es/count-down/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const CountDown: import("
|
1
|
+
export declare const CountDown: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
time: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|