yc-design-vue 2.0.4 → 2.0.5
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/dist/index.umd.js +1 -0
- package/dist/style.css +1 -0
- package/es/Affix/index.vue.js +1 -1
- package/es/Anchor/Anchor.vue.js +2 -2
- package/es/Anchor/AnchorLink.vue.js +2 -2
- package/es/Anchor/hooks/useContext.d.ts +2 -2
- package/es/Anchor/hooks/useContext.js +3 -3
- package/es/AutoComplete/index.d.ts +24 -24
- package/es/AutoComplete/index.vue.d.ts +40 -40
- package/es/Avatar/Avatar.vue.js +3 -3
- package/es/Avatar/AvatarGroup.vue.js +2 -2
- package/es/Avatar/hooks/useContext.d.ts +1 -2
- package/es/Avatar/hooks/useContext.js +3 -3
- package/es/BackTop/index.vue.js +1 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/es/Button/Button.vue.js +2 -2
- package/es/Button/ButtonGroup.vue.js +2 -2
- package/es/Button/hooks/useContext.d.ts +1 -2
- package/es/Button/hooks/useContext.js +3 -3
- package/es/Card/Card.vue.js +2 -2
- package/es/Card/CardMeta.vue.js +2 -2
- package/es/Card/hooks/useContext.d.ts +2 -2
- package/es/Card/hooks/useContext.js +3 -3
- package/es/Carousel/Carousel.vue.js +2 -2
- package/es/Carousel/CarouselArrow.vue.js +2 -2
- package/es/Carousel/CarouselIndicator.vue.js +2 -2
- package/es/Carousel/CarouselItem.vue.js +2 -2
- package/es/Carousel/hooks/useContext.d.ts +2 -2
- package/es/Carousel/hooks/useContext.js +3 -3
- package/es/Cascader/Cascader.vue.d.ts +18 -18
- package/es/Cascader/Cascader.vue.js +2 -2
- package/es/Cascader/CascaderIcon.vue.js +2 -2
- package/es/Cascader/CascaderOption.vue.js +2 -2
- package/es/Cascader/CascaderPanel.vue.js +2 -2
- package/es/Cascader/CascaderSearchPanel.vue.js +2 -2
- package/es/Cascader/hooks/useContext.d.ts +2 -2
- package/es/Cascader/hooks/useContext.js +3 -3
- package/es/Cascader/index.d.ts +21 -21
- package/es/Checkbox/Checkbox.vue.js +2 -2
- package/es/Checkbox/CheckboxGroup.vue.js +2 -2
- package/es/Checkbox/hooks/useContext.d.ts +2 -2
- package/es/Checkbox/hooks/useContext.js +3 -3
- package/es/Collapse/Collapse.vue.js +2 -2
- package/es/Collapse/CollapseItem.vue.js +2 -2
- package/es/Collapse/hooks/useContext.d.ts +1 -2
- package/es/Collapse/hooks/useContext.js +3 -3
- package/es/ColorPicker/ColorControl.vue.js +1 -1
- package/es/ColorPicker/ColorPalette.vue.js +1 -1
- package/es/ColorPicker/ColorPanel.vue.js +2 -2
- package/es/ColorPicker/ColorPicker.vue.js +2 -2
- package/es/ColorPicker/hooks/useContext.d.ts +2 -2
- package/es/ColorPicker/hooks/useContext.js +3 -3
- package/es/Comment/hooks/useContext.d.ts +1 -2
- package/es/Comment/hooks/useContext.js +3 -3
- package/es/Comment/index.vue.js +2 -2
- package/es/Descriptions/Descriptions.vue.js +2 -2
- package/es/Descriptions/ReuseItem.vue.js +2 -2
- package/es/Descriptions/ReuseTd.vue.js +2 -2
- package/es/Descriptions/hooks/useContext.d.ts +2 -2
- package/es/Descriptions/hooks/useContext.js +3 -3
- package/es/Dropdown/Doption.vue.js +2 -2
- package/es/Dropdown/Dropdown.vue.d.ts +2 -2
- package/es/Dropdown/Dropdown.vue.js +2 -2
- package/es/Dropdown/DropdownButton.vue.d.ts +2 -2
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Dropdown/hooks/useContext.d.ts +2 -2
- package/es/Dropdown/hooks/useContext.js +3 -3
- package/es/Dropdown/index.d.ts +10 -10
- package/es/Grid/Grid.vue.js +2 -2
- package/es/Grid/GridCol.vue.js +2 -2
- package/es/Grid/GridItem.vue.js +2 -2
- package/es/Grid/GridRow.vue.js +2 -2
- package/es/Grid/hooks/useContext.d.ts +1 -2
- package/es/Grid/hooks/useContext.js +3 -3
- package/es/Image/Image.vue.js +2 -2
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreviewGroup.vue.js +2 -2
- package/es/Image/hooks/useContext.d.ts +2 -2
- package/es/Image/hooks/useContext.js +3 -3
- package/es/Input/Input.vue.d.ts +2 -2
- package/es/Input/InputSuffix.vue.js +2 -2
- package/es/Input/index.d.ts +5 -5
- package/es/InputNumber/InputNumber.vue.d.ts +14 -14
- package/es/InputNumber/index.d.ts +11 -11
- package/es/InputTag/index.d.ts +5 -5
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/InputTag/index.vue.js +1 -1
- package/es/Layout/LayoutSider.vue.js +2 -2
- package/es/Layout/hooks/useSiderContext.d.ts +1 -2
- package/es/Layout/hooks/useSiderContext.js +3 -3
- package/es/List/hooks/useScrollReach.js +1 -0
- package/es/Mention/index.d.ts +30 -30
- package/es/Mention/index.vue.d.ts +52 -52
- package/es/Menu/MenuItem.vue.js +1 -1
- package/es/Menu/hooks/useContext.d.ts +2 -2
- package/es/Menu/hooks/useContext.js +5 -5
- package/es/OverflowList/index.vue.js +2 -2
- package/es/Pagination/Pagination.vue.js +2 -2
- package/es/Pagination/PaginationItem.vue.js +2 -2
- package/es/Pagination/hooks/useContext.d.ts +2 -2
- package/es/Pagination/hooks/useContext.js +3 -3
- package/es/Popconfirm/index.d.ts +5 -5
- package/es/Popconfirm/index.vue.d.ts +2 -2
- package/es/Radio/Radio.vue.js +2 -2
- package/es/Radio/RadioGroup.vue.js +2 -2
- package/es/Radio/hooks/useContext.d.ts +2 -2
- package/es/Radio/hooks/useContext.js +3 -3
- package/es/Scrollbar/Scrollbar.vue.js +2 -2
- package/es/Scrollbar/ScrollbarTrack.vue.js +2 -2
- package/es/Scrollbar/hooks/useContext.d.ts +2 -2
- package/es/Scrollbar/hooks/useContext.js +3 -3
- package/es/Select/Option.vue.js +2 -2
- package/es/Select/Select.vue.d.ts +16 -16
- package/es/Select/Select.vue.js +2 -2
- package/es/Select/SelectIcon.vue.js +2 -2
- package/es/Select/SelectRealList.vue.js +2 -2
- package/es/Select/SelectView.vue.js +2 -2
- package/es/Select/SelectVirtualList.vue.js +3 -3
- package/es/Select/hooks/useContext.d.ts +2 -2
- package/es/Select/hooks/useContext.js +3 -3
- package/es/Select/index.d.ts +16 -16
- package/es/Slider/Slider.vue.js +2 -2
- package/es/Slider/SliderBtn.vue.js +2 -2
- package/es/Slider/SliderInput.vue.js +2 -2
- package/es/Slider/SliderTicks.vue.js +2 -2
- package/es/Slider/hooks/useContext.d.ts +2 -2
- package/es/Slider/hooks/useContext.js +3 -3
- package/es/Spin/index.vue.js +1 -1
- package/es/Steps/Step.vue.js +2 -2
- package/es/Steps/Steps.vue.js +2 -2
- package/es/Steps/hooks/useContext.d.ts +1 -2
- package/es/Steps/hooks/useContext.js +3 -3
- package/es/Switch/index.d.ts +5 -5
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Tabs/TabPane.vue.js +2 -2
- package/es/Tabs/Tabs.vue.js +2 -2
- package/es/Tabs/TabsNavInk.vue.js +2 -2
- package/es/Tabs/TabsTab.vue.js +2 -2
- package/es/Tabs/hooks/useContext.d.ts +2 -2
- package/es/Tabs/hooks/useContext.js +3 -3
- package/es/Textarea/hooks/useTextareaHeight.js +1 -1
- package/es/Textarea/index.d.ts +5 -5
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +4 -4
- package/es/TimePicker/TimePicker.vue.js +2 -2
- package/es/TimePicker/TimePickerPanel.vue.js +2 -2
- package/es/TimePicker/hooks/useContext.d.ts +2 -2
- package/es/TimePicker/hooks/useContext.js +3 -3
- package/es/TimePicker/index.d.ts +10 -10
- package/es/Timeline/Timeline.vue.js +2 -2
- package/es/Timeline/TimelineItem.vue.js +2 -2
- package/es/Timeline/hooks/useContext.d.ts +2 -2
- package/es/Timeline/hooks/useContext.js +3 -3
- package/es/Transfer/Transfer.vue.js +2 -2
- package/es/Transfer/TransferPanel.vue.js +2 -2
- package/es/Transfer/hooks/useContext.d.ts +2 -2
- package/es/Transfer/hooks/useContext.js +3 -3
- package/es/Trigger/hooks/useContext.d.ts +2 -3
- package/es/Trigger/hooks/useContext.js +4 -4
- package/es/Trigger/hooks/useTriggerPosition.js +1 -1
- package/es/Trigger/hooks/useTriggerVisible.js +2 -2
- package/es/Typography/TypographyBase.vue.d.ts +12 -12
- package/es/Typography/TypographyBase.vue.js +3 -3
- package/es/Watermark/index.vue.js +1 -1
- package/es/_shared/icons/IconCopy.vue.js +19 -1
- package/es/_shared/icons/IconCopy.vue2.js +1 -19
- package/es/_shared/icons/IconEdit.vue.js +19 -1
- package/es/_shared/icons/IconEdit.vue2.js +1 -19
- package/es/_shared/icons/IconEyeClose.vue.js +1 -23
- package/es/_shared/icons/IconEyeClose.vue2.js +23 -1
- package/es/_shared/icons/IconEyeOpen.vue.js +1 -20
- package/es/_shared/icons/IconEyeOpen.vue2.js +20 -1
- package/es/_shared/icons/IconSeparator.vue.js +1 -19
- package/es/_shared/icons/IconSeparator.vue2.js +19 -1
- package/es/_shared/utils/is.d.ts +0 -15
- package/es/_shared/utils/vue-utils.d.ts +1 -0
- package/es/index.d.ts +5 -5
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Anchor/hooks/useContext.d.ts +2 -2
- package/lib/Anchor/hooks/useContext.js +1 -1
- package/lib/AutoComplete/index.d.ts +24 -24
- package/lib/AutoComplete/index.vue.d.ts +40 -40
- package/lib/Avatar/Avatar.vue.js +1 -1
- package/lib/Avatar/hooks/useContext.d.ts +1 -2
- package/lib/Avatar/hooks/useContext.js +1 -1
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
- package/lib/Button/hooks/useContext.d.ts +1 -2
- package/lib/Button/hooks/useContext.js +1 -1
- package/lib/Card/hooks/useContext.d.ts +2 -2
- package/lib/Card/hooks/useContext.js +1 -1
- package/lib/Carousel/hooks/useContext.d.ts +2 -2
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +18 -18
- package/lib/Cascader/hooks/useContext.d.ts +2 -2
- package/lib/Cascader/hooks/useContext.js +1 -1
- package/lib/Cascader/index.d.ts +21 -21
- package/lib/Checkbox/hooks/useContext.d.ts +2 -2
- package/lib/Checkbox/hooks/useContext.js +1 -1
- package/lib/Collapse/hooks/useContext.d.ts +1 -2
- package/lib/Collapse/hooks/useContext.js +1 -1
- package/lib/ColorPicker/ColorControl.vue.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue.js +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
- package/lib/ColorPicker/hooks/useContext.js +1 -1
- package/lib/Comment/hooks/useContext.d.ts +1 -2
- package/lib/Comment/hooks/useContext.js +1 -1
- package/lib/Descriptions/hooks/useContext.d.ts +2 -2
- package/lib/Descriptions/hooks/useContext.js +1 -1
- package/lib/Dropdown/Dropdown.vue.d.ts +2 -2
- package/lib/Dropdown/DropdownButton.vue.d.ts +2 -2
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/hooks/useContext.d.ts +2 -2
- package/lib/Dropdown/hooks/useContext.js +1 -1
- package/lib/Dropdown/index.d.ts +10 -10
- package/lib/Grid/hooks/useContext.d.ts +1 -2
- package/lib/Grid/hooks/useContext.js +1 -1
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/hooks/useContext.d.ts +2 -2
- package/lib/Image/hooks/useContext.js +1 -1
- package/lib/Input/Input.vue.d.ts +2 -2
- package/lib/Input/InputSuffix.vue.js +1 -1
- package/lib/Input/index.d.ts +5 -5
- package/lib/InputNumber/InputNumber.vue.d.ts +14 -14
- package/lib/InputNumber/index.d.ts +11 -11
- package/lib/InputTag/index.d.ts +5 -5
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/InputTag/index.vue.js +1 -1
- package/lib/Layout/hooks/useSiderContext.d.ts +1 -2
- package/lib/Layout/hooks/useSiderContext.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/Mention/index.d.ts +30 -30
- package/lib/Mention/index.vue.d.ts +52 -52
- package/lib/Menu/MenuItem.vue.js +1 -1
- package/lib/Menu/hooks/useContext.d.ts +2 -2
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +2 -2
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +5 -5
- package/lib/Popconfirm/index.vue.d.ts +2 -2
- package/lib/Radio/hooks/useContext.d.ts +2 -2
- package/lib/Radio/hooks/useContext.js +1 -1
- package/lib/Scrollbar/hooks/useContext.d.ts +2 -2
- package/lib/Scrollbar/hooks/useContext.js +1 -1
- package/lib/Select/Select.vue.d.ts +16 -16
- package/lib/Select/SelectVirtualList.vue.js +1 -1
- package/lib/Select/hooks/useContext.d.ts +2 -2
- package/lib/Select/hooks/useContext.js +1 -1
- package/lib/Select/index.d.ts +16 -16
- package/lib/Slider/hooks/useContext.d.ts +2 -2
- package/lib/Slider/hooks/useContext.js +1 -1
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Steps/hooks/useContext.d.ts +1 -2
- package/lib/Steps/hooks/useContext.js +1 -1
- package/lib/Switch/index.d.ts +5 -5
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.d.ts +2 -2
- package/lib/Tabs/hooks/useContext.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/Textarea/index.d.ts +5 -5
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +4 -4
- package/lib/TimePicker/hooks/useContext.d.ts +2 -2
- package/lib/TimePicker/hooks/useContext.js +1 -1
- package/lib/TimePicker/index.d.ts +10 -10
- package/lib/Timeline/hooks/useContext.d.ts +2 -2
- package/lib/Timeline/hooks/useContext.js +1 -1
- package/lib/Transfer/hooks/useContext.d.ts +2 -2
- package/lib/Transfer/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useContext.d.ts +2 -3
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Typography/TypographyBase.vue.d.ts +12 -12
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Watermark/index.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
- package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
- package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue.js +1 -1
- package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
- package/lib/_shared/utils/is.d.ts +0 -15
- package/lib/_shared/utils/vue-utils.d.ts +1 -0
- package/lib/index.d.ts +5 -5
- package/package.json +1 -1
package/lib/Dropdown/index.d.ts
CHANGED
@@ -12,16 +12,16 @@ export type DsubmenuInstance = InstanceType<typeof _Dsubmenu>;
|
|
12
12
|
export * from './type';
|
13
13
|
declare const Dropdown: {
|
14
14
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DropdownProps> & Readonly<{
|
15
|
+
onSelect?: ((value: import('./type').DoptionValue, ev: MouseEvent) => any) | undefined;
|
15
16
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
16
17
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
17
|
-
onSelect?: ((value: import('./type').DoptionValue, ev: MouseEvent) => any) | undefined;
|
18
18
|
}>, {
|
19
19
|
show(): void;
|
20
20
|
hide(): void;
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
22
|
+
select: (value: import('./type').DoptionValue, ev: MouseEvent) => any;
|
22
23
|
"update:popupVisible": (value: boolean) => any;
|
23
24
|
"popup-visible-change": (value: boolean) => any;
|
24
|
-
select: (value: import('./type').DoptionValue, ev: MouseEvent) => any;
|
25
25
|
}, import('vue').PublicProps, {
|
26
26
|
popupContainer: import('..').PopupContainer;
|
27
27
|
trigger: import('..').TriggerType;
|
@@ -40,9 +40,9 @@ declare const Dropdown: {
|
|
40
40
|
M: {};
|
41
41
|
Defaults: {};
|
42
42
|
}, Readonly<import('./type').DropdownProps> & Readonly<{
|
43
|
+
onSelect?: ((value: import('./type').DoptionValue, ev: MouseEvent) => any) | undefined;
|
43
44
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
44
45
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
45
|
-
onSelect?: ((value: import('./type').DoptionValue, ev: MouseEvent) => any) | undefined;
|
46
46
|
}>, {
|
47
47
|
show(): void;
|
48
48
|
hide(): void;
|
@@ -61,16 +61,16 @@ declare const Dropdown: {
|
|
61
61
|
__isTeleport?: never;
|
62
62
|
__isSuspense?: never;
|
63
63
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').DropdownProps> & Readonly<{
|
64
|
+
onSelect?: ((value: import('./type').DoptionValue, ev: MouseEvent) => any) | undefined;
|
64
65
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
65
66
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
66
|
-
onSelect?: ((value: import('./type').DoptionValue, ev: MouseEvent) => any) | undefined;
|
67
67
|
}>, {
|
68
68
|
show(): void;
|
69
69
|
hide(): void;
|
70
70
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
71
|
+
select: (value: import('./type').DoptionValue, ev: MouseEvent) => any;
|
71
72
|
"update:popupVisible": (value: boolean) => any;
|
72
73
|
"popup-visible-change": (value: boolean) => any;
|
73
|
-
select: (value: import('./type').DoptionValue, ev: MouseEvent) => any;
|
74
74
|
}, string, {
|
75
75
|
popupContainer: import('..').PopupContainer;
|
76
76
|
trigger: import('..').TriggerType;
|
@@ -139,12 +139,12 @@ declare const Dropdown: {
|
|
139
139
|
button: {
|
140
140
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DropdownButtonProps> & Readonly<{
|
141
141
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
142
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
143
142
|
onSelect?: ((value: import('./type').DoptionValue) => any) | undefined;
|
143
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
144
144
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
145
145
|
click: (ev: MouseEvent) => any;
|
146
|
-
"popup-visible-change": (value: boolean) => any;
|
147
146
|
select: (value: import('./type').DoptionValue) => any;
|
147
|
+
"popup-visible-change": (value: boolean) => any;
|
148
148
|
}, import('vue').PublicProps, {
|
149
149
|
size: import('..').Size;
|
150
150
|
type: import('..').ButtonType;
|
@@ -165,8 +165,8 @@ declare const Dropdown: {
|
|
165
165
|
Defaults: {};
|
166
166
|
}, Readonly<import('./type').DropdownButtonProps> & Readonly<{
|
167
167
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
168
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
169
168
|
onSelect?: ((value: import('./type').DoptionValue) => any) | undefined;
|
169
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
170
170
|
}>, {}, {}, {}, {}, {
|
171
171
|
size: import('..').Size;
|
172
172
|
type: import('..').ButtonType;
|
@@ -184,12 +184,12 @@ declare const Dropdown: {
|
|
184
184
|
__isSuspense?: never;
|
185
185
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').DropdownButtonProps> & Readonly<{
|
186
186
|
onClick?: ((ev: MouseEvent) => any) | undefined;
|
187
|
-
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
188
187
|
onSelect?: ((value: import('./type').DoptionValue) => any) | undefined;
|
188
|
+
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
189
189
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
190
190
|
click: (ev: MouseEvent) => any;
|
191
|
-
"popup-visible-change": (value: boolean) => any;
|
192
191
|
select: (value: import('./type').DoptionValue) => any;
|
192
|
+
"popup-visible-change": (value: boolean) => any;
|
193
193
|
}, string, {
|
194
194
|
size: import('..').Size;
|
195
195
|
type: import('..').ButtonType;
|
@@ -18,7 +18,7 @@ export type SpanMap = Map<string, {
|
|
18
18
|
suffix: boolean;
|
19
19
|
}>;
|
20
20
|
export type GutterValue = GridRowGutter | [GridRowGutter, GridRowGutter];
|
21
|
-
|
21
|
+
export default function useGridContext(): {
|
22
22
|
provide: (props: RecordType) => {
|
23
23
|
breakpoint: Ref<BreakpointName, BreakpointName>;
|
24
24
|
cols: import('vue').ComputedRef<number>;
|
@@ -40,4 +40,3 @@ declare const _default: () => {
|
|
40
40
|
collapsedRows: Ref<number>;
|
41
41
|
};
|
42
42
|
};
|
43
|
-
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../node_modules/nanoid/index.browser.js"),a=require("../../_shared/utils/is.js"),o=require("../../_shared/utils/dom.js"),t="grid-context";exports.GRID_CONTEXT_KEY=t,exports.default=()
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("../../node_modules/nanoid/index.browser.js"),a=require("../../_shared/utils/is.js"),o=require("../../_shared/utils/dom.js"),t="grid-context";exports.GRID_CONTEXT_KEY=t,exports.default=function(){return{provide:r=>{const{gutter:l=e.ref(0),cols:u=e.ref(24),rowGap:s=e.ref(0),colGap:p=e.ref(0),collapsed:n=e.ref(!1),collapsedRows:i=e.ref(1),div:c=e.ref(!1)}=e.toRefs(r),d=e.reactive(new Map),f=e.ref("xxl"),v=e.computed(()=>o.getBreakpointValue(f.value,u.value,24)),g=e.computed(()=>o.getBreakpointValue(f.value,s.value)),m=e.computed(()=>o.getBreakpointValue(f.value,p.value,0)),w=e.computed(()=>a.isArray(l.value)?l.value.map(e=>o.getBreakpointValue(f.value,e,0)):[o.getBreakpointValue(f.value,l.value,0),0]);return e.provide(t,{breakpoint:f,gutter:w,div:c,spanMap:d,cols:v,colGap:m,collapsed:n,collapsedRows:i}),{breakpoint:f,cols:v,colGap:m,rowGap:g,gutter:w}},inject:()=>{const a=e.inject(t,{gutter:e.ref([0,0]),breakpoint:e.ref("xs"),div:e.ref(!1),colGap:e.ref(0),cols:e.ref(24),collapsed:e.ref(!1),collapsedRows:e.ref(1),spanMap:new Map}),{spanMap:o}=a;return{...a,collectSpan:(a,t)=>{const l=r.nanoid();return e.watchEffect(()=>{o.set(l,{id:l,suffix:t.value,span:a.value})}),e.onBeforeUnmount(()=>{o.delete(l)}),{id:l}}}}}};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue")
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../_shared/utils/dom.js"),/* empty css */,/* empty css */;/* empty css */const o=require("../_shared/icons/IconClose.vue.js"),a=require("../_shared/utils/control.js"),t=require("../_shared/utils/global-config.js"),l=require("../node_modules/@vueuse/core/index.js"),r=require("../Modal/hooks/useModalClose.js"),s=require("./ImagePreviewToolbar.vue.js");;/* empty css */const i={class:"yc-image-preview-mask"},n=["src"],u=e.defineComponent({name:"ImagePreview",inheritAttrs:!1,__name:"ImagePreview",props:{src:{default:""},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},actionsLayout:{default:()=>["fullScreen","rotateRight","rotateLeft","zoomIn","zoomOut","originalSize"]},popupContainer:{default:void 0},escToClose:{type:Boolean,default:!0},wheelZoom:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},defaultScale:{default:1},zoomRate:{default:1.1}},emits:["update:visible","close"],setup(u,{emit:c}){const d=e.useSlots(),f=u,m=c,{visible:v,defaultVisible:p,maskClosable:w,escToClose:y,defaultScale:g,zoomRate:h,wheelZoom:k,keyboard:b}=e.toRefs(f),{zIndex:C,popupContainer:S,isAbsolute:z}=t.getGlobalConfig(f),B=e.ref(),V=a.useControlValue(e.ref(),g.value),_=e.ref(0),{outerVisible:j,innerVisible:q,handleClose:x,handleAfterLeave:I}=r.default({visible:v,defaultVisible:p,escToClose:y,maskClosable:w,onBeforeOk:()=>!0,onBeforeCancel:()=>!0,emits:m}),L=e=>{switch(e){case"rotateRight":_.value+=90;break;case"rotateLeft":_.value-=90;break;case"zoomIn":V.value*=h.value;break;case"zoomOut":V.value/=h.value;break;case"originalSize":V.value=g.value,_.value=0;break;case"fullScreen":{const{offsetWidth:e,offsetHeight:o}=B.value;V.value=e>o?window.innerHeight/o:window.innerHeight/e}}};return(()=>{if(k.value&&l.useEventListener("wheel",e=>{e.preventDefault(),e.stopPropagation();const o=e.deltaY<0?1:-1;V.value*=Math.pow(h.value,o)}),b.value){const e={ArrowUp:"zoomIn",ArrowDown:"zoomOut"," ":"originalSize"};l.onKeyStroke(["ArrowUp","ArrowDown"," "],o=>{L(e[o.key])})}})(),(a,t)=>(e.openBlock(),e.createBlock(e.Teleport,{to:e.unref(S)},[e.unref(j)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-image-preview",a.$attrs.class,{"yc-image-preview-absolute":e.unref(z)}]),style:e.normalizeStyle({zIndex:e.unref(C),...a.$attrs.style??{}})},[e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",i,null,512),[[e.vShow,e.unref(q)]])]),_:1}),e.createVNode(e.Transition,{name:"fade",onAfterLeave:e.unref(I)},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"yc-image-preview-wrapper",onClick:t[2]||(t[2]=e.withModifiers(o=>e.unref(x)("mask",o,!1),["self"]))},[e.createElementVNode("div",{style:e.normalizeStyle({transform:`scale(${e.unref(V)}, ${e.unref(V)})`}),class:"yc-image-preview-img-container",onClick:t[0]||(t[0]=e.withModifiers(o=>e.unref(x)("mask",o,!1),["self"]))},[e.createElementVNode("img",{src:a.src,style:e.normalizeStyle({transform:`translate(-50%, -50%) rotate(${_.value}deg)`}),class:"yc-image-preview-img",ref_key:"imageRef",ref:B},null,12,n)],4),e.createVNode(s.default,{actionsLayout:a.actionsLayout,onClick:L},e.createSlots({_:2},[d.actions?{name:"actions",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"actions")]),key:"0"}:void 0]),1032,["actionsLayout"]),e.renderSlot(a.$slots,"arrow"),a.closable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-image-preview-close-btn",onClick:t[1]||(t[1]=o=>e.unref(x)("closeBtn",o))},[e.createVNode(e.unref(o.default))])):e.createCommentVNode("",!0)],512),[[e.vShow,e.unref(q)]])]),_:3},8,["onAfterLeave"])],6)):e.createCommentVNode("",!0)],8,["to"]))}});exports.default=u;
|
@@ -5,7 +5,7 @@ type ImageContext = {
|
|
5
5
|
hasGroupFather: Ref<boolean>;
|
6
6
|
handleClick: (src: string) => void;
|
7
7
|
};
|
8
|
-
|
8
|
+
export default function useImageContext(): {
|
9
9
|
provide: (props: RecordType, emits: ImagePreviewGroupEmits) => {
|
10
10
|
src: import('vue').ComputedRef<string>;
|
11
11
|
srcList: import('vue').ComputedRef<string[]>;
|
@@ -14,4 +14,4 @@ declare const _default: () => {
|
|
14
14
|
};
|
15
15
|
inject: () => ImageContext;
|
16
16
|
};
|
17
|
-
export
|
17
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../_shared/utils/control.js"),r=require("../../_shared/utils/vue-utils.js"),t=require("../Image.vue.js");;/* empty css */const l="image-context";exports.default=()
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../_shared/utils/control.js"),r=require("../../_shared/utils/vue-utils.js"),t=require("../Image.vue.js");;/* empty css */const l="image-context";exports.default=function(){return{provide:(a,s)=>{const{srcList:i,current:n,defaultCurrent:o,visible:d,defaultVisible:c}=e.toRefs(a),v=e.useSlots(),p=e.computed(()=>{var e;if(i.value.length)return i.value;if(!v.default)return[];return r.findComponentsFromVnodes((null==(e=v.default)?void 0:e.call(v))||[],t.default.name).map(e=>{var u;return null==(u=null==e?void 0:e.props)?void 0:u.src})}),f=u.useControlValue(n,o.value,e=>{s("update:current",e),s("change",e)}),m=u.useControlValue(d,c.value,e=>{s("update:visible",e),s("visible-change",e)}),h=e.computed(()=>p.value[f.value]);return e.provide(l,{hasGroupFather:e.ref(!0),handleClick:e=>{const u=p.value.findIndex(u=>u==e);f.value=u,m.value=!0}}),{src:h,srcList:p,computedCurrent:f,computedVisible:m}},inject:()=>e.inject(l,{hasGroupFather:e.ref(!1),handleClick:()=>{}})}};
|
package/lib/Input/Input.vue.d.ts
CHANGED
@@ -14,10 +14,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
14
14
|
getInputRef(): HTMLInputElement;
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
16
16
|
change: (value: string, ev: Event) => any;
|
17
|
-
focus: (ev: FocusEvent) => any;
|
18
17
|
clear: (ev: MouseEvent) => any;
|
19
18
|
input: (value: string, ev: Event) => any;
|
20
19
|
blur: (ev: FocusEvent) => any;
|
20
|
+
focus: (ev: FocusEvent) => any;
|
21
21
|
keydown: (ev: KeyboardEvent) => any;
|
22
22
|
"update:modelValue": (value: string) => any;
|
23
23
|
"update:visibility": (value: boolean) => any;
|
@@ -25,10 +25,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
|
|
25
25
|
pressEnter: (ev: KeyboardEvent) => any;
|
26
26
|
}, string, import('vue').PublicProps, Readonly<InputProps> & Readonly<{
|
27
27
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
28
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
29
28
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
30
29
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
31
30
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
31
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
32
32
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
33
33
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
34
34
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=;/* empty css */;/* empty css */const t=;/* empty css */require("../_shared/utils/dom.js"),/* empty css */;/* empty css */const i=require("../_shared/icons/IconEyeClose.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=;/* empty css */;/* empty css */const t=;/* empty css */require("../_shared/utils/dom.js"),/* empty css */;/* empty css */const i=require("../_shared/icons/IconEyeClose.vue2.js"),n=require("../_shared/icons/IconEyeOpen.vue2.js"),s={key:0,class:"yc-input-word-limit"},r=e.defineComponent({__name:"InputSuffix",props:{curLength:{},maxLength:{},showWordLimit:{type:Boolean},computedVisibility:{type:Boolean},isPassword:{type:Boolean},invisibleButton:{type:Boolean}},emits:["clear","visibilityChange"],setup:r=>(r,u)=>(e.openBlock(),e.createBlock(e.unref(t.default),{class:"yc-input-suffix"},{default:e.withCtx(()=>[r.showWordLimit?(e.openBlock(),e.createElementBlock("div",s,e.toDisplayString(r.curLength)+"/"+e.toDisplayString(r.maxLength),1)):e.createCommentVNode("",!0),r.isPassword&&r.invisibleButton?(e.openBlock(),e.createBlock(e.unref(o.default),{key:1,size:14,onClick:u[0]||(u[0]=e=>r.$emit("visibilityChange",!r.computedVisibility))},{default:e.withCtx(()=>[r.computedVisibility?(e.openBlock(),e.createBlock(e.unref(n.default),{key:0})):(e.openBlock(),e.createBlock(e.unref(i.default),{key:1}))]),_:1})):e.createCommentVNode("",!0),r.$slots.suffix?e.renderSlot(r.$slots,"suffix",{key:2}):e.createCommentVNode("",!0)]),_:3}))});exports.default=r;
|
package/lib/Input/index.d.ts
CHANGED
@@ -5,10 +5,10 @@ export * from './type';
|
|
5
5
|
declare const Input: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputProps> & Readonly<{
|
7
7
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
8
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
9
8
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
10
9
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
11
10
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
11
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
12
12
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
14
14
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -20,10 +20,10 @@ declare const Input: {
|
|
20
20
|
getInputRef(): HTMLInputElement;
|
21
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
22
22
|
change: (value: string, ev: Event) => any;
|
23
|
-
focus: (ev: FocusEvent) => any;
|
24
23
|
clear: (ev: MouseEvent) => any;
|
25
24
|
input: (value: string, ev: Event) => any;
|
26
25
|
blur: (ev: FocusEvent) => any;
|
26
|
+
focus: (ev: FocusEvent) => any;
|
27
27
|
keydown: (ev: KeyboardEvent) => any;
|
28
28
|
"update:modelValue": (value: string) => any;
|
29
29
|
"update:visibility": (value: boolean) => any;
|
@@ -59,10 +59,10 @@ declare const Input: {
|
|
59
59
|
Defaults: {};
|
60
60
|
}, Readonly<import('./type').InputProps> & Readonly<{
|
61
61
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
62
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
63
62
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
64
63
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
65
64
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
65
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
66
66
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
67
67
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
68
68
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -97,10 +97,10 @@ declare const Input: {
|
|
97
97
|
__isSuspense?: never;
|
98
98
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').InputProps> & Readonly<{
|
99
99
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
100
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
101
100
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
102
101
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
103
102
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
103
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
104
104
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
105
105
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
106
106
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -112,10 +112,10 @@ declare const Input: {
|
|
112
112
|
getInputRef(): HTMLInputElement;
|
113
113
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
114
114
|
change: (value: string, ev: Event) => any;
|
115
|
-
focus: (ev: FocusEvent) => any;
|
116
115
|
clear: (ev: MouseEvent) => any;
|
117
116
|
input: (value: string, ev: Event) => any;
|
118
117
|
blur: (ev: FocusEvent) => any;
|
118
|
+
focus: (ev: FocusEvent) => any;
|
119
119
|
keydown: (ev: KeyboardEvent) => any;
|
120
120
|
"update:modelValue": (value: string) => any;
|
121
121
|
"update:visibility": (value: boolean) => any;
|
@@ -26,10 +26,10 @@ declare function __VLS_template(): {
|
|
26
26
|
readonly invisibleButton?: boolean | undefined;
|
27
27
|
readonly showInput?: boolean | undefined;
|
28
28
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
29
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
30
29
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
31
30
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
32
31
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
32
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
33
33
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
34
34
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
35
35
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -50,14 +50,14 @@ declare function __VLS_template(): {
|
|
50
50
|
$root: import('vue').ComponentPublicInstance | null;
|
51
51
|
$parent: import('vue').ComponentPublicInstance | null;
|
52
52
|
$host: Element | null;
|
53
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
53
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
54
54
|
$el: HTMLDivElement;
|
55
55
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
56
56
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
57
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
58
57
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
59
58
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
60
59
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
60
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
61
61
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
62
62
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
63
63
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -69,10 +69,10 @@ declare function __VLS_template(): {
|
|
69
69
|
getInputRef(): HTMLInputElement;
|
70
70
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
71
71
|
change: (value: string, ev: Event) => any;
|
72
|
-
focus: (ev: FocusEvent) => any;
|
73
72
|
clear: (ev: MouseEvent) => any;
|
74
73
|
input: (value: string, ev: Event) => any;
|
75
74
|
blur: (ev: FocusEvent) => any;
|
75
|
+
focus: (ev: FocusEvent) => any;
|
76
76
|
keydown: (ev: KeyboardEvent) => any;
|
77
77
|
"update:modelValue": (value: string) => any;
|
78
78
|
"update:visibility": (value: boolean) => any;
|
@@ -138,16 +138,16 @@ declare function __VLS_template(): {
|
|
138
138
|
showInput: boolean;
|
139
139
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
140
140
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
141
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
142
141
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
143
142
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
144
143
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
144
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
145
145
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
146
146
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
147
147
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
148
148
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
149
149
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
150
|
-
}>, "
|
150
|
+
}>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
151
151
|
focus(): void;
|
152
152
|
blur(): void;
|
153
153
|
getInputRef(): HTMLInputElement;
|
@@ -163,19 +163,19 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
163
163
|
blur(): void;
|
164
164
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
165
165
|
change: (value: InputNumberValue, ev: Event) => any;
|
166
|
-
focus: (ev: FocusEvent) => any;
|
167
166
|
clear: (ev: MouseEvent) => any;
|
168
167
|
input: (value: InputNumberValue, ev: Event) => any;
|
169
168
|
blur: (ev: FocusEvent) => any;
|
169
|
+
focus: (ev: FocusEvent) => any;
|
170
170
|
keydown: (ev: KeyboardEvent) => any;
|
171
171
|
"update:modelValue": (value: InputNumberValue) => any;
|
172
172
|
pressEnter: (ev: KeyboardEvent) => any;
|
173
173
|
}, string, import('vue').PublicProps, Readonly<InputNumberProps> & Readonly<{
|
174
174
|
onChange?: ((value: InputNumberValue, ev: Event) => any) | undefined;
|
175
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
176
175
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
177
176
|
onInput?: ((value: InputNumberValue, ev: Event) => any) | undefined;
|
178
177
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
178
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
179
179
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
180
180
|
"onUpdate:modelValue"?: ((value: InputNumberValue) => any) | undefined;
|
181
181
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
@@ -219,10 +219,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
219
219
|
readonly invisibleButton?: boolean | undefined;
|
220
220
|
readonly showInput?: boolean | undefined;
|
221
221
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
222
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
223
222
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
224
223
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
225
224
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
225
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
226
226
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
227
227
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
228
228
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -243,14 +243,14 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
243
243
|
$root: import('vue').ComponentPublicInstance | null;
|
244
244
|
$parent: import('vue').ComponentPublicInstance | null;
|
245
245
|
$host: Element | null;
|
246
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
246
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
247
247
|
$el: HTMLDivElement;
|
248
248
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Input').InputProps> & Readonly<{
|
249
249
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
250
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
251
250
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
252
251
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
253
252
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
253
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
254
254
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
255
255
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
256
256
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -262,10 +262,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
262
262
|
getInputRef(): HTMLInputElement;
|
263
263
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
264
264
|
change: (value: string, ev: Event) => any;
|
265
|
-
focus: (ev: FocusEvent) => any;
|
266
265
|
clear: (ev: MouseEvent) => any;
|
267
266
|
input: (value: string, ev: Event) => any;
|
268
267
|
blur: (ev: FocusEvent) => any;
|
268
|
+
focus: (ev: FocusEvent) => any;
|
269
269
|
keydown: (ev: KeyboardEvent) => any;
|
270
270
|
"update:modelValue": (value: string) => any;
|
271
271
|
"update:visibility": (value: boolean) => any;
|
@@ -331,16 +331,16 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
|
|
331
331
|
showInput: boolean;
|
332
332
|
}> & Omit<Readonly<import('../Input').InputProps> & Readonly<{
|
333
333
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
334
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
335
334
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
336
335
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
337
336
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
337
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
338
338
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
339
339
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
340
340
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
341
341
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
342
342
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
343
|
-
}>, "
|
343
|
+
}>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
344
344
|
focus(): void;
|
345
345
|
blur(): void;
|
346
346
|
getInputRef(): HTMLInputElement;
|
@@ -5,10 +5,10 @@ export * from './type';
|
|
5
5
|
declare const InputNumber: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputNumberProps> & Readonly<{
|
7
7
|
onChange?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
8
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
9
8
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
10
9
|
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
11
10
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
11
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
12
12
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
13
13
|
"onUpdate:modelValue"?: ((value: import('./type').InputNumberValue) => any) | undefined;
|
14
14
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
@@ -17,10 +17,10 @@ declare const InputNumber: {
|
|
17
17
|
blur(): void;
|
18
18
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
19
19
|
change: (value: import('./type').InputNumberValue, ev: Event) => any;
|
20
|
-
focus: (ev: FocusEvent) => any;
|
21
20
|
clear: (ev: MouseEvent) => any;
|
22
21
|
input: (value: import('./type').InputNumberValue, ev: Event) => any;
|
23
22
|
blur: (ev: FocusEvent) => any;
|
23
|
+
focus: (ev: FocusEvent) => any;
|
24
24
|
keydown: (ev: KeyboardEvent) => any;
|
25
25
|
"update:modelValue": (value: import('./type').InputNumberValue) => any;
|
26
26
|
pressEnter: (ev: KeyboardEvent) => any;
|
@@ -64,10 +64,10 @@ declare const InputNumber: {
|
|
64
64
|
readonly invisibleButton?: boolean | undefined;
|
65
65
|
readonly showInput?: boolean | undefined;
|
66
66
|
readonly onChange?: ((value: string, ev: Event) => any) | undefined;
|
67
|
-
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
68
67
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
69
68
|
readonly onInput?: ((value: string, ev: Event) => any) | undefined;
|
70
69
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
70
|
+
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
71
71
|
readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
72
72
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
73
73
|
readonly "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -88,14 +88,14 @@ declare const InputNumber: {
|
|
88
88
|
$root: import('vue').ComponentPublicInstance | null;
|
89
89
|
$parent: import('vue').ComponentPublicInstance | null;
|
90
90
|
$host: Element | null;
|
91
|
-
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "
|
91
|
+
$emit: ((event: "change", value: string, ev: Event) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "update:visibility", value: boolean) => void) & ((event: "visibility-change", value: boolean) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
|
92
92
|
$el: HTMLDivElement;
|
93
93
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputProps> & Readonly<{
|
94
94
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
95
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
96
95
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
97
96
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
98
97
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
98
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
99
99
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
100
100
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
101
101
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
@@ -107,10 +107,10 @@ declare const InputNumber: {
|
|
107
107
|
getInputRef(): HTMLInputElement;
|
108
108
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
109
109
|
change: (value: string, ev: Event) => any;
|
110
|
-
focus: (ev: FocusEvent) => any;
|
111
110
|
clear: (ev: MouseEvent) => any;
|
112
111
|
input: (value: string, ev: Event) => any;
|
113
112
|
blur: (ev: FocusEvent) => any;
|
113
|
+
focus: (ev: FocusEvent) => any;
|
114
114
|
keydown: (ev: KeyboardEvent) => any;
|
115
115
|
"update:modelValue": (value: string) => any;
|
116
116
|
"update:visibility": (value: boolean) => any;
|
@@ -176,16 +176,16 @@ declare const InputNumber: {
|
|
176
176
|
showInput: boolean;
|
177
177
|
}> & Omit<Readonly<import('..').InputProps> & Readonly<{
|
178
178
|
onChange?: ((value: string, ev: Event) => any) | undefined;
|
179
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
180
179
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
181
180
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
182
181
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
182
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
183
183
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
184
184
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
185
185
|
"onUpdate:visibility"?: ((value: boolean) => any) | undefined;
|
186
186
|
"onVisibility-change"?: ((value: boolean) => any) | undefined;
|
187
187
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
188
|
-
}>, "
|
188
|
+
}>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
|
189
189
|
focus(): void;
|
190
190
|
blur(): void;
|
191
191
|
getInputRef(): HTMLInputElement;
|
@@ -201,10 +201,10 @@ declare const InputNumber: {
|
|
201
201
|
Defaults: {};
|
202
202
|
}, Readonly<import('./type').InputNumberProps> & Readonly<{
|
203
203
|
onChange?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
204
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
205
204
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
206
205
|
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
207
206
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
207
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
208
208
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
209
209
|
"onUpdate:modelValue"?: ((value: import('./type').InputNumberValue) => any) | undefined;
|
210
210
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
@@ -233,10 +233,10 @@ declare const InputNumber: {
|
|
233
233
|
__isSuspense?: never;
|
234
234
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').InputNumberProps> & Readonly<{
|
235
235
|
onChange?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
236
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
237
236
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
238
237
|
onInput?: ((value: import('./type').InputNumberValue, ev: Event) => any) | undefined;
|
239
238
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
239
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
240
240
|
onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
|
241
241
|
"onUpdate:modelValue"?: ((value: import('./type').InputNumberValue) => any) | undefined;
|
242
242
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
@@ -245,10 +245,10 @@ declare const InputNumber: {
|
|
245
245
|
blur(): void;
|
246
246
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
247
247
|
change: (value: import('./type').InputNumberValue, ev: Event) => any;
|
248
|
-
focus: (ev: FocusEvent) => any;
|
249
248
|
clear: (ev: MouseEvent) => any;
|
250
249
|
input: (value: import('./type').InputNumberValue, ev: Event) => any;
|
251
250
|
blur: (ev: FocusEvent) => any;
|
251
|
+
focus: (ev: FocusEvent) => any;
|
252
252
|
keydown: (ev: KeyboardEvent) => any;
|
253
253
|
"update:modelValue": (value: import('./type').InputNumberValue) => any;
|
254
254
|
pressEnter: (ev: KeyboardEvent) => any;
|
package/lib/InputTag/index.d.ts
CHANGED
@@ -4,10 +4,10 @@ export type InputTagInstance = InstanceType<typeof _InputTag>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const InputTag: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputTagProps> & Readonly<{
|
7
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
8
7
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
9
8
|
onInput?: ((value: string) => any) | undefined;
|
10
9
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
10
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
11
11
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
12
12
|
"onUpdate:modelValue"?: ((value: import('./type').InputTagValue) => any) | undefined;
|
13
13
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -17,10 +17,10 @@ declare const InputTag: {
|
|
17
17
|
focus(): void;
|
18
18
|
blur(): void;
|
19
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
20
|
-
focus: (ev: FocusEvent) => any;
|
21
20
|
clear: (ev: MouseEvent) => any;
|
22
21
|
input: (value: string) => any;
|
23
22
|
blur: (ev: FocusEvent) => any;
|
23
|
+
focus: (ev: FocusEvent) => any;
|
24
24
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
25
25
|
"update:modelValue": (value: import('./type').InputTagValue) => any;
|
26
26
|
"update:inputValue": (value: string) => any;
|
@@ -54,10 +54,10 @@ declare const InputTag: {
|
|
54
54
|
M: {};
|
55
55
|
Defaults: {};
|
56
56
|
}, Readonly<import('./type').InputTagProps> & Readonly<{
|
57
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
58
57
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
59
58
|
onInput?: ((value: string) => any) | undefined;
|
60
59
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
60
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
61
61
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
62
62
|
"onUpdate:modelValue"?: ((value: import('./type').InputTagValue) => any) | undefined;
|
63
63
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -88,10 +88,10 @@ declare const InputTag: {
|
|
88
88
|
__isTeleport?: never;
|
89
89
|
__isSuspense?: never;
|
90
90
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').InputTagProps> & Readonly<{
|
91
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
92
91
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
93
92
|
onInput?: ((value: string) => any) | undefined;
|
94
93
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
94
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
95
95
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
96
96
|
"onUpdate:modelValue"?: ((value: import('./type').InputTagValue) => any) | undefined;
|
97
97
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
@@ -101,10 +101,10 @@ declare const InputTag: {
|
|
101
101
|
focus(): void;
|
102
102
|
blur(): void;
|
103
103
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
104
|
-
focus: (ev: FocusEvent) => any;
|
105
104
|
clear: (ev: MouseEvent) => any;
|
106
105
|
input: (value: string) => any;
|
107
106
|
blur: (ev: FocusEvent) => any;
|
107
|
+
focus: (ev: FocusEvent) => any;
|
108
108
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
109
109
|
"update:modelValue": (value: import('./type').InputTagValue) => any;
|
110
110
|
"update:inputValue": (value: string) => any;
|
@@ -13,20 +13,20 @@ declare const __VLS_component: import('vue').DefineComponent<InputTagProps, {
|
|
13
13
|
focus(): void;
|
14
14
|
blur(): void;
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
16
|
-
focus: (ev: FocusEvent) => any;
|
17
16
|
clear: (ev: MouseEvent) => any;
|
18
17
|
input: (value: string) => any;
|
19
18
|
blur: (ev: FocusEvent) => any;
|
19
|
+
focus: (ev: FocusEvent) => any;
|
20
20
|
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
21
21
|
"update:modelValue": (value: InputTagValue) => any;
|
22
22
|
"update:inputValue": (value: string) => any;
|
23
23
|
"input-value-change": (value: string, ev: Event) => any;
|
24
24
|
"press-enter": (ev: KeyboardEvent) => any;
|
25
25
|
}, string, import('vue').PublicProps, Readonly<InputTagProps> & Readonly<{
|
26
|
-
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
27
26
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
28
27
|
onInput?: ((value: string) => any) | undefined;
|
29
28
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
29
|
+
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
30
30
|
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
31
31
|
"onUpdate:modelValue"?: ((value: InputTagValue) => any) | undefined;
|
32
32
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|