@silver-formily/element-plus 2.1.0 → 2.3.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/LICENSE +21 -21
- package/README.en-US.md +32 -32
- package/README.md +32 -32
- package/esm/__builtins__/configs/index.mjs.map +1 -1
- package/esm/__builtins__/index.mjs +19 -23
- package/esm/__builtins__/index.mjs.map +1 -1
- package/esm/__builtins__/shared/index.d.ts +0 -1
- package/esm/__builtins__/shared/index.mjs +17 -21
- package/esm/__builtins__/shared/index.mjs.map +1 -1
- package/esm/__builtins__/shared/loading.mjs +5 -5
- package/esm/__builtins__/shared/loading.mjs.map +1 -1
- package/esm/__builtins__/shared/simple-version-compare.mjs.map +1 -1
- package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
- package/esm/__builtins__/shared/use-enter-submit.d.ts +9 -0
- package/esm/__builtins__/shared/use-enter-submit.mjs +25 -0
- package/esm/__builtins__/shared/use-enter-submit.mjs.map +1 -0
- package/esm/__builtins__/shared/utils.mjs.map +1 -1
- package/esm/array-base/index.mjs +18 -21
- package/esm/array-base/index.mjs.map +1 -1
- package/esm/array-base/symbols.mjs.map +1 -1
- package/esm/array-base/utils.mjs +29 -33
- package/esm/array-base/utils.mjs.map +1 -1
- package/esm/array-cards/index.mjs +29 -31
- package/esm/array-cards/index.mjs.map +1 -1
- package/esm/array-collapse/index.mjs +35 -36
- package/esm/array-collapse/index.mjs.map +1 -1
- package/esm/array-collapse/utils.mjs +2 -8
- package/esm/array-collapse/utils.mjs.map +1 -1
- package/esm/array-items/index.mjs +30 -33
- package/esm/array-items/index.mjs.map +1 -1
- package/esm/array-list-tabs/index.mjs +27 -28
- package/esm/array-list-tabs/index.mjs.map +1 -1
- package/esm/array-list-tabs/utils.mjs +5 -11
- package/esm/array-list-tabs/utils.mjs.map +1 -1
- package/esm/array-table/index.mjs +52 -53
- package/esm/array-table/index.mjs.map +1 -1
- package/esm/array-table/utils.mjs +12 -18
- package/esm/array-table/utils.mjs.map +1 -1
- package/esm/array-tabs/index.mjs +17 -19
- package/esm/array-tabs/index.mjs.map +1 -1
- package/esm/autocomplete/autocomplete.d.ts +1222 -0
- package/esm/autocomplete/index.d.ts +639 -0
- package/esm/autocomplete/index.mjs +110 -0
- package/esm/autocomplete/index.mjs.map +1 -0
- package/esm/cascader/index.mjs +17 -20
- package/esm/cascader/index.mjs.map +1 -1
- package/esm/checkbox/index.d.ts +42 -42
- package/esm/checkbox/index.mjs +16 -19
- package/esm/checkbox/index.mjs.map +1 -1
- package/esm/color-picker/index.d.ts +210 -0
- package/esm/color-picker/index.mjs +14 -0
- package/esm/color-picker/index.mjs.map +1 -0
- package/esm/color-picker-panel/index.d.ts +129 -0
- package/esm/color-picker-panel/index.mjs +22 -0
- package/esm/color-picker-panel/index.mjs.map +1 -0
- package/esm/date-picker/index.mjs +11 -35
- package/esm/date-picker/index.mjs.map +1 -1
- package/esm/date-picker/utils.d.ts +4 -0
- package/esm/date-picker/utils.mjs +27 -0
- package/esm/date-picker/utils.mjs.map +1 -0
- package/esm/date-picker-panel/index.d.ts +143 -0
- package/esm/date-picker-panel/index.mjs +27 -0
- package/esm/date-picker-panel/index.mjs.map +1 -0
- package/esm/editable/index.mjs +48 -50
- package/esm/editable/index.mjs.map +1 -1
- package/esm/env.d.mjs +2 -0
- package/esm/env.d.mjs.map +1 -0
- package/esm/form/form.mjs +6 -6
- package/esm/form/form.mjs.map +1 -1
- package/esm/form-button-group/form-button-group.d.ts +1 -1
- package/esm/form-button-group/index.d.ts +3 -3
- package/esm/form-button-group/index.mjs +23 -26
- package/esm/form-button-group/index.mjs.map +1 -1
- package/esm/form-button-group/utils.mjs +2 -8
- package/esm/form-button-group/utils.mjs.map +1 -1
- package/esm/form-collapse/index.mjs +18 -20
- package/esm/form-collapse/index.mjs.map +1 -1
- package/esm/form-collapse/utils.mjs.map +1 -1
- package/esm/form-dialog/dialog-content.d.ts +789 -3
- package/esm/form-dialog/index.mjs +98 -87
- package/esm/form-dialog/index.mjs.map +1 -1
- package/esm/form-dialog/types.d.ts +1 -0
- package/esm/form-drawer/drawer-content.d.ts +919 -3
- package/esm/form-drawer/index.mjs +92 -82
- package/esm/form-drawer/index.mjs.map +1 -1
- package/esm/form-drawer/types.d.ts +1 -0
- package/esm/form-grid/hooks.mjs.map +1 -1
- package/esm/form-grid/index.mjs +20 -23
- package/esm/form-grid/index.mjs.map +1 -1
- package/esm/form-item/index.mjs +59 -57
- package/esm/form-item/index.mjs.map +1 -1
- package/esm/form-item/utils.mjs.map +1 -1
- package/esm/form-layout/form-layout.mjs +14 -18
- package/esm/form-layout/form-layout.mjs.map +1 -1
- package/esm/form-layout/utils.mjs +19 -24
- package/esm/form-layout/utils.mjs.map +1 -1
- package/esm/form-step/index.mjs +24 -26
- package/esm/form-step/index.mjs.map +1 -1
- package/esm/form-step/utils.mjs.map +1 -1
- package/esm/form-tab/hooks.mjs.map +1 -1
- package/esm/form-tab/index.mjs +19 -20
- package/esm/form-tab/index.mjs.map +1 -1
- package/esm/form-tab/utils.mjs.map +1 -1
- package/esm/index.d.ts +9 -0
- package/esm/index.mjs +90 -72
- package/esm/index.mjs.map +1 -1
- package/esm/input/index.mjs +20 -23
- package/esm/input/index.mjs.map +1 -1
- package/esm/input-number/index.d.ts +21 -21
- package/esm/input-number/index.mjs +7 -9
- package/esm/input-number/index.mjs.map +1 -1
- package/esm/input-tag/index.d.ts +32 -0
- package/esm/input-tag/index.mjs +46 -0
- package/esm/input-tag/index.mjs.map +1 -0
- package/esm/input-tag/input-tag.d.ts +32 -0
- package/esm/mention/index.d.ts +50 -0
- package/esm/mention/index.mjs +93 -0
- package/esm/mention/index.mjs.map +1 -0
- package/esm/mention/mention.d.ts +51 -0
- package/esm/pagination/components/jumper.mjs.map +1 -1
- package/esm/pagination/components/next.mjs.map +1 -1
- package/esm/pagination/components/pager.mjs.map +1 -1
- package/esm/pagination/components/prev.mjs.map +1 -1
- package/esm/pagination/components/total.mjs.map +1 -1
- package/esm/pagination/pagination.mjs.map +1 -1
- package/esm/password/index.mjs.map +1 -1
- package/esm/preview-text/color-picker.d.ts +5 -0
- package/esm/preview-text/index.d.ts +10 -0
- package/esm/preview-text/index.mjs +175 -119
- package/esm/preview-text/index.mjs.map +1 -1
- package/esm/preview-text/rate.d.ts +5 -0
- package/esm/preview-text/utils.d.ts +5 -5
- package/esm/preview-text/utils.mjs.map +1 -1
- package/esm/radio/index.d.ts +36 -36
- package/esm/radio/index.mjs +25 -28
- package/esm/radio/index.mjs.map +1 -1
- package/esm/rate/index.d.ts +187 -0
- package/esm/rate/index.mjs +14 -0
- package/esm/rate/index.mjs.map +1 -0
- package/esm/reset/index.mjs.map +1 -1
- package/esm/segmented/index.d.ts +26 -0
- package/esm/segmented/index.mjs +37 -0
- package/esm/segmented/index.mjs.map +1 -0
- package/esm/segmented/segmented.d.ts +25 -0
- package/esm/select/index.mjs +16 -19
- package/esm/select/index.mjs.map +1 -1
- package/esm/select-table/index.mjs +12 -15
- package/esm/select-table/index.mjs.map +1 -1
- package/esm/shared/overlay-elements.d.ts +6 -0
- package/esm/shared/overlay-elements.mjs +16 -0
- package/esm/shared/overlay-elements.mjs.map +1 -0
- package/esm/slider/index.d.ts +177 -0
- package/esm/slider/index.mjs +14 -0
- package/esm/slider/index.mjs.map +1 -0
- package/esm/styles/preview-text/index.css +1 -1
- package/esm/submit/index.mjs.map +1 -1
- package/esm/switch/index.d.ts +12 -12
- package/esm/switch/index.mjs.map +1 -1
- package/esm/time-picker/index.mjs +6 -8
- package/esm/time-picker/index.mjs.map +1 -1
- package/esm/time-select/index.mjs +6 -8
- package/esm/time-select/index.mjs.map +1 -1
- package/esm/transfer/index.mjs.map +1 -1
- package/esm/tree/index.mjs +28 -31
- package/esm/tree/index.mjs.map +1 -1
- package/esm/tree/utils.mjs.map +1 -1
- package/esm/tree-select/index.mjs +17 -20
- package/esm/tree-select/index.mjs.map +1 -1
- package/esm/upload/index.d.ts +1 -1
- package/esm/upload/index.mjs +7 -9
- package/esm/upload/index.mjs.map +1 -1
- package/esm/upload/upload.d.ts +2 -2
- package/esm/vendor/sizes.mjs.map +1 -1
- package/package.json +115 -113
- package/esm/__builtins__/shared/hooks.d.ts +0 -7
- package/esm/__builtins__/shared/hooks.mjs +0 -59
- package/esm/__builtins__/shared/hooks.mjs.map +0 -1
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
export declare const Autocomplete: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
options?: import('element-plus').AutocompleteData;
|
|
4
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
5
|
+
autocompleteRef: {
|
|
6
|
+
$: import('vue').ComponentInternalInstance;
|
|
7
|
+
$data: {};
|
|
8
|
+
$props: Partial<{
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
tabindex: string | number;
|
|
11
|
+
type: import('element-plus').InputType;
|
|
12
|
+
modelValue: string | number;
|
|
13
|
+
placement: import('element-plus').AutocompletePlacement;
|
|
14
|
+
teleported: boolean;
|
|
15
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
16
|
+
autocomplete: string;
|
|
17
|
+
clearIcon: string | import('vue').Component;
|
|
18
|
+
wordLimitPosition: "inside" | "outside";
|
|
19
|
+
validateEvent: boolean;
|
|
20
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
21
|
+
rows: number;
|
|
22
|
+
valueKey: string;
|
|
23
|
+
debounce: number;
|
|
24
|
+
fetchSuggestions: import('element-plus').AutocompleteFetchSuggestions;
|
|
25
|
+
triggerOnFocus: boolean;
|
|
26
|
+
loopNavigation: boolean;
|
|
27
|
+
}> & Omit<{
|
|
28
|
+
readonly type: import('element-plus').InputType;
|
|
29
|
+
readonly placement: import('element-plus').AutocompletePlacement;
|
|
30
|
+
readonly modelValue: string | number;
|
|
31
|
+
readonly tabindex: string | number;
|
|
32
|
+
readonly teleported: import('element-plus').ElTooltipContentProps["teleported"];
|
|
33
|
+
readonly modelModifiers: import('element-plus').InputModelModifiers;
|
|
34
|
+
readonly autocomplete: string;
|
|
35
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
36
|
+
readonly validateEvent: boolean;
|
|
37
|
+
readonly inputStyle: import('vue').StyleValue;
|
|
38
|
+
readonly rows: number;
|
|
39
|
+
readonly debounce: number;
|
|
40
|
+
readonly valueKey: string;
|
|
41
|
+
readonly fetchSuggestions: import('element-plus').AutocompleteFetchSuggestions;
|
|
42
|
+
readonly triggerOnFocus: boolean;
|
|
43
|
+
readonly loopNavigation: boolean;
|
|
44
|
+
readonly size?: import('element-plus').ComponentSize;
|
|
45
|
+
readonly form?: string;
|
|
46
|
+
readonly name?: string;
|
|
47
|
+
readonly disabled?: boolean;
|
|
48
|
+
readonly resize?: "none" | "both" | "horizontal" | "vertical";
|
|
49
|
+
readonly id?: string;
|
|
50
|
+
readonly placeholder?: string;
|
|
51
|
+
readonly ariaLabel?: string;
|
|
52
|
+
readonly popperClass?: import('element-plus').ElTooltipContentProps["popperClass"];
|
|
53
|
+
readonly popperStyle?: import('element-plus').ElTooltipContentProps["popperStyle"];
|
|
54
|
+
readonly maxlength?: string | number;
|
|
55
|
+
readonly minlength?: string | number;
|
|
56
|
+
readonly autosize?: unknown;
|
|
57
|
+
readonly formatter?: (value: string) => string;
|
|
58
|
+
readonly parser?: (value: string) => string;
|
|
59
|
+
readonly readonly?: boolean;
|
|
60
|
+
readonly clearable?: boolean;
|
|
61
|
+
readonly clearIcon?: any;
|
|
62
|
+
readonly showPassword?: boolean;
|
|
63
|
+
readonly showWordLimit?: boolean;
|
|
64
|
+
readonly suffixIcon?: unknown;
|
|
65
|
+
readonly prefixIcon?: unknown;
|
|
66
|
+
readonly containerRole?: string;
|
|
67
|
+
readonly autofocus?: boolean;
|
|
68
|
+
readonly inputmode?: import('vue').HTMLAttributes["inputmode"];
|
|
69
|
+
readonly fitInputWidth?: boolean;
|
|
70
|
+
readonly appendTo?: import('element-plus').ElTooltipContentProps["appendTo"];
|
|
71
|
+
readonly selectWhenUnmatched?: boolean;
|
|
72
|
+
readonly hideLoading?: boolean;
|
|
73
|
+
readonly highlightFirstItem?: boolean;
|
|
74
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
75
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
76
|
+
onInput?: ((value: string | number) => any) | undefined;
|
|
77
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
78
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
79
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
80
|
+
onClear?: (() => any) | undefined;
|
|
81
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "placement" | "disabled" | "modelValue" | "tabindex" | "teleported" | "modelModifiers" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "debounce" | "valueKey" | "fetchSuggestions" | "triggerOnFocus" | "loopNavigation">;
|
|
82
|
+
$attrs: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
};
|
|
85
|
+
$refs: {
|
|
86
|
+
[x: string]: unknown;
|
|
87
|
+
};
|
|
88
|
+
$slots: Readonly<{
|
|
89
|
+
[name: string]: import('vue').Slot<any>;
|
|
90
|
+
}>;
|
|
91
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
92
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
93
|
+
$host: Element | null;
|
|
94
|
+
$emit: ((event: "input", value: string | number) => void) & ((event: "select", item: Record<string, any>) => void) & ((event: "clear") => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string | number) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string | number) => void);
|
|
95
|
+
$el: any;
|
|
96
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
97
|
+
size: {
|
|
98
|
+
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
99
|
+
};
|
|
100
|
+
type: {
|
|
101
|
+
type: import('vue').PropType<import('element-plus').InputType>;
|
|
102
|
+
default: import('element-plus').InputType;
|
|
103
|
+
};
|
|
104
|
+
form: {
|
|
105
|
+
type: import('vue').PropType<string>;
|
|
106
|
+
};
|
|
107
|
+
name: {
|
|
108
|
+
type: import('vue').PropType<string>;
|
|
109
|
+
};
|
|
110
|
+
placement: {
|
|
111
|
+
type: import('vue').PropType<import('element-plus').AutocompletePlacement>;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
disabled: {
|
|
115
|
+
type: import('vue').PropType<boolean>;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
resize: {
|
|
119
|
+
type: import('vue').PropType<"none" | "horizontal" | "vertical" | "both">;
|
|
120
|
+
};
|
|
121
|
+
id: {
|
|
122
|
+
type: import('vue').PropType<string>;
|
|
123
|
+
};
|
|
124
|
+
placeholder: {
|
|
125
|
+
type: import('vue').PropType<string>;
|
|
126
|
+
};
|
|
127
|
+
modelValue: {
|
|
128
|
+
type: import('vue').PropType<string | number>;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
tabindex: {
|
|
132
|
+
type: import('vue').PropType<string | number>;
|
|
133
|
+
default: 0;
|
|
134
|
+
};
|
|
135
|
+
ariaLabel: {
|
|
136
|
+
type: import('vue').PropType<string>;
|
|
137
|
+
};
|
|
138
|
+
popperClass: {
|
|
139
|
+
type: import('vue').PropType<string | {
|
|
140
|
+
[x: string]: boolean;
|
|
141
|
+
} | (string | {
|
|
142
|
+
[x: string]: boolean;
|
|
143
|
+
} | (string | {
|
|
144
|
+
[x: string]: boolean;
|
|
145
|
+
} | (string | {
|
|
146
|
+
[x: string]: boolean;
|
|
147
|
+
} | (string | {
|
|
148
|
+
[x: string]: boolean;
|
|
149
|
+
} | (string | {
|
|
150
|
+
[x: string]: boolean;
|
|
151
|
+
} | (string | {
|
|
152
|
+
[x: string]: boolean;
|
|
153
|
+
} | (string | {
|
|
154
|
+
[x: string]: boolean;
|
|
155
|
+
} | (string | {
|
|
156
|
+
[x: string]: boolean;
|
|
157
|
+
} | (string | {
|
|
158
|
+
[x: string]: boolean;
|
|
159
|
+
} | (string | {
|
|
160
|
+
[x: string]: boolean;
|
|
161
|
+
} | (string | {
|
|
162
|
+
[x: string]: boolean;
|
|
163
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>;
|
|
164
|
+
};
|
|
165
|
+
popperStyle: {
|
|
166
|
+
type: import('vue').PropType<import('vue').StyleValue>;
|
|
167
|
+
};
|
|
168
|
+
teleported: {
|
|
169
|
+
type: import('vue').PropType<boolean>;
|
|
170
|
+
default: boolean;
|
|
171
|
+
};
|
|
172
|
+
modelModifiers: {
|
|
173
|
+
type: import('vue').PropType<import('element-plus').InputModelModifiers>;
|
|
174
|
+
default: () => {};
|
|
175
|
+
};
|
|
176
|
+
maxlength: {
|
|
177
|
+
type: import('vue').PropType<string | number>;
|
|
178
|
+
};
|
|
179
|
+
minlength: {
|
|
180
|
+
type: import('vue').PropType<string | number>;
|
|
181
|
+
};
|
|
182
|
+
autosize: {
|
|
183
|
+
type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
184
|
+
};
|
|
185
|
+
autocomplete: {
|
|
186
|
+
type: import('vue').PropType<string>;
|
|
187
|
+
default: "off";
|
|
188
|
+
};
|
|
189
|
+
formatter: {
|
|
190
|
+
type: import('vue').PropType<(value: string) => string>;
|
|
191
|
+
};
|
|
192
|
+
parser: {
|
|
193
|
+
type: import('vue').PropType<(value: string) => string>;
|
|
194
|
+
};
|
|
195
|
+
readonly: {
|
|
196
|
+
type: import('vue').PropType<boolean>;
|
|
197
|
+
};
|
|
198
|
+
clearable: {
|
|
199
|
+
type: import('vue').PropType<boolean>;
|
|
200
|
+
};
|
|
201
|
+
clearIcon: {
|
|
202
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
203
|
+
default: any;
|
|
204
|
+
};
|
|
205
|
+
showPassword: {
|
|
206
|
+
type: import('vue').PropType<boolean>;
|
|
207
|
+
};
|
|
208
|
+
showWordLimit: {
|
|
209
|
+
type: import('vue').PropType<boolean>;
|
|
210
|
+
};
|
|
211
|
+
wordLimitPosition: {
|
|
212
|
+
type: import('vue').PropType<"inside" | "outside">;
|
|
213
|
+
default: "inside";
|
|
214
|
+
};
|
|
215
|
+
suffixIcon: {
|
|
216
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
217
|
+
};
|
|
218
|
+
prefixIcon: {
|
|
219
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
220
|
+
};
|
|
221
|
+
containerRole: {
|
|
222
|
+
type: import('vue').PropType<string>;
|
|
223
|
+
};
|
|
224
|
+
validateEvent: {
|
|
225
|
+
type: import('vue').PropType<boolean>;
|
|
226
|
+
default: true;
|
|
227
|
+
};
|
|
228
|
+
inputStyle: {
|
|
229
|
+
type: import('vue').PropType<import('vue').StyleValue>;
|
|
230
|
+
default: () => {};
|
|
231
|
+
};
|
|
232
|
+
autofocus: {
|
|
233
|
+
type: import('vue').PropType<boolean>;
|
|
234
|
+
};
|
|
235
|
+
rows: {
|
|
236
|
+
type: import('vue').PropType<number>;
|
|
237
|
+
default: 2;
|
|
238
|
+
};
|
|
239
|
+
inputmode: {
|
|
240
|
+
type: import('vue').PropType<"search" | "text" | "url" | "email" | "none" | "tel" | "numeric" | "decimal">;
|
|
241
|
+
};
|
|
242
|
+
debounce: {
|
|
243
|
+
type: import('vue').PropType<number>;
|
|
244
|
+
default: number;
|
|
245
|
+
};
|
|
246
|
+
valueKey: {
|
|
247
|
+
type: import('vue').PropType<string>;
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
fitInputWidth: {
|
|
251
|
+
type: import('vue').PropType<boolean>;
|
|
252
|
+
};
|
|
253
|
+
appendTo: {
|
|
254
|
+
type: import('vue').PropType<string | HTMLElement>;
|
|
255
|
+
};
|
|
256
|
+
fetchSuggestions: {
|
|
257
|
+
type: import('vue').PropType<import('element-plus').AutocompleteFetchSuggestions>;
|
|
258
|
+
default: () => void;
|
|
259
|
+
};
|
|
260
|
+
triggerOnFocus: {
|
|
261
|
+
type: import('vue').PropType<boolean>;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
selectWhenUnmatched: {
|
|
265
|
+
type: import('vue').PropType<boolean>;
|
|
266
|
+
};
|
|
267
|
+
hideLoading: {
|
|
268
|
+
type: import('vue').PropType<boolean>;
|
|
269
|
+
};
|
|
270
|
+
highlightFirstItem: {
|
|
271
|
+
type: import('vue').PropType<boolean>;
|
|
272
|
+
};
|
|
273
|
+
loopNavigation: {
|
|
274
|
+
type: import('vue').PropType<boolean>;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
277
|
+
}>> & {
|
|
278
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
279
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
280
|
+
onInput?: ((value: string | number) => any) | undefined;
|
|
281
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
282
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
283
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
284
|
+
onClear?: (() => any) | undefined;
|
|
285
|
+
}, {
|
|
286
|
+
highlightedIndex: import('vue').Ref<number>;
|
|
287
|
+
activated: import('vue').Ref<boolean>;
|
|
288
|
+
loading: import('vue').Ref<boolean>;
|
|
289
|
+
inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
|
|
290
|
+
popperRef: import('vue').Ref<import('element-plus').TooltipInstance | undefined>;
|
|
291
|
+
suggestions: import('vue').Ref<Record<string, any>[]>;
|
|
292
|
+
handleSelect: (item: any) => Promise<void>;
|
|
293
|
+
handleKeyEnter: () => Promise<void>;
|
|
294
|
+
focus: () => void;
|
|
295
|
+
blur: () => void;
|
|
296
|
+
close: () => void;
|
|
297
|
+
highlight: (index: number) => void;
|
|
298
|
+
getData: (queryString: string) => Promise<void>;
|
|
299
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
300
|
+
select: (item: Record<string, any>) => void;
|
|
301
|
+
focus: (evt: FocusEvent) => void;
|
|
302
|
+
"update:modelValue": (value: string | number) => void;
|
|
303
|
+
change: (value: string | number) => void;
|
|
304
|
+
input: (value: string | number) => void;
|
|
305
|
+
clear: () => void;
|
|
306
|
+
blur: (evt: FocusEvent) => void;
|
|
307
|
+
}, string, {
|
|
308
|
+
disabled: boolean;
|
|
309
|
+
tabindex: string | number;
|
|
310
|
+
type: import('element-plus').InputType;
|
|
311
|
+
modelValue: string | number;
|
|
312
|
+
placement: import('element-plus').AutocompletePlacement;
|
|
313
|
+
teleported: boolean;
|
|
314
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
315
|
+
autocomplete: string;
|
|
316
|
+
clearIcon: string | import('vue').Component;
|
|
317
|
+
wordLimitPosition: "inside" | "outside";
|
|
318
|
+
validateEvent: boolean;
|
|
319
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
320
|
+
rows: number;
|
|
321
|
+
valueKey: string;
|
|
322
|
+
debounce: number;
|
|
323
|
+
fetchSuggestions: import('element-plus').AutocompleteFetchSuggestions;
|
|
324
|
+
triggerOnFocus: boolean;
|
|
325
|
+
loopNavigation: boolean;
|
|
326
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
327
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
328
|
+
created?: (() => void) | (() => void)[];
|
|
329
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
330
|
+
mounted?: (() => void) | (() => void)[];
|
|
331
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
332
|
+
updated?: (() => void) | (() => void)[];
|
|
333
|
+
activated?: (() => void) | (() => void)[];
|
|
334
|
+
deactivated?: (() => void) | (() => void)[];
|
|
335
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
336
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
337
|
+
destroyed?: (() => void) | (() => void)[];
|
|
338
|
+
unmounted?: (() => void) | (() => void)[];
|
|
339
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
340
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
341
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
342
|
+
};
|
|
343
|
+
$forceUpdate: () => void;
|
|
344
|
+
$nextTick: typeof import('vue').nextTick;
|
|
345
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
346
|
+
} & Readonly<{
|
|
347
|
+
disabled: boolean;
|
|
348
|
+
tabindex: string | number;
|
|
349
|
+
type: import('element-plus').InputType;
|
|
350
|
+
modelValue: string | number;
|
|
351
|
+
placement: import('element-plus').AutocompletePlacement;
|
|
352
|
+
teleported: boolean;
|
|
353
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
354
|
+
autocomplete: string;
|
|
355
|
+
clearIcon: string | import('vue').Component;
|
|
356
|
+
wordLimitPosition: "inside" | "outside";
|
|
357
|
+
validateEvent: boolean;
|
|
358
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
359
|
+
rows: number;
|
|
360
|
+
valueKey: string;
|
|
361
|
+
debounce: number;
|
|
362
|
+
fetchSuggestions: import('element-plus').AutocompleteFetchSuggestions;
|
|
363
|
+
triggerOnFocus: boolean;
|
|
364
|
+
loopNavigation: boolean;
|
|
365
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
366
|
+
size: {
|
|
367
|
+
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
|
368
|
+
};
|
|
369
|
+
type: {
|
|
370
|
+
type: import('vue').PropType<import('element-plus').InputType>;
|
|
371
|
+
default: import('element-plus').InputType;
|
|
372
|
+
};
|
|
373
|
+
form: {
|
|
374
|
+
type: import('vue').PropType<string>;
|
|
375
|
+
};
|
|
376
|
+
name: {
|
|
377
|
+
type: import('vue').PropType<string>;
|
|
378
|
+
};
|
|
379
|
+
placement: {
|
|
380
|
+
type: import('vue').PropType<import('element-plus').AutocompletePlacement>;
|
|
381
|
+
default: string;
|
|
382
|
+
};
|
|
383
|
+
disabled: {
|
|
384
|
+
type: import('vue').PropType<boolean>;
|
|
385
|
+
default: undefined;
|
|
386
|
+
};
|
|
387
|
+
resize: {
|
|
388
|
+
type: import('vue').PropType<"none" | "horizontal" | "vertical" | "both">;
|
|
389
|
+
};
|
|
390
|
+
id: {
|
|
391
|
+
type: import('vue').PropType<string>;
|
|
392
|
+
};
|
|
393
|
+
placeholder: {
|
|
394
|
+
type: import('vue').PropType<string>;
|
|
395
|
+
};
|
|
396
|
+
modelValue: {
|
|
397
|
+
type: import('vue').PropType<string | number>;
|
|
398
|
+
default: string;
|
|
399
|
+
};
|
|
400
|
+
tabindex: {
|
|
401
|
+
type: import('vue').PropType<string | number>;
|
|
402
|
+
default: 0;
|
|
403
|
+
};
|
|
404
|
+
ariaLabel: {
|
|
405
|
+
type: import('vue').PropType<string>;
|
|
406
|
+
};
|
|
407
|
+
popperClass: {
|
|
408
|
+
type: import('vue').PropType<string | {
|
|
409
|
+
[x: string]: boolean;
|
|
410
|
+
} | (string | {
|
|
411
|
+
[x: string]: boolean;
|
|
412
|
+
} | (string | {
|
|
413
|
+
[x: string]: boolean;
|
|
414
|
+
} | (string | {
|
|
415
|
+
[x: string]: boolean;
|
|
416
|
+
} | (string | {
|
|
417
|
+
[x: string]: boolean;
|
|
418
|
+
} | (string | {
|
|
419
|
+
[x: string]: boolean;
|
|
420
|
+
} | (string | {
|
|
421
|
+
[x: string]: boolean;
|
|
422
|
+
} | (string | {
|
|
423
|
+
[x: string]: boolean;
|
|
424
|
+
} | (string | {
|
|
425
|
+
[x: string]: boolean;
|
|
426
|
+
} | (string | {
|
|
427
|
+
[x: string]: boolean;
|
|
428
|
+
} | (string | {
|
|
429
|
+
[x: string]: boolean;
|
|
430
|
+
} | (string | {
|
|
431
|
+
[x: string]: boolean;
|
|
432
|
+
} | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>;
|
|
433
|
+
};
|
|
434
|
+
popperStyle: {
|
|
435
|
+
type: import('vue').PropType<import('vue').StyleValue>;
|
|
436
|
+
};
|
|
437
|
+
teleported: {
|
|
438
|
+
type: import('vue').PropType<boolean>;
|
|
439
|
+
default: boolean;
|
|
440
|
+
};
|
|
441
|
+
modelModifiers: {
|
|
442
|
+
type: import('vue').PropType<import('element-plus').InputModelModifiers>;
|
|
443
|
+
default: () => {};
|
|
444
|
+
};
|
|
445
|
+
maxlength: {
|
|
446
|
+
type: import('vue').PropType<string | number>;
|
|
447
|
+
};
|
|
448
|
+
minlength: {
|
|
449
|
+
type: import('vue').PropType<string | number>;
|
|
450
|
+
};
|
|
451
|
+
autosize: {
|
|
452
|
+
type: import('vue').PropType<import('element-plus').InputAutoSize>;
|
|
453
|
+
};
|
|
454
|
+
autocomplete: {
|
|
455
|
+
type: import('vue').PropType<string>;
|
|
456
|
+
default: "off";
|
|
457
|
+
};
|
|
458
|
+
formatter: {
|
|
459
|
+
type: import('vue').PropType<(value: string) => string>;
|
|
460
|
+
};
|
|
461
|
+
parser: {
|
|
462
|
+
type: import('vue').PropType<(value: string) => string>;
|
|
463
|
+
};
|
|
464
|
+
readonly: {
|
|
465
|
+
type: import('vue').PropType<boolean>;
|
|
466
|
+
};
|
|
467
|
+
clearable: {
|
|
468
|
+
type: import('vue').PropType<boolean>;
|
|
469
|
+
};
|
|
470
|
+
clearIcon: {
|
|
471
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
472
|
+
default: any;
|
|
473
|
+
};
|
|
474
|
+
showPassword: {
|
|
475
|
+
type: import('vue').PropType<boolean>;
|
|
476
|
+
};
|
|
477
|
+
showWordLimit: {
|
|
478
|
+
type: import('vue').PropType<boolean>;
|
|
479
|
+
};
|
|
480
|
+
wordLimitPosition: {
|
|
481
|
+
type: import('vue').PropType<"inside" | "outside">;
|
|
482
|
+
default: "inside";
|
|
483
|
+
};
|
|
484
|
+
suffixIcon: {
|
|
485
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
486
|
+
};
|
|
487
|
+
prefixIcon: {
|
|
488
|
+
type: import('vue').PropType<string | import('vue').Component>;
|
|
489
|
+
};
|
|
490
|
+
containerRole: {
|
|
491
|
+
type: import('vue').PropType<string>;
|
|
492
|
+
};
|
|
493
|
+
validateEvent: {
|
|
494
|
+
type: import('vue').PropType<boolean>;
|
|
495
|
+
default: true;
|
|
496
|
+
};
|
|
497
|
+
inputStyle: {
|
|
498
|
+
type: import('vue').PropType<import('vue').StyleValue>;
|
|
499
|
+
default: () => {};
|
|
500
|
+
};
|
|
501
|
+
autofocus: {
|
|
502
|
+
type: import('vue').PropType<boolean>;
|
|
503
|
+
};
|
|
504
|
+
rows: {
|
|
505
|
+
type: import('vue').PropType<number>;
|
|
506
|
+
default: 2;
|
|
507
|
+
};
|
|
508
|
+
inputmode: {
|
|
509
|
+
type: import('vue').PropType<"search" | "text" | "url" | "email" | "none" | "tel" | "numeric" | "decimal">;
|
|
510
|
+
};
|
|
511
|
+
debounce: {
|
|
512
|
+
type: import('vue').PropType<number>;
|
|
513
|
+
default: number;
|
|
514
|
+
};
|
|
515
|
+
valueKey: {
|
|
516
|
+
type: import('vue').PropType<string>;
|
|
517
|
+
default: string;
|
|
518
|
+
};
|
|
519
|
+
fitInputWidth: {
|
|
520
|
+
type: import('vue').PropType<boolean>;
|
|
521
|
+
};
|
|
522
|
+
appendTo: {
|
|
523
|
+
type: import('vue').PropType<string | HTMLElement>;
|
|
524
|
+
};
|
|
525
|
+
fetchSuggestions: {
|
|
526
|
+
type: import('vue').PropType<import('element-plus').AutocompleteFetchSuggestions>;
|
|
527
|
+
default: () => void;
|
|
528
|
+
};
|
|
529
|
+
triggerOnFocus: {
|
|
530
|
+
type: import('vue').PropType<boolean>;
|
|
531
|
+
default: boolean;
|
|
532
|
+
};
|
|
533
|
+
selectWhenUnmatched: {
|
|
534
|
+
type: import('vue').PropType<boolean>;
|
|
535
|
+
};
|
|
536
|
+
hideLoading: {
|
|
537
|
+
type: import('vue').PropType<boolean>;
|
|
538
|
+
};
|
|
539
|
+
highlightFirstItem: {
|
|
540
|
+
type: import('vue').PropType<boolean>;
|
|
541
|
+
};
|
|
542
|
+
loopNavigation: {
|
|
543
|
+
type: import('vue').PropType<boolean>;
|
|
544
|
+
default: boolean;
|
|
545
|
+
};
|
|
546
|
+
}>> & {
|
|
547
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
548
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
549
|
+
onInput?: ((value: string | number) => any) | undefined;
|
|
550
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
551
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
552
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
553
|
+
onClear?: (() => any) | undefined;
|
|
554
|
+
}, "type" | "placement" | "disabled" | "blur" | "close" | "focus" | "activated" | "loading" | "modelValue" | "tabindex" | "teleported" | "modelModifiers" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "debounce" | "valueKey" | "popperRef" | "inputRef" | "fetchSuggestions" | "triggerOnFocus" | "loopNavigation" | "highlightedIndex" | "suggestions" | "handleSelect" | "handleKeyEnter" | "highlight" | "getData"> & import('vue').ShallowUnwrapRef<{
|
|
555
|
+
highlightedIndex: import('vue').Ref<number>;
|
|
556
|
+
activated: import('vue').Ref<boolean>;
|
|
557
|
+
loading: import('vue').Ref<boolean>;
|
|
558
|
+
inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
|
|
559
|
+
popperRef: import('vue').Ref<import('element-plus').TooltipInstance | undefined>;
|
|
560
|
+
suggestions: import('vue').Ref<Record<string, any>[]>;
|
|
561
|
+
handleSelect: (item: any) => Promise<void>;
|
|
562
|
+
handleKeyEnter: () => Promise<void>;
|
|
563
|
+
focus: () => void;
|
|
564
|
+
blur: () => void;
|
|
565
|
+
close: () => void;
|
|
566
|
+
highlight: (index: number) => void;
|
|
567
|
+
getData: (queryString: string) => Promise<void>;
|
|
568
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
569
|
+
$slots: {
|
|
570
|
+
prepend?: (props: {}) => any;
|
|
571
|
+
} & {
|
|
572
|
+
append?: (props: {}) => any;
|
|
573
|
+
} & {
|
|
574
|
+
prefix?: (props: {}) => any;
|
|
575
|
+
} & {
|
|
576
|
+
suffix?: (props: {}) => any;
|
|
577
|
+
} & {
|
|
578
|
+
header?: (props: {}) => any;
|
|
579
|
+
} & {
|
|
580
|
+
loading?: (props: {}) => any;
|
|
581
|
+
} & {
|
|
582
|
+
default?: (props: {
|
|
583
|
+
item: Record<string, any>;
|
|
584
|
+
}) => any;
|
|
585
|
+
} & {
|
|
586
|
+
footer?: (props: {}) => any;
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
590
|
+
P: {};
|
|
591
|
+
B: {};
|
|
592
|
+
D: {};
|
|
593
|
+
C: {};
|
|
594
|
+
M: {};
|
|
595
|
+
Defaults: {};
|
|
596
|
+
}, Readonly<{
|
|
597
|
+
options?: import('element-plus').AutocompleteData;
|
|
598
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
599
|
+
__isFragment?: never;
|
|
600
|
+
__isTeleport?: never;
|
|
601
|
+
__isSuspense?: never;
|
|
602
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
603
|
+
options?: import('element-plus').AutocompleteData;
|
|
604
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
605
|
+
$slots: Readonly<{
|
|
606
|
+
default?: (scope: {
|
|
607
|
+
item: import('element-plus').AutocompleteData[number];
|
|
608
|
+
field: import('@formily/core').Field | undefined;
|
|
609
|
+
}) => any;
|
|
610
|
+
header?: (scope: {
|
|
611
|
+
field: import('@formily/core').Field | undefined;
|
|
612
|
+
}) => any;
|
|
613
|
+
footer?: (scope: {
|
|
614
|
+
field: import('@formily/core').Field | undefined;
|
|
615
|
+
}) => any;
|
|
616
|
+
loading?: () => any;
|
|
617
|
+
prefix?: () => any;
|
|
618
|
+
suffix?: () => any;
|
|
619
|
+
prepend?: () => any;
|
|
620
|
+
append?: () => any;
|
|
621
|
+
}> & {
|
|
622
|
+
default?: (scope: {
|
|
623
|
+
item: import('element-plus').AutocompleteData[number];
|
|
624
|
+
field: import('@formily/core').Field | undefined;
|
|
625
|
+
}) => any;
|
|
626
|
+
header?: (scope: {
|
|
627
|
+
field: import('@formily/core').Field | undefined;
|
|
628
|
+
}) => any;
|
|
629
|
+
footer?: (scope: {
|
|
630
|
+
field: import('@formily/core').Field | undefined;
|
|
631
|
+
}) => any;
|
|
632
|
+
loading?: () => any;
|
|
633
|
+
prefix?: () => any;
|
|
634
|
+
suffix?: () => any;
|
|
635
|
+
prepend?: () => any;
|
|
636
|
+
append?: () => any;
|
|
637
|
+
};
|
|
638
|
+
});
|
|
639
|
+
export default Autocomplete;
|