vant 4.9.14 → 4.9.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-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 +11 -10
- package/es/calendar/Calendar.mjs +3 -1
- package/es/calendar/CalendarDay.mjs +2 -3
- package/es/calendar/CalendarHeader.d.ts +2 -2
- package/es/calendar/index.d.ts +8 -7
- package/es/calendar/utils.d.ts +7 -0
- package/es/calendar/utils.mjs +7 -0
- 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/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 +3 -3
- package/es/dialog/index.d.ts +2 -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 +18 -18
- package/es/field/index.d.ts +10 -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/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 +9 -9
- package/es/popup/index.d.ts +6 -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 +15 -15
- package/es/search/index.d.ts +10 -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 +11 -10
- package/lib/calendar/Calendar.js +3 -1
- package/lib/calendar/CalendarDay.js +1 -2
- package/lib/calendar/CalendarHeader.d.ts +2 -2
- package/lib/calendar/index.d.ts +8 -7
- package/lib/calendar/utils.d.ts +7 -0
- package/lib/calendar/utils.js +7 -0
- 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/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 +3 -3
- package/lib/dialog/index.d.ts +2 -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 +18 -18
- package/lib/field/index.d.ts +10 -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.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/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 +9 -9
- package/lib/popup/index.d.ts +6 -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 +15 -15
- package/lib/search/index.d.ts +10 -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 +11 -4
- package/lib/vant.es.js +11 -4
- package/lib/vant.js +24 -35
- package/lib/vant.min.js +2 -2
- 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 +27 -28
- package/lib/utils/support.js +0 -1
package/lib/button/Button.d.ts
CHANGED
@@ -7,17 +7,17 @@ export declare const buttonProps: {
|
|
7
7
|
replace: BooleanConstructor;
|
8
8
|
} & {
|
9
9
|
tag: {
|
10
|
-
type: PropType<
|
10
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
11
11
|
default: keyof HTMLElementTagNameMap;
|
12
12
|
};
|
13
13
|
text: StringConstructor;
|
14
14
|
icon: StringConstructor;
|
15
15
|
type: {
|
16
|
-
type: PropType<
|
16
|
+
type: PropType<ButtonType>;
|
17
17
|
default: ButtonType;
|
18
18
|
};
|
19
19
|
size: {
|
20
|
-
type: PropType<
|
20
|
+
type: PropType<ButtonSize>;
|
21
21
|
default: ButtonSize;
|
22
22
|
};
|
23
23
|
color: StringConstructor;
|
@@ -30,14 +30,14 @@ export declare const buttonProps: {
|
|
30
30
|
disabled: BooleanConstructor;
|
31
31
|
iconPrefix: StringConstructor;
|
32
32
|
nativeType: {
|
33
|
-
type: PropType<
|
33
|
+
type: PropType<ButtonNativeType>;
|
34
34
|
default: ButtonNativeType;
|
35
35
|
};
|
36
36
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
37
37
|
loadingText: StringConstructor;
|
38
38
|
loadingType: PropType<LoadingType>;
|
39
39
|
iconPosition: {
|
40
|
-
type: PropType<
|
40
|
+
type: PropType<ButtonIconPosition>;
|
41
41
|
default: ButtonIconPosition;
|
42
42
|
};
|
43
43
|
};
|
@@ -48,17 +48,17 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
48
48
|
replace: BooleanConstructor;
|
49
49
|
} & {
|
50
50
|
tag: {
|
51
|
-
type: PropType<
|
51
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
52
52
|
default: keyof HTMLElementTagNameMap;
|
53
53
|
};
|
54
54
|
text: StringConstructor;
|
55
55
|
icon: StringConstructor;
|
56
56
|
type: {
|
57
|
-
type: PropType<
|
57
|
+
type: PropType<ButtonType>;
|
58
58
|
default: ButtonType;
|
59
59
|
};
|
60
60
|
size: {
|
61
|
-
type: PropType<
|
61
|
+
type: PropType<ButtonSize>;
|
62
62
|
default: ButtonSize;
|
63
63
|
};
|
64
64
|
color: StringConstructor;
|
@@ -71,14 +71,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
71
71
|
disabled: BooleanConstructor;
|
72
72
|
iconPrefix: StringConstructor;
|
73
73
|
nativeType: {
|
74
|
-
type: PropType<
|
74
|
+
type: PropType<ButtonNativeType>;
|
75
75
|
default: ButtonNativeType;
|
76
76
|
};
|
77
77
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
78
78
|
loadingText: StringConstructor;
|
79
79
|
loadingType: PropType<LoadingType>;
|
80
80
|
iconPosition: {
|
81
|
-
type: PropType<
|
81
|
+
type: PropType<ButtonIconPosition>;
|
82
82
|
default: ButtonIconPosition;
|
83
83
|
};
|
84
84
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
@@ -87,17 +87,17 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
87
87
|
replace: BooleanConstructor;
|
88
88
|
} & {
|
89
89
|
tag: {
|
90
|
-
type: PropType<
|
90
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
91
91
|
default: keyof HTMLElementTagNameMap;
|
92
92
|
};
|
93
93
|
text: StringConstructor;
|
94
94
|
icon: StringConstructor;
|
95
95
|
type: {
|
96
|
-
type: PropType<
|
96
|
+
type: PropType<ButtonType>;
|
97
97
|
default: ButtonType;
|
98
98
|
};
|
99
99
|
size: {
|
100
|
-
type: PropType<
|
100
|
+
type: PropType<ButtonSize>;
|
101
101
|
default: ButtonSize;
|
102
102
|
};
|
103
103
|
color: StringConstructor;
|
@@ -110,14 +110,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
110
110
|
disabled: BooleanConstructor;
|
111
111
|
iconPrefix: StringConstructor;
|
112
112
|
nativeType: {
|
113
|
-
type: PropType<
|
113
|
+
type: PropType<ButtonNativeType>;
|
114
114
|
default: ButtonNativeType;
|
115
115
|
};
|
116
116
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
117
117
|
loadingText: StringConstructor;
|
118
118
|
loadingType: PropType<LoadingType>;
|
119
119
|
iconPosition: {
|
120
|
-
type: PropType<
|
120
|
+
type: PropType<ButtonIconPosition>;
|
121
121
|
default: ButtonIconPosition;
|
122
122
|
};
|
123
123
|
}>> & Readonly<{
|
package/lib/button/index.d.ts
CHANGED
@@ -4,17 +4,17 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
4
4
|
replace: BooleanConstructor;
|
5
5
|
} & {
|
6
6
|
tag: {
|
7
|
-
type: import("vue").PropType<
|
7
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
8
8
|
default: keyof HTMLElementTagNameMap;
|
9
9
|
};
|
10
10
|
text: StringConstructor;
|
11
11
|
icon: StringConstructor;
|
12
12
|
type: {
|
13
|
-
type: import("vue").PropType<
|
13
|
+
type: import("vue").PropType<import("./types").ButtonType>;
|
14
14
|
default: import("./types").ButtonType;
|
15
15
|
};
|
16
16
|
size: {
|
17
|
-
type: import("vue").PropType<
|
17
|
+
type: import("vue").PropType<import("./types").ButtonSize>;
|
18
18
|
default: import("./types").ButtonSize;
|
19
19
|
};
|
20
20
|
color: StringConstructor;
|
@@ -27,14 +27,14 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
27
27
|
disabled: BooleanConstructor;
|
28
28
|
iconPrefix: StringConstructor;
|
29
29
|
nativeType: {
|
30
|
-
type: import("vue").PropType<
|
30
|
+
type: import("vue").PropType<import("./types").ButtonNativeType>;
|
31
31
|
default: import("./types").ButtonNativeType;
|
32
32
|
};
|
33
33
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
34
34
|
loadingText: StringConstructor;
|
35
35
|
loadingType: import("vue").PropType<import("..").LoadingType>;
|
36
36
|
iconPosition: {
|
37
|
-
type: import("vue").PropType<
|
37
|
+
type: import("vue").PropType<import("./types").ButtonIconPosition>;
|
38
38
|
default: import("./types").ButtonIconPosition;
|
39
39
|
};
|
40
40
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -43,17 +43,17 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
43
43
|
replace: BooleanConstructor;
|
44
44
|
} & {
|
45
45
|
tag: {
|
46
|
-
type: import("vue").PropType<
|
46
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
47
47
|
default: keyof HTMLElementTagNameMap;
|
48
48
|
};
|
49
49
|
text: StringConstructor;
|
50
50
|
icon: StringConstructor;
|
51
51
|
type: {
|
52
|
-
type: import("vue").PropType<
|
52
|
+
type: import("vue").PropType<import("./types").ButtonType>;
|
53
53
|
default: import("./types").ButtonType;
|
54
54
|
};
|
55
55
|
size: {
|
56
|
-
type: import("vue").PropType<
|
56
|
+
type: import("vue").PropType<import("./types").ButtonSize>;
|
57
57
|
default: import("./types").ButtonSize;
|
58
58
|
};
|
59
59
|
color: StringConstructor;
|
@@ -66,14 +66,14 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
66
66
|
disabled: BooleanConstructor;
|
67
67
|
iconPrefix: StringConstructor;
|
68
68
|
nativeType: {
|
69
|
-
type: import("vue").PropType<
|
69
|
+
type: import("vue").PropType<import("./types").ButtonNativeType>;
|
70
70
|
default: import("./types").ButtonNativeType;
|
71
71
|
};
|
72
72
|
loadingSize: (NumberConstructor | StringConstructor)[];
|
73
73
|
loadingText: StringConstructor;
|
74
74
|
loadingType: import("vue").PropType<import("..").LoadingType>;
|
75
75
|
iconPosition: {
|
76
|
-
type: import("vue").PropType<
|
76
|
+
type: import("vue").PropType<import("./types").ButtonIconPosition>;
|
77
77
|
default: import("./types").ButtonIconPosition;
|
78
78
|
};
|
79
79
|
}>> & Readonly<{
|
@@ -4,11 +4,11 @@ import type { CalendarType, CalendarSwitchMode, CalendarDayItem } from './types'
|
|
4
4
|
export declare const calendarProps: {
|
5
5
|
show: BooleanConstructor;
|
6
6
|
type: {
|
7
|
-
type: PropType<
|
7
|
+
type: PropType<CalendarType>;
|
8
8
|
default: CalendarType;
|
9
9
|
};
|
10
10
|
switchMode: {
|
11
|
-
type: PropType<
|
11
|
+
type: PropType<CalendarSwitchMode>;
|
12
12
|
default: CalendarSwitchMode;
|
13
13
|
};
|
14
14
|
title: StringConstructor;
|
@@ -27,7 +27,7 @@ export declare const calendarProps: {
|
|
27
27
|
default: null;
|
28
28
|
};
|
29
29
|
position: {
|
30
|
-
type: PropType<
|
30
|
+
type: PropType<PopupPosition>;
|
31
31
|
default: PopupPosition;
|
32
32
|
};
|
33
33
|
teleport: PropType<TeleportProps["to"]>;
|
@@ -93,11 +93,11 @@ export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
|
|
93
93
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
94
94
|
show: BooleanConstructor;
|
95
95
|
type: {
|
96
|
-
type: PropType<
|
96
|
+
type: PropType<CalendarType>;
|
97
97
|
default: CalendarType;
|
98
98
|
};
|
99
99
|
switchMode: {
|
100
|
-
type: PropType<
|
100
|
+
type: PropType<CalendarSwitchMode>;
|
101
101
|
default: CalendarSwitchMode;
|
102
102
|
};
|
103
103
|
title: StringConstructor;
|
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
116
116
|
default: null;
|
117
117
|
};
|
118
118
|
position: {
|
119
|
-
type: PropType<
|
119
|
+
type: PropType<PopupPosition>;
|
120
120
|
default: PopupPosition;
|
121
121
|
};
|
122
122
|
teleport: PropType<TeleportProps["to"]>;
|
@@ -177,14 +177,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
177
177
|
default: number;
|
178
178
|
validator: (val: number) => boolean;
|
179
179
|
};
|
180
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
180
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "clickOverlay" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "clickOverlay" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
181
181
|
show: BooleanConstructor;
|
182
182
|
type: {
|
183
|
-
type: PropType<
|
183
|
+
type: PropType<CalendarType>;
|
184
184
|
default: CalendarType;
|
185
185
|
};
|
186
186
|
switchMode: {
|
187
|
-
type: PropType<
|
187
|
+
type: PropType<CalendarSwitchMode>;
|
188
188
|
default: CalendarSwitchMode;
|
189
189
|
};
|
190
190
|
title: StringConstructor;
|
@@ -203,7 +203,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
203
203
|
default: null;
|
204
204
|
};
|
205
205
|
position: {
|
206
|
-
type: PropType<
|
206
|
+
type: PropType<PopupPosition>;
|
207
207
|
default: PopupPosition;
|
208
208
|
};
|
209
209
|
teleport: PropType<TeleportProps["to"]>;
|
@@ -267,6 +267,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
267
267
|
}>> & Readonly<{
|
268
268
|
onSelect?: ((...args: any[]) => any) | undefined;
|
269
269
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
270
|
+
onClickOverlay?: ((...args: any[]) => any) | undefined;
|
270
271
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
271
272
|
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
|
272
273
|
onClickSubtitle?: ((...args: any[]) => any) | undefined;
|
package/lib/calendar/Calendar.js
CHANGED
@@ -88,7 +88,7 @@ const calendarProps = {
|
|
88
88
|
var stdin_default = (0, import_vue.defineComponent)({
|
89
89
|
name: import_utils2.name,
|
90
90
|
props: calendarProps,
|
91
|
-
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle", "clickDisabledDate", "panelChange"],
|
91
|
+
emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle", "clickDisabledDate", "clickOverlay", "panelChange"],
|
92
92
|
setup(props, {
|
93
93
|
emit,
|
94
94
|
slots
|
@@ -376,6 +376,7 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
376
376
|
select(date, true);
|
377
377
|
}
|
378
378
|
};
|
379
|
+
const onClickOverlay = (event) => emit("clickOverlay", event);
|
379
380
|
const updateShow = (value) => emit("update:show", value);
|
380
381
|
const renderMonth = (date, index) => {
|
381
382
|
const showMonthTitle = index !== 0 || !props.showSubtitle;
|
@@ -467,6 +468,7 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
467
468
|
"closeOnPopstate": props.closeOnPopstate,
|
468
469
|
"safeAreaInsetTop": props.safeAreaInsetTop,
|
469
470
|
"closeOnClickOverlay": props.closeOnClickOverlay,
|
471
|
+
"onClickOverlay": onClickOverlay,
|
470
472
|
"onUpdate:show": updateShow
|
471
473
|
}, {
|
472
474
|
default: renderCalendar
|
@@ -39,7 +39,6 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
39
39
|
slots
|
40
40
|
}) {
|
41
41
|
const style = (0, import_vue.computed)(() => {
|
42
|
-
var _a;
|
43
42
|
const {
|
44
43
|
item,
|
45
44
|
index,
|
@@ -71,7 +70,7 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
71
70
|
break;
|
72
71
|
}
|
73
72
|
}
|
74
|
-
if (
|
73
|
+
if (item.date && (0, import_utils2.isLastRowInMonth)(item.date, offset)) {
|
75
74
|
style2.marginBottom = 0;
|
76
75
|
}
|
77
76
|
return style2;
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
9
9
|
showSubtitle: BooleanConstructor;
|
10
10
|
firstDayOfWeek: NumberConstructor;
|
11
11
|
switchMode: {
|
12
|
-
type: import("vue").PropType<
|
12
|
+
type: import("vue").PropType<CalendarSwitchMode>;
|
13
13
|
default: CalendarSwitchMode;
|
14
14
|
};
|
15
15
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickSubtitle" | "panelChange")[], "clickSubtitle" | "panelChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
22
22
|
showSubtitle: BooleanConstructor;
|
23
23
|
firstDayOfWeek: NumberConstructor;
|
24
24
|
switchMode: {
|
25
|
-
type: import("vue").PropType<
|
25
|
+
type: import("vue").PropType<CalendarSwitchMode>;
|
26
26
|
default: CalendarSwitchMode;
|
27
27
|
};
|
28
28
|
}>> & Readonly<{
|
package/lib/calendar/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
show: BooleanConstructor;
|
3
3
|
type: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<import("./types").CalendarType>;
|
5
5
|
default: import("./types").CalendarType;
|
6
6
|
};
|
7
7
|
switchMode: {
|
8
|
-
type: import("vue").PropType<
|
8
|
+
type: import("vue").PropType<import("./types").CalendarSwitchMode>;
|
9
9
|
default: import("./types").CalendarSwitchMode;
|
10
10
|
};
|
11
11
|
title: StringConstructor;
|
@@ -24,7 +24,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
24
24
|
default: null;
|
25
25
|
};
|
26
26
|
position: {
|
27
|
-
type: import("vue").PropType<
|
27
|
+
type: import("vue").PropType<import("..").PopupPosition>;
|
28
28
|
default: import("..").PopupPosition;
|
29
29
|
};
|
30
30
|
teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
@@ -85,14 +85,14 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
85
85
|
default: number;
|
86
86
|
validator: (val: number) => boolean;
|
87
87
|
};
|
88
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
88
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "clickOverlay" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "clickOverlay" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
89
89
|
show: BooleanConstructor;
|
90
90
|
type: {
|
91
|
-
type: import("vue").PropType<
|
91
|
+
type: import("vue").PropType<import("./types").CalendarType>;
|
92
92
|
default: import("./types").CalendarType;
|
93
93
|
};
|
94
94
|
switchMode: {
|
95
|
-
type: import("vue").PropType<
|
95
|
+
type: import("vue").PropType<import("./types").CalendarSwitchMode>;
|
96
96
|
default: import("./types").CalendarSwitchMode;
|
97
97
|
};
|
98
98
|
title: StringConstructor;
|
@@ -111,7 +111,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
111
111
|
default: null;
|
112
112
|
};
|
113
113
|
position: {
|
114
|
-
type: import("vue").PropType<
|
114
|
+
type: import("vue").PropType<import("..").PopupPosition>;
|
115
115
|
default: import("..").PopupPosition;
|
116
116
|
};
|
117
117
|
teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
@@ -175,6 +175,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
175
175
|
}>> & Readonly<{
|
176
176
|
onSelect?: ((...args: any[]) => any) | undefined;
|
177
177
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
178
|
+
onClickOverlay?: ((...args: any[]) => any) | undefined;
|
178
179
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
179
180
|
onClickDisabledDate?: ((...args: any[]) => any) | undefined;
|
180
181
|
onClickSubtitle?: ((...args: any[]) => any) | undefined;
|
package/lib/calendar/utils.d.ts
CHANGED
@@ -16,3 +16,10 @@ export declare const getPrevYear: (date: Date) => Date;
|
|
16
16
|
export declare const getNextYear: (date: Date) => Date;
|
17
17
|
export declare const getToday: () => Date;
|
18
18
|
export declare function calcDateNum(date: [Date, Date]): number;
|
19
|
+
/**
|
20
|
+
* Checks if the given date is in the last row of its month in a calendar view
|
21
|
+
* @param date The date to check
|
22
|
+
* @param offset The offset of the first day of the month
|
23
|
+
* @returns boolean indicating whether the date is in the last row
|
24
|
+
*/
|
25
|
+
export declare function isLastRowInMonth(date: Date, offset?: number): boolean;
|
package/lib/calendar/utils.js
CHANGED
@@ -34,6 +34,7 @@ __export(stdin_exports, {
|
|
34
34
|
getPrevYear: () => getPrevYear,
|
35
35
|
getToday: () => getToday,
|
36
36
|
getYearByOffset: () => getYearByOffset,
|
37
|
+
isLastRowInMonth: () => isLastRowInMonth,
|
37
38
|
name: () => name,
|
38
39
|
t: () => t
|
39
40
|
});
|
@@ -99,3 +100,9 @@ function calcDateNum(date) {
|
|
99
100
|
const day2 = date[1].getTime();
|
100
101
|
return (day2 - day1) / (1e3 * 60 * 60 * 24) + 1;
|
101
102
|
}
|
103
|
+
function isLastRowInMonth(date, offset = 0) {
|
104
|
+
const lastDay = new Date(date.getFullYear(), date.getMonth() + 1, 0);
|
105
|
+
const currentPos = offset + date.getDate() - 1;
|
106
|
+
const lastDayPos = offset + lastDay.getDate() - 1;
|
107
|
+
return Math.floor(currentPos / 7) === Math.floor(lastDayPos / 7);
|
108
|
+
}
|
package/lib/card/Card.d.ts
CHANGED
@@ -9,7 +9,7 @@ export declare const cardProps: {
|
|
9
9
|
centered: BooleanConstructor;
|
10
10
|
lazyLoad: BooleanConstructor;
|
11
11
|
currency: {
|
12
|
-
type: import("vue").PropType<
|
12
|
+
type: import("vue").PropType<string>;
|
13
13
|
default: string;
|
14
14
|
};
|
15
15
|
thumbLink: StringConstructor;
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
26
26
|
centered: BooleanConstructor;
|
27
27
|
lazyLoad: BooleanConstructor;
|
28
28
|
currency: {
|
29
|
-
type: import("vue").PropType<
|
29
|
+
type: import("vue").PropType<string>;
|
30
30
|
default: string;
|
31
31
|
};
|
32
32
|
thumbLink: StringConstructor;
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
41
41
|
centered: BooleanConstructor;
|
42
42
|
lazyLoad: BooleanConstructor;
|
43
43
|
currency: {
|
44
|
-
type: import("vue").PropType<
|
44
|
+
type: import("vue").PropType<string>;
|
45
45
|
default: string;
|
46
46
|
};
|
47
47
|
thumbLink: StringConstructor;
|
package/lib/card/index.d.ts
CHANGED
@@ -8,7 +8,7 @@ export declare const Card: import("../utils").WithInstall<import("vue").DefineCo
|
|
8
8
|
centered: BooleanConstructor;
|
9
9
|
lazyLoad: BooleanConstructor;
|
10
10
|
currency: {
|
11
|
-
type: import("vue").PropType<
|
11
|
+
type: import("vue").PropType<string>;
|
12
12
|
default: string;
|
13
13
|
};
|
14
14
|
thumbLink: StringConstructor;
|
@@ -23,7 +23,7 @@ export declare const Card: import("../utils").WithInstall<import("vue").DefineCo
|
|
23
23
|
centered: BooleanConstructor;
|
24
24
|
lazyLoad: BooleanConstructor;
|
25
25
|
currency: {
|
26
|
-
type: import("vue").PropType<
|
26
|
+
type: import("vue").PropType<string>;
|
27
27
|
default: string;
|
28
28
|
};
|
29
29
|
thumbLink: StringConstructor;
|
@@ -3,7 +3,7 @@ import type { CascaderOption, CascaderFieldNames } from './types';
|
|
3
3
|
export declare const cascaderProps: {
|
4
4
|
title: StringConstructor;
|
5
5
|
options: {
|
6
|
-
type: PropType<
|
6
|
+
type: PropType<CascaderOption[]>;
|
7
7
|
default: () => never[];
|
8
8
|
};
|
9
9
|
closeable: {
|
@@ -15,7 +15,7 @@ export declare const cascaderProps: {
|
|
15
15
|
default: true;
|
16
16
|
};
|
17
17
|
closeIcon: {
|
18
|
-
type: PropType<
|
18
|
+
type: PropType<string>;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
showHeader: {
|
@@ -31,7 +31,7 @@ export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
|
|
31
31
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
32
32
|
title: StringConstructor;
|
33
33
|
options: {
|
34
|
-
type: PropType<
|
34
|
+
type: PropType<CascaderOption[]>;
|
35
35
|
default: () => never[];
|
36
36
|
};
|
37
37
|
closeable: {
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
43
43
|
default: true;
|
44
44
|
};
|
45
45
|
closeIcon: {
|
46
|
-
type: PropType<
|
46
|
+
type: PropType<string>;
|
47
47
|
default: string;
|
48
48
|
};
|
49
49
|
showHeader: {
|
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
57
57
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "clickTab" | "finish")[], "update:modelValue" | "change" | "close" | "clickTab" | "finish", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
58
58
|
title: StringConstructor;
|
59
59
|
options: {
|
60
|
-
type: PropType<
|
60
|
+
type: PropType<CascaderOption[]>;
|
61
61
|
default: () => never[];
|
62
62
|
};
|
63
63
|
closeable: {
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
69
69
|
default: true;
|
70
70
|
};
|
71
71
|
closeIcon: {
|
72
|
-
type: PropType<
|
72
|
+
type: PropType<string>;
|
73
73
|
default: string;
|
74
74
|
};
|
75
75
|
showHeader: {
|
package/lib/cascader/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare const Cascader: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
title: StringConstructor;
|
3
3
|
options: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<import("./types").CascaderOption[]>;
|
5
5
|
default: () => never[];
|
6
6
|
};
|
7
7
|
closeable: {
|
@@ -13,7 +13,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
|
|
13
13
|
default: true;
|
14
14
|
};
|
15
15
|
closeIcon: {
|
16
|
-
type: import("vue").PropType<
|
16
|
+
type: import("vue").PropType<string>;
|
17
17
|
default: string;
|
18
18
|
};
|
19
19
|
showHeader: {
|
@@ -27,7 +27,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
|
|
27
27
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "clickTab" | "finish")[], "update:modelValue" | "change" | "close" | "clickTab" | "finish", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
28
28
|
title: StringConstructor;
|
29
29
|
options: {
|
30
|
-
type: import("vue").PropType<
|
30
|
+
type: import("vue").PropType<import("./types").CascaderOption[]>;
|
31
31
|
default: () => never[];
|
32
32
|
};
|
33
33
|
closeable: {
|
@@ -39,7 +39,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
|
|
39
39
|
default: true;
|
40
40
|
};
|
41
41
|
closeIcon: {
|
42
|
-
type: import("vue").PropType<
|
42
|
+
type: import("vue").PropType<string>;
|
43
43
|
default: string;
|
44
44
|
};
|
45
45
|
showHeader: {
|
package/lib/cell/Cell.d.ts
CHANGED
@@ -3,7 +3,7 @@ export type CellSize = 'normal' | 'large';
|
|
3
3
|
export type CellArrowDirection = 'up' | 'down' | 'left' | 'right';
|
4
4
|
export declare const cellSharedProps: {
|
5
5
|
tag: {
|
6
|
-
type: PropType<
|
6
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
7
7
|
default: keyof HTMLElementTagNameMap;
|
8
8
|
};
|
9
9
|
icon: StringConstructor;
|
@@ -34,7 +34,7 @@ export declare const cellSharedProps: {
|
|
34
34
|
};
|
35
35
|
export declare const cellProps: {
|
36
36
|
tag: {
|
37
|
-
type: PropType<
|
37
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
38
38
|
default: keyof HTMLElementTagNameMap;
|
39
39
|
};
|
40
40
|
icon: StringConstructor;
|
@@ -70,7 +70,7 @@ export declare const cellProps: {
|
|
70
70
|
export type CellProps = ExtractPropTypes<typeof cellProps>;
|
71
71
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
72
72
|
tag: {
|
73
|
-
type: PropType<
|
73
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
74
74
|
default: keyof HTMLElementTagNameMap;
|
75
75
|
};
|
76
76
|
icon: StringConstructor;
|
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
104
104
|
replace: BooleanConstructor;
|
105
105
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
106
106
|
tag: {
|
107
|
-
type: PropType<
|
107
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
108
108
|
default: keyof HTMLElementTagNameMap;
|
109
109
|
};
|
110
110
|
icon: StringConstructor;
|
package/lib/cell/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const Cell: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
tag: {
|
3
|
-
type: import("vue").PropType<
|
3
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
4
4
|
default: keyof HTMLElementTagNameMap;
|
5
5
|
};
|
6
6
|
icon: StringConstructor;
|
@@ -34,7 +34,7 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
|
|
34
34
|
replace: BooleanConstructor;
|
35
35
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
36
36
|
tag: {
|
37
|
-
type: import("vue").PropType<
|
37
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
38
38
|
default: keyof HTMLElementTagNameMap;
|
39
39
|
};
|
40
40
|
icon: StringConstructor;
|
@@ -4,14 +4,14 @@ import type { CheckboxGroupProvide } from './types';
|
|
4
4
|
export declare const checkboxGroupProps: {
|
5
5
|
max: (NumberConstructor | StringConstructor)[];
|
6
6
|
shape: {
|
7
|
-
type: PropType<
|
7
|
+
type: PropType<CheckerShape>;
|
8
8
|
default: CheckerShape;
|
9
9
|
};
|
10
10
|
disabled: BooleanConstructor;
|
11
11
|
iconSize: (NumberConstructor | StringConstructor)[];
|
12
12
|
direction: PropType<CheckerDirection>;
|
13
13
|
modelValue: {
|
14
|
-
type: PropType<
|
14
|
+
type: PropType<unknown[]>;
|
15
15
|
default: () => never[];
|
16
16
|
};
|
17
17
|
checkedColor: StringConstructor;
|
@@ -21,28 +21,28 @@ export declare const CHECKBOX_GROUP_KEY: InjectionKey<CheckboxGroupProvide>;
|
|
21
21
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
22
22
|
max: (NumberConstructor | StringConstructor)[];
|
23
23
|
shape: {
|
24
|
-
type: PropType<
|
24
|
+
type: PropType<CheckerShape>;
|
25
25
|
default: CheckerShape;
|
26
26
|
};
|
27
27
|
disabled: BooleanConstructor;
|
28
28
|
iconSize: (NumberConstructor | StringConstructor)[];
|
29
29
|
direction: PropType<CheckerDirection>;
|
30
30
|
modelValue: {
|
31
|
-
type: PropType<
|
31
|
+
type: PropType<unknown[]>;
|
32
32
|
default: () => never[];
|
33
33
|
};
|
34
34
|
checkedColor: StringConstructor;
|
35
35
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
36
36
|
max: (NumberConstructor | StringConstructor)[];
|
37
37
|
shape: {
|
38
|
-
type: PropType<
|
38
|
+
type: PropType<CheckerShape>;
|
39
39
|
default: CheckerShape;
|
40
40
|
};
|
41
41
|
disabled: BooleanConstructor;
|
42
42
|
iconSize: (NumberConstructor | StringConstructor)[];
|
43
43
|
direction: PropType<CheckerDirection>;
|
44
44
|
modelValue: {
|
45
|
-
type: PropType<
|
45
|
+
type: PropType<unknown[]>;
|
46
46
|
default: () => never[];
|
47
47
|
};
|
48
48
|
checkedColor: StringConstructor;
|