yahee-components 0.0.65 → 0.0.67
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/api/server.js +2 -2
- package/es/api/tool.js +1 -1
- package/es/complex-search/complex-search.vue.js +27 -23
- package/es/complex-search/props.js +6 -4
- package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/fetch.js +29 -29
- package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/Axios.js +1 -1
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +181 -0
- package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/env/data.js +1 -1
- package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/toFormData.js +16 -14
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +222 -0
- package/es/node_modules/.pnpm/{element-plus@2.9.7_vue@3.5.13_typescript@5.8.3_ → element-plus@2.10.2_vue@3.5.17_typescript@5.8.3_}/node_modules/element-plus/es/locale/lang/zh-cn.js +1 -1
- package/es/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +526 -526
- package/es/packages/components/api/log-server.js +2 -2
- package/es/packages/components/api/server.js +2 -2
- package/es/packages/components/api/tool.js +1 -1
- package/es/packages/components/api/upload-server.js +2 -2
- package/es/utils/translate.js +2 -2
- package/package.json +1 -3
- package/types/src/annex-upload/annex-upload.vue.d.ts +649 -435
- package/types/src/annex-upload/index.d.ts +321 -214
- package/types/src/complex-search/props.d.ts +11 -3
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +264 -55
- package/types/src/drop-down-condition/index.d.ts +264 -55
- package/types/src/input/index.d.ts +189 -62
- package/types/src/input/input.vue.d.ts +189 -62
- package/types/src/operation-log/index.d.ts +199 -55
- package/types/src/operation-log/operation-log.vue.d.ts +199 -55
- package/es/node_modules/.pnpm/axios@1.8.4/node_modules/axios/lib/core/AxiosHeaders.js +0 -173
- package/es/node_modules/.pnpm/axios@1.8.4/node_modules/axios/lib/utils.js +0 -221
- package/types/src/complex-search/complex-search.vue.d.ts +0 -208
- package/types/src/complex-search/index.d.ts +0 -212
- package/types/src/installs.d.ts +0 -1863
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/adapters.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/xhr.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/axios.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/CancelToken.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/CanceledError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/isCancel.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/AxiosError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/InterceptorManager.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/buildFullPath.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/dispatchRequest.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/mergeConfig.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/settle.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/transformData.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/defaults/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/defaults/transitional.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/bind.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/buildURL.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/combineURLs.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/composeSignals.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/cookies.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/formDataToJSON.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isAxiosError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/null.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/parseHeaders.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/parseProtocol.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/progressEventReducer.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/resolveConfig.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/speedometer.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/spread.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/throttle.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/trackStream.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/validator.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/common/utils.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/index.js +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InputProps } from './input';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType,
|
|
3
|
-
import { EpPropMergeType, EpPropFinalized, Mutable } from 'element-plus/es/utils';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
4
3
|
import { InputAutoSize } from 'element-plus';
|
|
5
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
6
5
|
declare function focus(): void;
|
|
@@ -21,13 +20,13 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
21
20
|
readonly disabled: boolean;
|
|
22
21
|
readonly id: string;
|
|
23
22
|
readonly type: string;
|
|
24
|
-
readonly modelValue:
|
|
25
|
-
readonly tabindex:
|
|
23
|
+
readonly modelValue: string | number;
|
|
24
|
+
readonly tabindex: string | number;
|
|
26
25
|
readonly readonly: boolean;
|
|
27
26
|
readonly autosize: InputAutoSize;
|
|
28
27
|
readonly autocomplete: string;
|
|
29
28
|
readonly containerRole: string;
|
|
30
|
-
readonly validateEvent:
|
|
29
|
+
readonly validateEvent: boolean;
|
|
31
30
|
readonly inputStyle: StyleValue;
|
|
32
31
|
readonly rows: number;
|
|
33
32
|
readonly clearable: boolean;
|
|
@@ -35,7 +34,7 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
35
34
|
readonly showWordLimit: boolean;
|
|
36
35
|
readonly autofocus: boolean;
|
|
37
36
|
}> & Omit<{
|
|
38
|
-
readonly modelValue:
|
|
37
|
+
readonly modelValue: string | number;
|
|
39
38
|
readonly disabled: boolean;
|
|
40
39
|
readonly type: string;
|
|
41
40
|
readonly autosize: false;
|
|
@@ -44,17 +43,17 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
44
43
|
readonly clearable: boolean;
|
|
45
44
|
readonly showPassword: boolean;
|
|
46
45
|
readonly showWordLimit: boolean;
|
|
47
|
-
readonly tabindex:
|
|
48
|
-
readonly validateEvent:
|
|
46
|
+
readonly tabindex: string | number;
|
|
47
|
+
readonly validateEvent: boolean;
|
|
49
48
|
readonly inputStyle: StyleValue;
|
|
50
49
|
readonly autofocus: boolean;
|
|
51
50
|
readonly rows: number;
|
|
52
|
-
readonly resize?:
|
|
51
|
+
readonly resize?: "none" | "both" | "horizontal" | "vertical";
|
|
53
52
|
readonly ariaLabel?: string;
|
|
54
53
|
readonly id?: string;
|
|
55
|
-
readonly size?:
|
|
56
|
-
readonly maxlength?:
|
|
57
|
-
readonly minlength?:
|
|
54
|
+
readonly size?: "" | "default" | "small" | "large";
|
|
55
|
+
readonly maxlength?: string | number;
|
|
56
|
+
readonly minlength?: string | number;
|
|
58
57
|
readonly formatter?: Function;
|
|
59
58
|
readonly parser?: Function;
|
|
60
59
|
readonly placeholder?: string;
|
|
@@ -91,42 +90,71 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
91
90
|
$el: any;
|
|
92
91
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
93
92
|
readonly ariaLabel: StringConstructor;
|
|
94
|
-
readonly id:
|
|
93
|
+
readonly id: {
|
|
94
|
+
readonly type: PropType<string>;
|
|
95
|
+
readonly required: false;
|
|
96
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
|
+
__epPropKey: true;
|
|
98
|
+
} & {
|
|
99
|
+
readonly default: undefined;
|
|
100
|
+
};
|
|
95
101
|
readonly size: {
|
|
96
|
-
readonly type: PropType<
|
|
102
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
97
103
|
readonly required: false;
|
|
98
104
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
105
|
__epPropKey: true;
|
|
100
106
|
};
|
|
101
107
|
readonly disabled: BooleanConstructor;
|
|
102
|
-
readonly modelValue:
|
|
108
|
+
readonly modelValue: {
|
|
109
|
+
readonly type: PropType<string | number>;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
} & {
|
|
114
|
+
readonly default: "";
|
|
115
|
+
};
|
|
103
116
|
readonly maxlength: {
|
|
104
|
-
readonly type: PropType<
|
|
117
|
+
readonly type: PropType<string | number>;
|
|
105
118
|
readonly required: false;
|
|
106
119
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
120
|
__epPropKey: true;
|
|
108
121
|
};
|
|
109
122
|
readonly minlength: {
|
|
110
|
-
readonly type: PropType<
|
|
123
|
+
readonly type: PropType<string | number>;
|
|
124
|
+
readonly required: false;
|
|
125
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
|
+
__epPropKey: true;
|
|
127
|
+
};
|
|
128
|
+
readonly type: {
|
|
129
|
+
readonly type: PropType<string>;
|
|
111
130
|
readonly required: false;
|
|
112
131
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
113
132
|
__epPropKey: true;
|
|
133
|
+
} & {
|
|
134
|
+
readonly default: "text";
|
|
114
135
|
};
|
|
115
|
-
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
116
136
|
readonly resize: {
|
|
117
|
-
readonly type: PropType<
|
|
137
|
+
readonly type: PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
138
|
+
readonly required: false;
|
|
139
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
|
+
__epPropKey: true;
|
|
141
|
+
};
|
|
142
|
+
readonly autosize: {
|
|
143
|
+
readonly type: PropType<unknown>;
|
|
144
|
+
readonly required: false;
|
|
145
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
146
|
+
__epPropKey: true;
|
|
147
|
+
} & {
|
|
148
|
+
readonly default: false;
|
|
149
|
+
};
|
|
150
|
+
readonly autocomplete: {
|
|
151
|
+
readonly type: PropType<string>;
|
|
118
152
|
readonly required: false;
|
|
119
153
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
120
154
|
__epPropKey: true;
|
|
155
|
+
} & {
|
|
156
|
+
readonly default: "off";
|
|
121
157
|
};
|
|
122
|
-
readonly autosize: EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
123
|
-
minRows?: number;
|
|
124
|
-
maxRows?: number;
|
|
125
|
-
}) | (() => InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
126
|
-
minRows?: number;
|
|
127
|
-
maxRows?: number;
|
|
128
|
-
}) | (() => InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
129
|
-
readonly autocomplete: EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
130
158
|
readonly formatter: {
|
|
131
159
|
readonly type: PropType<Function>;
|
|
132
160
|
readonly required: false;
|
|
@@ -156,23 +184,58 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
156
184
|
readonly showPassword: BooleanConstructor;
|
|
157
185
|
readonly showWordLimit: BooleanConstructor;
|
|
158
186
|
readonly suffixIcon: {
|
|
159
|
-
readonly type: PropType<
|
|
187
|
+
readonly type: PropType<unknown>;
|
|
160
188
|
readonly required: false;
|
|
161
189
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
162
190
|
__epPropKey: true;
|
|
163
191
|
};
|
|
164
192
|
readonly prefixIcon: {
|
|
165
|
-
readonly type: PropType<
|
|
193
|
+
readonly type: PropType<unknown>;
|
|
194
|
+
readonly required: false;
|
|
195
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
196
|
+
__epPropKey: true;
|
|
197
|
+
};
|
|
198
|
+
readonly containerRole: {
|
|
199
|
+
readonly type: PropType<string>;
|
|
200
|
+
readonly required: false;
|
|
201
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
202
|
+
__epPropKey: true;
|
|
203
|
+
} & {
|
|
204
|
+
readonly default: undefined;
|
|
205
|
+
};
|
|
206
|
+
readonly tabindex: {
|
|
207
|
+
readonly type: PropType<string | number>;
|
|
208
|
+
readonly required: false;
|
|
209
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
210
|
+
__epPropKey: true;
|
|
211
|
+
} & {
|
|
212
|
+
readonly default: 0;
|
|
213
|
+
};
|
|
214
|
+
readonly validateEvent: {
|
|
215
|
+
readonly type: PropType<boolean>;
|
|
166
216
|
readonly required: false;
|
|
167
217
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
218
|
__epPropKey: true;
|
|
219
|
+
} & {
|
|
220
|
+
readonly default: true;
|
|
221
|
+
};
|
|
222
|
+
readonly inputStyle: {
|
|
223
|
+
readonly type: PropType<StyleValue>;
|
|
224
|
+
readonly required: false;
|
|
225
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
226
|
+
__epPropKey: true;
|
|
227
|
+
} & {
|
|
228
|
+
readonly default: () => {};
|
|
169
229
|
};
|
|
170
|
-
readonly containerRole: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
171
|
-
readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
172
|
-
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
173
|
-
readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
|
|
174
230
|
readonly autofocus: BooleanConstructor;
|
|
175
|
-
readonly rows:
|
|
231
|
+
readonly rows: {
|
|
232
|
+
readonly type: PropType<number>;
|
|
233
|
+
readonly required: false;
|
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
|
+
__epPropKey: true;
|
|
236
|
+
} & {
|
|
237
|
+
readonly default: 2;
|
|
238
|
+
};
|
|
176
239
|
}>> & {
|
|
177
240
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
178
241
|
onChange?: ((value: string) => any) | undefined;
|
|
@@ -215,13 +278,13 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
215
278
|
readonly disabled: boolean;
|
|
216
279
|
readonly id: string;
|
|
217
280
|
readonly type: string;
|
|
218
|
-
readonly modelValue:
|
|
219
|
-
readonly tabindex:
|
|
281
|
+
readonly modelValue: string | number;
|
|
282
|
+
readonly tabindex: string | number;
|
|
220
283
|
readonly readonly: boolean;
|
|
221
284
|
readonly autosize: InputAutoSize;
|
|
222
285
|
readonly autocomplete: string;
|
|
223
286
|
readonly containerRole: string;
|
|
224
|
-
readonly validateEvent:
|
|
287
|
+
readonly validateEvent: boolean;
|
|
225
288
|
readonly inputStyle: StyleValue;
|
|
226
289
|
readonly rows: number;
|
|
227
290
|
readonly clearable: boolean;
|
|
@@ -252,13 +315,13 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
252
315
|
readonly disabled: boolean;
|
|
253
316
|
readonly id: string;
|
|
254
317
|
readonly type: string;
|
|
255
|
-
readonly modelValue:
|
|
256
|
-
readonly tabindex:
|
|
318
|
+
readonly modelValue: string | number;
|
|
319
|
+
readonly tabindex: string | number;
|
|
257
320
|
readonly readonly: boolean;
|
|
258
321
|
readonly autosize: InputAutoSize;
|
|
259
322
|
readonly autocomplete: string;
|
|
260
323
|
readonly containerRole: string;
|
|
261
|
-
readonly validateEvent:
|
|
324
|
+
readonly validateEvent: boolean;
|
|
262
325
|
readonly inputStyle: StyleValue;
|
|
263
326
|
readonly rows: number;
|
|
264
327
|
readonly clearable: boolean;
|
|
@@ -267,42 +330,71 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
267
330
|
readonly autofocus: boolean;
|
|
268
331
|
}> & Omit<Readonly< ExtractPropTypes<{
|
|
269
332
|
readonly ariaLabel: StringConstructor;
|
|
270
|
-
readonly id:
|
|
333
|
+
readonly id: {
|
|
334
|
+
readonly type: PropType<string>;
|
|
335
|
+
readonly required: false;
|
|
336
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
337
|
+
__epPropKey: true;
|
|
338
|
+
} & {
|
|
339
|
+
readonly default: undefined;
|
|
340
|
+
};
|
|
271
341
|
readonly size: {
|
|
272
|
-
readonly type: PropType<
|
|
342
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
273
343
|
readonly required: false;
|
|
274
344
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
275
345
|
__epPropKey: true;
|
|
276
346
|
};
|
|
277
347
|
readonly disabled: BooleanConstructor;
|
|
278
|
-
readonly modelValue:
|
|
348
|
+
readonly modelValue: {
|
|
349
|
+
readonly type: PropType<string | number>;
|
|
350
|
+
readonly required: false;
|
|
351
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
352
|
+
__epPropKey: true;
|
|
353
|
+
} & {
|
|
354
|
+
readonly default: "";
|
|
355
|
+
};
|
|
279
356
|
readonly maxlength: {
|
|
280
|
-
readonly type: PropType<
|
|
357
|
+
readonly type: PropType<string | number>;
|
|
281
358
|
readonly required: false;
|
|
282
359
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
283
360
|
__epPropKey: true;
|
|
284
361
|
};
|
|
285
362
|
readonly minlength: {
|
|
286
|
-
readonly type: PropType<
|
|
363
|
+
readonly type: PropType<string | number>;
|
|
364
|
+
readonly required: false;
|
|
365
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
366
|
+
__epPropKey: true;
|
|
367
|
+
};
|
|
368
|
+
readonly type: {
|
|
369
|
+
readonly type: PropType<string>;
|
|
287
370
|
readonly required: false;
|
|
288
371
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
289
372
|
__epPropKey: true;
|
|
373
|
+
} & {
|
|
374
|
+
readonly default: "text";
|
|
290
375
|
};
|
|
291
|
-
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
292
376
|
readonly resize: {
|
|
293
|
-
readonly type: PropType<
|
|
377
|
+
readonly type: PropType<"none" | "both" | "horizontal" | "vertical">;
|
|
378
|
+
readonly required: false;
|
|
379
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
380
|
+
__epPropKey: true;
|
|
381
|
+
};
|
|
382
|
+
readonly autosize: {
|
|
383
|
+
readonly type: PropType<unknown>;
|
|
384
|
+
readonly required: false;
|
|
385
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
386
|
+
__epPropKey: true;
|
|
387
|
+
} & {
|
|
388
|
+
readonly default: false;
|
|
389
|
+
};
|
|
390
|
+
readonly autocomplete: {
|
|
391
|
+
readonly type: PropType<string>;
|
|
294
392
|
readonly required: false;
|
|
295
393
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
296
394
|
__epPropKey: true;
|
|
395
|
+
} & {
|
|
396
|
+
readonly default: "off";
|
|
297
397
|
};
|
|
298
|
-
readonly autosize: EpPropFinalized<(new (...args: any[]) => boolean | {
|
|
299
|
-
minRows?: number;
|
|
300
|
-
maxRows?: number;
|
|
301
|
-
}) | (() => InputAutoSize) | ((new (...args: any[]) => boolean | {
|
|
302
|
-
minRows?: number;
|
|
303
|
-
maxRows?: number;
|
|
304
|
-
}) | (() => InputAutoSize))[], unknown, unknown, false, boolean>;
|
|
305
|
-
readonly autocomplete: EpPropFinalized<StringConstructor, unknown, unknown, "off", boolean>;
|
|
306
398
|
readonly formatter: {
|
|
307
399
|
readonly type: PropType<Function>;
|
|
308
400
|
readonly required: false;
|
|
@@ -332,23 +424,58 @@ declare const _default: DefineComponent<InputProps, {
|
|
|
332
424
|
readonly showPassword: BooleanConstructor;
|
|
333
425
|
readonly showWordLimit: BooleanConstructor;
|
|
334
426
|
readonly suffixIcon: {
|
|
335
|
-
readonly type: PropType<
|
|
427
|
+
readonly type: PropType<unknown>;
|
|
336
428
|
readonly required: false;
|
|
337
429
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
338
430
|
__epPropKey: true;
|
|
339
431
|
};
|
|
340
432
|
readonly prefixIcon: {
|
|
341
|
-
readonly type: PropType<
|
|
433
|
+
readonly type: PropType<unknown>;
|
|
434
|
+
readonly required: false;
|
|
435
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
436
|
+
__epPropKey: true;
|
|
437
|
+
};
|
|
438
|
+
readonly containerRole: {
|
|
439
|
+
readonly type: PropType<string>;
|
|
440
|
+
readonly required: false;
|
|
441
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
442
|
+
__epPropKey: true;
|
|
443
|
+
} & {
|
|
444
|
+
readonly default: undefined;
|
|
445
|
+
};
|
|
446
|
+
readonly tabindex: {
|
|
447
|
+
readonly type: PropType<string | number>;
|
|
448
|
+
readonly required: false;
|
|
449
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
450
|
+
__epPropKey: true;
|
|
451
|
+
} & {
|
|
452
|
+
readonly default: 0;
|
|
453
|
+
};
|
|
454
|
+
readonly validateEvent: {
|
|
455
|
+
readonly type: PropType<boolean>;
|
|
342
456
|
readonly required: false;
|
|
343
457
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
344
458
|
__epPropKey: true;
|
|
459
|
+
} & {
|
|
460
|
+
readonly default: true;
|
|
461
|
+
};
|
|
462
|
+
readonly inputStyle: {
|
|
463
|
+
readonly type: PropType<StyleValue>;
|
|
464
|
+
readonly required: false;
|
|
465
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
466
|
+
__epPropKey: true;
|
|
467
|
+
} & {
|
|
468
|
+
readonly default: () => {};
|
|
345
469
|
};
|
|
346
|
-
readonly containerRole: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
347
|
-
readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
348
|
-
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
349
|
-
readonly inputStyle: EpPropFinalized<(new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, () => Mutable<{}>, boolean>;
|
|
350
470
|
readonly autofocus: BooleanConstructor;
|
|
351
|
-
readonly rows:
|
|
471
|
+
readonly rows: {
|
|
472
|
+
readonly type: PropType<number>;
|
|
473
|
+
readonly required: false;
|
|
474
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
475
|
+
__epPropKey: true;
|
|
476
|
+
} & {
|
|
477
|
+
readonly default: 2;
|
|
478
|
+
};
|
|
352
479
|
}>> & {
|
|
353
480
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
354
481
|
onChange?: ((value: string) => any) | undefined;
|