vant 4.8.6 → 4.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/es/action-bar/index.d.ts +1 -1
- package/es/action-bar-button/index.d.ts +3 -3
- package/es/action-bar-icon/index.d.ts +3 -3
- package/es/action-sheet/ActionSheet.d.ts +3 -3
- package/es/action-sheet/index.d.ts +3 -3
- package/es/address-edit/index.d.ts +5 -5
- package/es/address-list/AddressList.mjs +3 -1
- package/es/address-list/AddressListItem.mjs +3 -3
- package/es/address-list/index.d.ts +1 -1
- package/es/area/Area.d.ts +3 -3
- package/es/area/index.d.ts +2 -2
- package/es/back-top/index.d.ts +1 -1
- package/es/badge/index.d.ts +3 -3
- package/es/barrage/Barrage.d.ts +1 -1
- package/es/barrage/index.d.ts +2 -2
- package/es/button/index.d.ts +3 -3
- package/es/calendar/index.d.ts +6 -6
- package/es/calendar/utils.d.ts +1 -1
- package/es/card/index.d.ts +1 -1
- package/es/cascader/index.d.ts +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell-group/index.d.ts +1 -1
- package/es/checkbox/index.d.ts +5 -5
- package/es/checkbox-group/index.d.ts +8 -8
- package/es/circle/index.d.ts +1 -1
- package/es/col/index.d.ts +1 -1
- package/es/collapse/index.d.ts +4 -4
- package/es/collapse-item/index.d.ts +5 -5
- package/es/config-provider/index.d.ts +1 -1
- package/es/contact-card/index.d.ts +1 -1
- package/es/contact-edit/index.d.ts +3 -3
- package/es/contact-list/index.d.ts +1 -1
- package/es/count-down/index.d.ts +1 -1
- package/es/coupon/index.d.ts +1 -1
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/index.d.ts +7 -7
- package/es/date-picker/DatePicker.d.ts +10 -10
- package/es/date-picker/index.d.ts +8 -8
- package/es/dialog/Dialog.d.ts +3 -3
- package/es/dialog/index.d.ts +3 -3
- package/es/divider/index.d.ts +1 -1
- package/es/dropdown-item/index.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/index.d.ts +2 -2
- package/es/empty/index.d.ts +3 -3
- package/es/field/index.d.ts +5 -5
- package/es/floating-bubble/FloatingBubble.mjs +3 -1
- package/es/floating-bubble/index.d.ts +1 -1
- package/es/floating-panel/FloatingPanel.d.ts +1 -1
- package/es/floating-panel/index.d.ts +2 -2
- package/es/form/index.d.ts +10 -10
- package/es/grid/index.d.ts +1 -1
- package/es/grid-item/index.d.ts +3 -3
- package/es/highlight/index.d.ts +1 -1
- package/es/icon/index.d.ts +3 -3
- package/es/image/index.d.ts +1 -1
- package/es/image-preview/ImagePreviewItem.mjs +3 -1
- package/es/image-preview/index.d.ts +8 -8
- package/es/index-anchor/index.d.ts +1 -1
- package/es/index-bar/index.d.ts +4 -4
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/loading/index.d.ts +1 -1
- package/es/nav-bar/index.d.ts +1 -1
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notify/Notify.d.ts +3 -3
- package/es/notify/index.d.ts +3 -3
- package/es/number-keyboard/index.d.ts +1 -1
- package/es/overlay/index.d.ts +1 -1
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/index.d.ts +2 -2
- package/es/password-input/index.d.ts +1 -1
- package/es/picker/index.d.ts +4 -4
- package/es/picker/utils.d.ts +1 -1
- package/es/picker-group/PickerGroup.mjs +11 -3
- package/es/picker-group/index.d.ts +1 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popup/Popup.d.ts +3 -3
- package/es/popup/index.d.ts +3 -3
- package/es/progress/index.d.ts +3 -3
- package/es/pull-refresh/index.d.ts +1 -1
- package/es/radio/index.d.ts +3 -3
- package/es/radio-group/index.d.ts +5 -5
- package/es/rate/index.d.ts +1 -1
- package/es/rolling-text/index.d.ts +1 -1
- package/es/row/index.d.ts +1 -1
- package/es/search/Search.d.ts +17 -17
- package/es/search/index.d.ts +13 -13
- package/es/share-sheet/ShareSheet.d.ts +3 -3
- package/es/share-sheet/index.d.ts +3 -3
- package/es/sidebar/index.d.ts +1 -1
- package/es/sidebar-item/index.d.ts +3 -3
- package/es/signature/index.d.ts +1 -1
- package/es/skeleton/index.d.ts +9 -9
- package/es/skeleton-avatar/index.d.ts +1 -1
- package/es/skeleton-image/index.d.ts +1 -1
- package/es/skeleton-paragraph/index.d.ts +1 -1
- package/es/skeleton-title/index.d.ts +1 -1
- package/es/slider/index.d.ts +1 -1
- package/es/space/index.d.ts +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/index.d.ts +3 -3
- package/es/steps/index.d.ts +1 -1
- package/es/sticky/index.d.ts +1 -1
- package/es/submit-bar/index.d.ts +6 -6
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/index.d.ts +2 -2
- package/es/swipe-cell/index.d.ts +3 -3
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/index.d.ts +1 -1
- package/es/tab/index.d.ts +1 -1
- package/es/tabbar/index.d.ts +3 -3
- package/es/tabbar-item/index.d.ts +3 -3
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/index.d.ts +4 -4
- package/es/tag/index.d.ts +1 -1
- package/es/text-ellipsis/TextEllipsis.mjs +30 -21
- package/es/text-ellipsis/index.d.ts +1 -1
- package/es/time-picker/TimePicker.d.ts +13 -13
- package/es/time-picker/index.d.ts +10 -10
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/index.d.ts +4 -4
- package/es/tree-select/index.d.ts +4 -4
- package/es/uploader/index.d.ts +7 -7
- package/es/uploader/utils.d.ts +1 -1
- package/es/utils/basic.d.ts +1 -0
- package/es/utils/basic.mjs +2 -0
- package/es/watermark/index.d.ts +1 -1
- package/lib/action-bar/index.d.ts +1 -1
- package/lib/action-bar-button/index.d.ts +3 -3
- package/lib/action-bar-icon/index.d.ts +3 -3
- package/lib/action-sheet/ActionSheet.d.ts +3 -3
- package/lib/action-sheet/index.d.ts +3 -3
- package/lib/address-edit/index.d.ts +5 -5
- package/lib/address-list/AddressList.js +3 -1
- package/lib/address-list/AddressListItem.js +3 -3
- package/lib/address-list/index.d.ts +1 -1
- package/lib/area/Area.d.ts +3 -3
- package/lib/area/index.d.ts +2 -2
- package/lib/back-top/index.d.ts +1 -1
- package/lib/badge/index.d.ts +3 -3
- package/lib/barrage/Barrage.d.ts +1 -1
- package/lib/barrage/index.d.ts +2 -2
- package/lib/button/index.d.ts +3 -3
- package/lib/calendar/index.d.ts +6 -6
- package/lib/calendar/utils.d.ts +1 -1
- package/lib/card/index.d.ts +1 -1
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell-group/index.d.ts +1 -1
- package/lib/checkbox/index.d.ts +5 -5
- package/lib/checkbox-group/index.d.ts +8 -8
- package/lib/circle/index.d.ts +1 -1
- package/lib/col/index.d.ts +1 -1
- package/lib/collapse/index.d.ts +4 -4
- package/lib/collapse-item/index.d.ts +5 -5
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/contact-card/index.d.ts +1 -1
- package/lib/contact-edit/index.d.ts +3 -3
- package/lib/contact-list/index.d.ts +1 -1
- package/lib/count-down/index.d.ts +1 -1
- package/lib/coupon/index.d.ts +1 -1
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/index.d.ts +7 -7
- package/lib/date-picker/DatePicker.d.ts +10 -10
- package/lib/date-picker/index.d.ts +8 -8
- package/lib/dialog/Dialog.d.ts +3 -3
- package/lib/dialog/index.d.ts +3 -3
- package/lib/divider/index.d.ts +1 -1
- package/lib/dropdown-item/index.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/index.d.ts +2 -2
- package/lib/empty/index.d.ts +3 -3
- package/lib/field/index.d.ts +5 -5
- package/lib/floating-bubble/FloatingBubble.js +3 -1
- package/lib/floating-bubble/index.d.ts +1 -1
- package/lib/floating-panel/FloatingPanel.d.ts +1 -1
- package/lib/floating-panel/index.d.ts +2 -2
- package/lib/form/index.d.ts +10 -10
- package/lib/grid/index.d.ts +1 -1
- package/lib/grid-item/index.d.ts +3 -3
- package/lib/highlight/index.d.ts +1 -1
- package/lib/icon/index.d.ts +3 -3
- package/lib/image/index.d.ts +1 -1
- package/lib/image-preview/ImagePreviewItem.js +3 -1
- package/lib/image-preview/index.d.ts +8 -8
- package/lib/index-anchor/index.d.ts +1 -1
- package/lib/index-bar/index.d.ts +4 -4
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/loading/index.d.ts +1 -1
- package/lib/nav-bar/index.d.ts +1 -1
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notify/Notify.d.ts +3 -3
- package/lib/notify/index.d.ts +3 -3
- package/lib/number-keyboard/index.d.ts +1 -1
- package/lib/overlay/index.d.ts +1 -1
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/index.d.ts +2 -2
- package/lib/password-input/index.d.ts +1 -1
- package/lib/picker/index.d.ts +4 -4
- package/lib/picker/utils.d.ts +1 -1
- package/lib/picker-group/PickerGroup.js +9 -1
- package/lib/picker-group/index.d.ts +1 -1
- package/lib/popover/index.d.ts +1 -1
- package/lib/popup/Popup.d.ts +3 -3
- package/lib/popup/index.d.ts +3 -3
- package/lib/progress/index.d.ts +3 -3
- package/lib/pull-refresh/index.d.ts +1 -1
- package/lib/radio/index.d.ts +3 -3
- package/lib/radio-group/index.d.ts +5 -5
- package/lib/rate/index.d.ts +1 -1
- package/lib/rolling-text/index.d.ts +1 -1
- package/lib/row/index.d.ts +1 -1
- package/lib/search/Search.d.ts +17 -17
- package/lib/search/index.d.ts +13 -13
- package/lib/share-sheet/ShareSheet.d.ts +3 -3
- package/lib/share-sheet/index.d.ts +3 -3
- package/lib/sidebar/index.d.ts +1 -1
- package/lib/sidebar-item/index.d.ts +3 -3
- package/lib/signature/index.d.ts +1 -1
- package/lib/skeleton/index.d.ts +9 -9
- package/lib/skeleton-avatar/index.d.ts +1 -1
- package/lib/skeleton-image/index.d.ts +1 -1
- package/lib/skeleton-paragraph/index.d.ts +1 -1
- package/lib/skeleton-title/index.d.ts +1 -1
- package/lib/slider/index.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/index.d.ts +3 -3
- package/lib/steps/index.d.ts +1 -1
- package/lib/sticky/index.d.ts +1 -1
- package/lib/submit-bar/index.d.ts +6 -6
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/index.d.ts +2 -2
- package/lib/swipe-cell/index.d.ts +3 -3
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/index.d.ts +1 -1
- package/lib/tab/index.d.ts +1 -1
- package/lib/tabbar/index.d.ts +3 -3
- package/lib/tabbar-item/index.d.ts +3 -3
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/index.d.ts +4 -4
- package/lib/tag/index.d.ts +1 -1
- package/lib/text-ellipsis/TextEllipsis.js +29 -20
- package/lib/text-ellipsis/index.d.ts +1 -1
- package/lib/time-picker/TimePicker.d.ts +13 -13
- package/lib/time-picker/index.d.ts +10 -10
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/index.d.ts +4 -4
- package/lib/tree-select/index.d.ts +4 -4
- package/lib/uploader/index.d.ts +7 -7
- package/lib/uploader/utils.d.ts +1 -1
- package/lib/utils/basic.d.ts +1 -0
- package/lib/utils/basic.js +2 -0
- package/lib/vant.cjs.js +52 -28
- package/lib/vant.es.js +52 -28
- package/lib/vant.js +53 -29
- package/lib/vant.min.js +2 -2
- package/lib/watermark/index.d.ts +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +4 -4
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ShareSheet: import("
|
1
|
+
export declare const ShareSheet: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
zIndex: (NumberConstructor | StringConstructor)[];
|
4
4
|
overlay: {
|
@@ -15,7 +15,7 @@ export declare const ShareSheet: import("packages/vant/es/utils/with-install").W
|
|
15
15
|
type: BooleanConstructor;
|
16
16
|
default: true;
|
17
17
|
};
|
18
|
-
beforeClose: import("vue").PropType<import("
|
18
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
19
19
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
20
20
|
overlayClass: import("vue").PropType<unknown>;
|
21
21
|
transitionAppear: BooleanConstructor;
|
@@ -60,7 +60,7 @@ export declare const ShareSheet: import("packages/vant/es/utils/with-install").W
|
|
60
60
|
type: BooleanConstructor;
|
61
61
|
default: true;
|
62
62
|
};
|
63
|
-
beforeClose: import("vue").PropType<import("
|
63
|
+
beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
64
64
|
overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
65
65
|
overlayClass: import("vue").PropType<unknown>;
|
66
66
|
transitionAppear: BooleanConstructor;
|
package/es/sidebar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Sidebar: import("
|
1
|
+
export declare const Sidebar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
modelValue: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SidebarItem: import("
|
1
|
+
export declare const SidebarItem: import("../utils").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 SidebarItem: import("packages/vant/es/utils/with-install").
|
|
7
7
|
title: StringConstructor;
|
8
8
|
badge: (NumberConstructor | StringConstructor)[];
|
9
9
|
disabled: BooleanConstructor;
|
10
|
-
badgeProps: import("vue").PropType<Partial<import("
|
10
|
+
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
11
11
|
}, (() => import("vue/jsx-runtime").JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
12
12
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
13
13
|
url: StringConstructor;
|
@@ -17,7 +17,7 @@ export declare const SidebarItem: import("packages/vant/es/utils/with-install").
|
|
17
17
|
title: StringConstructor;
|
18
18
|
badge: (NumberConstructor | StringConstructor)[];
|
19
19
|
disabled: BooleanConstructor;
|
20
|
-
badgeProps: import("vue").PropType<Partial<import("
|
20
|
+
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
21
21
|
}>> & {
|
22
22
|
onClick?: ((...args: any[]) => any) | undefined;
|
23
23
|
}, {
|
package/es/signature/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Signature: import("
|
1
|
+
export declare const Signature: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
tips: StringConstructor;
|
3
3
|
type: {
|
4
4
|
type: import("vue").PropType<string>;
|
package/es/skeleton/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Skeleton: import("
|
1
|
+
export declare const Skeleton: import("../utils").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("packages/vant/es/utils/with-install").Wit
|
|
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("..").SkeletonAvatarShape>;
|
13
|
+
default: import("..").SkeletonAvatarShape;
|
14
14
|
};
|
15
15
|
loading: {
|
16
16
|
type: BooleanConstructor;
|
@@ -21,7 +21,7 @@ export declare const Skeleton: import("packages/vant/es/utils/with-install").Wit
|
|
21
21
|
default: true;
|
22
22
|
};
|
23
23
|
rowWidth: {
|
24
|
-
type: import("vue").PropType<import("
|
24
|
+
type: import("vue").PropType<import("../utils").Numeric | import("../utils").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("packages/vant/es/utils/with-install").Wit
|
|
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("..").SkeletonAvatarShape>;
|
41
|
+
default: import("..").SkeletonAvatarShape;
|
42
42
|
};
|
43
43
|
loading: {
|
44
44
|
type: BooleanConstructor;
|
@@ -49,7 +49,7 @@ export declare const Skeleton: import("packages/vant/es/utils/with-install").Wit
|
|
49
49
|
default: true;
|
50
50
|
};
|
51
51
|
rowWidth: {
|
52
|
-
type: import("vue").PropType<import("
|
52
|
+
type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
|
53
53
|
default: string;
|
54
54
|
};
|
55
55
|
}>>, {
|
@@ -58,8 +58,8 @@ export declare const Skeleton: import("packages/vant/es/utils/with-install").Wit
|
|
58
58
|
round: boolean;
|
59
59
|
row: string | number;
|
60
60
|
loading: boolean;
|
61
|
-
avatarShape: import("
|
62
|
-
rowWidth: import("
|
61
|
+
avatarShape: import("..").SkeletonAvatarShape;
|
62
|
+
rowWidth: import("../utils").Numeric | import("../utils").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("../utils").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("../utils").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("../utils").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("../utils").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/es/slider/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Slider: import("
|
1
|
+
export declare const Slider: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
min: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
package/es/space/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Space: import("
|
1
|
+
export declare const Space: import("../utils").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/es/step/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Step: import("
|
1
|
+
export declare const Step: import("../utils").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/es/stepper/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Stepper: import("
|
1
|
+
export declare const Stepper: import("../utils").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("packages/vant/es/utils/with-install").With
|
|
46
46
|
disablePlus: BooleanConstructor;
|
47
47
|
disableMinus: BooleanConstructor;
|
48
48
|
disableInput: BooleanConstructor;
|
49
|
-
beforeChange: import("vue").PropType<import("
|
49
|
+
beforeChange: import("vue").PropType<import("../utils").Interceptor>;
|
50
50
|
defaultValue: {
|
51
51
|
type: (NumberConstructor | StringConstructor)[];
|
52
52
|
default: number;
|
@@ -100,7 +100,7 @@ export declare const Stepper: import("packages/vant/es/utils/with-install").With
|
|
100
100
|
disablePlus: BooleanConstructor;
|
101
101
|
disableMinus: BooleanConstructor;
|
102
102
|
disableInput: BooleanConstructor;
|
103
|
-
beforeChange: import("vue").PropType<import("
|
103
|
+
beforeChange: import("vue").PropType<import("../utils").Interceptor>;
|
104
104
|
defaultValue: {
|
105
105
|
type: (NumberConstructor | StringConstructor)[];
|
106
106
|
default: number;
|
package/es/steps/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Steps: import("
|
1
|
+
export declare const Steps: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
active: {
|
3
3
|
type: (NumberConstructor | StringConstructor)[];
|
4
4
|
default: number;
|
package/es/sticky/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Sticky: import("
|
1
|
+
export declare const Sticky: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
zIndex: (NumberConstructor | StringConstructor)[];
|
3
3
|
position: {
|
4
4
|
type: import("vue").PropType<import("./Sticky").StickyPosition>;
|
package/es/submit-bar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SubmitBar: import("
|
1
|
+
export declare const SubmitBar: import("../utils").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("packages/vant/es/utils/with-install").Wi
|
|
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("..").ButtonType>;
|
16
|
+
default: import("..").ButtonType;
|
17
17
|
};
|
18
18
|
buttonColor: StringConstructor;
|
19
19
|
suffixLabel: StringConstructor;
|
@@ -40,8 +40,8 @@ export declare const SubmitBar: import("packages/vant/es/utils/with-install").Wi
|
|
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("..").ButtonType>;
|
44
|
+
default: import("..").ButtonType;
|
45
45
|
};
|
46
46
|
buttonColor: StringConstructor;
|
47
47
|
suffixLabel: StringConstructor;
|
@@ -63,7 +63,7 @@ export declare const SubmitBar: import("packages/vant/es/utils/with-install").Wi
|
|
63
63
|
loading: boolean;
|
64
64
|
currency: string;
|
65
65
|
decimalLength: string | number;
|
66
|
-
buttonType: import("
|
66
|
+
buttonType: import("..").ButtonType;
|
67
67
|
}, {}>>;
|
68
68
|
export default SubmitBar;
|
69
69
|
export { submitBarProps } from './SubmitBar';
|
package/es/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;
|
114
113
|
autoplay: string | number;
|
115
114
|
loop: boolean;
|
116
115
|
vertical: boolean;
|
116
|
+
duration: string | number;
|
117
117
|
lazyRender: boolean;
|
118
118
|
touchable: boolean;
|
119
119
|
initialSwipe: string | number;
|
package/es/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("../utils").WithInstall<import("vue").DefineComponent<{
|
3
3
|
loop: {
|
4
4
|
type: BooleanConstructor;
|
5
5
|
default: true;
|
@@ -72,10 +72,10 @@ export declare const Swipe: import("packages/vant/es/utils/with-install").WithIn
|
|
72
72
|
onDragStart?: ((...args: any[]) => any) | undefined;
|
73
73
|
onDragEnd?: ((...args: any[]) => any) | undefined;
|
74
74
|
}, {
|
75
|
-
duration: string | number;
|
76
75
|
autoplay: string | number;
|
77
76
|
loop: boolean;
|
78
77
|
vertical: boolean;
|
78
|
+
duration: string | number;
|
79
79
|
lazyRender: boolean;
|
80
80
|
touchable: boolean;
|
81
81
|
initialSwipe: string | number;
|
package/es/swipe-cell/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SwipeCellProps } from './SwipeCell';
|
2
|
-
export declare const SwipeCell: import("
|
2
|
+
export declare const SwipeCell: import("../utils").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("packages/vant/es/utils/with-install").Wi
|
|
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("../utils").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("packages/vant/es/utils/with-install").Wi
|
|
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("../utils").Interceptor>;
|
21
21
|
stopPropagation: BooleanConstructor;
|
22
22
|
}>> & {
|
23
23
|
onClick?: ((...args: any[]) => any) | undefined;
|
package/es/swipe-item/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SwipeItem: import("
|
1
|
+
export declare const SwipeItem: import("../utils").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/es/switch/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Switch: import("
|
1
|
+
export declare const Switch: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
3
3
|
loading: BooleanConstructor;
|
4
4
|
disabled: BooleanConstructor;
|
package/es/tab/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Tab: import("
|
1
|
+
export declare const Tab: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
3
3
|
url: StringConstructor;
|
4
4
|
replace: BooleanConstructor;
|
package/es/tabbar/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Tabbar: import("
|
1
|
+
export declare const Tabbar: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
route: BooleanConstructor;
|
3
3
|
fixed: {
|
4
4
|
type: BooleanConstructor;
|
@@ -11,7 +11,7 @@ export declare const Tabbar: import("packages/vant/es/utils/with-install").WithI
|
|
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("../utils").Interceptor>;
|
15
15
|
inactiveColor: StringConstructor;
|
16
16
|
modelValue: {
|
17
17
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -34,7 +34,7 @@ export declare const Tabbar: import("packages/vant/es/utils/with-install").WithI
|
|
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("../utils").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("../utils").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("packages/vant/es/utils/with-install").W
|
|
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("..").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("packages/vant/es/utils/with-install").W
|
|
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("..").BadgeProps>>;
|
22
22
|
iconPrefix: StringConstructor;
|
23
23
|
}>> & {
|
24
24
|
onClick?: ((...args: any[]) => any) | undefined;
|
package/es/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;
|
154
153
|
ellipsis: boolean;
|
155
154
|
sticky: boolean;
|
156
155
|
border: boolean;
|
157
156
|
active: string | number;
|
157
|
+
duration: string | number;
|
158
158
|
lazyRender: boolean;
|
159
159
|
offsetTop: string | number;
|
160
160
|
animated: boolean;
|
package/es/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("../utils").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("packages/vant/es/utils/with-install").WithIns
|
|
38
38
|
};
|
39
39
|
lineWidth: (NumberConstructor | StringConstructor)[];
|
40
40
|
lineHeight: (NumberConstructor | StringConstructor)[];
|
41
|
-
beforeChange: import("vue").PropType<import("
|
41
|
+
beforeChange: import("vue").PropType<import("../utils").Interceptor>;
|
42
42
|
swipeThreshold: {
|
43
43
|
type: (NumberConstructor | StringConstructor)[];
|
44
44
|
default: number;
|
@@ -84,7 +84,7 @@ export declare const Tabs: import("packages/vant/es/utils/with-install").WithIns
|
|
84
84
|
};
|
85
85
|
lineWidth: (NumberConstructor | StringConstructor)[];
|
86
86
|
lineHeight: (NumberConstructor | StringConstructor)[];
|
87
|
-
beforeChange: import("vue").PropType<import("
|
87
|
+
beforeChange: import("vue").PropType<import("../utils").Interceptor>;
|
88
88
|
swipeThreshold: {
|
89
89
|
type: (NumberConstructor | StringConstructor)[];
|
90
90
|
default: number;
|
@@ -99,11 +99,11 @@ export declare const Tabs: import("packages/vant/es/utils/with-install").WithIns
|
|
99
99
|
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
100
100
|
}, {
|
101
101
|
type: import("./types").TabsType;
|
102
|
-
duration: string | number;
|
103
102
|
ellipsis: boolean;
|
104
103
|
sticky: boolean;
|
105
104
|
border: boolean;
|
106
105
|
active: string | number;
|
106
|
+
duration: string | number;
|
107
107
|
lazyRender: boolean;
|
108
108
|
offsetTop: string | number;
|
109
109
|
animated: boolean;
|
package/es/tag/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const Tag: import("
|
1
|
+
export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
2
|
size: import("vue").PropType<import("./types").TagSize>;
|
3
3
|
mark: BooleanConstructor;
|
4
4
|
show: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
2
|
-
import { ref, watch, computed, onMounted, defineComponent } from "vue";
|
2
|
+
import { ref, watch, computed, onActivated, onMounted, defineComponent } from "vue";
|
3
3
|
import { makeNumericProp, makeStringProp, createNamespace, windowWidth } from "../utils/index.mjs";
|
4
4
|
import { useExpose } from "../composables/use-expose.mjs";
|
5
5
|
const [name, bem] = createNamespace("text-ellipsis");
|
@@ -23,6 +23,7 @@ var stdin_default = defineComponent({
|
|
23
23
|
const expanded = ref(false);
|
24
24
|
const hasAction = ref(false);
|
25
25
|
const root = ref();
|
26
|
+
let needRecalculate = false;
|
26
27
|
const actionText = computed(() => expanded.value ? props.collapseText : props.expandText);
|
27
28
|
const pxToNum = (value) => {
|
28
29
|
if (!value)
|
@@ -30,26 +31,26 @@ var stdin_default = defineComponent({
|
|
30
31
|
const match = value.match(/^\d*(\.\d*)?/);
|
31
32
|
return match ? Number(match[0]) : 0;
|
32
33
|
};
|
34
|
+
const cloneContainer = () => {
|
35
|
+
if (!root.value || !root.value.isConnected)
|
36
|
+
return;
|
37
|
+
const originStyle = window.getComputedStyle(root.value);
|
38
|
+
const container = document.createElement("div");
|
39
|
+
const styleNames = Array.prototype.slice.apply(originStyle);
|
40
|
+
styleNames.forEach((name2) => {
|
41
|
+
container.style.setProperty(name2, originStyle.getPropertyValue(name2));
|
42
|
+
});
|
43
|
+
container.style.position = "fixed";
|
44
|
+
container.style.zIndex = "-9999";
|
45
|
+
container.style.top = "-9999px";
|
46
|
+
container.style.height = "auto";
|
47
|
+
container.style.minHeight = "auto";
|
48
|
+
container.style.maxHeight = "auto";
|
49
|
+
container.innerText = props.content;
|
50
|
+
document.body.appendChild(container);
|
51
|
+
return container;
|
52
|
+
};
|
33
53
|
const calcEllipsised = () => {
|
34
|
-
const cloneContainer = () => {
|
35
|
-
if (!root.value)
|
36
|
-
return;
|
37
|
-
const originStyle = window.getComputedStyle(root.value);
|
38
|
-
const container2 = document.createElement("div");
|
39
|
-
const styleNames = Array.prototype.slice.apply(originStyle);
|
40
|
-
styleNames.forEach((name2) => {
|
41
|
-
container2.style.setProperty(name2, originStyle.getPropertyValue(name2));
|
42
|
-
});
|
43
|
-
container2.style.position = "fixed";
|
44
|
-
container2.style.zIndex = "-9999";
|
45
|
-
container2.style.top = "-9999px";
|
46
|
-
container2.style.height = "auto";
|
47
|
-
container2.style.minHeight = "auto";
|
48
|
-
container2.style.maxHeight = "auto";
|
49
|
-
container2.innerText = props.content;
|
50
|
-
document.body.appendChild(container2);
|
51
|
-
return container2;
|
52
|
-
};
|
53
54
|
const calcEllipsisText = (container2, maxHeight2) => {
|
54
55
|
const {
|
55
56
|
content,
|
@@ -101,8 +102,10 @@ var stdin_default = defineComponent({
|
|
101
102
|
return container2.innerText;
|
102
103
|
};
|
103
104
|
const container = cloneContainer();
|
104
|
-
if (!container)
|
105
|
+
if (!container) {
|
106
|
+
needRecalculate = true;
|
105
107
|
return;
|
108
|
+
}
|
106
109
|
const {
|
107
110
|
paddingBottom,
|
108
111
|
paddingTop,
|
@@ -135,6 +138,12 @@ var stdin_default = defineComponent({
|
|
135
138
|
}, [action]);
|
136
139
|
};
|
137
140
|
onMounted(calcEllipsised);
|
141
|
+
onActivated(() => {
|
142
|
+
if (needRecalculate) {
|
143
|
+
needRecalculate = false;
|
144
|
+
calcEllipsised();
|
145
|
+
}
|
146
|
+
});
|
138
147
|
watch([windowWidth, () => [props.content, props.rows, props.position]], calcEllipsised);
|
139
148
|
useExpose({
|
140
149
|
toggle
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const TextEllipsis: import("
|
1
|
+
export declare const TextEllipsis: import("../utils").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("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
|
33
33
|
formatter: {
|
34
|
-
type: PropType<(type: string, option: import("
|
35
|
-
default: (type: string, option: import("
|
34
|
+
type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
|
35
|
+
default: (type: string, option: import("../picker").PickerOption) => import("../picker").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("../picker").PickerOption[], values: string[]) => import("../picker").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("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
|
107
107
|
formatter: {
|
108
|
-
type: PropType<(type: string, option: import("
|
109
|
-
default: (type: string, option: import("
|
108
|
+
type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
|
109
|
+
default: (type: string, option: import("../picker").PickerOption) => import("../picker").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("../picker").PickerOption[], values: string[]) => import("../picker").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("../picker").PickerOption[], values?: string[] | undefined) => import("../picker").PickerOption[]>;
|
179
179
|
formatter: {
|
180
|
-
type: PropType<(type: string, option: import("
|
181
|
-
default: (type: string, option: import("
|
180
|
+
type: PropType<(type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption>;
|
181
|
+
default: (type: string, option: import("../picker").PickerOption) => import("../picker").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("../picker").PickerOption[], values: string[]) => import("../picker").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("../picker").PickerOption) => import("../picker").PickerOption;
|
228
228
|
modelValue: string[];
|
229
229
|
readonly: boolean;
|
230
230
|
loading: boolean;
|