vant 4.9.8 → 4.9.10
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 +2 -0
- package/es/action-sheet/ActionSheet.d.ts +6 -6
- package/es/action-sheet/index.d.ts +4 -4
- package/es/address-edit/AddressEdit.d.ts +3 -3
- package/es/address-edit/index.d.ts +2 -2
- package/es/address-list/AddressList.d.ts +9 -9
- package/es/address-list/AddressListItem.d.ts +2 -2
- package/es/address-list/index.d.ts +6 -6
- package/es/area/Area.d.ts +3 -3
- package/es/area/index.d.ts +2 -2
- package/es/badge/Badge.d.ts +6 -6
- package/es/badge/index.d.ts +4 -4
- package/es/barrage/Barrage.d.ts +3 -3
- package/es/barrage/index.d.ts +2 -2
- package/es/button/Button.d.ts +15 -15
- package/es/button/index.d.ts +10 -10
- package/es/calendar/Calendar.d.ts +9 -9
- package/es/calendar/CalendarHeader.d.ts +2 -2
- package/es/calendar/CalendarHeader.mjs +1 -1
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +6 -6
- package/es/card/Card.d.ts +3 -3
- package/es/card/index.d.ts +2 -2
- package/es/cascader/Cascader.d.ts +6 -6
- package/es/cascader/index.d.ts +4 -4
- package/es/cell/Cell.d.ts +4 -4
- package/es/cell/index.d.ts +2 -2
- package/es/checkbox-group/CheckboxGroup.d.ts +6 -6
- package/es/checkbox-group/index.d.ts +4 -4
- package/es/circle/Circle.d.ts +6 -6
- package/es/circle/index.d.ts +4 -4
- package/es/col/Col.d.ts +3 -3
- package/es/col/index.d.ts +2 -2
- package/es/collapse-item/CollapseItem.d.ts +3 -3
- package/es/collapse-item/index.d.ts +2 -2
- package/es/composables/use-lazy-render.d.ts +1 -1
- package/es/config-provider/ConfigProvider.d.ts +9 -9
- package/es/config-provider/index.d.ts +6 -6
- package/es/contact-card/ContactCard.d.ts +3 -3
- package/es/contact-card/index.d.ts +2 -2
- package/es/count-down/CountDown.d.ts +3 -3
- package/es/count-down/index.d.ts +2 -2
- package/es/coupon/Coupon.d.ts +2 -2
- package/es/coupon/index.d.ts +2 -2
- package/es/coupon-cell/CouponCell.d.ts +6 -6
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/CouponList.d.ts +12 -12
- package/es/coupon-list/index.d.ts +8 -8
- package/es/date-picker/DatePicker.d.ts +3 -3
- package/es/date-picker/index.d.ts +2 -2
- package/es/date-picker/utils.d.ts +1 -1
- package/es/dialog/Dialog.d.ts +16 -3
- package/es/dialog/Dialog.mjs +5 -1
- package/es/dialog/index.d.ts +11 -2
- package/es/divider/Divider.d.ts +3 -3
- package/es/divider/index.d.ts +2 -2
- package/es/dropdown-item/DropdownItem.d.ts +3 -3
- package/es/dropdown-item/index.d.ts +2 -2
- package/es/dropdown-menu/DropdownMenu.d.ts +3 -3
- package/es/dropdown-menu/index.d.ts +2 -2
- package/es/empty/Empty.d.ts +3 -3
- package/es/empty/index.d.ts +2 -2
- package/es/field/Field.d.ts +23 -19
- package/es/field/Field.mjs +6 -3
- package/es/field/index.d.ts +12 -10
- package/es/field/utils.d.ts +1 -1
- package/es/field/utils.mjs +6 -10
- package/es/floating-bubble/FloatingBubble.d.ts +3 -3
- package/es/floating-bubble/index.d.ts +2 -2
- package/es/floating-panel/FloatingPanel.d.ts +3 -3
- package/es/floating-panel/index.d.ts +2 -2
- package/es/highlight/Highlight.d.ts +12 -12
- package/es/highlight/index.d.ts +8 -8
- package/es/icon/Icon.d.ts +3 -3
- package/es/icon/index.d.ts +2 -2
- package/es/image/Image.d.ts +6 -6
- package/es/image/index.d.ts +4 -4
- package/es/image-preview/ImagePreview.d.ts +9 -9
- package/es/image-preview/index.d.ts +6 -6
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/List.d.ts +3 -3
- package/es/list/index.d.ts +2 -2
- package/es/loading/Loading.d.ts +3 -3
- package/es/loading/index.d.ts +2 -2
- package/es/notify/Notify.d.ts +6 -6
- package/es/notify/index.d.ts +4 -4
- package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/es/number-keyboard/index.d.ts +4 -4
- package/es/pagination/Pagination.d.ts +3 -3
- package/es/pagination/index.d.ts +2 -2
- package/es/password-input/PasswordInput.d.ts +3 -3
- package/es/password-input/index.d.ts +2 -2
- package/es/picker/Picker.d.ts +9 -9
- package/es/picker/Picker.mjs +3 -0
- package/es/picker/PickerColumn.d.ts +2 -2
- package/es/picker/index.d.ts +6 -6
- package/es/picker-group/PickerGroup.d.ts +3 -3
- package/es/picker-group/index.d.ts +2 -2
- package/es/popover/Popover.d.ts +15 -15
- package/es/popover/index.d.ts +10 -10
- package/es/popup/Popup.d.ts +13 -9
- package/es/popup/Popup.mjs +8 -2
- package/es/popup/index.d.ts +9 -6
- package/es/rate/Rate.d.ts +6 -6
- package/es/rate/index.d.ts +4 -4
- package/es/rolling-text/RollingText.d.ts +9 -9
- package/es/rolling-text/RollingTextItem.d.ts +6 -6
- package/es/rolling-text/index.d.ts +6 -6
- package/es/row/Row.d.ts +3 -3
- package/es/row/index.d.ts +2 -2
- package/es/search/Search.d.ts +18 -15
- package/es/search/index.d.ts +12 -10
- package/es/share-sheet/ShareSheet.d.ts +3 -3
- package/es/share-sheet/index.d.ts +2 -2
- package/es/signature/Signature.d.ts +9 -9
- package/es/signature/index.d.ts +6 -6
- package/es/skeleton/Skeleton.d.ts +3 -3
- package/es/skeleton/index.d.ts +2 -2
- package/es/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
- package/es/skeleton-avatar/index.d.ts +2 -2
- package/es/skeleton-image/SkeletonImage.d.ts +3 -3
- package/es/skeleton-image/index.d.ts +2 -2
- package/es/steps/Steps.d.ts +6 -6
- package/es/steps/index.d.ts +4 -4
- package/es/sticky/Sticky.d.ts +3 -3
- package/es/sticky/index.d.ts +2 -2
- package/es/submit-bar/SubmitBar.d.ts +6 -6
- package/es/submit-bar/index.d.ts +4 -4
- package/es/tabs/Tabs.d.ts +3 -3
- package/es/tabs/index.d.ts +2 -2
- package/es/tag/Tag.d.ts +3 -3
- package/es/tag/index.d.ts +2 -2
- package/es/text-ellipsis/TextEllipsis.d.ts +15 -15
- package/es/text-ellipsis/index.d.ts +10 -10
- package/es/time-picker/TimePicker.d.ts +3 -3
- package/es/time-picker/index.d.ts +2 -2
- package/es/toast/Toast.d.ts +9 -9
- package/es/toast/index.d.ts +6 -6
- package/es/tree-select/TreeSelect.d.ts +6 -6
- package/es/tree-select/index.d.ts +4 -4
- package/es/uploader/Uploader.d.ts +15 -15
- package/es/uploader/index.d.ts +10 -10
- package/es/watermark/Watermark.d.ts +3 -3
- package/es/watermark/index.d.ts +2 -2
- package/lib/action-sheet/ActionSheet.d.ts +6 -6
- package/lib/action-sheet/index.d.ts +4 -4
- package/lib/address-edit/AddressEdit.d.ts +3 -3
- package/lib/address-edit/index.d.ts +2 -2
- package/lib/address-list/AddressList.d.ts +9 -9
- package/lib/address-list/AddressListItem.d.ts +2 -2
- package/lib/address-list/index.d.ts +6 -6
- package/lib/area/Area.d.ts +3 -3
- package/lib/area/index.d.ts +2 -2
- package/lib/badge/Badge.d.ts +6 -6
- package/lib/badge/index.d.ts +4 -4
- package/lib/barrage/Barrage.d.ts +3 -3
- package/lib/barrage/index.d.ts +2 -2
- package/lib/button/Button.d.ts +15 -15
- package/lib/button/index.d.ts +10 -10
- package/lib/calendar/Calendar.d.ts +9 -9
- package/lib/calendar/CalendarHeader.d.ts +2 -2
- package/lib/calendar/CalendarHeader.js +1 -1
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +6 -6
- package/lib/card/Card.d.ts +3 -3
- package/lib/card/index.d.ts +2 -2
- package/lib/cascader/Cascader.d.ts +6 -6
- package/lib/cascader/index.d.ts +4 -4
- package/lib/cell/Cell.d.ts +4 -4
- package/lib/cell/index.d.ts +2 -2
- package/lib/checkbox-group/CheckboxGroup.d.ts +6 -6
- package/lib/checkbox-group/index.d.ts +4 -4
- package/lib/circle/Circle.d.ts +6 -6
- package/lib/circle/index.d.ts +4 -4
- package/lib/col/Col.d.ts +3 -3
- package/lib/col/index.d.ts +2 -2
- package/lib/collapse-item/CollapseItem.d.ts +3 -3
- package/lib/collapse-item/index.d.ts +2 -2
- package/lib/composables/use-lazy-render.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +9 -9
- package/lib/config-provider/index.d.ts +6 -6
- package/lib/contact-card/ContactCard.d.ts +3 -3
- package/lib/contact-card/index.d.ts +2 -2
- package/lib/count-down/CountDown.d.ts +3 -3
- package/lib/count-down/index.d.ts +2 -2
- package/lib/coupon/Coupon.d.ts +2 -2
- package/lib/coupon/index.d.ts +2 -2
- package/lib/coupon-cell/CouponCell.d.ts +6 -6
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/CouponList.d.ts +12 -12
- package/lib/coupon-list/index.d.ts +8 -8
- package/lib/date-picker/DatePicker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +2 -2
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/Dialog.d.ts +16 -3
- package/lib/dialog/Dialog.js +5 -1
- package/lib/dialog/index.d.ts +11 -2
- package/lib/divider/Divider.d.ts +3 -3
- package/lib/divider/index.d.ts +2 -2
- package/lib/dropdown-item/DropdownItem.d.ts +3 -3
- package/lib/dropdown-item/index.d.ts +2 -2
- package/lib/dropdown-menu/DropdownMenu.d.ts +3 -3
- package/lib/dropdown-menu/index.d.ts +2 -2
- package/lib/empty/Empty.d.ts +3 -3
- package/lib/empty/index.d.ts +2 -2
- package/lib/field/Field.d.ts +23 -19
- package/lib/field/Field.js +6 -3
- package/lib/field/index.d.ts +12 -10
- package/lib/field/utils.d.ts +1 -1
- package/lib/field/utils.js +6 -10
- package/lib/floating-bubble/FloatingBubble.d.ts +3 -3
- package/lib/floating-bubble/index.d.ts +2 -2
- package/lib/floating-panel/FloatingPanel.d.ts +3 -3
- package/lib/floating-panel/index.d.ts +2 -2
- package/lib/highlight/Highlight.d.ts +12 -12
- package/lib/highlight/index.d.ts +8 -8
- package/lib/icon/Icon.d.ts +3 -3
- package/lib/icon/index.d.ts +2 -2
- package/lib/image/Image.d.ts +6 -6
- package/lib/image/index.d.ts +4 -4
- package/lib/image-preview/ImagePreview.d.ts +9 -9
- package/lib/image-preview/index.d.ts +6 -6
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +3 -3
- package/lib/list/index.d.ts +2 -2
- package/lib/loading/Loading.d.ts +3 -3
- package/lib/loading/index.d.ts +2 -2
- package/lib/notify/Notify.d.ts +6 -6
- package/lib/notify/index.d.ts +4 -4
- package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/lib/number-keyboard/index.d.ts +4 -4
- package/lib/pagination/Pagination.d.ts +3 -3
- package/lib/pagination/index.d.ts +2 -2
- package/lib/password-input/PasswordInput.d.ts +3 -3
- package/lib/password-input/index.d.ts +2 -2
- package/lib/picker/Picker.d.ts +9 -9
- package/lib/picker/Picker.js +3 -0
- package/lib/picker/PickerColumn.d.ts +2 -2
- package/lib/picker/index.d.ts +6 -6
- package/lib/picker-group/PickerGroup.d.ts +3 -3
- package/lib/picker-group/index.d.ts +2 -2
- package/lib/popover/Popover.d.ts +15 -15
- package/lib/popover/index.d.ts +10 -10
- package/lib/popup/Popup.d.ts +13 -9
- package/lib/popup/Popup.js +8 -2
- package/lib/popup/index.d.ts +9 -6
- package/lib/rate/Rate.d.ts +6 -6
- package/lib/rate/index.d.ts +4 -4
- package/lib/rolling-text/RollingText.d.ts +9 -9
- package/lib/rolling-text/RollingTextItem.d.ts +6 -6
- package/lib/rolling-text/index.d.ts +6 -6
- package/lib/row/Row.d.ts +3 -3
- package/lib/row/index.d.ts +2 -2
- package/lib/search/Search.d.ts +18 -15
- package/lib/search/index.d.ts +12 -10
- package/lib/share-sheet/ShareSheet.d.ts +3 -3
- package/lib/share-sheet/index.d.ts +2 -2
- package/lib/signature/Signature.d.ts +9 -9
- package/lib/signature/index.d.ts +6 -6
- package/lib/skeleton/Skeleton.d.ts +3 -3
- package/lib/skeleton/index.d.ts +2 -2
- package/lib/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
- package/lib/skeleton-avatar/index.d.ts +2 -2
- package/lib/skeleton-image/SkeletonImage.d.ts +3 -3
- package/lib/skeleton-image/index.d.ts +2 -2
- package/lib/steps/Steps.d.ts +6 -6
- package/lib/steps/index.d.ts +4 -4
- package/lib/sticky/Sticky.d.ts +3 -3
- package/lib/sticky/index.d.ts +2 -2
- package/lib/submit-bar/SubmitBar.d.ts +6 -6
- package/lib/submit-bar/index.d.ts +4 -4
- package/lib/tabs/Tabs.d.ts +3 -3
- package/lib/tabs/index.d.ts +2 -2
- package/lib/tag/Tag.d.ts +3 -3
- package/lib/tag/index.d.ts +2 -2
- package/lib/text-ellipsis/TextEllipsis.d.ts +15 -15
- package/lib/text-ellipsis/index.d.ts +10 -10
- package/lib/time-picker/TimePicker.d.ts +3 -3
- package/lib/time-picker/index.d.ts +2 -2
- package/lib/toast/Toast.d.ts +9 -9
- package/lib/toast/index.d.ts +6 -6
- package/lib/tree-select/TreeSelect.d.ts +6 -6
- package/lib/tree-select/index.d.ts +4 -4
- package/lib/uploader/Uploader.d.ts +15 -15
- package/lib/uploader/index.d.ts +10 -10
- package/lib/vant.cjs.js +30 -18
- package/lib/vant.es.js +30 -18
- package/lib/vant.js +1781 -1829
- package/lib/vant.min.js +3 -3
- package/lib/watermark/Watermark.d.ts +3 -3
- package/lib/watermark/index.d.ts +2 -2
- package/lib/web-types.json +1 -1
- package/package.json +14 -14
package/lib/popover/index.d.ts
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
export declare const Popover: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
theme: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<T>;
|
5
5
|
default: import("./types").PopoverTheme;
|
6
6
|
};
|
7
7
|
overlay: BooleanConstructor;
|
8
8
|
actions: {
|
9
|
-
type: import("vue").PropType<
|
9
|
+
type: import("vue").PropType<T_1[]>;
|
10
10
|
default: () => never[];
|
11
11
|
};
|
12
12
|
actionsDirection: {
|
13
|
-
type: import("vue").PropType<
|
13
|
+
type: import("vue").PropType<T>;
|
14
14
|
default: import("./types").PopoverActionsDirection;
|
15
15
|
};
|
16
16
|
trigger: {
|
17
|
-
type: import("vue").PropType<
|
17
|
+
type: import("vue").PropType<T>;
|
18
18
|
default: import("./types").PopoverTrigger;
|
19
19
|
};
|
20
20
|
duration: (NumberConstructor | StringConstructor)[];
|
@@ -23,7 +23,7 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
|
|
23
23
|
default: true;
|
24
24
|
};
|
25
25
|
placement: {
|
26
|
-
type: import("vue").PropType<
|
26
|
+
type: import("vue").PropType<T>;
|
27
27
|
default: import("./types").PopoverPlacement;
|
28
28
|
};
|
29
29
|
iconPrefix: StringConstructor;
|
@@ -52,20 +52,20 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
|
|
52
52
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "touchstart" | "update:show")[], "select" | "touchstart" | "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
53
53
|
show: BooleanConstructor;
|
54
54
|
theme: {
|
55
|
-
type: import("vue").PropType<
|
55
|
+
type: import("vue").PropType<T>;
|
56
56
|
default: import("./types").PopoverTheme;
|
57
57
|
};
|
58
58
|
overlay: BooleanConstructor;
|
59
59
|
actions: {
|
60
|
-
type: import("vue").PropType<
|
60
|
+
type: import("vue").PropType<T_1[]>;
|
61
61
|
default: () => never[];
|
62
62
|
};
|
63
63
|
actionsDirection: {
|
64
|
-
type: import("vue").PropType<
|
64
|
+
type: import("vue").PropType<T>;
|
65
65
|
default: import("./types").PopoverActionsDirection;
|
66
66
|
};
|
67
67
|
trigger: {
|
68
|
-
type: import("vue").PropType<
|
68
|
+
type: import("vue").PropType<T>;
|
69
69
|
default: import("./types").PopoverTrigger;
|
70
70
|
};
|
71
71
|
duration: (NumberConstructor | StringConstructor)[];
|
@@ -74,7 +74,7 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
|
|
74
74
|
default: true;
|
75
75
|
};
|
76
76
|
placement: {
|
77
|
-
type: import("vue").PropType<
|
77
|
+
type: import("vue").PropType<T>;
|
78
78
|
default: import("./types").PopoverPlacement;
|
79
79
|
};
|
80
80
|
iconPrefix: StringConstructor;
|
package/lib/popup/Popup.d.ts
CHANGED
@@ -28,11 +28,11 @@ export declare const popupProps: {
|
|
28
28
|
} & {
|
29
29
|
round: BooleanConstructor;
|
30
30
|
position: {
|
31
|
-
type: import("vue").PropType<
|
31
|
+
type: import("vue").PropType<T>;
|
32
32
|
default: PopupPosition;
|
33
33
|
};
|
34
34
|
closeIcon: {
|
35
|
-
type: import("vue").PropType<
|
35
|
+
type: import("vue").PropType<T>;
|
36
36
|
default: string;
|
37
37
|
};
|
38
38
|
closeable: BooleanConstructor;
|
@@ -40,9 +40,10 @@ export declare const popupProps: {
|
|
40
40
|
iconPrefix: StringConstructor;
|
41
41
|
closeOnPopstate: BooleanConstructor;
|
42
42
|
closeIconPosition: {
|
43
|
-
type: import("vue").PropType<
|
43
|
+
type: import("vue").PropType<T>;
|
44
44
|
default: PopupCloseIconPosition;
|
45
45
|
};
|
46
|
+
destroyOnClose: BooleanConstructor;
|
46
47
|
safeAreaInsetTop: BooleanConstructor;
|
47
48
|
safeAreaInsetBottom: BooleanConstructor;
|
48
49
|
};
|
@@ -75,11 +76,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
75
76
|
} & {
|
76
77
|
round: BooleanConstructor;
|
77
78
|
position: {
|
78
|
-
type: import("vue").PropType<
|
79
|
+
type: import("vue").PropType<T>;
|
79
80
|
default: PopupPosition;
|
80
81
|
};
|
81
82
|
closeIcon: {
|
82
|
-
type: import("vue").PropType<
|
83
|
+
type: import("vue").PropType<T>;
|
83
84
|
default: string;
|
84
85
|
};
|
85
86
|
closeable: BooleanConstructor;
|
@@ -87,9 +88,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
87
88
|
iconPrefix: StringConstructor;
|
88
89
|
closeOnPopstate: BooleanConstructor;
|
89
90
|
closeIconPosition: {
|
90
|
-
type: import("vue").PropType<
|
91
|
+
type: import("vue").PropType<T>;
|
91
92
|
default: PopupCloseIconPosition;
|
92
93
|
};
|
94
|
+
destroyOnClose: BooleanConstructor;
|
93
95
|
safeAreaInsetTop: BooleanConstructor;
|
94
96
|
safeAreaInsetBottom: BooleanConstructor;
|
95
97
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon")[], "open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
@@ -120,11 +122,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
120
122
|
} & {
|
121
123
|
round: BooleanConstructor;
|
122
124
|
position: {
|
123
|
-
type: import("vue").PropType<
|
125
|
+
type: import("vue").PropType<T>;
|
124
126
|
default: PopupPosition;
|
125
127
|
};
|
126
128
|
closeIcon: {
|
127
|
-
type: import("vue").PropType<
|
129
|
+
type: import("vue").PropType<T>;
|
128
130
|
default: string;
|
129
131
|
};
|
130
132
|
closeable: BooleanConstructor;
|
@@ -132,9 +134,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
132
134
|
iconPrefix: StringConstructor;
|
133
135
|
closeOnPopstate: BooleanConstructor;
|
134
136
|
closeIconPosition: {
|
135
|
-
type: import("vue").PropType<
|
137
|
+
type: import("vue").PropType<T>;
|
136
138
|
default: PopupCloseIconPosition;
|
137
139
|
};
|
140
|
+
destroyOnClose: BooleanConstructor;
|
138
141
|
safeAreaInsetTop: BooleanConstructor;
|
139
142
|
safeAreaInsetBottom: BooleanConstructor;
|
140
143
|
}>> & Readonly<{
|
@@ -160,6 +163,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
160
163
|
closeable: boolean;
|
161
164
|
closeOnPopstate: boolean;
|
162
165
|
closeIconPosition: PopupCloseIconPosition;
|
166
|
+
destroyOnClose: boolean;
|
163
167
|
safeAreaInsetTop: boolean;
|
164
168
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
165
169
|
export default _default;
|
package/lib/popup/Popup.js
CHANGED
@@ -42,6 +42,7 @@ const popupProps = (0, import_utils.extend)({}, import_shared.popupSharedProps,
|
|
42
42
|
iconPrefix: String,
|
43
43
|
closeOnPopstate: Boolean,
|
44
44
|
closeIconPosition: (0, import_utils.makeStringProp)("top-right"),
|
45
|
+
destroyOnClose: Boolean,
|
45
46
|
safeAreaInsetTop: Boolean,
|
46
47
|
safeAreaInsetBottom: Boolean
|
47
48
|
});
|
@@ -140,11 +141,16 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
140
141
|
const renderPopup = lazyRender(() => {
|
141
142
|
var _a;
|
142
143
|
const {
|
144
|
+
destroyOnClose,
|
143
145
|
round,
|
144
146
|
position,
|
145
147
|
safeAreaInsetTop,
|
146
|
-
safeAreaInsetBottom
|
148
|
+
safeAreaInsetBottom,
|
149
|
+
show
|
147
150
|
} = props;
|
151
|
+
if (!show && destroyOnClose) {
|
152
|
+
return;
|
153
|
+
}
|
148
154
|
return (0, import_vue.withDirectives)((0, import_vue.createVNode)("div", (0, import_vue.mergeProps)({
|
149
155
|
"ref": popupRef,
|
150
156
|
"style": style.value,
|
@@ -158,7 +164,7 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
158
164
|
"van-safe-area-bottom": safeAreaInsetBottom
|
159
165
|
}],
|
160
166
|
"onKeydown": onKeydown
|
161
|
-
}, attrs, (0, import_use_scope_id.useScopeId)()), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[import_vue.vShow,
|
167
|
+
}, attrs, (0, import_use_scope_id.useScopeId)()), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[import_vue.vShow, show]]);
|
162
168
|
});
|
163
169
|
const renderTransition = () => {
|
164
170
|
const {
|
package/lib/popup/index.d.ts
CHANGED
@@ -26,11 +26,11 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
26
26
|
} & {
|
27
27
|
round: BooleanConstructor;
|
28
28
|
position: {
|
29
|
-
type: import("vue").PropType<
|
29
|
+
type: import("vue").PropType<T>;
|
30
30
|
default: import("./types").PopupPosition;
|
31
31
|
};
|
32
32
|
closeIcon: {
|
33
|
-
type: import("vue").PropType<
|
33
|
+
type: import("vue").PropType<T>;
|
34
34
|
default: string;
|
35
35
|
};
|
36
36
|
closeable: BooleanConstructor;
|
@@ -38,9 +38,10 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
38
38
|
iconPrefix: StringConstructor;
|
39
39
|
closeOnPopstate: BooleanConstructor;
|
40
40
|
closeIconPosition: {
|
41
|
-
type: import("vue").PropType<
|
41
|
+
type: import("vue").PropType<T>;
|
42
42
|
default: import("./types").PopupCloseIconPosition;
|
43
43
|
};
|
44
|
+
destroyOnClose: BooleanConstructor;
|
44
45
|
safeAreaInsetTop: BooleanConstructor;
|
45
46
|
safeAreaInsetBottom: BooleanConstructor;
|
46
47
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon")[], "open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -71,11 +72,11 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
71
72
|
} & {
|
72
73
|
round: BooleanConstructor;
|
73
74
|
position: {
|
74
|
-
type: import("vue").PropType<
|
75
|
+
type: import("vue").PropType<T>;
|
75
76
|
default: import("./types").PopupPosition;
|
76
77
|
};
|
77
78
|
closeIcon: {
|
78
|
-
type: import("vue").PropType<
|
79
|
+
type: import("vue").PropType<T>;
|
79
80
|
default: string;
|
80
81
|
};
|
81
82
|
closeable: BooleanConstructor;
|
@@ -83,9 +84,10 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
83
84
|
iconPrefix: StringConstructor;
|
84
85
|
closeOnPopstate: BooleanConstructor;
|
85
86
|
closeIconPosition: {
|
86
|
-
type: import("vue").PropType<
|
87
|
+
type: import("vue").PropType<T>;
|
87
88
|
default: import("./types").PopupCloseIconPosition;
|
88
89
|
};
|
90
|
+
destroyOnClose: BooleanConstructor;
|
89
91
|
safeAreaInsetTop: BooleanConstructor;
|
90
92
|
safeAreaInsetBottom: BooleanConstructor;
|
91
93
|
}>> & Readonly<{
|
@@ -111,6 +113,7 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
111
113
|
closeable: boolean;
|
112
114
|
closeOnPopstate: boolean;
|
113
115
|
closeIconPosition: import("./types").PopupCloseIconPosition;
|
116
|
+
destroyOnClose: boolean;
|
114
117
|
safeAreaInsetTop: boolean;
|
115
118
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
116
119
|
export default Popup;
|
package/lib/rate/Rate.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { type ExtractPropTypes } from 'vue';
|
|
2
2
|
export declare const rateProps: {
|
3
3
|
size: (NumberConstructor | StringConstructor)[];
|
4
4
|
icon: {
|
5
|
-
type: import("vue").PropType<
|
5
|
+
type: import("vue").PropType<T>;
|
6
6
|
default: string;
|
7
7
|
};
|
8
8
|
color: StringConstructor;
|
@@ -15,7 +15,7 @@ export declare const rateProps: {
|
|
15
15
|
readonly: BooleanConstructor;
|
16
16
|
disabled: BooleanConstructor;
|
17
17
|
voidIcon: {
|
18
|
-
type: import("vue").PropType<
|
18
|
+
type: import("vue").PropType<T>;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
allowHalf: BooleanConstructor;
|
@@ -35,7 +35,7 @@ export type RateProps = ExtractPropTypes<typeof rateProps>;
|
|
35
35
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
36
36
|
size: (NumberConstructor | StringConstructor)[];
|
37
37
|
icon: {
|
38
|
-
type: import("vue").PropType<
|
38
|
+
type: import("vue").PropType<T>;
|
39
39
|
default: string;
|
40
40
|
};
|
41
41
|
color: StringConstructor;
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
48
48
|
readonly: BooleanConstructor;
|
49
49
|
disabled: BooleanConstructor;
|
50
50
|
voidIcon: {
|
51
|
-
type: import("vue").PropType<
|
51
|
+
type: import("vue").PropType<T>;
|
52
52
|
default: string;
|
53
53
|
};
|
54
54
|
allowHalf: BooleanConstructor;
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
66
66
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
67
67
|
size: (NumberConstructor | StringConstructor)[];
|
68
68
|
icon: {
|
69
|
-
type: import("vue").PropType<
|
69
|
+
type: import("vue").PropType<T>;
|
70
70
|
default: string;
|
71
71
|
};
|
72
72
|
color: StringConstructor;
|
@@ -79,7 +79,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
79
79
|
readonly: BooleanConstructor;
|
80
80
|
disabled: BooleanConstructor;
|
81
81
|
voidIcon: {
|
82
|
-
type: import("vue").PropType<
|
82
|
+
type: import("vue").PropType<T>;
|
83
83
|
default: string;
|
84
84
|
};
|
85
85
|
allowHalf: BooleanConstructor;
|
package/lib/rate/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare const Rate: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
size: (NumberConstructor | StringConstructor)[];
|
3
3
|
icon: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<T>;
|
5
5
|
default: string;
|
6
6
|
};
|
7
7
|
color: StringConstructor;
|
@@ -14,7 +14,7 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
|
|
14
14
|
readonly: BooleanConstructor;
|
15
15
|
disabled: BooleanConstructor;
|
16
16
|
voidIcon: {
|
17
|
-
type: import("vue").PropType<
|
17
|
+
type: import("vue").PropType<T>;
|
18
18
|
default: string;
|
19
19
|
};
|
20
20
|
allowHalf: BooleanConstructor;
|
@@ -32,7 +32,7 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
|
|
32
32
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
33
33
|
size: (NumberConstructor | StringConstructor)[];
|
34
34
|
icon: {
|
35
|
-
type: import("vue").PropType<
|
35
|
+
type: import("vue").PropType<T>;
|
36
36
|
default: string;
|
37
37
|
};
|
38
38
|
color: StringConstructor;
|
@@ -45,7 +45,7 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
|
|
45
45
|
readonly: BooleanConstructor;
|
46
46
|
disabled: BooleanConstructor;
|
47
47
|
voidIcon: {
|
48
|
-
type: import("vue").PropType<
|
48
|
+
type: import("vue").PropType<T>;
|
49
49
|
default: string;
|
50
50
|
};
|
51
51
|
allowHalf: BooleanConstructor;
|
@@ -7,7 +7,7 @@ export declare const rollingTextProps: {
|
|
7
7
|
};
|
8
8
|
targetNum: NumberConstructor;
|
9
9
|
textList: {
|
10
|
-
type: import("vue").PropType<
|
10
|
+
type: import("vue").PropType<T[]>;
|
11
11
|
default: () => never[];
|
12
12
|
};
|
13
13
|
duration: {
|
@@ -19,11 +19,11 @@ export declare const rollingTextProps: {
|
|
19
19
|
default: true;
|
20
20
|
};
|
21
21
|
direction: {
|
22
|
-
type: import("vue").PropType<
|
22
|
+
type: import("vue").PropType<T_1>;
|
23
23
|
default: RollingTextDirection;
|
24
24
|
};
|
25
25
|
stopOrder: {
|
26
|
-
type: import("vue").PropType<
|
26
|
+
type: import("vue").PropType<T_1>;
|
27
27
|
default: RollingTextStopOrder;
|
28
28
|
};
|
29
29
|
height: {
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
39
39
|
};
|
40
40
|
targetNum: NumberConstructor;
|
41
41
|
textList: {
|
42
|
-
type: import("vue").PropType<
|
42
|
+
type: import("vue").PropType<T[]>;
|
43
43
|
default: () => never[];
|
44
44
|
};
|
45
45
|
duration: {
|
@@ -51,11 +51,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
51
51
|
default: true;
|
52
52
|
};
|
53
53
|
direction: {
|
54
|
-
type: import("vue").PropType<
|
54
|
+
type: import("vue").PropType<T_1>;
|
55
55
|
default: RollingTextDirection;
|
56
56
|
};
|
57
57
|
stopOrder: {
|
58
|
-
type: import("vue").PropType<
|
58
|
+
type: import("vue").PropType<T_1>;
|
59
59
|
default: RollingTextStopOrder;
|
60
60
|
};
|
61
61
|
height: {
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
69
69
|
};
|
70
70
|
targetNum: NumberConstructor;
|
71
71
|
textList: {
|
72
|
-
type: import("vue").PropType<
|
72
|
+
type: import("vue").PropType<T[]>;
|
73
73
|
default: () => never[];
|
74
74
|
};
|
75
75
|
duration: {
|
@@ -81,11 +81,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
81
81
|
default: true;
|
82
82
|
};
|
83
83
|
direction: {
|
84
|
-
type: import("vue").PropType<
|
84
|
+
type: import("vue").PropType<T_1>;
|
85
85
|
default: RollingTextDirection;
|
86
86
|
};
|
87
87
|
stopOrder: {
|
88
|
-
type: import("vue").PropType<
|
88
|
+
type: import("vue").PropType<T_1>;
|
89
89
|
default: RollingTextStopOrder;
|
90
90
|
};
|
91
91
|
height: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { RollingTextDirection } from './types';
|
2
2
|
export declare const props: {
|
3
3
|
figureArr: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<T[]>;
|
5
5
|
default: () => never[];
|
6
6
|
};
|
7
7
|
delay: NumberConstructor;
|
@@ -11,7 +11,7 @@ export declare const props: {
|
|
11
11
|
};
|
12
12
|
isStart: BooleanConstructor;
|
13
13
|
direction: {
|
14
|
-
type: import("vue").PropType<
|
14
|
+
type: import("vue").PropType<T_1>;
|
15
15
|
default: RollingTextDirection;
|
16
16
|
};
|
17
17
|
height: {
|
@@ -21,7 +21,7 @@ export declare const props: {
|
|
21
21
|
};
|
22
22
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
23
23
|
figureArr: {
|
24
|
-
type: import("vue").PropType<
|
24
|
+
type: import("vue").PropType<T[]>;
|
25
25
|
default: () => never[];
|
26
26
|
};
|
27
27
|
delay: NumberConstructor;
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
31
31
|
};
|
32
32
|
isStart: BooleanConstructor;
|
33
33
|
direction: {
|
34
|
-
type: import("vue").PropType<
|
34
|
+
type: import("vue").PropType<T_1>;
|
35
35
|
default: RollingTextDirection;
|
36
36
|
};
|
37
37
|
height: {
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
40
40
|
};
|
41
41
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
42
42
|
figureArr: {
|
43
|
-
type: import("vue").PropType<
|
43
|
+
type: import("vue").PropType<T[]>;
|
44
44
|
default: () => never[];
|
45
45
|
};
|
46
46
|
delay: NumberConstructor;
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
50
50
|
};
|
51
51
|
isStart: BooleanConstructor;
|
52
52
|
direction: {
|
53
|
-
type: import("vue").PropType<
|
53
|
+
type: import("vue").PropType<T_1>;
|
54
54
|
default: RollingTextDirection;
|
55
55
|
};
|
56
56
|
height: {
|
@@ -6,7 +6,7 @@ export declare const RollingText: import("../utils").WithInstall<import("vue").D
|
|
6
6
|
};
|
7
7
|
targetNum: NumberConstructor;
|
8
8
|
textList: {
|
9
|
-
type: import("vue").PropType<
|
9
|
+
type: import("vue").PropType<T[]>;
|
10
10
|
default: () => never[];
|
11
11
|
};
|
12
12
|
duration: {
|
@@ -18,11 +18,11 @@ export declare const RollingText: import("../utils").WithInstall<import("vue").D
|
|
18
18
|
default: true;
|
19
19
|
};
|
20
20
|
direction: {
|
21
|
-
type: import("vue").PropType<
|
21
|
+
type: import("vue").PropType<T_1>;
|
22
22
|
default: import("./types").RollingTextDirection;
|
23
23
|
};
|
24
24
|
stopOrder: {
|
25
|
-
type: import("vue").PropType<
|
25
|
+
type: import("vue").PropType<T_1>;
|
26
26
|
default: import("./types").RollingTextStopOrder;
|
27
27
|
};
|
28
28
|
height: {
|
@@ -36,7 +36,7 @@ export declare const RollingText: import("../utils").WithInstall<import("vue").D
|
|
36
36
|
};
|
37
37
|
targetNum: NumberConstructor;
|
38
38
|
textList: {
|
39
|
-
type: import("vue").PropType<
|
39
|
+
type: import("vue").PropType<T[]>;
|
40
40
|
default: () => never[];
|
41
41
|
};
|
42
42
|
duration: {
|
@@ -48,11 +48,11 @@ export declare const RollingText: import("../utils").WithInstall<import("vue").D
|
|
48
48
|
default: true;
|
49
49
|
};
|
50
50
|
direction: {
|
51
|
-
type: import("vue").PropType<
|
51
|
+
type: import("vue").PropType<T_1>;
|
52
52
|
default: import("./types").RollingTextDirection;
|
53
53
|
};
|
54
54
|
stopOrder: {
|
55
|
-
type: import("vue").PropType<
|
55
|
+
type: import("vue").PropType<T_1>;
|
56
56
|
default: import("./types").RollingTextStopOrder;
|
57
57
|
};
|
58
58
|
height: {
|
package/lib/row/Row.d.ts
CHANGED
@@ -15,7 +15,7 @@ export type RowAlign = 'top' | 'center' | 'bottom';
|
|
15
15
|
export type RowJustify = 'start' | 'end' | 'center' | 'space-around' | 'space-between';
|
16
16
|
export declare const rowProps: {
|
17
17
|
tag: {
|
18
|
-
type: PropType<
|
18
|
+
type: PropType<T>;
|
19
19
|
default: keyof HTMLElementTagNameMap;
|
20
20
|
};
|
21
21
|
wrap: {
|
@@ -32,7 +32,7 @@ export declare const rowProps: {
|
|
32
32
|
export type RowProps = ExtractPropTypes<typeof rowProps>;
|
33
33
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
34
34
|
tag: {
|
35
|
-
type: PropType<
|
35
|
+
type: PropType<T>;
|
36
36
|
default: keyof HTMLElementTagNameMap;
|
37
37
|
};
|
38
38
|
wrap: {
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
47
47
|
justify: PropType<RowJustify>;
|
48
48
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
49
49
|
tag: {
|
50
|
-
type: PropType<
|
50
|
+
type: PropType<T>;
|
51
51
|
default: keyof HTMLElementTagNameMap;
|
52
52
|
};
|
53
53
|
wrap: {
|
package/lib/row/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const Row: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
tag: {
|
3
|
-
type: import("vue").PropType<
|
3
|
+
type: import("vue").PropType<T>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
5
5
|
};
|
6
6
|
wrap: {
|
@@ -15,7 +15,7 @@ export declare const Row: import("../utils").WithInstall<import("vue").DefineCom
|
|
15
15
|
justify: import("vue").PropType<import("./Row").RowJustify>;
|
16
16
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
17
17
|
tag: {
|
18
|
-
type: import("vue").PropType<
|
18
|
+
type: import("vue").PropType<T>;
|
19
19
|
default: keyof HTMLElementTagNameMap;
|
20
20
|
};
|
21
21
|
wrap: {
|