yc-design-vue 1.0.9 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Affix/index.vue.js +1 -2
- package/es/Anchor/Anchor.vue2.js +1 -2
- package/es/AutoComplete/index.d.ts +16 -19
- package/es/AutoComplete/index.vue.d.ts +27 -33
- package/es/Avatar/Avatar.vue2.js +1 -2
- package/es/Avatar/AvatarGroup.vue2.js +1 -2
- package/es/Badge/index.vue2.js +1 -2
- package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/es/Button/hooks/useContext.d.ts +1 -1
- package/es/Carousel/CarouselIndicator.vue2.js +1 -2
- package/es/Carousel/hooks/useContext.js +1 -2
- package/es/Cascader/Cascader.vue.d.ts +7 -7
- package/es/Cascader/Cascader.vue2.js +1 -2
- package/es/Cascader/CascaderOption.vue2.js +1 -2
- package/es/Cascader/index.d.ts +6 -6
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/index.d.ts +3 -3
- package/es/ColorPicker/ColorControl.vue2.js +1 -2
- package/es/ColorPicker/ColorPalette.vue2.js +1 -2
- package/es/ColorPicker/ColorPicker.vue.d.ts +2 -2
- package/es/ColorPicker/index.d.ts +6 -6
- package/es/Descriptions/Descriptions.vue.d.ts +1 -1
- package/es/Descriptions/index.d.ts +3 -3
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Divider/index.vue2.js +1 -2
- package/es/Drawer/Drawer.vue2.js +1 -2
- package/es/Dropdown/Dropdown.vue.js +1 -2
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue2.js +2 -3
- package/es/Grid/Grid.vue2.js +1 -2
- package/es/Grid/GridCol.vue.js +1 -2
- package/es/Grid/GridItem.vue.js +1 -2
- package/es/Grid/GridRow.vue2.js +1 -2
- package/es/Icon/index.vue2.js +1 -2
- package/es/Image/Image.vue2.js +1 -2
- package/es/Image/ImagePreview.vue.d.ts +1 -1
- package/es/Image/index.d.ts +3 -3
- package/es/Input/Input.vue.d.ts +1 -1
- package/es/Input/index.d.ts +3 -3
- package/es/InputNumber/InputNumber.vue.d.ts +7 -7
- package/es/InputNumber/InputNumber.vue2.js +1 -2
- package/es/InputNumber/index.d.ts +6 -6
- package/es/InputTag/index.d.ts +5 -5
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/InputTag/index.vue2.js +1 -2
- package/es/Layout/LayoutSider.vue2.js +1 -2
- package/es/List/List.vue.d.ts +1 -1
- package/es/List/List.vue.js +1 -1
- package/es/List/List.vue2.js +2 -3
- package/es/List/hooks/useScrollReach.js +1 -2
- package/es/List/index.d.ts +3 -3
- package/es/Mention/index.d.ts +16 -19
- package/es/Mention/index.vue.d.ts +32 -38
- package/es/Menu/MenuItem.vue2.js +1 -2
- package/es/Menu/MenuItemGroup.vue2.js +1 -2
- package/es/Menu/hooks/useContext.js +1 -2
- package/es/Message/Message.vue.d.ts +2 -2
- package/es/Message/index.d.ts +6 -6
- package/es/Modal/Modal.vue2.js +1 -2
- package/es/Modal/hooks/useModalDraggable.js +1 -2
- package/es/Notification/Notification.vue.d.ts +2 -2
- package/es/Notification/index.d.ts +6 -6
- package/es/OverflowList/index.vue.js +1 -1
- package/es/OverflowList/index.vue2.js +3 -4
- package/es/Pagination/Pagination.vue2.js +1 -2
- package/es/Progress/ProgressCircle.vue2.js +1 -2
- package/es/Progress/ProgressLine.vue2.js +1 -2
- package/es/Progress/ProgressSteps.vue.js +1 -2
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/index.d.ts +3 -3
- package/es/Rate/index.vue2.js +1 -2
- package/es/ResizeBox/index.vue2.js +1 -2
- package/es/Scrollbar/ScrollbarTrack.vue2.js +1 -2
- package/es/Select/Select.vue.d.ts +13 -14
- package/es/Select/Select.vue.js +1 -1
- package/es/Select/Select.vue2.js +1 -3
- package/es/Select/SelectView.vue.js +1 -1
- package/es/Select/SelectView.vue2.js +1 -1
- package/es/Select/index.d.ts +13 -16
- package/es/Select/type.d.ts +0 -1
- package/es/Skeleton/SkeletonLine.vue.d.ts +1 -1
- package/es/Skeleton/SkeletonLine.vue2.js +1 -2
- package/es/Skeleton/index.d.ts +1 -1
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/hooks/useSliderDraggable.js +1 -2
- package/es/Slider/index.d.ts +9 -9
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Space/index.vue2.js +1 -2
- package/es/Spin/index.vue2.js +1 -2
- package/es/Split/index.d.ts +3 -3
- package/es/Split/index.vue.d.ts +1 -1
- package/es/Split/index.vue2.js +1 -2
- package/es/Statistic/Countdown.vue.d.ts +1 -1
- package/es/Statistic/Countdown.vue.js +1 -2
- package/es/Statistic/Statistic.vue.d.ts +1 -1
- package/es/Statistic/index.d.ts +6 -6
- package/es/Tabs/Tabs.vue2.js +1 -2
- package/es/Tabs/TabsNavInk.vue2.js +1 -2
- package/es/Tabs/hooks/useTabsScroll.js +1 -2
- package/es/Textarea/hooks/useTextareaHeight.js +1 -2
- package/es/TimePicker/TimePicker.vue.d.ts +5 -5
- package/es/TimePicker/TimePickerPanel.vue2.js +1 -2
- package/es/TimePicker/index.d.ts +15 -15
- package/es/Tooltip/index.d.ts +3 -3
- package/es/Tooltip/index.vue.d.ts +1 -1
- package/es/Tooltip/index.vue.js +1 -1
- package/es/Transfer/TransferPanel.vue2.js +2 -2
- package/es/Trigger/hooks/useContext.js +2 -3
- package/es/Trigger/hooks/useTriggerPosition.js +3 -3
- package/es/Trigger/hooks/useTriggerVisible.js +2 -1
- package/es/Typography/TypographyBase.vue.d.ts +6 -6
- package/es/Typography/TypographyBase.vue.js +1 -1
- package/es/Typography/TypographyBase.vue2.js +2 -6
- package/es/VerificationCode/index.vue2.js +1 -2
- package/es/_shared/components/ExpandTransition.vue3.js +1 -2
- package/es/_shared/components/Icon.vue3.js +1 -2
- package/es/_shared/components/IconButton.vue3.js +1 -2
- package/es/_shared/constants/index.d.ts +8 -0
- package/es/_shared/constants/index.js +9 -0
- package/es/_shared/icons/IconDelete.vue.js +1 -16
- package/es/_shared/icons/IconDelete.vue2.js +16 -1
- package/es/_shared/icons/IconSearch.vue.js +1 -16
- package/es/_shared/icons/IconSearch.vue2.js +16 -1
- package/es/_shared/icons/IconSeparator.vue.js +1 -16
- package/es/_shared/icons/IconSeparator.vue2.js +16 -1
- package/es/_shared/utils/dom.d.ts +7 -18
- package/es/_shared/utils/dom.js +82 -14
- package/es/_shared/utils/index.d.ts +0 -1
- package/es/_shared/utils/time.d.ts +1 -37
- package/es/_shared/utils/time.js +2 -2
- package/es/_shared/utils/vue-utils.d.ts +11 -5
- package/es/_shared/utils/vue-utils.js +12 -7
- package/es/index.d.ts +13 -13
- package/es/style.css +1 -1
- package/lib/Affix/index.vue.js +1 -1
- package/lib/Anchor/Anchor.vue2.js +1 -1
- package/lib/AutoComplete/index.d.ts +16 -19
- package/lib/AutoComplete/index.vue.d.ts +27 -33
- package/lib/Avatar/Avatar.vue2.js +1 -1
- package/lib/Avatar/AvatarGroup.vue2.js +1 -1
- package/lib/Badge/index.vue2.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/lib/Button/hooks/useContext.d.ts +1 -1
- package/lib/Carousel/CarouselIndicator.vue2.js +1 -1
- package/lib/Carousel/hooks/useContext.js +1 -1
- package/lib/Cascader/Cascader.vue.d.ts +7 -7
- package/lib/Cascader/Cascader.vue2.js +1 -1
- package/lib/Cascader/CascaderOption.vue2.js +1 -1
- package/lib/Cascader/index.d.ts +6 -6
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- package/lib/ColorPicker/ColorControl.vue2.js +1 -1
- package/lib/ColorPicker/ColorPalette.vue2.js +1 -1
- package/lib/ColorPicker/ColorPicker.vue.d.ts +2 -2
- package/lib/ColorPicker/index.d.ts +6 -6
- package/lib/Descriptions/Descriptions.vue.d.ts +1 -1
- package/lib/Descriptions/index.d.ts +3 -3
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Divider/index.vue2.js +1 -1
- package/lib/Drawer/Drawer.vue2.js +1 -1
- package/lib/Dropdown/Dropdown.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
- package/lib/Grid/Grid.vue2.js +1 -1
- package/lib/Grid/GridCol.vue.js +1 -1
- package/lib/Grid/GridItem.vue.js +1 -1
- package/lib/Grid/GridRow.vue2.js +1 -1
- package/lib/Icon/index.vue2.js +1 -1
- package/lib/Image/Image.vue2.js +1 -1
- package/lib/Image/ImagePreview.vue.d.ts +1 -1
- package/lib/Image/index.d.ts +3 -3
- package/lib/Input/Input.vue.d.ts +1 -1
- package/lib/Input/index.d.ts +3 -3
- package/lib/InputNumber/InputNumber.vue.d.ts +7 -7
- package/lib/InputNumber/InputNumber.vue2.js +1 -1
- package/lib/InputNumber/index.d.ts +6 -6
- package/lib/InputTag/index.d.ts +5 -5
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/InputTag/index.vue2.js +1 -1
- package/lib/Layout/LayoutSider.vue2.js +1 -1
- package/lib/List/List.vue.d.ts +1 -1
- package/lib/List/List.vue.js +1 -1
- package/lib/List/List.vue2.js +1 -1
- package/lib/List/hooks/useScrollReach.js +1 -1
- package/lib/List/index.d.ts +3 -3
- package/lib/Mention/index.d.ts +16 -19
- package/lib/Mention/index.vue.d.ts +32 -38
- package/lib/Menu/MenuItem.vue2.js +1 -1
- package/lib/Menu/MenuItemGroup.vue2.js +1 -1
- package/lib/Menu/hooks/useContext.js +1 -1
- package/lib/Message/Message.vue.d.ts +2 -2
- package/lib/Message/index.d.ts +6 -6
- package/lib/Modal/Modal.vue2.js +1 -1
- package/lib/Modal/hooks/useModalDraggable.js +1 -1
- package/lib/Notification/Notification.vue.d.ts +2 -2
- package/lib/Notification/index.d.ts +6 -6
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/OverflowList/index.vue2.js +1 -1
- package/lib/Pagination/Pagination.vue2.js +1 -1
- package/lib/Progress/ProgressCircle.vue2.js +1 -1
- package/lib/Progress/ProgressLine.vue2.js +1 -1
- package/lib/Progress/ProgressSteps.vue.js +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/index.d.ts +3 -3
- package/lib/Rate/index.vue2.js +1 -1
- package/lib/ResizeBox/index.vue2.js +1 -1
- package/lib/Scrollbar/ScrollbarTrack.vue2.js +1 -1
- package/lib/Select/Select.vue.d.ts +13 -14
- package/lib/Select/Select.vue.js +1 -1
- package/lib/Select/Select.vue2.js +1 -1
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectView.vue2.js +1 -1
- package/lib/Select/index.d.ts +13 -16
- package/lib/Select/type.d.ts +0 -1
- package/lib/Skeleton/SkeletonLine.vue.d.ts +1 -1
- package/lib/Skeleton/SkeletonLine.vue2.js +1 -1
- package/lib/Skeleton/index.d.ts +1 -1
- package/lib/Slider/Slider.vue.d.ts +3 -3
- package/lib/Slider/hooks/useSliderDraggable.js +1 -1
- package/lib/Slider/index.d.ts +9 -9
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Space/index.vue2.js +1 -1
- package/lib/Spin/index.vue2.js +1 -1
- package/lib/Split/index.d.ts +3 -3
- package/lib/Split/index.vue.d.ts +1 -1
- package/lib/Split/index.vue2.js +1 -1
- package/lib/Statistic/Countdown.vue.d.ts +1 -1
- package/lib/Statistic/Countdown.vue.js +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +1 -1
- package/lib/Statistic/index.d.ts +6 -6
- package/lib/Tabs/Tabs.vue2.js +1 -1
- package/lib/Tabs/TabsNavInk.vue2.js +1 -1
- package/lib/Tabs/hooks/useTabsScroll.js +1 -1
- package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
- package/lib/TimePicker/TimePicker.vue.d.ts +5 -5
- package/lib/TimePicker/TimePickerPanel.vue2.js +1 -1
- package/lib/TimePicker/index.d.ts +15 -15
- package/lib/Tooltip/index.d.ts +3 -3
- package/lib/Tooltip/index.vue.d.ts +1 -1
- package/lib/Tooltip/index.vue.js +1 -1
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- 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 +6 -6
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/Typography/TypographyBase.vue2.js +1 -1
- package/lib/VerificationCode/index.vue2.js +1 -1
- package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
- package/lib/_shared/components/Icon.vue3.js +1 -1
- package/lib/_shared/components/IconButton.vue3.js +1 -1
- package/lib/_shared/constants/index.d.ts +8 -0
- package/lib/_shared/constants/index.js +1 -1
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconSearch.vue.js +1 -1
- package/lib/_shared/icons/IconSearch.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/dom.d.ts +7 -18
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/index.d.ts +0 -1
- package/lib/_shared/utils/time.d.ts +1 -37
- package/lib/_shared/utils/time.js +1 -1
- package/lib/_shared/utils/vue-utils.d.ts +11 -5
- package/lib/_shared/utils/vue-utils.js +1 -1
- package/lib/index.d.ts +13 -13
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/_shared/utils/fn.d.ts +0 -8
- package/es/_shared/utils/fn.js +0 -79
- package/lib/_shared/utils/fn.d.ts +0 -8
- package/lib/_shared/utils/fn.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("../../node_modules/@vueuse/core/index.js");require("../../node_modules/tinycolor2/esm/tinycolor.js")
|
1
|
+
"use strict";const e=require("../../node_modules/@vueuse/core/index.js");require("../../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../../_shared/utils/dom.js");require("../../_shared/utils/time.js"),require("vue"),require("../../Empty/index.js");/* empty css */module.exports=r=>{const{scrollRef:l,offset:s,onReachBottom:t,onReachLeft:n,onReachRight:u,onReachTop:c,onScroll:i}=r,{arrivedState:d}=e.useScroll(l,{onScroll:o.debounce(e=>{null==i||i(e,d),d.bottom&&(null==t||t(e)),d.left&&(null==n||n(e)),d.right&&(null==u||u(e)),d.top&&(null==c||c(e))},50),offset:s})};
|
package/lib/List/index.d.ts
CHANGED
@@ -23,9 +23,9 @@ declare const List: {
|
|
23
23
|
scrollbar: boolean;
|
24
24
|
split: boolean;
|
25
25
|
data: import('../_shared/type').ObjectData[];
|
26
|
-
maxHeight: number | string;
|
27
26
|
bordered: boolean;
|
28
27
|
virtualListProps: import('..').VirtualListProps;
|
28
|
+
maxHeight: number | string;
|
29
29
|
hoverable: boolean;
|
30
30
|
paginationProps: import('..').PaginationProps;
|
31
31
|
bottomOffset: number;
|
@@ -179,9 +179,9 @@ declare const List: {
|
|
179
179
|
scrollbar: boolean;
|
180
180
|
split: boolean;
|
181
181
|
data: import('../_shared/type').ObjectData[];
|
182
|
-
maxHeight: number | string;
|
183
182
|
bordered: boolean;
|
184
183
|
virtualListProps: import('..').VirtualListProps;
|
184
|
+
maxHeight: number | string;
|
185
185
|
hoverable: boolean;
|
186
186
|
paginationProps: import('..').PaginationProps;
|
187
187
|
bottomOffset: number;
|
@@ -205,9 +205,9 @@ declare const List: {
|
|
205
205
|
scrollbar: boolean;
|
206
206
|
split: boolean;
|
207
207
|
data: import('../_shared/type').ObjectData[];
|
208
|
-
maxHeight: number | string;
|
209
208
|
bordered: boolean;
|
210
209
|
virtualListProps: import('..').VirtualListProps;
|
210
|
+
maxHeight: number | string;
|
211
211
|
hoverable: boolean;
|
212
212
|
paginationProps: import('..').PaginationProps;
|
213
213
|
bottomOffset: number;
|
package/lib/Mention/index.d.ts
CHANGED
@@ -89,7 +89,6 @@ declare const Mention: {
|
|
89
89
|
readonly maxTagCount?: number | undefined;
|
90
90
|
readonly popupContainer?: import('..').PopupContainer | undefined;
|
91
91
|
readonly bordered?: boolean | undefined;
|
92
|
-
readonly defaultActivefirstOption?: boolean | undefined;
|
93
92
|
readonly popupVisible?: boolean | undefined;
|
94
93
|
readonly defaultPopupVisible?: boolean | undefined;
|
95
94
|
readonly unmountonClose?: boolean | undefined;
|
@@ -116,10 +115,10 @@ declare const Mention: {
|
|
116
115
|
readonly onClear?: (() => any) | undefined;
|
117
116
|
readonly onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
118
117
|
readonly onSearch?: ((value: string) => any) | undefined;
|
119
|
-
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
120
118
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
121
119
|
readonly "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
122
120
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
121
|
+
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
123
122
|
readonly onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
124
123
|
readonly "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
125
124
|
readonly "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
@@ -393,10 +392,10 @@ declare const Mention: {
|
|
393
392
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
394
393
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
395
394
|
readonly onInput?: ((value: string) => any) | undefined;
|
396
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
397
395
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
398
396
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
399
397
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
398
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
400
399
|
readonly "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
401
400
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
402
401
|
$attrs: {
|
@@ -414,17 +413,17 @@ declare const Mention: {
|
|
414
413
|
$root: import('vue').ComponentPublicInstance | null;
|
415
414
|
$parent: import('vue').ComponentPublicInstance | null;
|
416
415
|
$host: Element | null;
|
417
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "
|
416
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string) => void) & ((event: "update:modelValue", value: import('..').InputTagValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "input-value-change", value: string, ev: Event) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => void) & ((event: "press-enter", ev: KeyboardEvent) => void);
|
418
417
|
$el: HTMLDivElement;
|
419
418
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
420
419
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
421
420
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
422
421
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
423
422
|
onInput?: ((value: string) => any) | undefined;
|
424
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
425
423
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
426
424
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
427
425
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
426
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
428
427
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
429
428
|
}>, {
|
430
429
|
focus(): void;
|
@@ -434,10 +433,10 @@ declare const Mention: {
|
|
434
433
|
clear: (ev: MouseEvent) => any;
|
435
434
|
blur: (ev: FocusEvent) => any;
|
436
435
|
input: (value: string) => any;
|
437
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
438
436
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
439
437
|
"update:inputValue": (value: string) => any;
|
440
438
|
"input-value-change": (value: string, ev: Event) => any;
|
439
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
441
440
|
"press-enter": (ev: KeyboardEvent) => any;
|
442
441
|
}, string, {
|
443
442
|
size: import('..').Size;
|
@@ -498,10 +497,10 @@ declare const Mention: {
|
|
498
497
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
499
498
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
500
499
|
onInput?: ((value: string) => any) | undefined;
|
501
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
502
500
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
503
501
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
504
502
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
503
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
505
504
|
"onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
|
506
505
|
}>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
|
507
506
|
focus(): void;
|
@@ -516,7 +515,7 @@ declare const Mention: {
|
|
516
515
|
$root: import('vue').ComponentPublicInstance | null;
|
517
516
|
$parent: import('vue').ComponentPublicInstance | null;
|
518
517
|
$host: Element | null;
|
519
|
-
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "
|
518
|
+
$emit: ((event: "change", value: import('..').SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "select", value: import('..').SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: import('..').SelectValue) => void) & ((event: "update:inputValue", value: import('..').SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "exceedLimit", value: import('..').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
520
519
|
$el: any;
|
521
520
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
522
521
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
@@ -525,10 +524,10 @@ declare const Mention: {
|
|
525
524
|
onClear?: (() => any) | undefined;
|
526
525
|
onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
527
526
|
onSearch?: ((value: string) => any) | undefined;
|
528
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
529
527
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
530
528
|
"onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
531
529
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
530
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
532
531
|
onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
533
532
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
534
533
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
@@ -543,10 +542,10 @@ declare const Mention: {
|
|
543
542
|
clear: () => any;
|
544
543
|
select: (value: import('..').SelectValue) => any;
|
545
544
|
search: (value: string) => any;
|
546
|
-
remove: (index: string | number, ev: Event) => any;
|
547
545
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
548
546
|
"update:inputValue": (value: import('..').SelectValue) => any;
|
549
547
|
"input-value-change": (value: string) => any;
|
548
|
+
remove: (index: string | number, ev: Event) => any;
|
550
549
|
exceedLimit: (value: import('..').SelectValue, ev?: MouseEvent | undefined) => any;
|
551
550
|
"dropdown-scroll": (ev: Event) => any;
|
552
551
|
"dropdown-reach-bottom": (ev: Event) => any;
|
@@ -561,7 +560,6 @@ declare const Mention: {
|
|
561
560
|
scrollbar: boolean;
|
562
561
|
multiple: boolean;
|
563
562
|
placeholder: string;
|
564
|
-
triggerProps: import('..').TriggerProps;
|
565
563
|
bordered: boolean;
|
566
564
|
modelValue: import('..').SelectValue;
|
567
565
|
defaultValue: import('..').SelectValue;
|
@@ -577,9 +575,9 @@ declare const Mention: {
|
|
577
575
|
showEmpty: boolean;
|
578
576
|
allowCreate: boolean;
|
579
577
|
maxTagCount: number;
|
580
|
-
defaultActivefirstOption: boolean;
|
581
578
|
filterOption: import('..').FilterOption;
|
582
579
|
virtualListProps: import('..').VirtualListProps;
|
580
|
+
triggerProps: import('..').TriggerProps;
|
583
581
|
searchDelay: number;
|
584
582
|
showHeaderOnEmpty: boolean;
|
585
583
|
showFooterOnEmpty: boolean;
|
@@ -615,7 +613,6 @@ declare const Mention: {
|
|
615
613
|
scrollbar: boolean;
|
616
614
|
multiple: boolean;
|
617
615
|
placeholder: string;
|
618
|
-
triggerProps: import('..').TriggerProps;
|
619
616
|
bordered: boolean;
|
620
617
|
modelValue: import('..').SelectValue;
|
621
618
|
defaultValue: import('..').SelectValue;
|
@@ -631,9 +628,9 @@ declare const Mention: {
|
|
631
628
|
showEmpty: boolean;
|
632
629
|
allowCreate: boolean;
|
633
630
|
maxTagCount: number;
|
634
|
-
defaultActivefirstOption: boolean;
|
635
631
|
filterOption: import('..').FilterOption;
|
636
632
|
virtualListProps: import('..').VirtualListProps;
|
633
|
+
triggerProps: import('..').TriggerProps;
|
637
634
|
searchDelay: number;
|
638
635
|
showHeaderOnEmpty: boolean;
|
639
636
|
showFooterOnEmpty: boolean;
|
@@ -645,14 +642,14 @@ declare const Mention: {
|
|
645
642
|
onClear?: (() => any) | undefined;
|
646
643
|
onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
647
644
|
onSearch?: ((value: string) => any) | undefined;
|
648
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
649
645
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
650
646
|
"onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
651
647
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
648
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
652
649
|
onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
|
653
650
|
"onDropdown-scroll"?: ((ev: Event) => any) | undefined;
|
654
651
|
"onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
|
655
|
-
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "
|
652
|
+
}>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
|
656
653
|
focus(): void;
|
657
654
|
blur(): void;
|
658
655
|
getPopupRef(): import('..').TriggerInstance;
|
@@ -779,11 +776,11 @@ declare const Mention: {
|
|
779
776
|
strict: boolean;
|
780
777
|
type: "textarea" | "input";
|
781
778
|
data: import('..').SelectOptions;
|
782
|
-
triggerProps: import('..').TriggerProps;
|
783
779
|
modelValue: string;
|
784
780
|
defaultValue: string;
|
785
781
|
allowClear: boolean;
|
786
782
|
filterOption: (inputValue: string, option: import('..').SelectOptionData) => boolean;
|
783
|
+
triggerProps: import('..').TriggerProps;
|
787
784
|
isSelectSetValue: boolean;
|
788
785
|
isSearch: boolean;
|
789
786
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
@@ -812,11 +809,11 @@ declare const Mention: {
|
|
812
809
|
strict: boolean;
|
813
810
|
type: "textarea" | "input";
|
814
811
|
data: import('..').SelectOptions;
|
815
|
-
triggerProps: import('..').TriggerProps;
|
816
812
|
modelValue: string;
|
817
813
|
defaultValue: string;
|
818
814
|
allowClear: boolean;
|
819
815
|
filterOption: (inputValue: string, option: import('..').SelectOptionData) => boolean;
|
816
|
+
triggerProps: import('..').TriggerProps;
|
820
817
|
isSelectSetValue: boolean;
|
821
818
|
isSearch: boolean;
|
822
819
|
}> & Omit<Readonly<import('..').AutoCompleteProps> & Readonly<{
|
@@ -831,7 +828,7 @@ declare const Mention: {
|
|
831
828
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
832
829
|
"onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
|
833
830
|
"onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
|
834
|
-
}>, "focus" | "blur" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("disabled" | "popupContainer" | "strict" | "type" | "data" | "
|
831
|
+
}>, "focus" | "blur" | "updatePosition" | "getInputRef" | "getMirrorRef" | ("disabled" | "popupContainer" | "strict" | "type" | "data" | "modelValue" | "defaultValue" | "allowClear" | "filterOption" | "triggerProps" | "isSelectSetValue" | "isSearch")> & import('vue').ShallowUnwrapRef<{
|
835
832
|
focus(): void;
|
836
833
|
blur(): void;
|
837
834
|
getInputRef(): HTMLInputElement | HTMLTextAreaElement | undefined;
|