next-ui3 1.3.23 → 1.4.0
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.css +1 -1
- package/dist/index.full.min.js +131 -16
- package/dist/index.full.min.mjs +133 -18
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/utils/index.min.js +2 -2
- package/dist/utils/index.min.mjs +2 -2
- package/es/components/autocomplete/src/index.vue.d.ts +10 -203
- package/es/components/cascader/src/index.vue.d.ts +5 -1111
- package/es/components/checkbox/src/index.vue.d.ts +5 -10
- package/es/components/checkbox-group/src/BlockCheckboxGroup.vue.d.ts +10 -15
- package/es/components/checkbox-group/src/index.vue.d.ts +24 -27
- package/es/components/date-picker/src/QuarterPicker.vue.d.ts +1 -1
- package/es/components/date-picker/src/SemiAnnualPicker.vue.d.ts +1 -1
- package/es/components/date-picker/src/index.vue.d.ts +5 -383
- package/es/components/download-button/src/index.vue.d.ts +5 -10
- package/es/components/empty/src/index.vue.d.ts +5 -10
- package/es/components/file-select/src/index.vue.d.ts +9 -17
- package/es/components/file-upload/index.d.ts +3 -0
- package/es/components/file-upload/src/FileList.vue.d.ts +2 -0
- package/es/components/file-upload/src/index.vue.d.ts +110 -0
- package/es/components/file-upload/src/types.d.ts +12 -0
- package/es/components/filter/src/index.vue.d.ts +11 -197
- package/es/components/flex-text/src/index.vue.d.ts +7 -14
- package/es/components/form/src/index.vue.d.ts +13 -197
- package/es/components/icon/index.d.ts +2 -0
- package/es/components/icon/src/index.vue.d.ts +12 -0
- package/es/components/index.d.ts +2 -0
- package/es/components/input/src/index.vue.d.ts +5 -415
- package/es/components/input-number/src/index.vue.d.ts +9 -418
- package/es/components/input-password/src/index.vue.d.ts +5 -415
- package/es/components/pagination/src/index.vue.d.ts +5 -8
- package/es/components/radio-group/src/CustomRadioGroup.vue.d.ts +10 -15
- package/es/components/radio-group/src/index.vue.d.ts +19 -21
- package/es/components/remote-cascader/src/index.vue.d.ts +5 -10
- package/es/components/remote-select/src/DictSelect.vue.d.ts +5 -149
- package/es/components/remote-select/src/EnumSelect.vue.d.ts +5 -149
- package/es/components/remote-select/src/index.vue.d.ts +5 -10
- package/es/components/remote-tree-select/src/index.vue.d.ts +5 -10
- package/es/components/remote-tree-select/src/old.vue.d.ts +5 -53
- package/es/components/select/src/index.vue.d.ts +19 -549
- package/es/components/table/src/index.vue.d.ts +15 -571
- package/es/components/tree-panel/src/index.vue.d.ts +11 -882
- package/es/components/tree-select/src/index.vue.d.ts +5 -53
- package/es/components/upload/src/ImageUpload.vue.d.ts +8 -15
- package/es/components/upload/src/index.vue.d.ts +11 -468
- package/es/config/icons.d.ts +1 -0
- package/es/config/index.d.ts +1 -0
- package/es/hooks/use-toast/index.d.ts +1 -0
- package/es/hooks/use-upload-config/index.d.ts +1 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/lock.d.ts +6 -0
- package/es/utils/timer.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/lib/components/autocomplete/src/index.vue.d.ts +10 -203
- package/lib/components/cascader/src/index.vue.d.ts +5 -1111
- package/lib/components/checkbox/src/index.vue.d.ts +5 -10
- package/lib/components/checkbox-group/src/BlockCheckboxGroup.vue.d.ts +10 -15
- package/lib/components/checkbox-group/src/index.vue.d.ts +24 -27
- package/lib/components/date-picker/src/QuarterPicker.vue.d.ts +1 -1
- package/lib/components/date-picker/src/SemiAnnualPicker.vue.d.ts +1 -1
- package/lib/components/date-picker/src/index.vue.d.ts +5 -383
- package/lib/components/download-button/src/index.vue.d.ts +5 -10
- package/lib/components/empty/src/index.vue.d.ts +5 -10
- package/lib/components/file-select/src/index.vue.d.ts +9 -17
- package/lib/components/file-upload/index.d.ts +3 -0
- package/lib/components/file-upload/src/FileList.vue.d.ts +2 -0
- package/lib/components/file-upload/src/index.vue.d.ts +110 -0
- package/lib/components/file-upload/src/types.d.ts +12 -0
- package/lib/components/filter/src/index.vue.d.ts +11 -197
- package/lib/components/flex-text/src/index.vue.d.ts +7 -14
- package/lib/components/form/src/index.vue.d.ts +13 -197
- package/lib/components/icon/index.d.ts +2 -0
- package/lib/components/icon/src/index.vue.d.ts +12 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/input/src/index.vue.d.ts +5 -415
- package/lib/components/input-number/src/index.vue.d.ts +9 -418
- package/lib/components/input-password/src/index.vue.d.ts +5 -415
- package/lib/components/pagination/src/index.vue.d.ts +5 -8
- package/lib/components/radio-group/src/CustomRadioGroup.vue.d.ts +10 -15
- package/lib/components/radio-group/src/index.vue.d.ts +19 -21
- package/lib/components/remote-cascader/src/index.vue.d.ts +5 -10
- package/lib/components/remote-select/src/DictSelect.vue.d.ts +5 -149
- package/lib/components/remote-select/src/EnumSelect.vue.d.ts +5 -149
- package/lib/components/remote-select/src/index.vue.d.ts +5 -10
- package/lib/components/remote-tree-select/src/index.vue.d.ts +5 -10
- package/lib/components/remote-tree-select/src/old.vue.d.ts +5 -53
- package/lib/components/select/src/index.vue.d.ts +19 -549
- package/lib/components/table/src/index.vue.d.ts +15 -571
- package/lib/components/tree-panel/src/index.vue.d.ts +11 -882
- package/lib/components/tree-select/src/index.vue.d.ts +5 -53
- package/lib/components/upload/src/ImageUpload.vue.d.ts +8 -15
- package/lib/components/upload/src/index.vue.d.ts +11 -468
- package/lib/config/icons.d.ts +1 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/hooks/use-toast/index.d.ts +1 -0
- package/lib/hooks/use-upload-config/index.d.ts +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/lock.d.ts +6 -0
- package/lib/utils/timer.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
- package/theme-chalk/base.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/nt-empty.css +1 -1
- package/theme-chalk/nt-file-select.css +1 -1
- package/theme-chalk/nt-file-upload.css +1 -0
- package/theme-chalk/nt-icon.css +1 -0
- package/theme-chalk/src/base.scss +3 -0
- package/theme-chalk/src/file-upload.scss +156 -0
- package/theme-chalk/src/icon.scss +15 -0
- package/theme-chalk/src/index.scss +2 -0
|
@@ -1,210 +1,17 @@
|
|
|
1
|
-
import { nextTick } from 'vue';
|
|
2
1
|
type __VLS_Props = {
|
|
3
|
-
modelValue: string;
|
|
4
|
-
defaultValue?: string;
|
|
5
|
-
emptyValue?: string;
|
|
2
|
+
modelValue: string | number;
|
|
3
|
+
defaultValue?: string | number;
|
|
4
|
+
emptyValue?: string | number;
|
|
6
5
|
lazy?: boolean;
|
|
7
6
|
valueKey?: string;
|
|
8
7
|
trim?: boolean;
|
|
9
8
|
validateEvent?: boolean;
|
|
10
9
|
blurAfterSelect?: boolean;
|
|
11
10
|
};
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
refs: {
|
|
16
|
-
autocompleteRef: ({
|
|
17
|
-
$: import("vue").ComponentInternalInstance;
|
|
18
|
-
$data: {};
|
|
19
|
-
$props: Partial<{
|
|
20
|
-
readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
|
-
readonly modelValue: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
22
|
-
readonly placement: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown>;
|
|
23
|
-
readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
|
-
readonly popperClass: string;
|
|
25
|
-
readonly teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
26
|
-
readonly valueKey: string;
|
|
27
|
-
readonly debounce: number;
|
|
28
|
-
readonly fetchSuggestions: import("element-plus").AutocompleteFetchSuggestions;
|
|
29
|
-
readonly triggerOnFocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
30
|
-
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
31
|
-
readonly hideLoading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
|
-
readonly highlightFirstItem: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
33
|
-
readonly fitInputWidth: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
-
readonly ariaLabel: StringConstructor;
|
|
36
|
-
readonly valueKey: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
37
|
-
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
38
|
-
readonly debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
39
|
-
readonly placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
|
|
40
|
-
readonly fetchSuggestions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions) | ((new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions))[], unknown, unknown, () => void, boolean>;
|
|
41
|
-
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
42
|
-
readonly triggerOnFocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
43
|
-
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
44
|
-
readonly hideLoading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
45
|
-
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
46
|
-
readonly highlightFirstItem: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
47
|
-
readonly fitInputWidth: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
48
|
-
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
49
|
-
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
50
|
-
readonly name: StringConstructor;
|
|
51
|
-
}>> & {
|
|
52
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
|
-
onChange?: ((value: string) => any) | undefined;
|
|
54
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
55
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
56
|
-
onInput?: ((value: string) => any) | undefined;
|
|
57
|
-
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
58
|
-
onClear?: (() => any) | undefined;
|
|
59
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "modelValue" | "valueKey" | "debounce" | "placement" | "fetchSuggestions" | "popperClass" | "triggerOnFocus" | "selectWhenUnmatched" | "hideLoading" | "teleported" | "highlightFirstItem" | "fitInputWidth" | "clearable">;
|
|
60
|
-
$attrs: {
|
|
61
|
-
[x: string]: unknown;
|
|
62
|
-
};
|
|
63
|
-
$refs: {
|
|
64
|
-
[x: string]: unknown;
|
|
65
|
-
};
|
|
66
|
-
$slots: import("vue").Slots;
|
|
67
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
68
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
69
|
-
$emit: ((event: "input", value: string) => void) & ((event: "select", item: Record<string, any>) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "clear") => void);
|
|
70
|
-
$el: any;
|
|
71
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
-
readonly ariaLabel: StringConstructor;
|
|
73
|
-
readonly valueKey: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
74
|
-
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
75
|
-
readonly debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
76
|
-
readonly placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
|
|
77
|
-
readonly fetchSuggestions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions) | ((new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions))[], unknown, unknown, () => void, boolean>;
|
|
78
|
-
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
79
|
-
readonly triggerOnFocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
80
|
-
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
81
|
-
readonly hideLoading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
82
|
-
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
83
|
-
readonly highlightFirstItem: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
84
|
-
readonly fitInputWidth: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
85
|
-
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
86
|
-
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
87
|
-
readonly name: StringConstructor;
|
|
88
|
-
}>> & {
|
|
89
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
90
|
-
onChange?: ((value: string) => any) | undefined;
|
|
91
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
92
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
93
|
-
onInput?: ((value: string) => any) | undefined;
|
|
94
|
-
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
95
|
-
onClear?: (() => any) | undefined;
|
|
96
|
-
}, {
|
|
97
|
-
highlightedIndex: import("vue").Ref<number>;
|
|
98
|
-
activated: import("vue").Ref<boolean>;
|
|
99
|
-
loading: import("vue").Ref<boolean>;
|
|
100
|
-
inputRef: import("vue").Ref<import("element-plus").InputInstance | undefined>;
|
|
101
|
-
popperRef: import("vue").Ref<import("element-plus").TooltipInstance | undefined>;
|
|
102
|
-
suggestions: import("vue").Ref<import("element-plus").AutocompleteData>;
|
|
103
|
-
handleSelect: (item: any) => void;
|
|
104
|
-
handleKeyEnter: () => void;
|
|
105
|
-
focus: () => void;
|
|
106
|
-
blur: () => void;
|
|
107
|
-
close: () => void;
|
|
108
|
-
highlight: (index: number) => void;
|
|
109
|
-
getData: (queryString: string) => void;
|
|
110
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
111
|
-
select: (item: Record<string, any>) => void;
|
|
112
|
-
clear: () => void;
|
|
113
|
-
"update:modelValue": (value: string) => void;
|
|
114
|
-
change: (value: string) => void;
|
|
115
|
-
input: (value: string) => void;
|
|
116
|
-
blur: (evt: FocusEvent) => void;
|
|
117
|
-
focus: (evt: FocusEvent) => void;
|
|
118
|
-
}, string, {
|
|
119
|
-
readonly disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
120
|
-
readonly modelValue: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
121
|
-
readonly placement: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown>;
|
|
122
|
-
readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
123
|
-
readonly popperClass: string;
|
|
124
|
-
readonly teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
125
|
-
readonly valueKey: string;
|
|
126
|
-
readonly debounce: number;
|
|
127
|
-
readonly fetchSuggestions: import("element-plus").AutocompleteFetchSuggestions;
|
|
128
|
-
readonly triggerOnFocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
129
|
-
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
130
|
-
readonly hideLoading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
131
|
-
readonly highlightFirstItem: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
132
|
-
readonly fitInputWidth: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
133
|
-
}> & {
|
|
134
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
135
|
-
created?: (() => void) | (() => void)[];
|
|
136
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
137
|
-
mounted?: (() => void) | (() => void)[];
|
|
138
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
139
|
-
updated?: (() => void) | (() => void)[];
|
|
140
|
-
activated?: (() => void) | (() => void)[];
|
|
141
|
-
deactivated?: (() => void) | (() => void)[];
|
|
142
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
143
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
144
|
-
destroyed?: (() => void) | (() => void)[];
|
|
145
|
-
unmounted?: (() => void) | (() => void)[];
|
|
146
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
147
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
148
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
149
|
-
};
|
|
150
|
-
$forceUpdate: () => void;
|
|
151
|
-
$nextTick: typeof nextTick;
|
|
152
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
153
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
154
|
-
readonly ariaLabel: StringConstructor;
|
|
155
|
-
readonly valueKey: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
156
|
-
readonly modelValue: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
157
|
-
readonly debounce: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
158
|
-
readonly placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
|
|
159
|
-
readonly fetchSuggestions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions) | ((new (...args: any[]) => import("element-plus").AutocompleteData | ((queryString: string, cb: import("element-plus").AutocompleteFetchSuggestionsCallback) => import("element-plus/es/utils").Awaitable<import("element-plus").AutocompleteData> | void)) | (() => import("element-plus").AutocompleteFetchSuggestions))[], unknown, unknown, () => void, boolean>;
|
|
160
|
-
readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
161
|
-
readonly triggerOnFocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
162
|
-
readonly selectWhenUnmatched: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
163
|
-
readonly hideLoading: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
164
|
-
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
165
|
-
readonly highlightFirstItem: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
166
|
-
readonly fitInputWidth: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
167
|
-
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
168
|
-
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
169
|
-
readonly name: StringConstructor;
|
|
170
|
-
}>> & {
|
|
171
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
172
|
-
onChange?: ((value: string) => any) | undefined;
|
|
173
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
174
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
175
|
-
onInput?: ((value: string) => any) | undefined;
|
|
176
|
-
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
177
|
-
onClear?: (() => any) | undefined;
|
|
178
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
179
|
-
highlightedIndex: import("vue").Ref<number>;
|
|
180
|
-
activated: import("vue").Ref<boolean>;
|
|
181
|
-
loading: import("vue").Ref<boolean>;
|
|
182
|
-
inputRef: import("vue").Ref<import("element-plus").InputInstance | undefined>;
|
|
183
|
-
popperRef: import("vue").Ref<import("element-plus").TooltipInstance | undefined>;
|
|
184
|
-
suggestions: import("vue").Ref<import("element-plus").AutocompleteData>;
|
|
185
|
-
handleSelect: (item: any) => void;
|
|
186
|
-
handleKeyEnter: () => void;
|
|
187
|
-
focus: () => void;
|
|
188
|
-
blur: () => void;
|
|
189
|
-
close: () => void;
|
|
190
|
-
highlight: (index: number) => void;
|
|
191
|
-
getData: (queryString: string) => void;
|
|
192
|
-
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {
|
|
193
|
-
$slots: {
|
|
194
|
-
prepend?(_: {}): any;
|
|
195
|
-
append?(_: {}): any;
|
|
196
|
-
prefix?(_: {}): any;
|
|
197
|
-
suffix?(_: {}): any;
|
|
198
|
-
loading?(_: {}): any;
|
|
199
|
-
default?(_: {
|
|
200
|
-
item: Record<string, any>;
|
|
201
|
-
}): any;
|
|
202
|
-
};
|
|
203
|
-
}) | null;
|
|
204
|
-
};
|
|
205
|
-
rootEl: any;
|
|
11
|
+
declare var __VLS_14: string, __VLS_15: any;
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
[K in NonNullable<typeof __VLS_14>]?: (props: typeof __VLS_15) => any;
|
|
206
14
|
};
|
|
207
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
208
15
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
209
16
|
defaultValue: string;
|
|
210
17
|
emptyValue: string;
|
|
@@ -230,15 +37,15 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
230
37
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
231
38
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
232
39
|
}, {
|
|
233
|
-
defaultValue: string;
|
|
234
|
-
emptyValue: string;
|
|
40
|
+
defaultValue: string | number;
|
|
41
|
+
emptyValue: string | number;
|
|
235
42
|
lazy: boolean;
|
|
236
43
|
valueKey: string;
|
|
237
44
|
trim: boolean;
|
|
238
45
|
validateEvent: boolean;
|
|
239
46
|
blurAfterSelect: boolean;
|
|
240
47
|
}>;
|
|
241
|
-
declare const _default:
|
|
48
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
242
49
|
export default _default;
|
|
243
50
|
type __VLS_WithDefaults<P, D> = {
|
|
244
51
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
@@ -254,7 +61,7 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
254
61
|
required: true;
|
|
255
62
|
};
|
|
256
63
|
};
|
|
257
|
-
type
|
|
64
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
258
65
|
new (): {
|
|
259
66
|
$slots: S;
|
|
260
67
|
};
|