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
@@ -2,15 +2,15 @@ import { type PropType, type ExtractPropTypes } from 'vue';
|
|
2
2
|
import { CouponInfo } from '../coupon';
|
3
3
|
export declare const couponListProps: {
|
4
4
|
code: {
|
5
|
-
type: PropType<
|
5
|
+
type: PropType<T>;
|
6
6
|
default: string;
|
7
7
|
};
|
8
8
|
coupons: {
|
9
|
-
type: PropType<
|
9
|
+
type: PropType<T_1[]>;
|
10
10
|
default: () => never[];
|
11
11
|
};
|
12
12
|
currency: {
|
13
|
-
type: PropType<
|
13
|
+
type: PropType<T>;
|
14
14
|
default: string;
|
15
15
|
};
|
16
16
|
showCount: {
|
@@ -21,7 +21,7 @@ export declare const couponListProps: {
|
|
21
21
|
enabledTitle: StringConstructor;
|
22
22
|
disabledTitle: StringConstructor;
|
23
23
|
disabledCoupons: {
|
24
|
-
type: PropType<
|
24
|
+
type: PropType<T_1[]>;
|
25
25
|
default: () => never[];
|
26
26
|
};
|
27
27
|
showExchangeBar: {
|
@@ -53,15 +53,15 @@ export declare const couponListProps: {
|
|
53
53
|
export type CouponListProps = ExtractPropTypes<typeof couponListProps>;
|
54
54
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
55
55
|
code: {
|
56
|
-
type: PropType<
|
56
|
+
type: PropType<T>;
|
57
57
|
default: string;
|
58
58
|
};
|
59
59
|
coupons: {
|
60
|
-
type: PropType<
|
60
|
+
type: PropType<T_1[]>;
|
61
61
|
default: () => never[];
|
62
62
|
};
|
63
63
|
currency: {
|
64
|
-
type: PropType<
|
64
|
+
type: PropType<T>;
|
65
65
|
default: string;
|
66
66
|
};
|
67
67
|
showCount: {
|
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
72
72
|
enabledTitle: StringConstructor;
|
73
73
|
disabledTitle: StringConstructor;
|
74
74
|
disabledCoupons: {
|
75
|
-
type: PropType<
|
75
|
+
type: PropType<T_1[]>;
|
76
76
|
default: () => never[];
|
77
77
|
};
|
78
78
|
showExchangeBar: {
|
@@ -102,15 +102,15 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
102
102
|
};
|
103
103
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "exchange" | "update:code")[], "change" | "exchange" | "update:code", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
104
104
|
code: {
|
105
|
-
type: PropType<
|
105
|
+
type: PropType<T>;
|
106
106
|
default: string;
|
107
107
|
};
|
108
108
|
coupons: {
|
109
|
-
type: PropType<
|
109
|
+
type: PropType<T_1[]>;
|
110
110
|
default: () => never[];
|
111
111
|
};
|
112
112
|
currency: {
|
113
|
-
type: PropType<
|
113
|
+
type: PropType<T>;
|
114
114
|
default: string;
|
115
115
|
};
|
116
116
|
showCount: {
|
@@ -121,7 +121,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
121
121
|
enabledTitle: StringConstructor;
|
122
122
|
disabledTitle: StringConstructor;
|
123
123
|
disabledCoupons: {
|
124
|
-
type: PropType<
|
124
|
+
type: PropType<T_1[]>;
|
125
125
|
default: () => never[];
|
126
126
|
};
|
127
127
|
showExchangeBar: {
|
@@ -1,14 +1,14 @@
|
|
1
1
|
export declare const CouponList: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
code: {
|
3
|
-
type: import("vue").PropType<
|
3
|
+
type: import("vue").PropType<T>;
|
4
4
|
default: string;
|
5
5
|
};
|
6
6
|
coupons: {
|
7
|
-
type: import("vue").PropType<
|
7
|
+
type: import("vue").PropType<T_1[]>;
|
8
8
|
default: () => never[];
|
9
9
|
};
|
10
10
|
currency: {
|
11
|
-
type: import("vue").PropType<
|
11
|
+
type: import("vue").PropType<T>;
|
12
12
|
default: string;
|
13
13
|
};
|
14
14
|
showCount: {
|
@@ -19,7 +19,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
19
19
|
enabledTitle: StringConstructor;
|
20
20
|
disabledTitle: StringConstructor;
|
21
21
|
disabledCoupons: {
|
22
|
-
type: import("vue").PropType<
|
22
|
+
type: import("vue").PropType<T_1[]>;
|
23
23
|
default: () => never[];
|
24
24
|
};
|
25
25
|
showExchangeBar: {
|
@@ -49,15 +49,15 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
49
49
|
};
|
50
50
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "exchange" | "update:code")[], "change" | "exchange" | "update:code", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
51
51
|
code: {
|
52
|
-
type: import("vue").PropType<
|
52
|
+
type: import("vue").PropType<T>;
|
53
53
|
default: string;
|
54
54
|
};
|
55
55
|
coupons: {
|
56
|
-
type: import("vue").PropType<
|
56
|
+
type: import("vue").PropType<T_1[]>;
|
57
57
|
default: () => never[];
|
58
58
|
};
|
59
59
|
currency: {
|
60
|
-
type: import("vue").PropType<
|
60
|
+
type: import("vue").PropType<T>;
|
61
61
|
default: string;
|
62
62
|
};
|
63
63
|
showCount: {
|
@@ -68,7 +68,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
68
68
|
enabledTitle: StringConstructor;
|
69
69
|
disabledTitle: StringConstructor;
|
70
70
|
disabledCoupons: {
|
71
|
-
type: import("vue").PropType<
|
71
|
+
type: import("vue").PropType<T_1[]>;
|
72
72
|
default: () => never[];
|
73
73
|
};
|
74
74
|
showExchangeBar: {
|
@@ -26,7 +26,7 @@ export declare const datePickerProps: {
|
|
26
26
|
confirmButtonText: StringConstructor;
|
27
27
|
} & {
|
28
28
|
modelValue: {
|
29
|
-
type: PropType<
|
29
|
+
type: PropType<T[]>;
|
30
30
|
default: () => never[];
|
31
31
|
};
|
32
32
|
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
82
82
|
confirmButtonText: StringConstructor;
|
83
83
|
} & {
|
84
84
|
modelValue: {
|
85
|
-
type: PropType<
|
85
|
+
type: PropType<T[]>;
|
86
86
|
default: () => never[];
|
87
87
|
};
|
88
88
|
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
|
@@ -131,7 +131,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
131
131
|
confirmButtonText: StringConstructor;
|
132
132
|
} & {
|
133
133
|
modelValue: {
|
134
|
-
type: PropType<
|
134
|
+
type: PropType<T[]>;
|
135
135
|
default: () => never[];
|
136
136
|
};
|
137
137
|
filter: PropType<(columnType: string, options: import("../picker").PickerOption[], values: string[]) => import("../picker").PickerOption[]>;
|
@@ -25,7 +25,7 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
25
25
|
confirmButtonText: StringConstructor;
|
26
26
|
} & {
|
27
27
|
modelValue: {
|
28
|
-
type: import("vue").PropType<
|
28
|
+
type: import("vue").PropType<T[]>;
|
29
29
|
default: () => never[];
|
30
30
|
};
|
31
31
|
filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
|
@@ -74,7 +74,7 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
74
74
|
confirmButtonText: StringConstructor;
|
75
75
|
} & {
|
76
76
|
modelValue: {
|
77
|
-
type: import("vue").PropType<
|
77
|
+
type: import("vue").PropType<T[]>;
|
78
78
|
default: () => never[];
|
79
79
|
};
|
80
80
|
filter: import("vue").PropType<(columnType: string, options: import("..").PickerOption[], values: string[]) => import("..").PickerOption[]>;
|
package/lib/dialog/Dialog.d.ts
CHANGED
@@ -34,7 +34,7 @@ export declare const dialogProps: {
|
|
34
34
|
allowHtml: BooleanConstructor;
|
35
35
|
className: PropType<unknown>;
|
36
36
|
transition: {
|
37
|
-
type: PropType<
|
37
|
+
type: PropType<T>;
|
38
38
|
default: string;
|
39
39
|
};
|
40
40
|
messageAlign: PropType<DialogMessageAlign>;
|
@@ -54,6 +54,10 @@ export declare const dialogProps: {
|
|
54
54
|
default: true;
|
55
55
|
};
|
56
56
|
closeOnClickOverlay: BooleanConstructor;
|
57
|
+
keyboardEnabled: {
|
58
|
+
type: BooleanConstructor;
|
59
|
+
default: true;
|
60
|
+
};
|
57
61
|
};
|
58
62
|
export type DialogProps = ExtractPropTypes<typeof dialogProps>;
|
59
63
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
@@ -90,7 +94,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
90
94
|
allowHtml: BooleanConstructor;
|
91
95
|
className: PropType<unknown>;
|
92
96
|
transition: {
|
93
|
-
type: PropType<
|
97
|
+
type: PropType<T>;
|
94
98
|
default: string;
|
95
99
|
};
|
96
100
|
messageAlign: PropType<DialogMessageAlign>;
|
@@ -110,6 +114,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
110
114
|
default: true;
|
111
115
|
};
|
112
116
|
closeOnClickOverlay: BooleanConstructor;
|
117
|
+
keyboardEnabled: {
|
118
|
+
type: BooleanConstructor;
|
119
|
+
default: true;
|
120
|
+
};
|
113
121
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "keydown" | "update:show" | "confirm")[], "cancel" | "keydown" | "update:show" | "confirm", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
114
122
|
show: BooleanConstructor;
|
115
123
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -144,7 +152,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
144
152
|
allowHtml: BooleanConstructor;
|
145
153
|
className: PropType<unknown>;
|
146
154
|
transition: {
|
147
|
-
type: PropType<
|
155
|
+
type: PropType<T>;
|
148
156
|
default: string;
|
149
157
|
};
|
150
158
|
messageAlign: PropType<DialogMessageAlign>;
|
@@ -164,6 +172,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
164
172
|
default: true;
|
165
173
|
};
|
166
174
|
closeOnClickOverlay: BooleanConstructor;
|
175
|
+
keyboardEnabled: {
|
176
|
+
type: BooleanConstructor;
|
177
|
+
default: true;
|
178
|
+
};
|
167
179
|
}>> & Readonly<{
|
168
180
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
169
181
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
@@ -183,5 +195,6 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
183
195
|
cancelButtonDisabled: boolean;
|
184
196
|
confirmButtonDisabled: boolean;
|
185
197
|
showConfirmButton: boolean;
|
198
|
+
keyboardEnabled: boolean;
|
186
199
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
187
200
|
export default _default;
|
package/lib/dialog/Dialog.js
CHANGED
@@ -48,7 +48,8 @@ const dialogProps = (0, import_utils.extend)({}, import_shared.popupSharedProps,
|
|
48
48
|
confirmButtonColor: String,
|
49
49
|
confirmButtonDisabled: Boolean,
|
50
50
|
showConfirmButton: import_utils.truthProp,
|
51
|
-
closeOnClickOverlay: Boolean
|
51
|
+
closeOnClickOverlay: Boolean,
|
52
|
+
keyboardEnabled: import_utils.truthProp
|
52
53
|
});
|
53
54
|
const popupInheritKeys = [...import_shared.popupSharedPropKeys, "transition", "closeOnPopstate"];
|
54
55
|
var stdin_default = (0, import_vue.defineComponent)({
|
@@ -95,6 +96,9 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
95
96
|
const onConfirm = getActionHandler("confirm");
|
96
97
|
const onKeydown = (0, import_vue.withKeys)((event) => {
|
97
98
|
var _a, _b;
|
99
|
+
if (!props.keyboardEnabled) {
|
100
|
+
return;
|
101
|
+
}
|
98
102
|
if (event.target !== ((_b = (_a = root.value) == null ? void 0 : _a.popupRef) == null ? void 0 : _b.value)) {
|
99
103
|
return;
|
100
104
|
}
|
package/lib/dialog/index.d.ts
CHANGED
@@ -32,7 +32,7 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
32
32
|
allowHtml: BooleanConstructor;
|
33
33
|
className: import("vue").PropType<unknown>;
|
34
34
|
transition: {
|
35
|
-
type: import("vue").PropType<
|
35
|
+
type: import("vue").PropType<T>;
|
36
36
|
default: string;
|
37
37
|
};
|
38
38
|
messageAlign: import("vue").PropType<import("./types").DialogMessageAlign>;
|
@@ -52,6 +52,10 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
52
52
|
default: true;
|
53
53
|
};
|
54
54
|
closeOnClickOverlay: BooleanConstructor;
|
55
|
+
keyboardEnabled: {
|
56
|
+
type: BooleanConstructor;
|
57
|
+
default: true;
|
58
|
+
};
|
55
59
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "keydown" | "update:show" | "confirm")[], "cancel" | "keydown" | "update:show" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
56
60
|
show: BooleanConstructor;
|
57
61
|
zIndex: (NumberConstructor | StringConstructor)[];
|
@@ -86,7 +90,7 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
86
90
|
allowHtml: BooleanConstructor;
|
87
91
|
className: import("vue").PropType<unknown>;
|
88
92
|
transition: {
|
89
|
-
type: import("vue").PropType<
|
93
|
+
type: import("vue").PropType<T>;
|
90
94
|
default: string;
|
91
95
|
};
|
92
96
|
messageAlign: import("vue").PropType<import("./types").DialogMessageAlign>;
|
@@ -106,6 +110,10 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
106
110
|
default: true;
|
107
111
|
};
|
108
112
|
closeOnClickOverlay: BooleanConstructor;
|
113
|
+
keyboardEnabled: {
|
114
|
+
type: BooleanConstructor;
|
115
|
+
default: true;
|
116
|
+
};
|
109
117
|
}>> & Readonly<{
|
110
118
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
111
119
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
@@ -125,6 +133,7 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
125
133
|
cancelButtonDisabled: boolean;
|
126
134
|
confirmButtonDisabled: boolean;
|
127
135
|
showConfirmButton: boolean;
|
136
|
+
keyboardEnabled: boolean;
|
128
137
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
129
138
|
export default Dialog;
|
130
139
|
export { dialogProps } from './Dialog';
|
package/lib/divider/Divider.d.ts
CHANGED
@@ -8,7 +8,7 @@ export declare const dividerProps: {
|
|
8
8
|
};
|
9
9
|
vertical: BooleanConstructor;
|
10
10
|
contentPosition: {
|
11
|
-
type: import("vue").PropType<
|
11
|
+
type: import("vue").PropType<T>;
|
12
12
|
default: DividerContentPosition;
|
13
13
|
};
|
14
14
|
};
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
21
21
|
};
|
22
22
|
vertical: BooleanConstructor;
|
23
23
|
contentPosition: {
|
24
|
-
type: import("vue").PropType<
|
24
|
+
type: import("vue").PropType<T>;
|
25
25
|
default: DividerContentPosition;
|
26
26
|
};
|
27
27
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
32
32
|
};
|
33
33
|
vertical: BooleanConstructor;
|
34
34
|
contentPosition: {
|
35
|
-
type: import("vue").PropType<
|
35
|
+
type: import("vue").PropType<T>;
|
36
36
|
default: DividerContentPosition;
|
37
37
|
};
|
38
38
|
}>> & Readonly<{}>, {
|
package/lib/divider/index.d.ts
CHANGED
@@ -6,7 +6,7 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
|
|
6
6
|
};
|
7
7
|
vertical: BooleanConstructor;
|
8
8
|
contentPosition: {
|
9
|
-
type: import("vue").PropType<
|
9
|
+
type: import("vue").PropType<T>;
|
10
10
|
default: import("./Divider").DividerContentPosition;
|
11
11
|
};
|
12
12
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -17,7 +17,7 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
|
|
17
17
|
};
|
18
18
|
vertical: BooleanConstructor;
|
19
19
|
contentPosition: {
|
20
|
-
type: import("vue").PropType<
|
20
|
+
type: import("vue").PropType<T>;
|
21
21
|
default: import("./Divider").DividerContentPosition;
|
22
22
|
};
|
23
23
|
}>> & Readonly<{}>, {
|
@@ -3,7 +3,7 @@ import type { DropdownItemOption } from './types';
|
|
3
3
|
export declare const dropdownItemProps: {
|
4
4
|
title: StringConstructor;
|
5
5
|
options: {
|
6
|
-
type: PropType<
|
6
|
+
type: PropType<T[]>;
|
7
7
|
default: () => never[];
|
8
8
|
};
|
9
9
|
disabled: BooleanConstructor;
|
@@ -19,7 +19,7 @@ export type DropdownItemProps = ExtractPropTypes<typeof dropdownItemProps>;
|
|
19
19
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
20
20
|
title: StringConstructor;
|
21
21
|
options: {
|
22
|
-
type: PropType<
|
22
|
+
type: PropType<T[]>;
|
23
23
|
default: () => never[];
|
24
24
|
};
|
25
25
|
disabled: BooleanConstructor;
|
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
33
33
|
}>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "update:modelValue" | "change" | "close" | "opened" | "closed")[], "open" | "update:modelValue" | "change" | "close" | "opened" | "closed", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
34
34
|
title: StringConstructor;
|
35
35
|
options: {
|
36
|
-
type: PropType<
|
36
|
+
type: PropType<T[]>;
|
37
37
|
default: () => never[];
|
38
38
|
};
|
39
39
|
disabled: BooleanConstructor;
|
@@ -2,7 +2,7 @@ import { DropdownItemProps } from './DropdownItem';
|
|
2
2
|
export declare const DropdownItem: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3
3
|
title: StringConstructor;
|
4
4
|
options: {
|
5
|
-
type: import("vue").PropType<
|
5
|
+
type: import("vue").PropType<T[]>;
|
6
6
|
default: () => never[];
|
7
7
|
};
|
8
8
|
disabled: BooleanConstructor;
|
@@ -16,7 +16,7 @@ export declare const DropdownItem: import("../utils").WithInstall<import("vue").
|
|
16
16
|
}>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "update:modelValue" | "change" | "close" | "opened" | "closed")[], "open" | "update:modelValue" | "change" | "close" | "opened" | "closed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
17
17
|
title: StringConstructor;
|
18
18
|
options: {
|
19
|
-
type: import("vue").PropType<
|
19
|
+
type: import("vue").PropType<T[]>;
|
20
20
|
default: () => never[];
|
21
21
|
};
|
22
22
|
disabled: BooleanConstructor;
|
@@ -11,7 +11,7 @@ export declare const dropdownMenuProps: {
|
|
11
11
|
default: number;
|
12
12
|
};
|
13
13
|
direction: {
|
14
|
-
type: import("vue").PropType<
|
14
|
+
type: import("vue").PropType<T>;
|
15
15
|
default: DropdownMenuDirection;
|
16
16
|
};
|
17
17
|
activeColor: StringConstructor;
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
39
39
|
default: number;
|
40
40
|
};
|
41
41
|
direction: {
|
42
|
-
type: import("vue").PropType<
|
42
|
+
type: import("vue").PropType<T>;
|
43
43
|
default: DropdownMenuDirection;
|
44
44
|
};
|
45
45
|
activeColor: StringConstructor;
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
64
64
|
default: number;
|
65
65
|
};
|
66
66
|
direction: {
|
67
|
-
type: import("vue").PropType<
|
67
|
+
type: import("vue").PropType<T>;
|
68
68
|
default: DropdownMenuDirection;
|
69
69
|
};
|
70
70
|
activeColor: StringConstructor;
|
@@ -10,7 +10,7 @@ export declare const DropdownMenu: import("../utils").WithInstall<import("vue").
|
|
10
10
|
default: number;
|
11
11
|
};
|
12
12
|
direction: {
|
13
|
-
type: import("vue").PropType<
|
13
|
+
type: import("vue").PropType<T>;
|
14
14
|
default: import("./types").DropdownMenuDirection;
|
15
15
|
};
|
16
16
|
activeColor: StringConstructor;
|
@@ -35,7 +35,7 @@ export declare const DropdownMenu: import("../utils").WithInstall<import("vue").
|
|
35
35
|
default: number;
|
36
36
|
};
|
37
37
|
direction: {
|
38
|
-
type: import("vue").PropType<
|
38
|
+
type: import("vue").PropType<T>;
|
39
39
|
default: import("./types").DropdownMenuDirection;
|
40
40
|
};
|
41
41
|
activeColor: StringConstructor;
|
package/lib/empty/Empty.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { type PropType, type ExtractPropTypes } from 'vue';
|
|
2
2
|
import { Numeric } from '../utils';
|
3
3
|
export declare const emptyProps: {
|
4
4
|
image: {
|
5
|
-
type: PropType<
|
5
|
+
type: PropType<T>;
|
6
6
|
default: string;
|
7
7
|
};
|
8
8
|
imageSize: PropType<Numeric | [Numeric, Numeric]>;
|
@@ -11,14 +11,14 @@ export declare const emptyProps: {
|
|
11
11
|
export type EmptyProps = ExtractPropTypes<typeof emptyProps>;
|
12
12
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
13
13
|
image: {
|
14
|
-
type: PropType<
|
14
|
+
type: PropType<T>;
|
15
15
|
default: string;
|
16
16
|
};
|
17
17
|
imageSize: PropType<Numeric | [Numeric, Numeric]>;
|
18
18
|
description: StringConstructor;
|
19
19
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
20
20
|
image: {
|
21
|
-
type: PropType<
|
21
|
+
type: PropType<T>;
|
22
22
|
default: string;
|
23
23
|
};
|
24
24
|
imageSize: PropType<Numeric | [Numeric, Numeric]>;
|
package/lib/empty/index.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
export declare const Empty: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
image: {
|
3
|
-
type: import("vue").PropType<
|
3
|
+
type: import("vue").PropType<T>;
|
4
4
|
default: string;
|
5
5
|
};
|
6
6
|
imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
|
7
7
|
description: StringConstructor;
|
8
8
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
9
9
|
image: {
|
10
|
-
type: import("vue").PropType<
|
10
|
+
type: import("vue").PropType<T>;
|
11
11
|
default: string;
|
12
12
|
};
|
13
13
|
imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
|