vant 4.9.8 → 4.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/es/action-sheet/ActionSheet.d.ts +6 -6
- package/es/action-sheet/index.d.ts +4 -4
- package/es/address-edit/AddressEdit.d.ts +3 -3
- package/es/address-edit/index.d.ts +2 -2
- package/es/address-list/AddressList.d.ts +9 -9
- package/es/address-list/AddressListItem.d.ts +2 -2
- package/es/address-list/index.d.ts +6 -6
- package/es/area/Area.d.ts +3 -3
- package/es/area/index.d.ts +2 -2
- package/es/badge/Badge.d.ts +6 -6
- package/es/badge/index.d.ts +4 -4
- package/es/barrage/Barrage.d.ts +3 -3
- package/es/barrage/index.d.ts +2 -2
- package/es/button/Button.d.ts +15 -15
- package/es/button/index.d.ts +10 -10
- package/es/calendar/Calendar.d.ts +9 -9
- package/es/calendar/CalendarHeader.d.ts +2 -2
- package/es/calendar/CalendarHeader.mjs +1 -1
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +6 -6
- package/es/card/Card.d.ts +3 -3
- package/es/card/index.d.ts +2 -2
- package/es/cascader/Cascader.d.ts +6 -6
- package/es/cascader/index.d.ts +4 -4
- package/es/cell/Cell.d.ts +4 -4
- package/es/cell/index.d.ts +2 -2
- package/es/checkbox-group/CheckboxGroup.d.ts +6 -6
- package/es/checkbox-group/index.d.ts +4 -4
- package/es/circle/Circle.d.ts +6 -6
- package/es/circle/index.d.ts +4 -4
- package/es/col/Col.d.ts +3 -3
- package/es/col/index.d.ts +2 -2
- package/es/collapse-item/CollapseItem.d.ts +3 -3
- package/es/collapse-item/index.d.ts +2 -2
- package/es/composables/use-lazy-render.d.ts +1 -1
- package/es/config-provider/ConfigProvider.d.ts +9 -9
- package/es/config-provider/index.d.ts +6 -6
- package/es/contact-card/ContactCard.d.ts +3 -3
- package/es/contact-card/index.d.ts +2 -2
- package/es/count-down/CountDown.d.ts +3 -3
- package/es/count-down/index.d.ts +2 -2
- package/es/coupon/Coupon.d.ts +2 -2
- package/es/coupon/index.d.ts +2 -2
- package/es/coupon-cell/CouponCell.d.ts +6 -6
- package/es/coupon-cell/index.d.ts +4 -4
- package/es/coupon-list/CouponList.d.ts +12 -12
- package/es/coupon-list/index.d.ts +8 -8
- package/es/date-picker/DatePicker.d.ts +3 -3
- package/es/date-picker/index.d.ts +2 -2
- package/es/date-picker/utils.d.ts +1 -1
- package/es/dialog/Dialog.d.ts +16 -3
- package/es/dialog/Dialog.mjs +5 -1
- package/es/dialog/index.d.ts +11 -2
- package/es/divider/Divider.d.ts +3 -3
- package/es/divider/index.d.ts +2 -2
- package/es/dropdown-item/DropdownItem.d.ts +3 -3
- package/es/dropdown-item/index.d.ts +2 -2
- package/es/dropdown-menu/DropdownMenu.d.ts +3 -3
- package/es/dropdown-menu/index.d.ts +2 -2
- package/es/empty/Empty.d.ts +3 -3
- package/es/empty/index.d.ts +2 -2
- package/es/field/Field.d.ts +23 -19
- package/es/field/Field.mjs +6 -3
- package/es/field/index.d.ts +12 -10
- package/es/field/utils.d.ts +1 -1
- package/es/field/utils.mjs +6 -10
- package/es/floating-bubble/FloatingBubble.d.ts +3 -3
- package/es/floating-bubble/index.d.ts +2 -2
- package/es/floating-panel/FloatingPanel.d.ts +3 -3
- package/es/floating-panel/index.d.ts +2 -2
- package/es/highlight/Highlight.d.ts +12 -12
- package/es/highlight/index.d.ts +8 -8
- package/es/icon/Icon.d.ts +3 -3
- package/es/icon/index.d.ts +2 -2
- package/es/image/Image.d.ts +6 -6
- package/es/image/index.d.ts +4 -4
- package/es/image-preview/ImagePreview.d.ts +9 -9
- package/es/image-preview/index.d.ts +6 -6
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/List.d.ts +3 -3
- package/es/list/index.d.ts +2 -2
- package/es/loading/Loading.d.ts +3 -3
- package/es/loading/index.d.ts +2 -2
- package/es/notify/Notify.d.ts +6 -6
- package/es/notify/index.d.ts +4 -4
- package/es/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/es/number-keyboard/index.d.ts +4 -4
- package/es/pagination/Pagination.d.ts +3 -3
- package/es/pagination/index.d.ts +2 -2
- package/es/password-input/PasswordInput.d.ts +3 -3
- package/es/password-input/index.d.ts +2 -2
- package/es/picker/Picker.d.ts +9 -9
- package/es/picker/Picker.mjs +3 -0
- package/es/picker/PickerColumn.d.ts +2 -2
- package/es/picker/index.d.ts +6 -6
- package/es/picker-group/PickerGroup.d.ts +3 -3
- package/es/picker-group/index.d.ts +2 -2
- package/es/popover/Popover.d.ts +15 -15
- package/es/popover/index.d.ts +10 -10
- package/es/popup/Popup.d.ts +13 -9
- package/es/popup/Popup.mjs +8 -2
- package/es/popup/index.d.ts +9 -6
- package/es/rate/Rate.d.ts +6 -6
- package/es/rate/index.d.ts +4 -4
- package/es/rolling-text/RollingText.d.ts +9 -9
- package/es/rolling-text/RollingTextItem.d.ts +6 -6
- package/es/rolling-text/index.d.ts +6 -6
- package/es/row/Row.d.ts +3 -3
- package/es/row/index.d.ts +2 -2
- package/es/search/Search.d.ts +18 -15
- package/es/search/index.d.ts +12 -10
- package/es/share-sheet/ShareSheet.d.ts +3 -3
- package/es/share-sheet/index.d.ts +2 -2
- package/es/signature/Signature.d.ts +9 -9
- package/es/signature/index.d.ts +6 -6
- package/es/skeleton/Skeleton.d.ts +3 -3
- package/es/skeleton/index.d.ts +2 -2
- package/es/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
- package/es/skeleton-avatar/index.d.ts +2 -2
- package/es/skeleton-image/SkeletonImage.d.ts +3 -3
- package/es/skeleton-image/index.d.ts +2 -2
- package/es/steps/Steps.d.ts +6 -6
- package/es/steps/index.d.ts +4 -4
- package/es/sticky/Sticky.d.ts +3 -3
- package/es/sticky/index.d.ts +2 -2
- package/es/submit-bar/SubmitBar.d.ts +6 -6
- package/es/submit-bar/index.d.ts +4 -4
- package/es/tabs/Tabs.d.ts +3 -3
- package/es/tabs/index.d.ts +2 -2
- package/es/tag/Tag.d.ts +3 -3
- package/es/tag/index.d.ts +2 -2
- package/es/text-ellipsis/TextEllipsis.d.ts +15 -15
- package/es/text-ellipsis/index.d.ts +10 -10
- package/es/time-picker/TimePicker.d.ts +3 -3
- package/es/time-picker/index.d.ts +2 -2
- package/es/toast/Toast.d.ts +9 -9
- package/es/toast/index.d.ts +6 -6
- package/es/tree-select/TreeSelect.d.ts +6 -6
- package/es/tree-select/index.d.ts +4 -4
- package/es/uploader/Uploader.d.ts +15 -15
- package/es/uploader/index.d.ts +10 -10
- package/es/watermark/Watermark.d.ts +3 -3
- package/es/watermark/index.d.ts +2 -2
- package/lib/action-sheet/ActionSheet.d.ts +6 -6
- package/lib/action-sheet/index.d.ts +4 -4
- package/lib/address-edit/AddressEdit.d.ts +3 -3
- package/lib/address-edit/index.d.ts +2 -2
- package/lib/address-list/AddressList.d.ts +9 -9
- package/lib/address-list/AddressListItem.d.ts +2 -2
- package/lib/address-list/index.d.ts +6 -6
- package/lib/area/Area.d.ts +3 -3
- package/lib/area/index.d.ts +2 -2
- package/lib/badge/Badge.d.ts +6 -6
- package/lib/badge/index.d.ts +4 -4
- package/lib/barrage/Barrage.d.ts +3 -3
- package/lib/barrage/index.d.ts +2 -2
- package/lib/button/Button.d.ts +15 -15
- package/lib/button/index.d.ts +10 -10
- package/lib/calendar/Calendar.d.ts +9 -9
- package/lib/calendar/CalendarHeader.d.ts +2 -2
- package/lib/calendar/CalendarHeader.js +1 -1
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +6 -6
- package/lib/card/Card.d.ts +3 -3
- package/lib/card/index.d.ts +2 -2
- package/lib/cascader/Cascader.d.ts +6 -6
- package/lib/cascader/index.d.ts +4 -4
- package/lib/cell/Cell.d.ts +4 -4
- package/lib/cell/index.d.ts +2 -2
- package/lib/checkbox-group/CheckboxGroup.d.ts +6 -6
- package/lib/checkbox-group/index.d.ts +4 -4
- package/lib/circle/Circle.d.ts +6 -6
- package/lib/circle/index.d.ts +4 -4
- package/lib/col/Col.d.ts +3 -3
- package/lib/col/index.d.ts +2 -2
- package/lib/collapse-item/CollapseItem.d.ts +3 -3
- package/lib/collapse-item/index.d.ts +2 -2
- package/lib/composables/use-lazy-render.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +9 -9
- package/lib/config-provider/index.d.ts +6 -6
- package/lib/contact-card/ContactCard.d.ts +3 -3
- package/lib/contact-card/index.d.ts +2 -2
- package/lib/count-down/CountDown.d.ts +3 -3
- package/lib/count-down/index.d.ts +2 -2
- package/lib/coupon/Coupon.d.ts +2 -2
- package/lib/coupon/index.d.ts +2 -2
- package/lib/coupon-cell/CouponCell.d.ts +6 -6
- package/lib/coupon-cell/index.d.ts +4 -4
- package/lib/coupon-list/CouponList.d.ts +12 -12
- package/lib/coupon-list/index.d.ts +8 -8
- package/lib/date-picker/DatePicker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +2 -2
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/Dialog.d.ts +16 -3
- package/lib/dialog/Dialog.js +5 -1
- package/lib/dialog/index.d.ts +11 -2
- package/lib/divider/Divider.d.ts +3 -3
- package/lib/divider/index.d.ts +2 -2
- package/lib/dropdown-item/DropdownItem.d.ts +3 -3
- package/lib/dropdown-item/index.d.ts +2 -2
- package/lib/dropdown-menu/DropdownMenu.d.ts +3 -3
- package/lib/dropdown-menu/index.d.ts +2 -2
- package/lib/empty/Empty.d.ts +3 -3
- package/lib/empty/index.d.ts +2 -2
- package/lib/field/Field.d.ts +23 -19
- package/lib/field/Field.js +6 -3
- package/lib/field/index.d.ts +12 -10
- package/lib/field/utils.d.ts +1 -1
- package/lib/field/utils.js +6 -10
- package/lib/floating-bubble/FloatingBubble.d.ts +3 -3
- package/lib/floating-bubble/index.d.ts +2 -2
- package/lib/floating-panel/FloatingPanel.d.ts +3 -3
- package/lib/floating-panel/index.d.ts +2 -2
- package/lib/highlight/Highlight.d.ts +12 -12
- package/lib/highlight/index.d.ts +8 -8
- package/lib/icon/Icon.d.ts +3 -3
- package/lib/icon/index.d.ts +2 -2
- package/lib/image/Image.d.ts +6 -6
- package/lib/image/index.d.ts +4 -4
- package/lib/image-preview/ImagePreview.d.ts +9 -9
- package/lib/image-preview/index.d.ts +6 -6
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +3 -3
- package/lib/list/index.d.ts +2 -2
- package/lib/loading/Loading.d.ts +3 -3
- package/lib/loading/index.d.ts +2 -2
- package/lib/notify/Notify.d.ts +6 -6
- package/lib/notify/index.d.ts +4 -4
- package/lib/number-keyboard/NumberKeyboard.d.ts +6 -6
- package/lib/number-keyboard/index.d.ts +4 -4
- package/lib/pagination/Pagination.d.ts +3 -3
- package/lib/pagination/index.d.ts +2 -2
- package/lib/password-input/PasswordInput.d.ts +3 -3
- package/lib/password-input/index.d.ts +2 -2
- package/lib/picker/Picker.d.ts +9 -9
- package/lib/picker/Picker.js +3 -0
- package/lib/picker/PickerColumn.d.ts +2 -2
- package/lib/picker/index.d.ts +6 -6
- package/lib/picker-group/PickerGroup.d.ts +3 -3
- package/lib/picker-group/index.d.ts +2 -2
- package/lib/popover/Popover.d.ts +15 -15
- package/lib/popover/index.d.ts +10 -10
- package/lib/popup/Popup.d.ts +13 -9
- package/lib/popup/Popup.js +8 -2
- package/lib/popup/index.d.ts +9 -6
- package/lib/rate/Rate.d.ts +6 -6
- package/lib/rate/index.d.ts +4 -4
- package/lib/rolling-text/RollingText.d.ts +9 -9
- package/lib/rolling-text/RollingTextItem.d.ts +6 -6
- package/lib/rolling-text/index.d.ts +6 -6
- package/lib/row/Row.d.ts +3 -3
- package/lib/row/index.d.ts +2 -2
- package/lib/search/Search.d.ts +18 -15
- package/lib/search/index.d.ts +12 -10
- package/lib/share-sheet/ShareSheet.d.ts +3 -3
- package/lib/share-sheet/index.d.ts +2 -2
- package/lib/signature/Signature.d.ts +9 -9
- package/lib/signature/index.d.ts +6 -6
- package/lib/skeleton/Skeleton.d.ts +3 -3
- package/lib/skeleton/index.d.ts +2 -2
- package/lib/skeleton-avatar/SkeletonAvatar.d.ts +3 -3
- package/lib/skeleton-avatar/index.d.ts +2 -2
- package/lib/skeleton-image/SkeletonImage.d.ts +3 -3
- package/lib/skeleton-image/index.d.ts +2 -2
- package/lib/steps/Steps.d.ts +6 -6
- package/lib/steps/index.d.ts +4 -4
- package/lib/sticky/Sticky.d.ts +3 -3
- package/lib/sticky/index.d.ts +2 -2
- package/lib/submit-bar/SubmitBar.d.ts +6 -6
- package/lib/submit-bar/index.d.ts +4 -4
- package/lib/tabs/Tabs.d.ts +3 -3
- package/lib/tabs/index.d.ts +2 -2
- package/lib/tag/Tag.d.ts +3 -3
- package/lib/tag/index.d.ts +2 -2
- package/lib/text-ellipsis/TextEllipsis.d.ts +15 -15
- package/lib/text-ellipsis/index.d.ts +10 -10
- package/lib/time-picker/TimePicker.d.ts +3 -3
- package/lib/time-picker/index.d.ts +2 -2
- package/lib/toast/Toast.d.ts +9 -9
- package/lib/toast/index.d.ts +6 -6
- package/lib/tree-select/TreeSelect.d.ts +6 -6
- package/lib/tree-select/index.d.ts +4 -4
- package/lib/uploader/Uploader.d.ts +15 -15
- package/lib/uploader/index.d.ts +10 -10
- package/lib/vant.cjs.js +30 -18
- package/lib/vant.es.js +30 -18
- package/lib/vant.js +1781 -1829
- package/lib/vant.min.js +3 -3
- package/lib/watermark/Watermark.d.ts +3 -3
- package/lib/watermark/index.d.ts +2 -2
- package/lib/web-types.json +1 -1
- package/package.json +14 -14
package/lib/field/Field.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { type PropType, type ExtractPropTypes } from 'vue';
|
1
|
+
import { type PropType, type ExtractPropTypes, type HTMLAttributes } from 'vue';
|
2
2
|
import type { FieldRule, FieldType, FieldTextAlign, FieldClearTrigger, FieldFormatTrigger, FieldAutosizeConfig } from './types';
|
3
3
|
export declare const fieldSharedProps: {
|
4
4
|
id: StringConstructor;
|
@@ -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<T>;
|
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<T>;
|
31
31
|
default: FieldClearTrigger;
|
32
32
|
};
|
33
33
|
formatTrigger: {
|
34
|
-
type: PropType<
|
34
|
+
type: PropType<T>;
|
35
35
|
default: FieldFormatTrigger;
|
36
36
|
};
|
37
37
|
spellcheck: {
|
@@ -50,10 +50,11 @@ export declare const fieldSharedProps: {
|
|
50
50
|
type: BooleanConstructor;
|
51
51
|
default: null;
|
52
52
|
};
|
53
|
+
inputmode: PropType<HTMLAttributes["inputmode"]>;
|
53
54
|
};
|
54
55
|
export declare const fieldProps: {
|
55
56
|
tag: {
|
56
|
-
type: PropType<
|
57
|
+
type: PropType<T>;
|
57
58
|
default: keyof HTMLElementTagNameMap;
|
58
59
|
};
|
59
60
|
icon: StringConstructor;
|
@@ -93,7 +94,7 @@ export declare const fieldProps: {
|
|
93
94
|
min: NumberConstructor;
|
94
95
|
formatter: PropType<(value: string) => string>;
|
95
96
|
clearIcon: {
|
96
|
-
type: PropType<
|
97
|
+
type: PropType<T>;
|
97
98
|
default: string;
|
98
99
|
};
|
99
100
|
modelValue: {
|
@@ -108,11 +109,11 @@ export declare const fieldProps: {
|
|
108
109
|
errorMessage: StringConstructor;
|
109
110
|
enterkeyhint: StringConstructor;
|
110
111
|
clearTrigger: {
|
111
|
-
type: PropType<
|
112
|
+
type: PropType<T>;
|
112
113
|
default: FieldClearTrigger;
|
113
114
|
};
|
114
115
|
formatTrigger: {
|
115
|
-
type: PropType<
|
116
|
+
type: PropType<T>;
|
116
117
|
default: FieldFormatTrigger;
|
117
118
|
};
|
118
119
|
spellcheck: {
|
@@ -131,10 +132,11 @@ export declare const fieldProps: {
|
|
131
132
|
type: BooleanConstructor;
|
132
133
|
default: null;
|
133
134
|
};
|
135
|
+
inputmode: PropType<HTMLAttributes["inputmode"]>;
|
134
136
|
} & {
|
135
137
|
rows: (NumberConstructor | StringConstructor)[];
|
136
138
|
type: {
|
137
|
-
type: PropType<
|
139
|
+
type: PropType<T>;
|
138
140
|
default: FieldType;
|
139
141
|
};
|
140
142
|
rules: PropType<FieldRule[]>;
|
@@ -152,7 +154,7 @@ export declare const fieldProps: {
|
|
152
154
|
export type FieldProps = ExtractPropTypes<typeof fieldProps>;
|
153
155
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
154
156
|
tag: {
|
155
|
-
type: PropType<
|
157
|
+
type: PropType<T>;
|
156
158
|
default: keyof HTMLElementTagNameMap;
|
157
159
|
};
|
158
160
|
icon: StringConstructor;
|
@@ -192,7 +194,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
192
194
|
min: NumberConstructor;
|
193
195
|
formatter: PropType<(value: string) => string>;
|
194
196
|
clearIcon: {
|
195
|
-
type: PropType<
|
197
|
+
type: PropType<T>;
|
196
198
|
default: string;
|
197
199
|
};
|
198
200
|
modelValue: {
|
@@ -207,11 +209,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
207
209
|
errorMessage: StringConstructor;
|
208
210
|
enterkeyhint: StringConstructor;
|
209
211
|
clearTrigger: {
|
210
|
-
type: PropType<
|
212
|
+
type: PropType<T>;
|
211
213
|
default: FieldClearTrigger;
|
212
214
|
};
|
213
215
|
formatTrigger: {
|
214
|
-
type: PropType<
|
216
|
+
type: PropType<T>;
|
215
217
|
default: FieldFormatTrigger;
|
216
218
|
};
|
217
219
|
spellcheck: {
|
@@ -230,10 +232,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
230
232
|
type: BooleanConstructor;
|
231
233
|
default: null;
|
232
234
|
};
|
235
|
+
inputmode: PropType<HTMLAttributes["inputmode"]>;
|
233
236
|
} & {
|
234
237
|
rows: (NumberConstructor | StringConstructor)[];
|
235
238
|
type: {
|
236
|
-
type: PropType<
|
239
|
+
type: PropType<T>;
|
237
240
|
default: FieldType;
|
238
241
|
};
|
239
242
|
rules: PropType<FieldRule[]>;
|
@@ -249,7 +252,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
249
252
|
};
|
250
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<{
|
251
254
|
tag: {
|
252
|
-
type: PropType<
|
255
|
+
type: PropType<T>;
|
253
256
|
default: keyof HTMLElementTagNameMap;
|
254
257
|
};
|
255
258
|
icon: StringConstructor;
|
@@ -289,7 +292,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
289
292
|
min: NumberConstructor;
|
290
293
|
formatter: PropType<(value: string) => string>;
|
291
294
|
clearIcon: {
|
292
|
-
type: PropType<
|
295
|
+
type: PropType<T>;
|
293
296
|
default: string;
|
294
297
|
};
|
295
298
|
modelValue: {
|
@@ -304,11 +307,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
304
307
|
errorMessage: StringConstructor;
|
305
308
|
enterkeyhint: StringConstructor;
|
306
309
|
clearTrigger: {
|
307
|
-
type: PropType<
|
310
|
+
type: PropType<T>;
|
308
311
|
default: FieldClearTrigger;
|
309
312
|
};
|
310
313
|
formatTrigger: {
|
311
|
-
type: PropType<
|
314
|
+
type: PropType<T>;
|
312
315
|
default: FieldFormatTrigger;
|
313
316
|
};
|
314
317
|
spellcheck: {
|
@@ -327,10 +330,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
327
330
|
type: BooleanConstructor;
|
328
331
|
default: null;
|
329
332
|
};
|
333
|
+
inputmode: PropType<HTMLAttributes["inputmode"]>;
|
330
334
|
} & {
|
331
335
|
rows: (NumberConstructor | StringConstructor)[];
|
332
336
|
type: {
|
333
|
-
type: PropType<
|
337
|
+
type: PropType<T>;
|
334
338
|
default: FieldType;
|
335
339
|
};
|
336
340
|
rules: PropType<FieldRule[]>;
|
package/lib/field/Field.js
CHANGED
@@ -69,7 +69,8 @@ const fieldSharedProps = {
|
|
69
69
|
readonly: {
|
70
70
|
type: Boolean,
|
71
71
|
default: null
|
72
|
-
}
|
72
|
+
},
|
73
|
+
inputmode: String
|
73
74
|
};
|
74
75
|
const fieldProps = (0, import_utils.extend)({}, import_Cell.cellSharedProps, fieldSharedProps, {
|
75
76
|
rows: import_utils.numericProp,
|
@@ -412,9 +413,11 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
412
413
|
onCompositionstart: import_utils2.startComposing
|
413
414
|
};
|
414
415
|
if (props.type === "textarea") {
|
415
|
-
return (0, import_vue.createVNode)("textarea", inputAttrs,
|
416
|
+
return (0, import_vue.createVNode)("textarea", (0, import_vue.mergeProps)(inputAttrs, {
|
417
|
+
"inputmode": props.inputmode
|
418
|
+
}), null);
|
416
419
|
}
|
417
|
-
return (0, import_vue.createVNode)("input", (0, import_vue.mergeProps)((0, import_utils2.mapInputType)(props.type), inputAttrs), null);
|
420
|
+
return (0, import_vue.createVNode)("input", (0, import_vue.mergeProps)((0, import_utils2.mapInputType)(props.type, props.inputmode), inputAttrs), null);
|
418
421
|
};
|
419
422
|
const renderLeftIcon = () => {
|
420
423
|
const leftIconSlot = slots["left-icon"];
|
package/lib/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<T>;
|
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<T>;
|
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<T>;
|
60
60
|
default: import("./types").FieldClearTrigger;
|
61
61
|
};
|
62
62
|
formatTrigger: {
|
63
|
-
type: import("vue").PropType<
|
63
|
+
type: import("vue").PropType<T>;
|
64
64
|
default: import("./types").FieldFormatTrigger;
|
65
65
|
};
|
66
66
|
spellcheck: {
|
@@ -79,10 +79,11 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
79
79
|
type: BooleanConstructor;
|
80
80
|
default: null;
|
81
81
|
};
|
82
|
+
inputmode: import("vue").PropType<import("vue").HTMLAttributes["inputmode"]>;
|
82
83
|
} & {
|
83
84
|
rows: (NumberConstructor | StringConstructor)[];
|
84
85
|
type: {
|
85
|
-
type: import("vue").PropType<
|
86
|
+
type: import("vue").PropType<T>;
|
86
87
|
default: import("./types").FieldType;
|
87
88
|
};
|
88
89
|
rules: import("vue").PropType<import("./types").FieldRule[]>;
|
@@ -98,7 +99,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
98
99
|
};
|
99
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<{
|
100
101
|
tag: {
|
101
|
-
type: import("vue").PropType<
|
102
|
+
type: import("vue").PropType<T>;
|
102
103
|
default: keyof HTMLElementTagNameMap;
|
103
104
|
};
|
104
105
|
icon: StringConstructor;
|
@@ -138,7 +139,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
138
139
|
min: NumberConstructor;
|
139
140
|
formatter: import("vue").PropType<(value: string) => string>;
|
140
141
|
clearIcon: {
|
141
|
-
type: import("vue").PropType<
|
142
|
+
type: import("vue").PropType<T>;
|
142
143
|
default: string;
|
143
144
|
};
|
144
145
|
modelValue: {
|
@@ -153,11 +154,11 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
153
154
|
errorMessage: StringConstructor;
|
154
155
|
enterkeyhint: StringConstructor;
|
155
156
|
clearTrigger: {
|
156
|
-
type: import("vue").PropType<
|
157
|
+
type: import("vue").PropType<T>;
|
157
158
|
default: import("./types").FieldClearTrigger;
|
158
159
|
};
|
159
160
|
formatTrigger: {
|
160
|
-
type: import("vue").PropType<
|
161
|
+
type: import("vue").PropType<T>;
|
161
162
|
default: import("./types").FieldFormatTrigger;
|
162
163
|
};
|
163
164
|
spellcheck: {
|
@@ -176,10 +177,11 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
176
177
|
type: BooleanConstructor;
|
177
178
|
default: null;
|
178
179
|
};
|
180
|
+
inputmode: import("vue").PropType<import("vue").HTMLAttributes["inputmode"]>;
|
179
181
|
} & {
|
180
182
|
rows: (NumberConstructor | StringConstructor)[];
|
181
183
|
type: {
|
182
|
-
type: import("vue").PropType<
|
184
|
+
type: import("vue").PropType<T>;
|
183
185
|
default: import("./types").FieldType;
|
184
186
|
};
|
185
187
|
rules: import("vue").PropType<import("./types").FieldRule[]>;
|
package/lib/field/utils.d.ts
CHANGED
@@ -7,7 +7,7 @@ export declare function getRuleMessage(value: unknown, rule: FieldRule): string;
|
|
7
7
|
export declare function startComposing({ target }: Event): void;
|
8
8
|
export declare function endComposing({ target }: Event): void;
|
9
9
|
export declare function resizeTextarea(input: HTMLInputElement, autosize: true | FieldAutosizeConfig): void;
|
10
|
-
export declare function mapInputType(type: FieldType): {
|
10
|
+
export declare function mapInputType(type: FieldType, inputmode?: HTMLAttributes['inputmode']): {
|
11
11
|
type: InputHTMLAttributes['type'];
|
12
12
|
inputmode?: HTMLAttributes['inputmode'];
|
13
13
|
};
|
package/lib/field/utils.js
CHANGED
@@ -97,20 +97,16 @@ function resizeTextarea(input, autosize) {
|
|
97
97
|
(0, import_utils.setRootScrollTop)(scrollTop);
|
98
98
|
}
|
99
99
|
}
|
100
|
-
function mapInputType(type) {
|
100
|
+
function mapInputType(type, inputmode) {
|
101
101
|
if (type === "number") {
|
102
|
-
|
103
|
-
|
104
|
-
inputmode: "decimal"
|
105
|
-
};
|
102
|
+
type = "text";
|
103
|
+
inputmode != null ? inputmode : inputmode = "decimal";
|
106
104
|
}
|
107
105
|
if (type === "digit") {
|
108
|
-
|
109
|
-
|
110
|
-
inputmode: "numeric"
|
111
|
-
};
|
106
|
+
type = "tel";
|
107
|
+
inputmode != null ? inputmode : inputmode = "numeric";
|
112
108
|
}
|
113
|
-
return { type };
|
109
|
+
return { type, inputmode };
|
114
110
|
}
|
115
111
|
function getStringLength(str) {
|
116
112
|
return [...str].length;
|
@@ -7,7 +7,7 @@ export declare const floatingBubbleProps: {
|
|
7
7
|
};
|
8
8
|
icon: StringConstructor;
|
9
9
|
axis: {
|
10
|
-
type: PropType<
|
10
|
+
type: PropType<T>;
|
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<T>;
|
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<T>;
|
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<T>;
|
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<T>;
|
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<T[]>;
|
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<T[]>;
|
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<T[]>;
|
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<T[]>;
|
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<T[]>;
|
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<T>;
|
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<T>;
|
19
19
|
default: string;
|
20
20
|
};
|
21
21
|
tag: {
|
22
|
-
type: PropType<
|
22
|
+
type: PropType<T>;
|
23
23
|
default: keyof HTMLElementTagNameMap;
|
24
24
|
};
|
25
25
|
unhighlightClass: StringConstructor;
|
26
26
|
unhighlightTag: {
|
27
|
-
type: PropType<
|
27
|
+
type: PropType<T>;
|
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<T>;
|
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<T>;
|
49
49
|
default: string;
|
50
50
|
};
|
51
51
|
tag: {
|
52
|
-
type: PropType<
|
52
|
+
type: PropType<T>;
|
53
53
|
default: keyof HTMLElementTagNameMap;
|
54
54
|
};
|
55
55
|
unhighlightClass: StringConstructor;
|
56
56
|
unhighlightTag: {
|
57
|
-
type: PropType<
|
57
|
+
type: PropType<T>;
|
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<T>;
|
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<T>;
|
77
77
|
default: string;
|
78
78
|
};
|
79
79
|
tag: {
|
80
|
-
type: PropType<
|
80
|
+
type: PropType<T>;
|
81
81
|
default: keyof HTMLElementTagNameMap;
|
82
82
|
};
|
83
83
|
unhighlightClass: StringConstructor;
|
84
84
|
unhighlightTag: {
|
85
|
-
type: PropType<
|
85
|
+
type: PropType<T>;
|
86
86
|
default: keyof HTMLElementTagNameMap;
|
87
87
|
};
|
88
88
|
}>> & Readonly<{}>, {
|
package/lib/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<T>;
|
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<T>;
|
18
18
|
default: string;
|
19
19
|
};
|
20
20
|
tag: {
|
21
|
-
type: import("vue").PropType<
|
21
|
+
type: import("vue").PropType<T>;
|
22
22
|
default: keyof HTMLElementTagNameMap;
|
23
23
|
};
|
24
24
|
unhighlightClass: StringConstructor;
|
25
25
|
unhighlightTag: {
|
26
|
-
type: import("vue").PropType<
|
26
|
+
type: import("vue").PropType<T>;
|
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<T>;
|
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<T>;
|
46
46
|
default: string;
|
47
47
|
};
|
48
48
|
tag: {
|
49
|
-
type: import("vue").PropType<
|
49
|
+
type: import("vue").PropType<T>;
|
50
50
|
default: keyof HTMLElementTagNameMap;
|
51
51
|
};
|
52
52
|
unhighlightClass: StringConstructor;
|
53
53
|
unhighlightTag: {
|
54
|
-
type: import("vue").PropType<
|
54
|
+
type: import("vue").PropType<T>;
|
55
55
|
default: keyof HTMLElementTagNameMap;
|
56
56
|
};
|
57
57
|
}>> & Readonly<{}>, {
|
package/lib/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<T>;
|
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<T>;
|
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<T>;
|
33
33
|
default: keyof HTMLElementTagNameMap;
|
34
34
|
};
|
35
35
|
name: StringConstructor;
|
package/lib/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<T>;
|
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<T>;
|
17
17
|
default: keyof HTMLElementTagNameMap;
|
18
18
|
};
|
19
19
|
name: StringConstructor;
|
package/lib/image/Image.d.ts
CHANGED
@@ -17,7 +17,7 @@ export declare const imageProps: {
|
|
17
17
|
default: true;
|
18
18
|
};
|
19
19
|
errorIcon: {
|
20
|
-
type: PropType<
|
20
|
+
type: PropType<T>;
|
21
21
|
default: string;
|
22
22
|
};
|
23
23
|
iconPrefix: StringConstructor;
|
@@ -26,7 +26,7 @@ export declare const imageProps: {
|
|
26
26
|
default: true;
|
27
27
|
};
|
28
28
|
loadingIcon: {
|
29
|
-
type: PropType<
|
29
|
+
type: PropType<T>;
|
30
30
|
default: string;
|
31
31
|
};
|
32
32
|
crossorigin: PropType<ImgHTMLAttributes["crossorigin"]>;
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
50
50
|
default: true;
|
51
51
|
};
|
52
52
|
errorIcon: {
|
53
|
-
type: PropType<
|
53
|
+
type: PropType<T>;
|
54
54
|
default: string;
|
55
55
|
};
|
56
56
|
iconPrefix: StringConstructor;
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
59
59
|
default: true;
|
60
60
|
};
|
61
61
|
loadingIcon: {
|
62
|
-
type: PropType<
|
62
|
+
type: PropType<T>;
|
63
63
|
default: string;
|
64
64
|
};
|
65
65
|
crossorigin: PropType<ImgHTMLAttributes["crossorigin"]>;
|
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
81
81
|
default: true;
|
82
82
|
};
|
83
83
|
errorIcon: {
|
84
|
-
type: PropType<
|
84
|
+
type: PropType<T>;
|
85
85
|
default: string;
|
86
86
|
};
|
87
87
|
iconPrefix: StringConstructor;
|
@@ -90,7 +90,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
90
90
|
default: true;
|
91
91
|
};
|
92
92
|
loadingIcon: {
|
93
|
-
type: PropType<
|
93
|
+
type: PropType<T>;
|
94
94
|
default: string;
|
95
95
|
};
|
96
96
|
crossorigin: PropType<ImgHTMLAttributes["crossorigin"]>;
|