vant 4.8.4 → 4.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/index.d.ts +1 -1
- package/es/action-bar-button/index.d.ts +3 -3
- package/es/action-bar-icon/index.d.ts +3 -3
- package/es/action-sheet/ActionSheet.d.ts +4 -3
- package/es/action-sheet/ActionSheet.mjs +9 -1
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +3 -3
- package/es/address-edit/index.d.ts +5 -5
- package/es/address-list/index.d.ts +1 -1
- package/es/area/Area.d.ts +3 -3
- package/es/area/index.d.ts +2 -2
- package/es/back-top/index.d.ts +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/barrage/Barrage.d.ts +1 -1
- package/es/barrage/index.d.ts +2 -2
- package/es/button/index.d.ts +3 -3
- package/es/calendar/index.d.ts +6 -6
- package/es/calendar/utils.d.ts +1 -1
- package/es/card/index.d.ts +1 -1
- package/es/cascader/index.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell-group/index.d.ts +1 -1
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/index.d.ts +8 -8
- package/es/circle/index.d.ts +1 -1
- package/es/col/index.d.ts +1 -1
- package/es/collapse/index.d.ts +4 -4
- package/es/collapse-item/index.d.ts +5 -5
- package/es/config-provider/index.d.ts +1 -1
- package/es/contact-card/index.d.ts +1 -1
- package/es/contact-edit/index.d.ts +3 -3
- package/es/contact-list/index.d.ts +1 -1
- package/es/count-down/index.d.ts +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/index.d.ts +7 -7
- package/es/date-picker/DatePicker.d.ts +10 -10
- package/es/date-picker/index.d.ts +8 -8
- package/es/dialog/Dialog.d.ts +3 -3
- package/es/dialog/index.d.ts +3 -3
- package/es/divider/index.d.ts +1 -1
- package/es/dropdown-item/index.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.mjs +2 -2
- package/es/dropdown-menu/index.d.ts +2 -2
- package/es/empty/index.d.ts +3 -3
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/index.d.ts +1 -1
- package/es/floating-panel/FloatingPanel.d.ts +1 -1
- package/es/floating-panel/index.d.ts +2 -2
- package/es/form/index.d.ts +10 -10
- package/es/grid/index.d.ts +1 -1
- package/es/grid-item/index.d.ts +3 -3
- package/es/highlight/index.d.ts +1 -1
- package/es/icon/index.d.ts +3 -3
- package/es/image/Image.d.ts +6 -0
- package/es/image/Image.mjs +6 -2
- package/es/image/index.d.ts +5 -1
- package/es/image-preview/ImagePreview.d.ts +4 -0
- package/es/image-preview/ImagePreview.mjs +3 -0
- package/es/image-preview/ImagePreviewItem.d.ts +4 -0
- package/es/image-preview/ImagePreviewItem.mjs +3 -2
- package/es/image-preview/function-call.mjs +1 -0
- package/es/image-preview/index.d.ts +11 -8
- package/es/image-preview/types.d.ts +1 -0
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-bar/index.d.ts +4 -4
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/loading/index.d.ts +1 -1
- package/es/nav-bar/index.d.ts +1 -1
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notify/Notify.d.ts +3 -3
- package/es/notify/index.d.ts +3 -3
- package/es/number-keyboard/NumberKeyboard.mjs +1 -1
- package/es/number-keyboard/index.d.ts +1 -1
- package/es/overlay/index.d.ts +1 -1
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/index.d.ts +2 -2
- package/es/password-input/index.d.ts +1 -1
- package/es/picker/index.d.ts +4 -4
- package/es/picker/utils.d.ts +1 -1
- package/es/picker-group/index.d.ts +1 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/index.d.ts +3 -3
- package/es/progress/index.d.ts +3 -3
- package/es/pull-refresh/index.d.ts +1 -1
- package/es/radio/index.d.ts +3 -3
- package/es/radio-group/index.d.ts +5 -5
- package/es/rate/index.d.ts +1 -1
- package/es/rolling-text/index.d.ts +1 -1
- package/es/row/index.d.ts +1 -1
- package/es/search/Search.d.ts +17 -17
- package/es/search/index.d.ts +13 -13
- package/es/share-sheet/ShareSheet.d.ts +3 -3
- package/es/share-sheet/index.d.ts +3 -3
- package/es/sidebar/index.d.ts +1 -1
- package/es/sidebar-item/index.d.ts +3 -3
- package/es/signature/Signature.mjs +3 -1
- package/es/signature/index.d.ts +1 -1
- package/es/signature/types.d.ts +2 -0
- package/es/skeleton/index.d.ts +9 -9
- package/es/skeleton-avatar/index.d.ts +1 -1
- package/es/skeleton-image/index.d.ts +1 -1
- package/es/skeleton-paragraph/index.d.ts +1 -1
- package/es/skeleton-title/index.d.ts +1 -1
- package/es/slider/index.d.ts +1 -1
- package/es/space/index.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/index.d.ts +3 -3
- package/es/steps/index.d.ts +1 -1
- package/es/sticky/index.d.ts +1 -1
- package/es/submit-bar/index.d.ts +6 -6
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/index.d.ts +2 -2
- package/es/swipe-cell/index.d.ts +3 -3
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/index.d.ts +1 -1
- package/es/tab/index.d.ts +1 -1
- package/es/tabbar/index.d.ts +3 -3
- package/es/tabbar-item/index.d.ts +3 -3
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/index.d.ts +4 -4
- package/es/tag/index.d.ts +1 -1
- package/es/text-ellipsis/index.d.ts +1 -1
- package/es/time-picker/TimePicker.d.ts +13 -13
- package/es/time-picker/index.d.ts +10 -10
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/index.d.ts +4 -4
- package/es/tree-select/index.d.ts +4 -4
- package/es/uploader/index.d.ts +7 -7
- package/es/uploader/utils.d.ts +1 -1
- package/es/watermark/index.d.ts +1 -1
- package/lib/action-bar/index.d.ts +1 -1
- package/lib/action-bar-button/index.d.ts +3 -3
- package/lib/action-bar-icon/index.d.ts +3 -3
- package/lib/action-sheet/ActionSheet.d.ts +4 -3
- package/lib/action-sheet/ActionSheet.js +9 -1
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +3 -3
- package/lib/address-edit/index.d.ts +5 -5
- package/lib/address-list/index.d.ts +1 -1
- package/lib/area/Area.d.ts +3 -3
- package/lib/area/index.d.ts +2 -2
- package/lib/back-top/index.d.ts +1 -1
- package/lib/badge/index.d.ts +3 -3
- package/lib/barrage/Barrage.d.ts +1 -1
- package/lib/barrage/index.d.ts +2 -2
- package/lib/button/index.d.ts +3 -3
- package/lib/calendar/index.d.ts +6 -6
- package/lib/calendar/utils.d.ts +1 -1
- package/lib/card/index.d.ts +1 -1
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/index.d.ts +8 -8
- package/lib/circle/index.d.ts +1 -1
- package/lib/col/index.d.ts +1 -1
- package/lib/collapse/index.d.ts +4 -4
- package/lib/collapse-item/index.d.ts +5 -5
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/contact-card/index.d.ts +1 -1
- package/lib/contact-edit/index.d.ts +3 -3
- package/lib/contact-list/index.d.ts +1 -1
- package/lib/count-down/index.d.ts +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/index.d.ts +7 -7
- package/lib/date-picker/DatePicker.d.ts +10 -10
- package/lib/date-picker/index.d.ts +8 -8
- package/lib/dialog/Dialog.d.ts +3 -3
- package/lib/dialog/index.d.ts +3 -3
- package/lib/divider/index.d.ts +1 -1
- package/lib/dropdown-item/index.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.js +1 -1
- package/lib/dropdown-menu/index.d.ts +2 -2
- package/lib/empty/index.d.ts +3 -3
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/index.d.ts +1 -1
- package/lib/floating-panel/FloatingPanel.d.ts +1 -1
- package/lib/floating-panel/index.d.ts +2 -2
- package/lib/form/index.d.ts +10 -10
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid-item/index.d.ts +3 -3
- package/lib/highlight/index.d.ts +1 -1
- package/lib/icon/index.d.ts +3 -3
- package/lib/image/Image.d.ts +6 -0
- package/lib/image/Image.js +6 -2
- package/lib/image/index.d.ts +5 -1
- package/lib/image-preview/ImagePreview.d.ts +4 -0
- package/lib/image-preview/ImagePreview.js +3 -0
- package/lib/image-preview/ImagePreviewItem.d.ts +4 -0
- package/lib/image-preview/ImagePreviewItem.js +3 -2
- package/lib/image-preview/function-call.js +1 -0
- package/lib/image-preview/index.d.ts +11 -8
- package/lib/image-preview/types.d.ts +1 -0
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-bar/index.d.ts +4 -4
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notify/Notify.d.ts +3 -3
- package/lib/notify/index.d.ts +3 -3
- package/lib/number-keyboard/NumberKeyboard.js +1 -1
- package/lib/number-keyboard/index.d.ts +1 -1
- package/lib/overlay/index.d.ts +1 -1
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/index.d.ts +2 -2
- package/lib/password-input/index.d.ts +1 -1
- package/lib/picker/index.d.ts +4 -4
- package/lib/picker/utils.d.ts +1 -1
- package/lib/picker-group/index.d.ts +1 -1
- package/lib/popover/index.d.ts +1 -1
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/index.d.ts +3 -3
- package/lib/progress/index.d.ts +3 -3
- package/lib/pull-refresh/index.d.ts +1 -1
- package/lib/radio/index.d.ts +3 -3
- package/lib/radio-group/index.d.ts +5 -5
- package/lib/rate/index.d.ts +1 -1
- package/lib/rolling-text/index.d.ts +1 -1
- package/lib/row/index.d.ts +1 -1
- package/lib/search/Search.d.ts +17 -17
- package/lib/search/index.d.ts +13 -13
- package/lib/share-sheet/ShareSheet.d.ts +3 -3
- package/lib/share-sheet/index.d.ts +3 -3
- package/lib/sidebar/index.d.ts +1 -1
- package/lib/sidebar-item/index.d.ts +3 -3
- package/lib/signature/Signature.js +3 -1
- package/lib/signature/index.d.ts +1 -1
- package/lib/signature/types.d.ts +2 -0
- package/lib/skeleton/index.d.ts +9 -9
- package/lib/skeleton-avatar/index.d.ts +1 -1
- package/lib/skeleton-image/index.d.ts +1 -1
- package/lib/skeleton-paragraph/index.d.ts +1 -1
- package/lib/skeleton-title/index.d.ts +1 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/index.d.ts +3 -3
- package/lib/steps/index.d.ts +1 -1
- package/lib/sticky/index.d.ts +1 -1
- package/lib/submit-bar/index.d.ts +6 -6
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/index.d.ts +2 -2
- package/lib/swipe-cell/index.d.ts +3 -3
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/index.d.ts +1 -1
- package/lib/tab/index.d.ts +1 -1
- package/lib/tabbar/index.d.ts +3 -3
- package/lib/tabbar-item/index.d.ts +3 -3
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/index.d.ts +4 -4
- package/lib/tag/index.d.ts +1 -1
- package/lib/text-ellipsis/index.d.ts +1 -1
- package/lib/time-picker/TimePicker.d.ts +13 -13
- package/lib/time-picker/index.d.ts +10 -10
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/index.d.ts +4 -4
- package/lib/tree-select/index.d.ts +4 -4
- package/lib/uploader/index.d.ts +7 -7
- package/lib/uploader/utils.d.ts +1 -1
- package/lib/vant.cjs.js +28 -9
- package/lib/vant.es.js +29 -10
- package/lib/vant.js +28 -9
- package/lib/vant.min.js +2 -2
- package/lib/watermark/index.d.ts +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +6 -6
@@ -149,7 +149,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
149
149
|
(0, import_vue2.watch)(import_utils.windowWidth, resize);
|
150
150
|
(0, import_vue2.onMounted)(initialize);
|
151
151
|
(0, import_use_expose.useExpose)({
|
152
|
-
resize
|
152
|
+
resize,
|
153
|
+
clear,
|
154
|
+
submit
|
153
155
|
});
|
154
156
|
return () => (0, import_vue.createVNode)("div", {
|
155
157
|
"class": bem()
|
package/lib/signature/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Signature: import("
|
1
|
+
export declare const Signature: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tips: StringConstructor;
|
3
3
|
type: {
|
4
4
|
type: import("vue").PropType<string>;
|
package/lib/signature/types.d.ts
CHANGED
@@ -2,6 +2,8 @@ import type { ComponentPublicInstance } from 'vue';
|
|
2
2
|
import type { SignatureProps } from './Signature';
|
3
3
|
export type SignatureExpose = {
|
4
4
|
resize: () => void;
|
5
|
+
clear: () => void;
|
6
|
+
submit: () => void;
|
5
7
|
};
|
6
8
|
export type SignatureInstance = ComponentPublicInstance<SignatureProps, SignatureExpose>;
|
7
9
|
export type SignatureThemeVars = {
|
package/lib/skeleton/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Skeleton: import("
|
1
|
+
export declare const Skeleton: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
row: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
@@ -9,8 +9,8 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
9
9
|
avatar: BooleanConstructor;
|
10
10
|
avatarSize: (NumberConstructor | StringConstructor)[];
|
11
11
|
avatarShape: {
|
12
|
-
type: import("vue").PropType<import("
|
13
|
-
default: import("
|
12
|
+
type: import("vue").PropType<import("packages/vant/lib").SkeletonAvatarShape>;
|
13
|
+
default: import("packages/vant/lib").SkeletonAvatarShape;
|
14
14
|
};
|
15
15
|
loading: {
|
16
16
|
type: BooleanConstructor;
|
@@ -21,7 +21,7 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
21
21
|
default: true;
|
22
22
|
};
|
23
23
|
rowWidth: {
|
24
|
-
type: import("vue").PropType<import("
|
24
|
+
type: import("vue").PropType<import("packages/vant/lib/utils/basic").Numeric | import("packages/vant/lib/utils/basic").Numeric[]>;
|
25
25
|
default: string;
|
26
26
|
};
|
27
27
|
}, () => import("vue/jsx-runtime").JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
@@ -37,8 +37,8 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
37
37
|
avatar: BooleanConstructor;
|
38
38
|
avatarSize: (NumberConstructor | StringConstructor)[];
|
39
39
|
avatarShape: {
|
40
|
-
type: import("vue").PropType<import("
|
41
|
-
default: import("
|
40
|
+
type: import("vue").PropType<import("packages/vant/lib").SkeletonAvatarShape>;
|
41
|
+
default: import("packages/vant/lib").SkeletonAvatarShape;
|
42
42
|
};
|
43
43
|
loading: {
|
44
44
|
type: BooleanConstructor;
|
@@ -49,7 +49,7 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
49
49
|
default: true;
|
50
50
|
};
|
51
51
|
rowWidth: {
|
52
|
-
type: import("vue").PropType<import("
|
52
|
+
type: import("vue").PropType<import("packages/vant/lib/utils/basic").Numeric | import("packages/vant/lib/utils/basic").Numeric[]>;
|
53
53
|
default: string;
|
54
54
|
};
|
55
55
|
}>>, {
|
@@ -58,8 +58,8 @@ export declare const Skeleton: import("../utils").WithInstall<import("vue").Defi
|
|
58
58
|
round: boolean;
|
59
59
|
row: string | number;
|
60
60
|
loading: boolean;
|
61
|
-
avatarShape: import("
|
62
|
-
rowWidth: import("
|
61
|
+
avatarShape: import("packages/vant/lib").SkeletonAvatarShape;
|
62
|
+
rowWidth: import("packages/vant/lib/utils/basic").Numeric | import("packages/vant/lib/utils/basic").Numeric[];
|
63
63
|
avatar: boolean;
|
64
64
|
}, {}>>;
|
65
65
|
export default Skeleton;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SkeletonAvatar: import("
|
1
|
+
export declare const SkeletonAvatar: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
avatarSize: (NumberConstructor | StringConstructor)[];
|
3
3
|
avatarShape: {
|
4
4
|
type: import("vue").PropType<import("./SkeletonAvatar").SkeletonAvatarShape>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SkeletonImage: import("
|
1
|
+
export declare const SkeletonImage: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
imageSize: (NumberConstructor | StringConstructor)[];
|
3
3
|
imageShape: {
|
4
4
|
type: import("vue").PropType<import("./SkeletonImage").SkeletonImageShape>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SkeletonParagraph: import("
|
1
|
+
export declare const SkeletonParagraph: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
round: BooleanConstructor;
|
3
3
|
rowWidth: {
|
4
4
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SkeletonTitle: import("
|
1
|
+
export declare const SkeletonTitle: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
round: BooleanConstructor;
|
3
3
|
titleWidth: (NumberConstructor | StringConstructor)[];
|
4
4
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
package/lib/slider/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Slider: import("
|
1
|
+
export declare const Slider: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
min: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
package/lib/space/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Space: import("
|
1
|
+
export declare const Space: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
align: import("vue").PropType<import("./Space").SpaceAlign>;
|
3
3
|
direction: {
|
4
4
|
type: import("vue").PropType<"horizontal" | "vertical">;
|
package/lib/step/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Step: import("
|
1
|
+
export declare const Step: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
|
2
2
|
export default Step;
|
3
3
|
export type { StepThemeVars } from './types';
|
4
4
|
declare module 'vue' {
|
package/lib/stepper/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Stepper: import("
|
1
|
+
export declare const Stepper: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
min: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
@@ -46,7 +46,7 @@ export declare const Stepper: import("../utils").WithInstall<import("vue").Defin
|
|
46
46
|
disablePlus: BooleanConstructor;
|
47
47
|
disableMinus: BooleanConstructor;
|
48
48
|
disableInput: BooleanConstructor;
|
49
|
-
beforeChange: import("vue").PropType<import("
|
49
|
+
beforeChange: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
50
50
|
defaultValue: {
|
51
51
|
type: (NumberConstructor | StringConstructor)[];
|
52
52
|
default: number;
|
@@ -100,7 +100,7 @@ export declare const Stepper: import("../utils").WithInstall<import("vue").Defin
|
|
100
100
|
disablePlus: BooleanConstructor;
|
101
101
|
disableMinus: BooleanConstructor;
|
102
102
|
disableInput: BooleanConstructor;
|
103
|
-
beforeChange: import("vue").PropType<import("
|
103
|
+
beforeChange: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
104
104
|
defaultValue: {
|
105
105
|
type: (NumberConstructor | StringConstructor)[];
|
106
106
|
default: number;
|
package/lib/steps/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Steps: import("
|
1
|
+
export declare const Steps: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
active: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
package/lib/sticky/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Sticky: import("
|
1
|
+
export declare const Sticky: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
zIndex: (NumberConstructor | StringConstructor)[];
|
3
3
|
position: {
|
4
4
|
type: import("vue").PropType<import("./Sticky").StickyPosition>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SubmitBar: import("
|
1
|
+
export declare const SubmitBar: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tip: StringConstructor;
|
3
3
|
label: StringConstructor;
|
4
4
|
price: NumberConstructor;
|
@@ -12,8 +12,8 @@ export declare const SubmitBar: import("../utils").WithInstall<import("vue").Def
|
|
12
12
|
textAlign: import("vue").PropType<import("./SubmitBar").SubmitBarTextAlign>;
|
13
13
|
buttonText: StringConstructor;
|
14
14
|
buttonType: {
|
15
|
-
type: import("vue").PropType<import("
|
16
|
-
default: import("
|
15
|
+
type: import("vue").PropType<import("packages/vant/lib").ButtonType>;
|
16
|
+
default: import("packages/vant/lib").ButtonType;
|
17
17
|
};
|
18
18
|
buttonColor: StringConstructor;
|
19
19
|
suffixLabel: StringConstructor;
|
@@ -40,8 +40,8 @@ export declare const SubmitBar: import("../utils").WithInstall<import("vue").Def
|
|
40
40
|
textAlign: import("vue").PropType<import("./SubmitBar").SubmitBarTextAlign>;
|
41
41
|
buttonText: StringConstructor;
|
42
42
|
buttonType: {
|
43
|
-
type: import("vue").PropType<import("
|
44
|
-
default: import("
|
43
|
+
type: import("vue").PropType<import("packages/vant/lib").ButtonType>;
|
44
|
+
default: import("packages/vant/lib").ButtonType;
|
45
45
|
};
|
46
46
|
buttonColor: StringConstructor;
|
47
47
|
suffixLabel: StringConstructor;
|
@@ -63,7 +63,7 @@ export declare const SubmitBar: import("../utils").WithInstall<import("vue").Def
|
|
63
63
|
loading: boolean;
|
64
64
|
currency: string;
|
65
65
|
decimalLength: string | number;
|
66
|
-
buttonType: import("
|
66
|
+
buttonType: import("packages/vant/lib").ButtonType;
|
67
67
|
}, {}>>;
|
68
68
|
export default SubmitBar;
|
69
69
|
export { submitBarProps } from './SubmitBar';
|
package/lib/swipe/Swipe.d.ts
CHANGED
@@ -110,10 +110,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
110
110
|
onDragStart?: ((...args: any[]) => any) | undefined;
|
111
111
|
onDragEnd?: ((...args: any[]) => any) | undefined;
|
112
112
|
}, {
|
113
|
+
duration: string | number;
|
113
114
|
autoplay: string | number;
|
114
115
|
loop: boolean;
|
115
116
|
vertical: boolean;
|
116
|
-
duration: string | number;
|
117
117
|
lazyRender: boolean;
|
118
118
|
touchable: boolean;
|
119
119
|
initialSwipe: string | number;
|
package/lib/swipe/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SwipeProps } from './Swipe';
|
2
|
-
export declare const Swipe: import("
|
2
|
+
export declare const Swipe: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
loop: {
|
4
4
|
type: BooleanConstructor;
|
5
5
|
default: true;
|
@@ -72,10 +72,10 @@ export declare const Swipe: import("../utils").WithInstall<import("vue").DefineC
|
|
72
72
|
onDragStart?: ((...args: any[]) => any) | undefined;
|
73
73
|
onDragEnd?: ((...args: any[]) => any) | undefined;
|
74
74
|
}, {
|
75
|
+
duration: string | number;
|
75
76
|
autoplay: string | number;
|
76
77
|
loop: boolean;
|
77
78
|
vertical: boolean;
|
78
|
-
duration: string | number;
|
79
79
|
lazyRender: boolean;
|
80
80
|
touchable: boolean;
|
81
81
|
initialSwipe: string | number;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SwipeCellProps } from './SwipeCell';
|
2
|
-
export declare const SwipeCell: import("
|
2
|
+
export declare const SwipeCell: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
name: {
|
4
4
|
type: (NumberConstructor | StringConstructor)[];
|
5
5
|
default: string;
|
@@ -7,7 +7,7 @@ export declare const SwipeCell: import("../utils").WithInstall<import("vue").Def
|
|
7
7
|
disabled: BooleanConstructor;
|
8
8
|
leftWidth: (NumberConstructor | StringConstructor)[];
|
9
9
|
rightWidth: (NumberConstructor | StringConstructor)[];
|
10
|
-
beforeClose: import("vue").PropType<import("
|
10
|
+
beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
11
11
|
stopPropagation: BooleanConstructor;
|
12
12
|
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "click" | "close")[], "open" | "click" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
13
13
|
name: {
|
@@ -17,7 +17,7 @@ export declare const SwipeCell: import("../utils").WithInstall<import("vue").Def
|
|
17
17
|
disabled: BooleanConstructor;
|
18
18
|
leftWidth: (NumberConstructor | StringConstructor)[];
|
19
19
|
rightWidth: (NumberConstructor | StringConstructor)[];
|
20
|
-
beforeClose: import("vue").PropType<import("
|
20
|
+
beforeClose: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
21
21
|
stopPropagation: BooleanConstructor;
|
22
22
|
}>> & {
|
23
23
|
onClick?: ((...args: any[]) => any) | undefined;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SwipeItem: import("
|
1
|
+
export declare const SwipeItem: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
|
2
2
|
export default SwipeItem;
|
3
3
|
declare module 'vue' {
|
4
4
|
interface GlobalComponents {
|
package/lib/switch/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Switch: import("
|
1
|
+
export declare const Switch: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
3
3
|
loading: BooleanConstructor;
|
4
4
|
disabled: BooleanConstructor;
|
package/lib/tab/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Tab: import("
|
1
|
+
export declare const Tab: 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;
|
package/lib/tabbar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Tabbar: import("
|
1
|
+
export declare const Tabbar: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
route: BooleanConstructor;
|
3
3
|
fixed: {
|
4
4
|
type: BooleanConstructor;
|
@@ -11,7 +11,7 @@ export declare const Tabbar: import("../utils").WithInstall<import("vue").Define
|
|
11
11
|
zIndex: (NumberConstructor | StringConstructor)[];
|
12
12
|
placeholder: BooleanConstructor;
|
13
13
|
activeColor: StringConstructor;
|
14
|
-
beforeChange: import("vue").PropType<import("
|
14
|
+
beforeChange: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
15
15
|
inactiveColor: StringConstructor;
|
16
16
|
modelValue: {
|
17
17
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -34,7 +34,7 @@ export declare const Tabbar: import("../utils").WithInstall<import("vue").Define
|
|
34
34
|
zIndex: (NumberConstructor | StringConstructor)[];
|
35
35
|
placeholder: BooleanConstructor;
|
36
36
|
activeColor: StringConstructor;
|
37
|
-
beforeChange: import("vue").PropType<import("
|
37
|
+
beforeChange: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
38
38
|
inactiveColor: StringConstructor;
|
39
39
|
modelValue: {
|
40
40
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const TabbarItem: import("
|
1
|
+
export declare const TabbarItem: 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;
|
@@ -7,7 +7,7 @@ export declare const TabbarItem: import("../utils").WithInstall<import("vue").De
|
|
7
7
|
icon: StringConstructor;
|
8
8
|
name: (NumberConstructor | StringConstructor)[];
|
9
9
|
badge: (NumberConstructor | StringConstructor)[];
|
10
|
-
badgeProps: import("vue").PropType<Partial<import("
|
10
|
+
badgeProps: import("vue").PropType<Partial<import("packages/vant/lib").BadgeProps>>;
|
11
11
|
iconPrefix: StringConstructor;
|
12
12
|
}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
13
13
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
@@ -18,7 +18,7 @@ export declare const TabbarItem: import("../utils").WithInstall<import("vue").De
|
|
18
18
|
icon: StringConstructor;
|
19
19
|
name: (NumberConstructor | StringConstructor)[];
|
20
20
|
badge: (NumberConstructor | StringConstructor)[];
|
21
|
-
badgeProps: import("vue").PropType<Partial<import("
|
21
|
+
badgeProps: import("vue").PropType<Partial<import("packages/vant/lib").BadgeProps>>;
|
22
22
|
iconPrefix: StringConstructor;
|
23
23
|
}>> & {
|
24
24
|
onClick?: ((...args: any[]) => any) | undefined;
|
package/lib/tabs/Tabs.d.ts
CHANGED
@@ -150,11 +150,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
150
150
|
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
151
151
|
}, {
|
152
152
|
type: TabsType;
|
153
|
+
duration: string | number;
|
153
154
|
ellipsis: boolean;
|
154
155
|
sticky: boolean;
|
155
156
|
border: boolean;
|
156
157
|
active: string | number;
|
157
|
-
duration: string | number;
|
158
158
|
lazyRender: boolean;
|
159
159
|
offsetTop: string | number;
|
160
160
|
animated: boolean;
|
package/lib/tabs/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TabsProps } from './Tabs';
|
2
|
-
export declare const Tabs: import("
|
2
|
+
export declare const Tabs: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
type: {
|
4
4
|
type: import("vue").PropType<import("./types").TabsType>;
|
5
5
|
default: import("./types").TabsType;
|
@@ -38,7 +38,7 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
|
|
38
38
|
};
|
39
39
|
lineWidth: (NumberConstructor | StringConstructor)[];
|
40
40
|
lineHeight: (NumberConstructor | StringConstructor)[];
|
41
|
-
beforeChange: import("vue").PropType<import("
|
41
|
+
beforeChange: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
42
42
|
swipeThreshold: {
|
43
43
|
type: (NumberConstructor | StringConstructor)[];
|
44
44
|
default: number;
|
@@ -84,7 +84,7 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
|
|
84
84
|
};
|
85
85
|
lineWidth: (NumberConstructor | StringConstructor)[];
|
86
86
|
lineHeight: (NumberConstructor | StringConstructor)[];
|
87
|
-
beforeChange: import("vue").PropType<import("
|
87
|
+
beforeChange: import("vue").PropType<import("packages/vant/lib/utils/interceptor").Interceptor>;
|
88
88
|
swipeThreshold: {
|
89
89
|
type: (NumberConstructor | StringConstructor)[];
|
90
90
|
default: number;
|
@@ -99,11 +99,11 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
|
|
99
99
|
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
100
100
|
}, {
|
101
101
|
type: import("./types").TabsType;
|
102
|
+
duration: string | number;
|
102
103
|
ellipsis: boolean;
|
103
104
|
sticky: boolean;
|
104
105
|
border: boolean;
|
105
106
|
active: string | number;
|
106
|
-
duration: string | number;
|
107
107
|
lazyRender: boolean;
|
108
108
|
offsetTop: string | number;
|
109
109
|
animated: boolean;
|
package/lib/tag/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Tag: import("
|
1
|
+
export declare const Tag: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: import("vue").PropType<import("./types").TagSize>;
|
3
3
|
mark: BooleanConstructor;
|
4
4
|
show: {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const TextEllipsis: import("
|
1
|
+
export declare const TextEllipsis: import("packages/vant/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
2
2
|
rows: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
@@ -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/lib/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib/picker/types").PickerOption[]>;
|
33
33
|
formatter: {
|
34
|
-
type: PropType<(type: string, option: import("
|
35
|
-
default: (type: string, option: import("
|
34
|
+
type: PropType<(type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption>;
|
35
|
+
default: (type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption;
|
36
36
|
};
|
37
37
|
} & {
|
38
38
|
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/lib/picker/types").PickerOption[], values: string[]) => import("packages/vant/lib/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/lib/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib/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/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption>;
|
109
|
+
default: (type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/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/lib/picker/types").PickerOption[], values: string[]) => import("packages/vant/lib/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/lib/picker/types").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib/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/lib/picker/types").PickerOption) => import("packages/vant/lib/picker/types").PickerOption>;
|
181
|
+
default: (type: string, option: import("packages/vant/lib/picker/types").PickerOption) => import("packages/vant/lib/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/lib/picker/types").PickerOption[], values: string[]) => import("packages/vant/lib/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/lib/picker/types").PickerOption) => import("packages/vant/lib/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/lib/utils/with-install").WithInstall<import("vue").DefineComponent<{
|
3
3
|
loading: BooleanConstructor;
|
4
4
|
readonly: BooleanConstructor;
|
5
5
|
allowHtml: BooleanConstructor;
|
@@ -28,10 +28,10 @@ export declare const 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/lib").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib").PickerOption[]>;
|
32
32
|
formatter: {
|
33
|
-
type: import("vue").PropType<(type: string, option: import("
|
34
|
-
default: (type: string, option: import("
|
33
|
+
type: import("vue").PropType<(type: string, option: import("packages/vant/lib").PickerOption) => import("packages/vant/lib").PickerOption>;
|
34
|
+
default: (type: string, option: import("packages/vant/lib").PickerOption) => import("packages/vant/lib").PickerOption;
|
35
35
|
};
|
36
36
|
} & {
|
37
37
|
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/lib").PickerOption[], values: string[]) => import("packages/vant/lib").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/lib").PickerOption[], values?: string[] | undefined) => import("packages/vant/lib").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/lib").PickerOption) => import("packages/vant/lib").PickerOption>;
|
106
|
+
default: (type: string, option: import("packages/vant/lib").PickerOption) => import("packages/vant/lib").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/lib").PickerOption[], values: string[]) => import("packages/vant/lib").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/lib").PickerOption) => import("packages/vant/lib").PickerOption;
|
153
153
|
modelValue: string[];
|
154
154
|
readonly: boolean;
|
155
155
|
loading: boolean;
|
package/lib/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/lib/toast/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Toast: import("
|
1
|
+
export declare const Toast: import("packages/vant/lib/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/lib").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/lib").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;
|