yc-design-vue 1.0.5 → 1.0.7
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/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/AutoComplete/index.d.ts +10 -10
- package/es/AutoComplete/index.vue.d.ts +20 -20
- package/es/BackTop/index.vue.js +1 -1
- package/es/BackTop/index.vue2.js +0 -1
- package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/es/Cascader/Cascader.vue.js +1 -1
- package/es/Cascader/Cascader.vue2.js +0 -2
- package/es/Cascader/CascaderOption.vue.d.ts +1 -1
- package/es/ColorPicker/hooks/useContext.d.ts +1 -1
- package/es/Descriptions/Descriptions.vue.d.ts +1 -1
- package/es/Descriptions/hooks/useContext.d.ts +1 -1
- package/es/Descriptions/index.d.ts +3 -3
- package/es/Drawer/Drawer.vue.d.ts +1 -1
- package/es/Drawer/DrawerService.vue.d.ts +1 -1
- package/es/Drawer/index.d.ts +3 -3
- package/es/Drawer/index.js +0 -1
- package/es/Image/ImagePreview.vue.js +1 -1
- package/es/Image/ImagePreview.vue2.js +2 -1
- package/es/InputTag/index.d.ts +5 -5
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/List/List.vue.d.ts +2 -2
- package/es/List/index.d.ts +1 -1
- package/es/Mention/index.d.ts +13 -13
- package/es/Mention/index.vue.d.ts +21 -21
- package/es/Menu/hooks/useContext.js +0 -1
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/index.d.ts +3 -3
- package/es/Modal/Modal.vue.d.ts +2 -2
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/hooks/useModalClose.d.ts +1 -1
- package/es/Modal/hooks/useModalClose.js +2 -2
- package/es/Modal/index.d.ts +6 -6
- package/es/Modal/index.js +0 -1
- package/es/Notification/Notification.vue.d.ts +3 -3
- package/es/Notification/index.d.ts +9 -9
- package/es/Pagination/hooks/useContext.d.ts +1 -1
- package/es/Popover/index.d.ts +3 -3
- package/es/Popover/index.vue.d.ts +1 -1
- package/es/Progress/ProgressCircle.vue2.js +1 -1
- package/es/Select/Select.vue.d.ts +12 -12
- package/es/Select/index.d.ts +10 -10
- package/es/Statistic/Countdown.vue.d.ts +1 -1
- package/es/Statistic/Statistic.vue.d.ts +1 -1
- package/es/Statistic/index.d.ts +6 -6
- package/es/Tabs/hooks/useContext.d.ts +1 -1
- package/es/Transfer/Transfer.vue.d.ts +1 -1
- package/es/Transfer/TransferPanel.vue2.js +2 -2
- package/es/Transfer/index.d.ts +3 -3
- package/es/_shared/icons/IconDelete.vue.js +16 -1
- package/es/_shared/icons/IconDelete.vue2.js +1 -16
- package/es/_shared/icons/IconExclamation.vue.js +1 -27
- package/es/_shared/icons/IconExclamation.vue2.js +27 -1
- package/es/_shared/icons/IconSearch.vue.js +16 -1
- package/es/_shared/icons/IconSearch.vue2.js +1 -16
- package/es/_shared/icons/IconSeparator.vue.js +16 -1
- package/es/_shared/icons/IconSeparator.vue2.js +1 -16
- package/es/_shared/utils/dom.d.ts +1 -1
- package/es/_shared/utils/fn.js +0 -1
- package/es/_shared/utils/global-config.d.ts +7 -5
- package/es/_shared/utils/global-config.js +5 -3
- package/es/index.d.ts +3 -3
- package/es/style.css +1 -1
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/AutoComplete/index.d.ts +10 -10
- package/lib/AutoComplete/index.vue.d.ts +20 -20
- package/lib/BackTop/index.vue.js +1 -1
- package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +1 -1
- package/lib/Cascader/Cascader.vue.js +1 -1
- package/lib/Cascader/CascaderOption.vue.d.ts +1 -1
- package/lib/ColorPicker/hooks/useContext.d.ts +1 -1
- package/lib/Descriptions/Descriptions.vue.d.ts +1 -1
- package/lib/Descriptions/hooks/useContext.d.ts +1 -1
- package/lib/Descriptions/index.d.ts +3 -3
- package/lib/Drawer/Drawer.vue.d.ts +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +1 -1
- package/lib/Drawer/index.d.ts +3 -3
- package/lib/Image/ImagePreview.vue.js +1 -1
- package/lib/Image/ImagePreview.vue2.js +1 -1
- package/lib/InputTag/index.d.ts +5 -5
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/List/List.vue.d.ts +2 -2
- package/lib/List/index.d.ts +1 -1
- package/lib/Mention/index.d.ts +13 -13
- package/lib/Mention/index.vue.d.ts +21 -21
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Modal/Modal.vue.d.ts +2 -2
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- package/lib/Modal/hooks/useModalClose.d.ts +1 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/index.d.ts +6 -6
- package/lib/Notification/Notification.vue.d.ts +3 -3
- package/lib/Notification/index.d.ts +9 -9
- package/lib/Pagination/hooks/useContext.d.ts +1 -1
- package/lib/Popover/index.d.ts +3 -3
- package/lib/Popover/index.vue.d.ts +1 -1
- package/lib/Progress/ProgressCircle.vue2.js +1 -1
- package/lib/Select/Select.vue.d.ts +12 -12
- package/lib/Select/index.d.ts +10 -10
- package/lib/Statistic/Countdown.vue.d.ts +1 -1
- package/lib/Statistic/Statistic.vue.d.ts +1 -1
- package/lib/Statistic/index.d.ts +6 -6
- package/lib/Tabs/hooks/useContext.d.ts +1 -1
- package/lib/Transfer/Transfer.vue.d.ts +1 -1
- package/lib/Transfer/TransferPanel.vue2.js +1 -1
- package/lib/Transfer/index.d.ts +3 -3
- package/lib/_shared/icons/IconDelete.vue.js +1 -1
- package/lib/_shared/icons/IconDelete.vue2.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.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 +1 -1
- package/lib/_shared/utils/global-config.d.ts +7 -5
- package/lib/_shared/utils/global-config.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/es/InputTag/index.d.ts
CHANGED
@@ -6,9 +6,9 @@ declare const InputTag: {
|
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputTagProps> & Readonly<{
|
7
7
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
8
8
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
9
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
9
10
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
10
11
|
onInput?: ((value: string) => any) | undefined;
|
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;
|
14
14
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -19,9 +19,9 @@ declare const InputTag: {
|
|
19
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
20
20
|
focus: (ev: FocusEvent) => any;
|
21
21
|
clear: (ev: MouseEvent) => any;
|
22
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
22
23
|
blur: (ev: FocusEvent) => any;
|
23
24
|
input: (value: string) => any;
|
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;
|
27
27
|
"input-value-change": (value: string, ev: Event) => any;
|
@@ -56,9 +56,9 @@ declare const InputTag: {
|
|
56
56
|
}, Readonly<import('./type').InputTagProps> & Readonly<{
|
57
57
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
58
58
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
59
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
59
60
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
60
61
|
onInput?: ((value: string) => any) | undefined;
|
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;
|
64
64
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -90,9 +90,9 @@ declare const InputTag: {
|
|
90
90
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').InputTagProps> & Readonly<{
|
91
91
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
92
92
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
93
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
93
94
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
94
95
|
onInput?: ((value: string) => any) | undefined;
|
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;
|
98
98
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -103,9 +103,9 @@ declare const InputTag: {
|
|
103
103
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
104
104
|
focus: (ev: FocusEvent) => any;
|
105
105
|
clear: (ev: MouseEvent) => any;
|
106
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
106
107
|
blur: (ev: FocusEvent) => any;
|
107
108
|
input: (value: string) => any;
|
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;
|
111
111
|
"input-value-change": (value: string, ev: Event) => any;
|
@@ -15,9 +15,9 @@ declare const __VLS_component: import('vue').DefineComponent<InputTagProps, {
|
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
16
16
|
focus: (ev: FocusEvent) => any;
|
17
17
|
clear: (ev: MouseEvent) => any;
|
18
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
18
19
|
blur: (ev: FocusEvent) => any;
|
19
20
|
input: (value: string) => any;
|
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;
|
@@ -25,9 +25,9 @@ declare const __VLS_component: import('vue').DefineComponent<InputTagProps, {
|
|
25
25
|
}, string, import('vue').PublicProps, Readonly<InputTagProps> & Readonly<{
|
26
26
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
27
27
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
28
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
28
29
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
29
30
|
onInput?: ((value: string) => any) | undefined;
|
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;
|
33
33
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
package/es/List/List.vue.d.ts
CHANGED
@@ -71,7 +71,7 @@ declare function __VLS_template(): {
|
|
71
71
|
outerStyle: import('vue').CSSProperties;
|
72
72
|
}> & Omit<Readonly<import('../Scrollbar').ScrollbarProps> & Readonly<{
|
73
73
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
74
|
-
}>, "scrollTop" | "
|
74
|
+
}>, "scrollLeft" | "scrollTop" | "scrollTo" | ("scrollbar" | "type" | "outerClass" | "outerStyle") | "getScrollRef"> & import('vue').ShallowUnwrapRef<{
|
75
75
|
scrollTo(options: ScrollOptions): void;
|
76
76
|
scrollLeft(left: number): void;
|
77
77
|
scrollTop(top: number): void;
|
@@ -230,7 +230,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
|
|
230
230
|
outerStyle: import('vue').CSSProperties;
|
231
231
|
}> & Omit<Readonly<import('../Scrollbar').ScrollbarProps> & Readonly<{
|
232
232
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
233
|
-
}>, "scrollTop" | "
|
233
|
+
}>, "scrollLeft" | "scrollTop" | "scrollTo" | ("scrollbar" | "type" | "outerClass" | "outerStyle") | "getScrollRef"> & import('vue').ShallowUnwrapRef<{
|
234
234
|
scrollTo(options: ScrollOptions): void;
|
235
235
|
scrollLeft(left: number): void;
|
236
236
|
scrollTop(top: number): void;
|
package/es/List/index.d.ts
CHANGED
@@ -99,7 +99,7 @@ declare const List: {
|
|
99
99
|
outerStyle: import('vue').CSSProperties;
|
100
100
|
}> & Omit<Readonly<import('..').ScrollbarProps> & Readonly<{
|
101
101
|
onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
|
102
|
-
}>, "scrollTop" | "
|
102
|
+
}>, "scrollLeft" | "scrollTop" | "scrollTo" | ("scrollbar" | "type" | "outerClass" | "outerStyle") | "getScrollRef"> & import('vue').ShallowUnwrapRef<{
|
103
103
|
scrollTo(options: ScrollOptions): void;
|
104
104
|
scrollLeft(left: number): void;
|
105
105
|
scrollTop(top: number): void;
|
package/es/Mention/index.d.ts
CHANGED
@@ -26,13 +26,13 @@ declare const Mention: {
|
|
26
26
|
"update:modelValue": (value: string) => any;
|
27
27
|
}, import('vue').PublicProps, {
|
28
28
|
disabled: boolean;
|
29
|
+
prefix: string | string[];
|
29
30
|
split: string;
|
30
31
|
type: "input" | "textarea";
|
31
32
|
data: import('..').SelectOptions;
|
32
33
|
modelValue: string;
|
33
34
|
defaultValue: string;
|
34
35
|
allowClear: boolean;
|
35
|
-
prefix: string | string[];
|
36
36
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
37
37
|
autoCompleteRef: ({
|
38
38
|
$: import('vue').ComponentInternalInstance;
|
@@ -114,9 +114,9 @@ declare const Mention: {
|
|
114
114
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
115
115
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
116
116
|
readonly onClear?: (() => any) | undefined;
|
117
|
+
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
117
118
|
readonly onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
118
119
|
readonly onSearch?: ((value: string) => any) | undefined;
|
119
|
-
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
120
120
|
readonly "onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
121
121
|
readonly "onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
122
122
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -391,9 +391,9 @@ declare const Mention: {
|
|
391
391
|
readonly allowCreate?: boolean | undefined;
|
392
392
|
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
393
393
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
394
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
394
395
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
395
396
|
readonly onInput?: ((value: string) => any) | undefined;
|
396
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
397
397
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
398
398
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
399
399
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -414,14 +414,14 @@ declare const Mention: {
|
|
414
414
|
$root: import('vue').ComponentPublicInstance | null;
|
415
415
|
$parent: import('vue').ComponentPublicInstance | null;
|
416
416
|
$host: Element | null;
|
417
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "
|
417
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => 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: "press-enter", ev: KeyboardEvent) => void);
|
418
418
|
$el: HTMLDivElement;
|
419
419
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
420
420
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
421
421
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
422
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
422
423
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
423
424
|
onInput?: ((value: string) => any) | undefined;
|
424
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
425
425
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
426
426
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
427
427
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -432,9 +432,9 @@ declare const Mention: {
|
|
432
432
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
433
433
|
focus: (ev: FocusEvent) => any;
|
434
434
|
clear: (ev: MouseEvent) => any;
|
435
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
435
436
|
blur: (ev: FocusEvent) => any;
|
436
437
|
input: (value: string) => any;
|
437
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
438
438
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
439
439
|
"update:inputValue": (value: string) => any;
|
440
440
|
"input-value-change": (value: string, ev: Event) => any;
|
@@ -496,9 +496,9 @@ declare const Mention: {
|
|
496
496
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
497
497
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
498
498
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
499
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
499
500
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
500
501
|
onInput?: ((value: string) => any) | undefined;
|
501
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
502
502
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
503
503
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
504
504
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -516,16 +516,16 @@ declare const Mention: {
|
|
516
516
|
$root: import('vue').ComponentPublicInstance | null;
|
517
517
|
$parent: import('vue').ComponentPublicInstance | null;
|
518
518
|
$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: "
|
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: "remove", index: string | number, ev: Event) => 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: "exceedLimit", value: import('..').SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
520
520
|
$el: any;
|
521
521
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').SelectProps> & Readonly<{
|
522
522
|
onChange?: ((value: import('..').SelectValue) => any) | undefined;
|
523
523
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
524
524
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
525
525
|
onClear?: (() => any) | undefined;
|
526
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
526
527
|
onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
527
528
|
onSearch?: ((value: string) => any) | undefined;
|
528
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
529
529
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
530
530
|
"onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
531
531
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -541,9 +541,9 @@ declare const Mention: {
|
|
541
541
|
"update:popupVisible": (value: boolean) => any;
|
542
542
|
"popup-visible-change": (value: boolean) => any;
|
543
543
|
clear: () => any;
|
544
|
+
remove: (index: string | number, ev: Event) => any;
|
544
545
|
select: (value: import('..').SelectValue) => any;
|
545
546
|
search: (value: string) => any;
|
546
|
-
remove: (index: string | number, ev: Event) => any;
|
547
547
|
"update:modelValue": (value: import('..').SelectValue) => any;
|
548
548
|
"update:inputValue": (value: import('..').SelectValue) => any;
|
549
549
|
"input-value-change": (value: string) => any;
|
@@ -643,9 +643,9 @@ declare const Mention: {
|
|
643
643
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
644
644
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
645
645
|
onClear?: (() => any) | undefined;
|
646
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
646
647
|
onSelect?: ((value: import('..').SelectValue) => any) | undefined;
|
647
648
|
onSearch?: ((value: string) => any) | undefined;
|
648
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
649
649
|
"onUpdate:modelValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
650
650
|
"onUpdate:inputValue"?: ((value: import('..').SelectValue) => any) | undefined;
|
651
651
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -861,13 +861,13 @@ declare const Mention: {
|
|
861
861
|
blur(): void;
|
862
862
|
}, {}, {}, {}, {
|
863
863
|
disabled: boolean;
|
864
|
+
prefix: string | string[];
|
864
865
|
split: string;
|
865
866
|
type: "input" | "textarea";
|
866
867
|
data: import('..').SelectOptions;
|
867
868
|
modelValue: string;
|
868
869
|
defaultValue: string;
|
869
870
|
allowClear: boolean;
|
870
|
-
prefix: string | string[];
|
871
871
|
}>;
|
872
872
|
__isFragment?: never;
|
873
873
|
__isTeleport?: never;
|
@@ -895,13 +895,13 @@ declare const Mention: {
|
|
895
895
|
"update:modelValue": (value: string) => any;
|
896
896
|
}, string, {
|
897
897
|
disabled: boolean;
|
898
|
+
prefix: string | string[];
|
898
899
|
split: string;
|
899
900
|
type: "input" | "textarea";
|
900
901
|
data: import('..').SelectOptions;
|
901
902
|
modelValue: string;
|
902
903
|
defaultValue: string;
|
903
904
|
allowClear: boolean;
|
904
|
-
prefix: string | string[];
|
905
905
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
906
906
|
$slots: Readonly<import('./type').MentionSlots> & import('./type').MentionSlots;
|
907
907
|
}) & {
|
@@ -85,9 +85,9 @@ declare function __VLS_template(): {
|
|
85
85
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
86
86
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
87
87
|
readonly onClear?: (() => any) | undefined;
|
88
|
+
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
88
89
|
readonly onSelect?: ((value: SelectValue) => any) | undefined;
|
89
90
|
readonly onSearch?: ((value: string) => any) | undefined;
|
90
|
-
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
91
91
|
readonly "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
92
92
|
readonly "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
|
93
93
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -362,9 +362,9 @@ declare function __VLS_template(): {
|
|
362
362
|
readonly allowCreate?: boolean | undefined;
|
363
363
|
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
364
364
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
365
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
365
366
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
366
367
|
readonly onInput?: ((value: string) => any) | undefined;
|
367
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
368
368
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
369
369
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
370
370
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -385,14 +385,14 @@ declare function __VLS_template(): {
|
|
385
385
|
$root: import('vue').ComponentPublicInstance | null;
|
386
386
|
$parent: import('vue').ComponentPublicInstance | null;
|
387
387
|
$host: Element | null;
|
388
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "
|
388
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => 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: "press-enter", ev: KeyboardEvent) => void);
|
389
389
|
$el: HTMLDivElement;
|
390
390
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
391
391
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
392
392
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
393
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
393
394
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
394
395
|
onInput?: ((value: string) => any) | undefined;
|
395
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
396
396
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
397
397
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
398
398
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -403,9 +403,9 @@ declare function __VLS_template(): {
|
|
403
403
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
404
404
|
focus: (ev: FocusEvent) => any;
|
405
405
|
clear: (ev: MouseEvent) => any;
|
406
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
406
407
|
blur: (ev: FocusEvent) => any;
|
407
408
|
input: (value: string) => any;
|
408
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
409
409
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
410
410
|
"update:inputValue": (value: string) => any;
|
411
411
|
"input-value-change": (value: string, ev: Event) => any;
|
@@ -467,9 +467,9 @@ declare function __VLS_template(): {
|
|
467
467
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
468
468
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
469
469
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
470
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
470
471
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
471
472
|
onInput?: ((value: string) => any) | undefined;
|
472
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
473
473
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
474
474
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
475
475
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -487,16 +487,16 @@ declare function __VLS_template(): {
|
|
487
487
|
$root: import('vue').ComponentPublicInstance | null;
|
488
488
|
$parent: import('vue').ComponentPublicInstance | null;
|
489
489
|
$host: Element | null;
|
490
|
-
$emit: ((event: "change", value: SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "
|
490
|
+
$emit: ((event: "change", value: SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "select", value: SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: SelectValue) => void) & ((event: "update:inputValue", value: SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
491
491
|
$el: any;
|
492
492
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
493
493
|
onChange?: ((value: SelectValue) => any) | undefined;
|
494
494
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
495
495
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
496
496
|
onClear?: (() => any) | undefined;
|
497
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
497
498
|
onSelect?: ((value: SelectValue) => any) | undefined;
|
498
499
|
onSearch?: ((value: string) => any) | undefined;
|
499
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
500
500
|
"onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
501
501
|
"onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
|
502
502
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -512,9 +512,9 @@ declare function __VLS_template(): {
|
|
512
512
|
"update:popupVisible": (value: boolean) => any;
|
513
513
|
"popup-visible-change": (value: boolean) => any;
|
514
514
|
clear: () => any;
|
515
|
+
remove: (index: string | number, ev: Event) => any;
|
515
516
|
select: (value: SelectValue) => any;
|
516
517
|
search: (value: string) => any;
|
517
|
-
remove: (index: string | number, ev: Event) => any;
|
518
518
|
"update:modelValue": (value: SelectValue) => any;
|
519
519
|
"update:inputValue": (value: SelectValue) => any;
|
520
520
|
"input-value-change": (value: string) => any;
|
@@ -614,9 +614,9 @@ declare function __VLS_template(): {
|
|
614
614
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
615
615
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
616
616
|
onClear?: (() => any) | undefined;
|
617
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
617
618
|
onSelect?: ((value: SelectValue) => any) | undefined;
|
618
619
|
onSearch?: ((value: string) => any) | undefined;
|
619
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
620
620
|
"onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
621
621
|
"onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
|
622
622
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -838,13 +838,13 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
838
838
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
839
839
|
}>, {
|
840
840
|
disabled: boolean;
|
841
|
+
prefix: string | string[];
|
841
842
|
split: string;
|
842
843
|
type: "input" | "textarea";
|
843
844
|
data: import('../Select').SelectOptions;
|
844
845
|
modelValue: string;
|
845
846
|
defaultValue: string;
|
846
847
|
allowClear: boolean;
|
847
|
-
prefix: string | string[];
|
848
848
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
849
849
|
autoCompleteRef: ({
|
850
850
|
$: import('vue').ComponentInternalInstance;
|
@@ -926,9 +926,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
926
926
|
readonly "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
927
927
|
readonly "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
928
928
|
readonly onClear?: (() => any) | undefined;
|
929
|
+
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
929
930
|
readonly onSelect?: ((value: SelectValue) => any) | undefined;
|
930
931
|
readonly onSearch?: ((value: string) => any) | undefined;
|
931
|
-
readonly onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
932
932
|
readonly "onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
933
933
|
readonly "onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
|
934
934
|
readonly "onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1203,9 +1203,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1203
1203
|
readonly allowCreate?: boolean | undefined;
|
1204
1204
|
readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1205
1205
|
readonly onClear?: ((ev: MouseEvent) => any) | undefined;
|
1206
|
+
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1206
1207
|
readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1207
1208
|
readonly onInput?: ((value: string) => any) | undefined;
|
1208
|
-
readonly onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1209
1209
|
readonly "onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1210
1210
|
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1211
1211
|
readonly "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -1226,14 +1226,14 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1226
1226
|
$root: import('vue').ComponentPublicInstance | null;
|
1227
1227
|
$parent: import('vue').ComponentPublicInstance | null;
|
1228
1228
|
$host: Element | null;
|
1229
|
-
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "
|
1229
|
+
$emit: ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "remove", value: string | number, ev: MouseEvent | KeyboardEvent) => 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: "press-enter", ev: KeyboardEvent) => void);
|
1230
1230
|
$el: HTMLDivElement;
|
1231
1231
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').InputTagProps> & Readonly<{
|
1232
1232
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1233
1233
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1234
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1234
1235
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1235
1236
|
onInput?: ((value: string) => any) | undefined;
|
1236
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1237
1237
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1238
1238
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1239
1239
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -1244,9 +1244,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1244
1244
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
1245
1245
|
focus: (ev: FocusEvent) => any;
|
1246
1246
|
clear: (ev: MouseEvent) => any;
|
1247
|
+
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
1247
1248
|
blur: (ev: FocusEvent) => any;
|
1248
1249
|
input: (value: string) => any;
|
1249
|
-
remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
|
1250
1250
|
"update:modelValue": (value: import('..').InputTagValue) => any;
|
1251
1251
|
"update:inputValue": (value: string) => any;
|
1252
1252
|
"input-value-change": (value: string, ev: Event) => any;
|
@@ -1308,9 +1308,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1308
1308
|
}> & Omit<Readonly<import('..').InputTagProps> & Readonly<{
|
1309
1309
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
1310
1310
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
1311
|
+
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1311
1312
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
1312
1313
|
onInput?: ((value: string) => any) | undefined;
|
1313
|
-
onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
|
1314
1314
|
"onUpdate:modelValue"?: ((value: import('..').InputTagValue) => any) | undefined;
|
1315
1315
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
1316
1316
|
"onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
|
@@ -1328,16 +1328,16 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1328
1328
|
$root: import('vue').ComponentPublicInstance | null;
|
1329
1329
|
$parent: import('vue').ComponentPublicInstance | null;
|
1330
1330
|
$host: Element | null;
|
1331
|
-
$emit: ((event: "change", value: SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "
|
1331
|
+
$emit: ((event: "change", value: SelectValue) => void) & ((event: "update:popupVisible", value: boolean) => void) & ((event: "popup-visible-change", value: boolean) => void) & ((event: "clear") => void) & ((event: "remove", index: string | number, ev: Event) => void) & ((event: "select", value: SelectValue) => void) & ((event: "search", value: string) => void) & ((event: "update:modelValue", value: SelectValue) => void) & ((event: "update:inputValue", value: SelectValue) => void) & ((event: "input-value-change", value: string) => void) & ((event: "exceedLimit", value: SelectValue, ev?: MouseEvent | undefined) => void) & ((event: "dropdown-scroll", ev: Event) => void) & ((event: "dropdown-reach-bottom", ev: Event) => void);
|
1332
1332
|
$el: any;
|
1333
1333
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../Select').SelectProps> & Readonly<{
|
1334
1334
|
onChange?: ((value: SelectValue) => any) | undefined;
|
1335
1335
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1336
1336
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1337
1337
|
onClear?: (() => any) | undefined;
|
1338
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1338
1339
|
onSelect?: ((value: SelectValue) => any) | undefined;
|
1339
1340
|
onSearch?: ((value: string) => any) | undefined;
|
1340
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1341
1341
|
"onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
1342
1342
|
"onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
|
1343
1343
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1353,9 +1353,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1353
1353
|
"update:popupVisible": (value: boolean) => any;
|
1354
1354
|
"popup-visible-change": (value: boolean) => any;
|
1355
1355
|
clear: () => any;
|
1356
|
+
remove: (index: string | number, ev: Event) => any;
|
1356
1357
|
select: (value: SelectValue) => any;
|
1357
1358
|
search: (value: string) => any;
|
1358
|
-
remove: (index: string | number, ev: Event) => any;
|
1359
1359
|
"update:modelValue": (value: SelectValue) => any;
|
1360
1360
|
"update:inputValue": (value: SelectValue) => any;
|
1361
1361
|
"input-value-change": (value: string) => any;
|
@@ -1455,9 +1455,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
|
|
1455
1455
|
"onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
|
1456
1456
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
1457
1457
|
onClear?: (() => any) | undefined;
|
1458
|
+
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1458
1459
|
onSelect?: ((value: SelectValue) => any) | undefined;
|
1459
1460
|
onSearch?: ((value: string) => any) | undefined;
|
1460
|
-
onRemove?: ((index: string | number, ev: Event) => any) | undefined;
|
1461
1461
|
"onUpdate:modelValue"?: ((value: SelectValue) => any) | undefined;
|
1462
1462
|
"onUpdate:inputValue"?: ((value: SelectValue) => any) | undefined;
|
1463
1463
|
"onInput-value-change"?: ((value: string) => any) | undefined;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { MessageProps } from './type';
|
2
2
|
declare const _default: import('vue').DefineComponent<MessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageProps> & Readonly<{}>, {
|
3
3
|
duration: number;
|
4
|
+
id: string;
|
4
5
|
content: import('../_shared/type').RenderContent;
|
5
6
|
icon: import('vue').RenderFunction;
|
6
7
|
type: import('./type').MessageType;
|
7
|
-
id: string;
|
8
8
|
onClose: (id: string | number) => void;
|
9
9
|
closable: boolean;
|
10
10
|
showIcon: boolean;
|
package/es/Message/index.d.ts
CHANGED
@@ -6,10 +6,10 @@ export * from './type';
|
|
6
6
|
declare const Message: {
|
7
7
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
8
8
|
duration: number;
|
9
|
+
id: string;
|
9
10
|
content: import('../_shared/type').RenderContent;
|
10
11
|
icon: import('vue').RenderFunction;
|
11
12
|
type: MessageType;
|
12
|
-
id: string;
|
13
13
|
onClose: (id: string | number) => void;
|
14
14
|
closable: boolean;
|
15
15
|
showIcon: boolean;
|
@@ -25,10 +25,10 @@ declare const Message: {
|
|
25
25
|
Defaults: {};
|
26
26
|
}, Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, {
|
27
27
|
duration: number;
|
28
|
+
id: string;
|
28
29
|
content: import('../_shared/type').RenderContent;
|
29
30
|
icon: import('vue').RenderFunction;
|
30
31
|
type: MessageType;
|
31
|
-
id: string;
|
32
32
|
onClose: (id: string | number) => void;
|
33
33
|
closable: boolean;
|
34
34
|
showIcon: boolean;
|
@@ -41,10 +41,10 @@ declare const Message: {
|
|
41
41
|
__isSuspense?: never;
|
42
42
|
} & import('vue').ComponentOptionsBase<Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
43
43
|
duration: number;
|
44
|
+
id: string;
|
44
45
|
content: import('../_shared/type').RenderContent;
|
45
46
|
icon: import('vue').RenderFunction;
|
46
47
|
type: MessageType;
|
47
|
-
id: string;
|
48
48
|
onClose: (id: string | number) => void;
|
49
49
|
closable: boolean;
|
50
50
|
showIcon: boolean;
|
package/es/Modal/Modal.vue.d.ts
CHANGED
@@ -31,10 +31,11 @@ declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {},
|
|
31
31
|
unmountOnClose: boolean;
|
32
32
|
popupContainer: import('..').PopupContainer;
|
33
33
|
renderToBody: boolean;
|
34
|
+
draggable: boolean;
|
35
|
+
title: string;
|
34
36
|
width: number | string;
|
35
37
|
visible: boolean;
|
36
38
|
footer: boolean;
|
37
|
-
title: string;
|
38
39
|
mask: boolean;
|
39
40
|
defaultVisible: boolean;
|
40
41
|
closable: boolean;
|
@@ -52,7 +53,6 @@ declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {},
|
|
52
53
|
modalClass: import('../_shared/type').ClassName;
|
53
54
|
modalStyle: CSSProperties;
|
54
55
|
escToClose: boolean;
|
55
|
-
draggable: boolean;
|
56
56
|
fullscreen: boolean;
|
57
57
|
maskAnimationName: string;
|
58
58
|
modalAnimationName: string;
|
@@ -4,10 +4,11 @@ declare const _default: import('vue').DefineComponent<ModalServiceProps, {}, {},
|
|
4
4
|
unmountOnClose: boolean;
|
5
5
|
popupContainer: import('..').PopupContainer;
|
6
6
|
renderToBody: boolean;
|
7
|
+
draggable: boolean;
|
8
|
+
title: string & import('../_shared/type').RenderContent;
|
7
9
|
width: number | string;
|
8
10
|
content: import('../_shared/type').RenderContent;
|
9
11
|
footer: boolean;
|
10
|
-
title: string & import('../_shared/type').RenderContent;
|
11
12
|
mask: boolean;
|
12
13
|
closable: boolean;
|
13
14
|
bodyStyle: import('vue').CSSProperties;
|
@@ -24,7 +25,6 @@ declare const _default: import('vue').DefineComponent<ModalServiceProps, {}, {},
|
|
24
25
|
modalClass: import('../_shared/type').ClassName;
|
25
26
|
modalStyle: import('vue').CSSProperties;
|
26
27
|
escToClose: boolean;
|
27
|
-
draggable: boolean;
|
28
28
|
fullscreen: boolean;
|
29
29
|
maskAnimationName: string;
|
30
30
|
modalAnimationName: string;
|
@@ -13,7 +13,7 @@ declare const _default: (params: {
|
|
13
13
|
asyncLoading: Ref<boolean, boolean>;
|
14
14
|
outerVisible: Ref<boolean, boolean>;
|
15
15
|
innerVisible: import('vue').WritableComputedRef<any, boolean>;
|
16
|
-
handleClose: (type: CloseEventType, ev: MouseEvent | KeyboardEvent) => Promise<void>;
|
16
|
+
handleClose: (type: CloseEventType, ev: MouseEvent | KeyboardEvent, cancelEmits?: boolean) => Promise<void>;
|
17
17
|
handleAfterLeave: () => void;
|
18
18
|
};
|
19
19
|
export default _default;
|
@@ -30,7 +30,7 @@ const useModalClose = (params) => {
|
|
30
30
|
emits("close");
|
31
31
|
outerVisible.value = false;
|
32
32
|
};
|
33
|
-
const handleClose = async (type, ev) => {
|
33
|
+
const handleClose = async (type, ev, cancelEmits = true) => {
|
34
34
|
const isClose = ["confirmBtn", "cancelBtn"].includes(type) ? await useOnBeforeClose(type, asyncLoading, onBeforeOk, onBeforeCancel) : true;
|
35
35
|
if (!isClose) {
|
36
36
|
return;
|
@@ -41,7 +41,7 @@ const useModalClose = (params) => {
|
|
41
41
|
if (type == "confirmBtn") {
|
42
42
|
emits("ok");
|
43
43
|
}
|
44
|
-
emits("cancel", ev);
|
44
|
+
cancelEmits && emits("cancel", ev);
|
45
45
|
innerVisible.value = false;
|
46
46
|
};
|
47
47
|
if (escToClose.value) {
|