vant 4.8.5 → 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/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/index.d.ts +1 -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/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/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/index.d.ts +1 -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/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 +20 -5
- package/lib/vant.es.js +20 -5
- package/lib/vant.js +20 -5
- 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 +1 -1
@@ -29,10 +29,10 @@ export declare const timePickerProps: {
|
|
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/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/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/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption>;
|
35
|
+
default: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
|
36
36
|
};
|
37
37
|
} & {
|
38
38
|
minHour: {
|
@@ -71,7 +71,7 @@ export declare const timePickerProps: {
|
|
71
71
|
type: PropType<TimePickerColumnType[]>;
|
72
72
|
default: () => string[];
|
73
73
|
};
|
74
|
-
filter: PropType<(columnType: string, options: import("
|
74
|
+
filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values: string[]) => import("packages/vant/es/picker/types").PickerOption[]>;
|
75
75
|
};
|
76
76
|
export type TimePickerProps = ExtractPropTypes<typeof timePickerProps>;
|
77
77
|
declare const _default: import("vue").DefineComponent<{
|
@@ -103,10 +103,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
103
103
|
type: PropType<string[]>;
|
104
104
|
default: () => never[];
|
105
105
|
};
|
106
|
-
filter: PropType<(columnType: string, options: import("
|
106
|
+
filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/picker/types").PickerOption[]>;
|
107
107
|
formatter: {
|
108
|
-
type: PropType<(type: string, option: import("
|
109
|
-
default: (type: string, option: import("
|
108
|
+
type: PropType<(type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption>;
|
109
|
+
default: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
|
110
110
|
};
|
111
111
|
} & {
|
112
112
|
minHour: {
|
@@ -145,7 +145,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
145
145
|
type: PropType<TimePickerColumnType[]>;
|
146
146
|
default: () => string[];
|
147
147
|
};
|
148
|
-
filter: PropType<(columnType: string, options: import("
|
148
|
+
filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values: string[]) => import("packages/vant/es/picker/types").PickerOption[]>;
|
149
149
|
}, () => 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<{
|
150
150
|
loading: BooleanConstructor;
|
151
151
|
readonly: BooleanConstructor;
|
@@ -175,10 +175,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
175
175
|
type: PropType<string[]>;
|
176
176
|
default: () => never[];
|
177
177
|
};
|
178
|
-
filter: PropType<(columnType: string, options: import("
|
178
|
+
filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/es/picker/types").PickerOption[]>;
|
179
179
|
formatter: {
|
180
|
-
type: PropType<(type: string, option: import("
|
181
|
-
default: (type: string, option: import("
|
180
|
+
type: PropType<(type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption>;
|
181
|
+
default: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
|
182
182
|
};
|
183
183
|
} & {
|
184
184
|
minHour: {
|
@@ -217,14 +217,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
217
217
|
type: PropType<TimePickerColumnType[]>;
|
218
218
|
default: () => string[];
|
219
219
|
};
|
220
|
-
filter: PropType<(columnType: string, options: import("
|
220
|
+
filter: PropType<(columnType: string, options: import("packages/vant/es/picker/types").PickerOption[], values: string[]) => import("packages/vant/es/picker/types").PickerOption[]>;
|
221
221
|
}>> & {
|
222
222
|
onChange?: ((...args: any[]) => any) | undefined;
|
223
223
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
224
224
|
onCancel?: ((...args: any[]) => any) | undefined;
|
225
225
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
226
226
|
}, {
|
227
|
-
formatter: (type: string, option: import("
|
227
|
+
formatter: (type: string, option: import("packages/vant/es/picker/types").PickerOption) => import("packages/vant/es/picker/types").PickerOption;
|
228
228
|
modelValue: string[];
|
229
229
|
readonly: boolean;
|
230
230
|
loading: boolean;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TimePickerProps } from './TimePicker';
|
2
|
-
export declare const TimePicker: import("
|
2
|
+
export declare const TimePicker: import("packages/vant/es/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 TimePicker: 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/es").PickerOption[], values?: string[] | undefined) => import("packages/vant/es").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/es").PickerOption) => import("packages/vant/es").PickerOption>;
|
34
|
+
default: (type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption;
|
35
35
|
};
|
36
36
|
} & {
|
37
37
|
minHour: {
|
@@ -70,7 +70,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
70
70
|
type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
|
71
71
|
default: () => string[];
|
72
72
|
};
|
73
|
-
filter: import("vue").PropType<(columnType: string, options: import("
|
73
|
+
filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values: string[]) => import("packages/vant/es").PickerOption[]>;
|
74
74
|
}, () => 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<{
|
75
75
|
loading: BooleanConstructor;
|
76
76
|
readonly: BooleanConstructor;
|
@@ -100,10 +100,10 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
100
100
|
type: import("vue").PropType<string[]>;
|
101
101
|
default: () => never[];
|
102
102
|
};
|
103
|
-
filter: import("vue").PropType<(columnType: string, options: import("
|
103
|
+
filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values?: string[] | undefined) => import("packages/vant/es").PickerOption[]>;
|
104
104
|
formatter: {
|
105
|
-
type: import("vue").PropType<(type: string, option: import("
|
106
|
-
default: (type: string, option: import("
|
105
|
+
type: import("vue").PropType<(type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption>;
|
106
|
+
default: (type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption;
|
107
107
|
};
|
108
108
|
} & {
|
109
109
|
minHour: {
|
@@ -142,14 +142,14 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
142
142
|
type: import("vue").PropType<import("./TimePicker").TimePickerColumnType[]>;
|
143
143
|
default: () => string[];
|
144
144
|
};
|
145
|
-
filter: import("vue").PropType<(columnType: string, options: import("
|
145
|
+
filter: import("vue").PropType<(columnType: string, options: import("packages/vant/es").PickerOption[], values: string[]) => import("packages/vant/es").PickerOption[]>;
|
146
146
|
}>> & {
|
147
147
|
onChange?: ((...args: any[]) => any) | undefined;
|
148
148
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
149
149
|
onCancel?: ((...args: any[]) => any) | undefined;
|
150
150
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
151
151
|
}, {
|
152
|
-
formatter: (type: string, option: import("
|
152
|
+
formatter: (type: string, option: import("packages/vant/es").PickerOption) => import("packages/vant/es").PickerOption;
|
153
153
|
modelValue: string[];
|
154
154
|
readonly: boolean;
|
155
155
|
loading: boolean;
|
package/es/toast/Toast.d.ts
CHANGED
@@ -107,9 +107,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
107
107
|
}, {
|
108
108
|
type: ToastType;
|
109
109
|
position: ToastPosition;
|
110
|
+
duration: number;
|
110
111
|
overlay: boolean;
|
111
112
|
show: boolean;
|
112
|
-
duration: number;
|
113
113
|
closeOnClickOverlay: boolean;
|
114
114
|
transition: string;
|
115
115
|
forbidClick: boolean;
|
package/es/toast/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Toast: import("
|
1
|
+
export declare const Toast: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
icon: StringConstructor;
|
3
3
|
show: BooleanConstructor;
|
4
4
|
type: {
|
@@ -24,7 +24,7 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
|
|
24
24
|
type: import("vue").PropType<string>;
|
25
25
|
default: string;
|
26
26
|
};
|
27
|
-
loadingType: import("vue").PropType<import("
|
27
|
+
loadingType: import("vue").PropType<import("packages/vant/es").LoadingType>;
|
28
28
|
forbidClick: BooleanConstructor;
|
29
29
|
overlayClass: import("vue").PropType<unknown>;
|
30
30
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
@@ -57,7 +57,7 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
|
|
57
57
|
type: import("vue").PropType<string>;
|
58
58
|
default: string;
|
59
59
|
};
|
60
|
-
loadingType: import("vue").PropType<import("
|
60
|
+
loadingType: import("vue").PropType<import("packages/vant/es").LoadingType>;
|
61
61
|
forbidClick: BooleanConstructor;
|
62
62
|
overlayClass: import("vue").PropType<unknown>;
|
63
63
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
@@ -69,9 +69,9 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
|
|
69
69
|
}, {
|
70
70
|
type: import("./types").ToastType;
|
71
71
|
position: import("./types").ToastPosition;
|
72
|
+
duration: number;
|
72
73
|
overlay: boolean;
|
73
74
|
show: boolean;
|
74
|
-
duration: number;
|
75
75
|
closeOnClickOverlay: boolean;
|
76
76
|
transition: string;
|
77
77
|
forbidClick: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const TreeSelect: import("
|
1
|
+
export declare const TreeSelect: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
max: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
@@ -20,7 +20,7 @@ export declare const TreeSelect: import("../utils").WithInstall<import("vue").De
|
|
20
20
|
default: number;
|
21
21
|
};
|
22
22
|
activeId: {
|
23
|
-
type: import("vue").PropType<import("
|
23
|
+
type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[]>;
|
24
24
|
default: number;
|
25
25
|
};
|
26
26
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickItem" | "clickNav" | "update:activeId" | "update:mainActiveIndex")[], "clickItem" | "clickNav" | "update:activeId" | "update:mainActiveIndex", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -45,7 +45,7 @@ export declare const TreeSelect: import("../utils").WithInstall<import("vue").De
|
|
45
45
|
default: number;
|
46
46
|
};
|
47
47
|
activeId: {
|
48
|
-
type: import("vue").PropType<import("
|
48
|
+
type: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[]>;
|
49
49
|
default: number;
|
50
50
|
};
|
51
51
|
}>> & {
|
@@ -59,7 +59,7 @@ export declare const TreeSelect: import("../utils").WithInstall<import("vue").De
|
|
59
59
|
items: import("./TreeSelect").TreeSelectItem[];
|
60
60
|
selectedIcon: string;
|
61
61
|
mainActiveIndex: string | number;
|
62
|
-
activeId: import("
|
62
|
+
activeId: import("packages/vant/es/utils/basic").Numeric | import("packages/vant/es/utils/basic").Numeric[];
|
63
63
|
}, {}>>;
|
64
64
|
export default TreeSelect;
|
65
65
|
export { treeSelectProps } from './TreeSelect';
|
package/es/uploader/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UploaderProps } from './Uploader';
|
2
|
-
export declare const Uploader: import("
|
2
|
+
export declare const Uploader: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
name: {
|
4
4
|
type: (NumberConstructor | StringConstructor)[];
|
5
5
|
default: string;
|
@@ -45,13 +45,13 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
|
|
45
45
|
default: () => never[];
|
46
46
|
};
|
47
47
|
beforeRead: import("vue").PropType<import("./types").UploaderBeforeRead>;
|
48
|
-
beforeDelete: import("vue").PropType<import("
|
49
|
-
previewSize: import("vue").PropType<import("
|
48
|
+
beforeDelete: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
49
|
+
previewSize: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | [import("packages/vant/es/utils/basic").Numeric, import("packages/vant/es/utils/basic").Numeric]>;
|
50
50
|
previewImage: {
|
51
51
|
type: BooleanConstructor;
|
52
52
|
default: true;
|
53
53
|
};
|
54
|
-
previewOptions: import("vue").PropType<Partial<import("
|
54
|
+
previewOptions: import("vue").PropType<Partial<import("packages/vant/es").ImagePreviewOptions>>;
|
55
55
|
previewFullImage: {
|
56
56
|
type: BooleanConstructor;
|
57
57
|
default: true;
|
@@ -106,13 +106,13 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
|
|
106
106
|
default: () => never[];
|
107
107
|
};
|
108
108
|
beforeRead: import("vue").PropType<import("./types").UploaderBeforeRead>;
|
109
|
-
beforeDelete: import("vue").PropType<import("
|
110
|
-
previewSize: import("vue").PropType<import("
|
109
|
+
beforeDelete: import("vue").PropType<import("packages/vant/es/utils/interceptor").Interceptor>;
|
110
|
+
previewSize: import("vue").PropType<import("packages/vant/es/utils/basic").Numeric | [import("packages/vant/es/utils/basic").Numeric, import("packages/vant/es/utils/basic").Numeric]>;
|
111
111
|
previewImage: {
|
112
112
|
type: BooleanConstructor;
|
113
113
|
default: true;
|
114
114
|
};
|
115
|
-
previewOptions: import("vue").PropType<Partial<import("
|
115
|
+
previewOptions: import("vue").PropType<Partial<import("packages/vant/es").ImagePreviewOptions>>;
|
116
116
|
previewFullImage: {
|
117
117
|
type: BooleanConstructor;
|
118
118
|
default: true;
|
package/es/uploader/utils.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { UploaderMaxSize, UploaderResultType, UploaderFileListItem } from './types';
|
2
|
-
declare const name: string, bem: (el?: import("
|
2
|
+
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;
|
3
3
|
export { name, bem, t };
|
4
4
|
export declare function readFileContent(file: File, resultType: UploaderResultType): Promise<string | void>;
|
5
5
|
export declare function isOversize(items: UploaderFileListItem | UploaderFileListItem[], maxSize: UploaderMaxSize): boolean;
|
package/es/watermark/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Watermark: import("
|
1
|
+
export declare const Watermark: import("packages/vant/es/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
gapX: {
|
3
3
|
type: NumberConstructor;
|
4
4
|
default: number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ActionBar: import("
|
1
|
+
export declare const ActionBar: import("packages/vant/lib/utils/with-install").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("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;
|
5
5
|
} & {
|
6
|
-
type: import("vue").PropType<import("
|
6
|
+
type: import("vue").PropType<import("packages/vant/lib").ButtonType>;
|
7
7
|
text: StringConstructor;
|
8
8
|
icon: StringConstructor;
|
9
9
|
color: StringConstructor;
|
@@ -14,7 +14,7 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
|
|
14
14
|
url: StringConstructor;
|
15
15
|
replace: BooleanConstructor;
|
16
16
|
} & {
|
17
|
-
type: import("vue").PropType<import("
|
17
|
+
type: import("vue").PropType<import("packages/vant/lib").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("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;
|
@@ -9,7 +9,7 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
|
|
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("packages/vant/lib").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("../utils").WithInstall<import("vue")
|
|
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("packages/vant/lib").BadgeProps>>;
|
26
26
|
iconPrefix: StringConstructor;
|
27
27
|
}>>, {
|
28
28
|
replace: boolean;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { type ExtractPropTypes } from 'vue';
|
2
2
|
export type ActionSheetAction = {
|
3
|
+
icon?: string;
|
3
4
|
name?: string;
|
4
5
|
color?: string;
|
5
6
|
subname?: string;
|
@@ -25,7 +26,7 @@ export declare const actionSheetProps: {
|
|
25
26
|
type: BooleanConstructor;
|
26
27
|
default: true;
|
27
28
|
};
|
28
|
-
beforeClose: import("vue").PropType<import("
|
29
|
+
beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
29
30
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
30
31
|
overlayClass: import("vue").PropType<unknown>;
|
31
32
|
transitionAppear: BooleanConstructor;
|
@@ -81,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
81
82
|
type: BooleanConstructor;
|
82
83
|
default: true;
|
83
84
|
};
|
84
|
-
beforeClose: import("vue").PropType<import("
|
85
|
+
beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
85
86
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
86
87
|
overlayClass: import("vue").PropType<unknown>;
|
87
88
|
transitionAppear: BooleanConstructor;
|
@@ -135,7 +136,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
135
136
|
type: BooleanConstructor;
|
136
137
|
default: true;
|
137
138
|
};
|
138
|
-
beforeClose: import("vue").PropType<import("
|
139
|
+
beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
139
140
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
140
141
|
overlayClass: import("vue").PropType<unknown>;
|
141
142
|
transitionAppear: BooleanConstructor;
|
@@ -77,6 +77,14 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
77
77
|
}, [slots.cancel ? slots.cancel() : props.cancelText])];
|
78
78
|
}
|
79
79
|
};
|
80
|
+
const renderIcon = (action) => {
|
81
|
+
if (action.icon) {
|
82
|
+
return (0, import_vue.createVNode)(import_icon.Icon, {
|
83
|
+
"class": bem("item-icon"),
|
84
|
+
"name": action.icon
|
85
|
+
}, null);
|
86
|
+
}
|
87
|
+
};
|
80
88
|
const renderActionContent = (action, index) => {
|
81
89
|
if (action.loading) {
|
82
90
|
return (0, import_vue.createVNode)(import_loading.Loading, {
|
@@ -125,7 +133,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
125
133
|
disabled
|
126
134
|
}), className],
|
127
135
|
"onClick": onClick
|
128
|
-
}, [renderActionContent(action, index)]);
|
136
|
+
}, [renderIcon(action), renderActionContent(action, index)]);
|
129
137
|
};
|
130
138
|
const renderDescription = () => {
|
131
139
|
if (props.description || slots.description) {
|
@@ -1 +1 @@
|
|
1
|
-
:root,:host{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:
|
1
|
+
:root,:host{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-item-icon-size: 18px;--van-action-sheet-item-icon-margin-right: var(--van-padding-xs);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__item-icon{font-size:var(--van-action-sheet-item-icon-size);margin-right:var(--van-action-sheet-item-icon-margin-right)}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{width:100%;margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height);overflow-wrap:break-word}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;z-index:1;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ActionSheet: import("
|
1
|
+
export declare const ActionSheet: 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 ActionSheet: import("../utils").WithInstall<import("vue").D
|
|
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 ActionSheet: import("../utils").WithInstall<import("vue").D
|
|
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;
|
@@ -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("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
|
+
areaList: import("vue").PropType<import("packages/vant/lib").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("../utils").WithInstall<import("vue").D
|
|
39
39
|
};
|
40
40
|
telValidator: {
|
41
41
|
type: import("vue").PropType<(val: string) => boolean>;
|
42
|
-
default: typeof import("
|
42
|
+
default: typeof import("packages/vant/lib/utils/basic").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("packages/vant/lib").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("../utils").WithInstall<import("vue").D
|
|
81
81
|
};
|
82
82
|
telValidator: {
|
83
83
|
type: import("vue").PropType<(val: string) => boolean>;
|
84
|
-
default: typeof import("
|
84
|
+
default: typeof import("packages/vant/lib/utils/basic").isMobile;
|
85
85
|
};
|
86
86
|
}>> & {
|
87
87
|
onFocus?: ((...args: any[]) => any) | undefined;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const AddressList: import("
|
1
|
+
export declare const AddressList: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
list: {
|
3
3
|
type: import("vue").PropType<import("./AddressListItem").AddressListAddress[]>;
|
4
4
|
default: () => never[];
|
package/lib/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("packages/vant/lib/utils/basic").Writeable<Pick<{
|
4
4
|
loading: BooleanConstructor;
|
5
5
|
readonly: BooleanConstructor;
|
6
6
|
allowHtml: BooleanConstructor;
|
@@ -40,7 +40,7 @@ export declare const areaProps: import("../utils").Writeable<Pick<{
|
|
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("packages/vant/lib/utils/basic").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("../utils").Writeab
|
|
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("packages/vant/lib/utils/basic").Writeable<Pick<{
|
82
82
|
loading: BooleanConstructor;
|
83
83
|
readonly: BooleanConstructor;
|
84
84
|
allowHtml: BooleanConstructor;
|
package/lib/area/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Area: import("
|
1
|
+
export declare const Area: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<import("packages/vant/lib/utils/basic").Writeable<Pick<{
|
2
2
|
loading: BooleanConstructor;
|
3
3
|
readonly: BooleanConstructor;
|
4
4
|
allowHtml: BooleanConstructor;
|
@@ -36,7 +36,7 @@ export declare const Area: import("../utils").WithInstall<import("vue").DefineCo
|
|
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("packages/vant/lib/utils/basic").Writeable<Pick<{
|
40
40
|
loading: BooleanConstructor;
|
41
41
|
readonly: BooleanConstructor;
|
42
42
|
allowHtml: BooleanConstructor;
|
package/lib/back-top/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const BackTop: import("
|
1
|
+
export declare const BackTop: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
right: (NumberConstructor | StringConstructor)[];
|
3
3
|
bottom: (NumberConstructor | StringConstructor)[];
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
package/lib/badge/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Badge: import("
|
1
|
+
export declare const Badge: import("packages/vant/lib/utils/with-install").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("../utils").WithInstall<import("vue").DefineC
|
|
6
6
|
default: keyof HTMLElementTagNameMap;
|
7
7
|
};
|
8
8
|
color: StringConstructor;
|
9
|
-
offset: import("vue").PropType<[import("
|
9
|
+
offset: import("vue").PropType<[import("packages/vant/lib/utils/basic").Numeric, import("packages/vant/lib/utils/basic").Numeric]>;
|
10
10
|
content: (NumberConstructor | StringConstructor)[];
|
11
11
|
showZero: {
|
12
12
|
type: BooleanConstructor;
|
@@ -24,7 +24,7 @@ export declare const Badge: import("../utils").WithInstall<import("vue").DefineC
|
|
24
24
|
default: keyof HTMLElementTagNameMap;
|
25
25
|
};
|
26
26
|
color: StringConstructor;
|
27
|
-
offset: import("vue").PropType<[import("
|
27
|
+
offset: import("vue").PropType<[import("packages/vant/lib/utils/basic").Numeric, import("packages/vant/lib/utils/basic").Numeric]>;
|
28
28
|
content: (NumberConstructor | StringConstructor)[];
|
29
29
|
showZero: {
|
30
30
|
type: BooleanConstructor;
|
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;
|