vant 4.9.15 → 4.9.17
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/AddressEdit.mjs +0 -1
- package/es/address-edit/index.d.ts +2 -2
- package/es/address-edit/types.d.ts +0 -1
- 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/Field.mjs +3 -1
- 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/locale/lang/pl-PL.d.ts +63 -0
- package/es/locale/lang/pl-PL.mjs +65 -0
- 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/AddressEdit.js +0 -1
- package/lib/address-edit/index.d.ts +2 -2
- package/lib/address-edit/types.d.ts +0 -1
- 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/Field.js +3 -1
- 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/locale/lang/pl-PL.d.ts +63 -0
- package/lib/locale/lang/pl-PL.js +84 -0
- 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 +15 -7
- package/lib/vant.es.js +15 -7
- package/lib/vant.js +28 -38
- 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 +7 -7
@@ -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<DropdownItemOption[]>;
|
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<DropdownItemOption[]>;
|
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<DropdownItemOption[]>;
|
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<import("./types").DropdownItemOption[]>;
|
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<import("./types").DropdownItemOption[]>;
|
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<DropdownMenuDirection>;
|
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<DropdownMenuDirection>;
|
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<DropdownMenuDirection>;
|
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<import("./types").DropdownMenuDirection>;
|
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<import("./types").DropdownMenuDirection>;
|
39
39
|
default: import("./types").DropdownMenuDirection;
|
40
40
|
};
|
41
41
|
activeColor: StringConstructor;
|
package/es/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<string>;
|
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<string>;
|
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<string>;
|
22
22
|
default: string;
|
23
23
|
};
|
24
24
|
imageSize: PropType<Numeric | [Numeric, Numeric]>;
|
package/es/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<string>;
|
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<string>;
|
11
11
|
default: string;
|
12
12
|
};
|
13
13
|
imageSize: import("vue").PropType<import("../utils").Numeric | [import("../utils").Numeric, import("../utils").Numeric]>;
|
package/es/field/Field.d.ts
CHANGED
@@ -12,7 +12,7 @@ export declare const fieldSharedProps: {
|
|
12
12
|
min: NumberConstructor;
|
13
13
|
formatter: PropType<(value: string) => string>;
|
14
14
|
clearIcon: {
|
15
|
-
type: PropType<
|
15
|
+
type: PropType<string>;
|
16
16
|
default: string;
|
17
17
|
};
|
18
18
|
modelValue: {
|
@@ -27,11 +27,11 @@ export declare const fieldSharedProps: {
|
|
27
27
|
errorMessage: StringConstructor;
|
28
28
|
enterkeyhint: StringConstructor;
|
29
29
|
clearTrigger: {
|
30
|
-
type: PropType<
|
30
|
+
type: PropType<FieldClearTrigger>;
|
31
31
|
default: FieldClearTrigger;
|
32
32
|
};
|
33
33
|
formatTrigger: {
|
34
|
-
type: PropType<
|
34
|
+
type: PropType<FieldFormatTrigger>;
|
35
35
|
default: FieldFormatTrigger;
|
36
36
|
};
|
37
37
|
spellcheck: {
|
@@ -54,7 +54,7 @@ export declare const fieldSharedProps: {
|
|
54
54
|
};
|
55
55
|
export declare const fieldProps: {
|
56
56
|
tag: {
|
57
|
-
type: PropType<
|
57
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
58
58
|
default: keyof HTMLElementTagNameMap;
|
59
59
|
};
|
60
60
|
icon: StringConstructor;
|
@@ -94,7 +94,7 @@ export declare const fieldProps: {
|
|
94
94
|
min: NumberConstructor;
|
95
95
|
formatter: PropType<(value: string) => string>;
|
96
96
|
clearIcon: {
|
97
|
-
type: PropType<
|
97
|
+
type: PropType<string>;
|
98
98
|
default: string;
|
99
99
|
};
|
100
100
|
modelValue: {
|
@@ -109,11 +109,11 @@ export declare const fieldProps: {
|
|
109
109
|
errorMessage: StringConstructor;
|
110
110
|
enterkeyhint: StringConstructor;
|
111
111
|
clearTrigger: {
|
112
|
-
type: PropType<
|
112
|
+
type: PropType<FieldClearTrigger>;
|
113
113
|
default: FieldClearTrigger;
|
114
114
|
};
|
115
115
|
formatTrigger: {
|
116
|
-
type: PropType<
|
116
|
+
type: PropType<FieldFormatTrigger>;
|
117
117
|
default: FieldFormatTrigger;
|
118
118
|
};
|
119
119
|
spellcheck: {
|
@@ -136,7 +136,7 @@ export declare const fieldProps: {
|
|
136
136
|
} & {
|
137
137
|
rows: (NumberConstructor | StringConstructor)[];
|
138
138
|
type: {
|
139
|
-
type: PropType<
|
139
|
+
type: PropType<FieldType>;
|
140
140
|
default: FieldType;
|
141
141
|
};
|
142
142
|
rules: PropType<FieldRule[]>;
|
@@ -154,7 +154,7 @@ export declare const fieldProps: {
|
|
154
154
|
export type FieldProps = ExtractPropTypes<typeof fieldProps>;
|
155
155
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
156
156
|
tag: {
|
157
|
-
type: PropType<
|
157
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
158
158
|
default: keyof HTMLElementTagNameMap;
|
159
159
|
};
|
160
160
|
icon: StringConstructor;
|
@@ -194,7 +194,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
194
194
|
min: NumberConstructor;
|
195
195
|
formatter: PropType<(value: string) => string>;
|
196
196
|
clearIcon: {
|
197
|
-
type: PropType<
|
197
|
+
type: PropType<string>;
|
198
198
|
default: string;
|
199
199
|
};
|
200
200
|
modelValue: {
|
@@ -209,11 +209,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
209
209
|
errorMessage: StringConstructor;
|
210
210
|
enterkeyhint: StringConstructor;
|
211
211
|
clearTrigger: {
|
212
|
-
type: PropType<
|
212
|
+
type: PropType<FieldClearTrigger>;
|
213
213
|
default: FieldClearTrigger;
|
214
214
|
};
|
215
215
|
formatTrigger: {
|
216
|
-
type: PropType<
|
216
|
+
type: PropType<FieldFormatTrigger>;
|
217
217
|
default: FieldFormatTrigger;
|
218
218
|
};
|
219
219
|
spellcheck: {
|
@@ -236,7 +236,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
236
236
|
} & {
|
237
237
|
rows: (NumberConstructor | StringConstructor)[];
|
238
238
|
type: {
|
239
|
-
type: PropType<
|
239
|
+
type: PropType<FieldType>;
|
240
240
|
default: FieldType;
|
241
241
|
};
|
242
242
|
rules: PropType<FieldRule[]>;
|
@@ -252,7 +252,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
252
252
|
};
|
253
253
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
254
254
|
tag: {
|
255
|
-
type: PropType<
|
255
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
256
256
|
default: keyof HTMLElementTagNameMap;
|
257
257
|
};
|
258
258
|
icon: StringConstructor;
|
@@ -292,7 +292,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
292
292
|
min: NumberConstructor;
|
293
293
|
formatter: PropType<(value: string) => string>;
|
294
294
|
clearIcon: {
|
295
|
-
type: PropType<
|
295
|
+
type: PropType<string>;
|
296
296
|
default: string;
|
297
297
|
};
|
298
298
|
modelValue: {
|
@@ -307,11 +307,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
307
307
|
errorMessage: StringConstructor;
|
308
308
|
enterkeyhint: StringConstructor;
|
309
309
|
clearTrigger: {
|
310
|
-
type: PropType<
|
310
|
+
type: PropType<FieldClearTrigger>;
|
311
311
|
default: FieldClearTrigger;
|
312
312
|
};
|
313
313
|
formatTrigger: {
|
314
|
-
type: PropType<
|
314
|
+
type: PropType<FieldFormatTrigger>;
|
315
315
|
default: FieldFormatTrigger;
|
316
316
|
};
|
317
317
|
spellcheck: {
|
@@ -334,7 +334,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
334
334
|
} & {
|
335
335
|
rows: (NumberConstructor | StringConstructor)[];
|
336
336
|
type: {
|
337
|
-
type: PropType<
|
337
|
+
type: PropType<FieldType>;
|
338
338
|
default: FieldType;
|
339
339
|
};
|
340
340
|
rules: PropType<FieldRule[]>;
|
package/es/field/Field.mjs
CHANGED
@@ -225,7 +225,9 @@ var stdin_default = defineComponent({
|
|
225
225
|
value = formatNumber(value, isNumber, isNumber);
|
226
226
|
if (trigger === "onBlur" && value !== "" && (props.min !== void 0 || props.max !== void 0)) {
|
227
227
|
const adjustedValue = clamp(+value, (_a = props.min) != null ? _a : -Infinity, (_b = props.max) != null ? _b : Infinity);
|
228
|
-
value
|
228
|
+
if (+value !== adjustedValue) {
|
229
|
+
value = adjustedValue.toString();
|
230
|
+
}
|
229
231
|
}
|
230
232
|
}
|
231
233
|
let formatterDiffLen = 0;
|
package/es/field/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FieldProps } from './Field';
|
2
2
|
export declare const Field: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3
3
|
tag: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
5
5
|
default: keyof HTMLElementTagNameMap;
|
6
6
|
};
|
7
7
|
icon: StringConstructor;
|
@@ -41,7 +41,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
41
41
|
min: NumberConstructor;
|
42
42
|
formatter: import("vue").PropType<(value: string) => string>;
|
43
43
|
clearIcon: {
|
44
|
-
type: import("vue").PropType<
|
44
|
+
type: import("vue").PropType<string>;
|
45
45
|
default: string;
|
46
46
|
};
|
47
47
|
modelValue: {
|
@@ -56,11 +56,11 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
56
56
|
errorMessage: StringConstructor;
|
57
57
|
enterkeyhint: StringConstructor;
|
58
58
|
clearTrigger: {
|
59
|
-
type: import("vue").PropType<
|
59
|
+
type: import("vue").PropType<import("./types").FieldClearTrigger>;
|
60
60
|
default: import("./types").FieldClearTrigger;
|
61
61
|
};
|
62
62
|
formatTrigger: {
|
63
|
-
type: import("vue").PropType<
|
63
|
+
type: import("vue").PropType<import("./types").FieldFormatTrigger>;
|
64
64
|
default: import("./types").FieldFormatTrigger;
|
65
65
|
};
|
66
66
|
spellcheck: {
|
@@ -83,7 +83,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
83
83
|
} & {
|
84
84
|
rows: (NumberConstructor | StringConstructor)[];
|
85
85
|
type: {
|
86
|
-
type: import("vue").PropType<
|
86
|
+
type: import("vue").PropType<import("./types").FieldType>;
|
87
87
|
default: import("./types").FieldType;
|
88
88
|
};
|
89
89
|
rules: import("vue").PropType<import("./types").FieldRule[]>;
|
@@ -99,7 +99,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
99
99
|
};
|
100
100
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
101
101
|
tag: {
|
102
|
-
type: import("vue").PropType<
|
102
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
103
103
|
default: keyof HTMLElementTagNameMap;
|
104
104
|
};
|
105
105
|
icon: StringConstructor;
|
@@ -139,7 +139,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
139
139
|
min: NumberConstructor;
|
140
140
|
formatter: import("vue").PropType<(value: string) => string>;
|
141
141
|
clearIcon: {
|
142
|
-
type: import("vue").PropType<
|
142
|
+
type: import("vue").PropType<string>;
|
143
143
|
default: string;
|
144
144
|
};
|
145
145
|
modelValue: {
|
@@ -154,11 +154,11 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
154
154
|
errorMessage: StringConstructor;
|
155
155
|
enterkeyhint: StringConstructor;
|
156
156
|
clearTrigger: {
|
157
|
-
type: import("vue").PropType<
|
157
|
+
type: import("vue").PropType<import("./types").FieldClearTrigger>;
|
158
158
|
default: import("./types").FieldClearTrigger;
|
159
159
|
};
|
160
160
|
formatTrigger: {
|
161
|
-
type: import("vue").PropType<
|
161
|
+
type: import("vue").PropType<import("./types").FieldFormatTrigger>;
|
162
162
|
default: import("./types").FieldFormatTrigger;
|
163
163
|
};
|
164
164
|
spellcheck: {
|
@@ -181,7 +181,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
181
181
|
} & {
|
182
182
|
rows: (NumberConstructor | StringConstructor)[];
|
183
183
|
type: {
|
184
|
-
type: import("vue").PropType<
|
184
|
+
type: import("vue").PropType<import("./types").FieldType>;
|
185
185
|
default: import("./types").FieldType;
|
186
186
|
};
|
187
187
|
rules: import("vue").PropType<import("./types").FieldRule[]>;
|
@@ -7,7 +7,7 @@ export declare const floatingBubbleProps: {
|
|
7
7
|
};
|
8
8
|
icon: StringConstructor;
|
9
9
|
axis: {
|
10
|
-
type: PropType<
|
10
|
+
type: PropType<FloatingBubbleAxis>;
|
11
11
|
default: FloatingBubbleAxis;
|
12
12
|
};
|
13
13
|
magnetic: PropType<FloatingBubbleMagnetic>;
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
31
31
|
};
|
32
32
|
icon: StringConstructor;
|
33
33
|
axis: {
|
34
|
-
type: PropType<
|
34
|
+
type: PropType<FloatingBubbleAxis>;
|
35
35
|
default: FloatingBubbleAxis;
|
36
36
|
};
|
37
37
|
magnetic: PropType<FloatingBubbleMagnetic>;
|
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
53
53
|
};
|
54
54
|
icon: StringConstructor;
|
55
55
|
axis: {
|
56
|
-
type: PropType<
|
56
|
+
type: PropType<FloatingBubbleAxis>;
|
57
57
|
default: FloatingBubbleAxis;
|
58
58
|
};
|
59
59
|
magnetic: PropType<FloatingBubbleMagnetic>;
|
@@ -5,7 +5,7 @@ export declare const FloatingBubble: import("../utils").WithInstall<import("vue"
|
|
5
5
|
};
|
6
6
|
icon: StringConstructor;
|
7
7
|
axis: {
|
8
|
-
type: import("vue").PropType<
|
8
|
+
type: import("vue").PropType<import("./types").FloatingBubbleAxis>;
|
9
9
|
default: import("./types").FloatingBubbleAxis;
|
10
10
|
};
|
11
11
|
magnetic: import("vue").PropType<import("./types").FloatingBubbleMagnetic>;
|
@@ -27,7 +27,7 @@ export declare const FloatingBubble: import("../utils").WithInstall<import("vue"
|
|
27
27
|
};
|
28
28
|
icon: StringConstructor;
|
29
29
|
axis: {
|
30
|
-
type: import("vue").PropType<
|
30
|
+
type: import("vue").PropType<import("./types").FloatingBubbleAxis>;
|
31
31
|
default: import("./types").FloatingBubbleAxis;
|
32
32
|
};
|
33
33
|
magnetic: import("vue").PropType<import("./types").FloatingBubbleMagnetic>;
|
@@ -5,7 +5,7 @@ export declare const floatingPanelProps: {
|
|
5
5
|
default: number;
|
6
6
|
};
|
7
7
|
anchors: {
|
8
|
-
type: import("vue").PropType<
|
8
|
+
type: import("vue").PropType<number[]>;
|
9
9
|
default: () => never[];
|
10
10
|
};
|
11
11
|
duration: {
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
29
|
default: number;
|
30
30
|
};
|
31
31
|
anchors: {
|
32
|
-
type: import("vue").PropType<
|
32
|
+
type: import("vue").PropType<number[]>;
|
33
33
|
default: () => never[];
|
34
34
|
};
|
35
35
|
duration: {
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
51
51
|
default: number;
|
52
52
|
};
|
53
53
|
anchors: {
|
54
|
-
type: import("vue").PropType<
|
54
|
+
type: import("vue").PropType<number[]>;
|
55
55
|
default: () => never[];
|
56
56
|
};
|
57
57
|
duration: {
|
@@ -4,7 +4,7 @@ export declare const FloatingPanel: import("../utils").WithInstall<import("vue")
|
|
4
4
|
default: number;
|
5
5
|
};
|
6
6
|
anchors: {
|
7
|
-
type: import("vue").PropType<
|
7
|
+
type: import("vue").PropType<number[]>;
|
8
8
|
default: () => never[];
|
9
9
|
};
|
10
10
|
duration: {
|
@@ -26,7 +26,7 @@ export declare const FloatingPanel: import("../utils").WithInstall<import("vue")
|
|
26
26
|
default: number;
|
27
27
|
};
|
28
28
|
anchors: {
|
29
|
-
type: import("vue").PropType<
|
29
|
+
type: import("vue").PropType<number[]>;
|
30
30
|
default: () => never[];
|
31
31
|
};
|
32
32
|
duration: {
|
@@ -7,7 +7,7 @@ export declare const highlightProps: {
|
|
7
7
|
caseSensitive: BooleanConstructor;
|
8
8
|
highlightClass: StringConstructor;
|
9
9
|
highlightTag: {
|
10
|
-
type: PropType<
|
10
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
11
11
|
default: keyof HTMLElementTagNameMap;
|
12
12
|
};
|
13
13
|
keywords: {
|
@@ -15,16 +15,16 @@ export declare const highlightProps: {
|
|
15
15
|
required: true;
|
16
16
|
};
|
17
17
|
sourceString: {
|
18
|
-
type: PropType<
|
18
|
+
type: PropType<string>;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
tag: {
|
22
|
-
type: PropType<
|
22
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
23
23
|
default: keyof HTMLElementTagNameMap;
|
24
24
|
};
|
25
25
|
unhighlightClass: StringConstructor;
|
26
26
|
unhighlightTag: {
|
27
|
-
type: PropType<
|
27
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
28
28
|
default: keyof HTMLElementTagNameMap;
|
29
29
|
};
|
30
30
|
};
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
37
37
|
caseSensitive: BooleanConstructor;
|
38
38
|
highlightClass: StringConstructor;
|
39
39
|
highlightTag: {
|
40
|
-
type: PropType<
|
40
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
41
41
|
default: keyof HTMLElementTagNameMap;
|
42
42
|
};
|
43
43
|
keywords: {
|
@@ -45,16 +45,16 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
45
45
|
required: true;
|
46
46
|
};
|
47
47
|
sourceString: {
|
48
|
-
type: PropType<
|
48
|
+
type: PropType<string>;
|
49
49
|
default: string;
|
50
50
|
};
|
51
51
|
tag: {
|
52
|
-
type: PropType<
|
52
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
53
53
|
default: keyof HTMLElementTagNameMap;
|
54
54
|
};
|
55
55
|
unhighlightClass: StringConstructor;
|
56
56
|
unhighlightTag: {
|
57
|
-
type: PropType<
|
57
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
58
58
|
default: keyof HTMLElementTagNameMap;
|
59
59
|
};
|
60
60
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
65
65
|
caseSensitive: BooleanConstructor;
|
66
66
|
highlightClass: StringConstructor;
|
67
67
|
highlightTag: {
|
68
|
-
type: PropType<
|
68
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
69
69
|
default: keyof HTMLElementTagNameMap;
|
70
70
|
};
|
71
71
|
keywords: {
|
@@ -73,16 +73,16 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
73
73
|
required: true;
|
74
74
|
};
|
75
75
|
sourceString: {
|
76
|
-
type: PropType<
|
76
|
+
type: PropType<string>;
|
77
77
|
default: string;
|
78
78
|
};
|
79
79
|
tag: {
|
80
|
-
type: PropType<
|
80
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
81
81
|
default: keyof HTMLElementTagNameMap;
|
82
82
|
};
|
83
83
|
unhighlightClass: StringConstructor;
|
84
84
|
unhighlightTag: {
|
85
|
-
type: PropType<
|
85
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
86
86
|
default: keyof HTMLElementTagNameMap;
|
87
87
|
};
|
88
88
|
}>> & Readonly<{}>, {
|
package/es/highlight/index.d.ts
CHANGED
@@ -6,7 +6,7 @@ export declare const Highlight: import("../utils").WithInstall<import("vue").Def
|
|
6
6
|
caseSensitive: BooleanConstructor;
|
7
7
|
highlightClass: StringConstructor;
|
8
8
|
highlightTag: {
|
9
|
-
type: import("vue").PropType<
|
9
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
10
10
|
default: keyof HTMLElementTagNameMap;
|
11
11
|
};
|
12
12
|
keywords: {
|
@@ -14,16 +14,16 @@ export declare const Highlight: import("../utils").WithInstall<import("vue").Def
|
|
14
14
|
required: true;
|
15
15
|
};
|
16
16
|
sourceString: {
|
17
|
-
type: import("vue").PropType<
|
17
|
+
type: import("vue").PropType<string>;
|
18
18
|
default: string;
|
19
19
|
};
|
20
20
|
tag: {
|
21
|
-
type: import("vue").PropType<
|
21
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
22
22
|
default: keyof HTMLElementTagNameMap;
|
23
23
|
};
|
24
24
|
unhighlightClass: StringConstructor;
|
25
25
|
unhighlightTag: {
|
26
|
-
type: import("vue").PropType<
|
26
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
27
27
|
default: keyof HTMLElementTagNameMap;
|
28
28
|
};
|
29
29
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -34,7 +34,7 @@ export declare const Highlight: import("../utils").WithInstall<import("vue").Def
|
|
34
34
|
caseSensitive: BooleanConstructor;
|
35
35
|
highlightClass: StringConstructor;
|
36
36
|
highlightTag: {
|
37
|
-
type: import("vue").PropType<
|
37
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
38
38
|
default: keyof HTMLElementTagNameMap;
|
39
39
|
};
|
40
40
|
keywords: {
|
@@ -42,16 +42,16 @@ export declare const Highlight: import("../utils").WithInstall<import("vue").Def
|
|
42
42
|
required: true;
|
43
43
|
};
|
44
44
|
sourceString: {
|
45
|
-
type: import("vue").PropType<
|
45
|
+
type: import("vue").PropType<string>;
|
46
46
|
default: string;
|
47
47
|
};
|
48
48
|
tag: {
|
49
|
-
type: import("vue").PropType<
|
49
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
50
50
|
default: keyof HTMLElementTagNameMap;
|
51
51
|
};
|
52
52
|
unhighlightClass: StringConstructor;
|
53
53
|
unhighlightTag: {
|
54
|
-
type: import("vue").PropType<
|
54
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
55
55
|
default: keyof HTMLElementTagNameMap;
|
56
56
|
};
|
57
57
|
}>> & Readonly<{}>, {
|
package/es/icon/Icon.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { type BadgeProps } from '../badge';
|
|
3
3
|
export declare const iconProps: {
|
4
4
|
dot: BooleanConstructor;
|
5
5
|
tag: {
|
6
|
-
type: PropType<
|
6
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
7
7
|
default: keyof HTMLElementTagNameMap;
|
8
8
|
};
|
9
9
|
name: StringConstructor;
|
@@ -17,7 +17,7 @@ export type IconProps = ExtractPropTypes<typeof iconProps>;
|
|
17
17
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
18
18
|
dot: BooleanConstructor;
|
19
19
|
tag: {
|
20
|
-
type: PropType<
|
20
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
21
21
|
default: keyof HTMLElementTagNameMap;
|
22
22
|
};
|
23
23
|
name: StringConstructor;
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
29
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
30
30
|
dot: BooleanConstructor;
|
31
31
|
tag: {
|
32
|
-
type: PropType<
|
32
|
+
type: PropType<keyof HTMLElementTagNameMap>;
|
33
33
|
default: keyof HTMLElementTagNameMap;
|
34
34
|
};
|
35
35
|
name: StringConstructor;
|
package/es/icon/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare const Icon: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
2
|
dot: BooleanConstructor;
|
3
3
|
tag: {
|
4
|
-
type: import("vue").PropType<
|
4
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
5
5
|
default: keyof HTMLElementTagNameMap;
|
6
6
|
};
|
7
7
|
name: StringConstructor;
|
@@ -13,7 +13,7 @@ export declare const Icon: import("../utils").WithInstall<import("vue").DefineCo
|
|
13
13
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
14
14
|
dot: BooleanConstructor;
|
15
15
|
tag: {
|
16
|
-
type: import("vue").PropType<
|
16
|
+
type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
17
17
|
default: keyof HTMLElementTagNameMap;
|
18
18
|
};
|
19
19
|
name: StringConstructor;
|