@zy-frontend/element-plus-form 2.0.13
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/README.md +45 -0
- package/dist/index.es.d.ts +3185 -0
- package/dist/index.es.js +9836 -0
- package/dist/style.css +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,3185 @@
|
|
|
1
|
+
import { CheckboxGroupValueType } from 'element-plus';
|
|
2
|
+
import { Component } from '@zy/form-core';
|
|
3
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
4
|
+
import { ComponentProvideOptions } from 'vue';
|
|
5
|
+
import { DefineComponent } from 'vue';
|
|
6
|
+
import { DELETED_FIELD_IDENTIFIER } from '@zy/form-core';
|
|
7
|
+
import { ExtractPropTypes } from 'vue';
|
|
8
|
+
import { Field } from '@zy/form-core';
|
|
9
|
+
import { FileRemoveMethod } from '@zy/form-core';
|
|
10
|
+
import { Form } from '@zy/form-core';
|
|
11
|
+
import { FORM_DATA_REFRESH_SYMBOL } from '@zy/form-core';
|
|
12
|
+
import { FORM_DISABLED_SYMBOL } from '@zy/form-core';
|
|
13
|
+
import { FORM_GROUP_SYMBOL } from '@zy/form-core';
|
|
14
|
+
import { FORM_UNFULFILLED_FIELD_SYMBOL } from '@zy/form-core';
|
|
15
|
+
import { FormGutter } from '@zy/form-core';
|
|
16
|
+
import { FormItemProp } from 'element-plus';
|
|
17
|
+
import { FormProps } from '@zy/form-core';
|
|
18
|
+
import { FormRules } from 'element-plus';
|
|
19
|
+
import { FormValidateCallback } from 'element-plus';
|
|
20
|
+
import { FormValidationResult } from 'element-plus';
|
|
21
|
+
import { MessageHandler } from 'element-plus';
|
|
22
|
+
import { Option as Option_2 } from '@zy/form-core';
|
|
23
|
+
import { PropType } from 'vue';
|
|
24
|
+
import { PublicProps } from 'vue';
|
|
25
|
+
import { RemoteMethod } from '@zy/form-core';
|
|
26
|
+
import { RequestFunction } from '@zy/form-core';
|
|
27
|
+
import { UIComponents } from '@zy/form-core';
|
|
28
|
+
import { UIComponentsWithTab } from '@zy/form-core';
|
|
29
|
+
import { UnfulfilledField } from '@zy/form-core';
|
|
30
|
+
import { UploadMethod } from '@zy/form-core';
|
|
31
|
+
import { useFormItem } from 'element-plus';
|
|
32
|
+
|
|
33
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
|
|
35
|
+
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
36
|
+
|
|
37
|
+
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
38
|
+
|
|
39
|
+
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
40
|
+
|
|
41
|
+
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
42
|
+
|
|
43
|
+
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
44
|
+
|
|
45
|
+
declare type __VLS_Prettify<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
48
|
+
|
|
49
|
+
declare type __VLS_Prettify_2<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
52
|
+
|
|
53
|
+
declare type __VLS_Prettify_3<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
56
|
+
|
|
57
|
+
declare type __VLS_Prettify_4<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
60
|
+
|
|
61
|
+
declare type __VLS_Prettify_5<T> = {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} & {};
|
|
64
|
+
|
|
65
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
66
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
+
} : {
|
|
69
|
+
type: PropType<T[K]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
75
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
76
|
+
type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
|
|
77
|
+
} : {
|
|
78
|
+
type: PropType<T[K]>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
84
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
85
|
+
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
86
|
+
} : {
|
|
87
|
+
type: PropType<T[K]>;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
93
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
94
|
+
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
95
|
+
} : {
|
|
96
|
+
type: PropType<T[K]>;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
102
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
103
|
+
type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
|
|
104
|
+
} : {
|
|
105
|
+
type: PropType<T[K]>;
|
|
106
|
+
required: true;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
111
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
112
|
+
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
113
|
+
} : {
|
|
114
|
+
type: PropType<T[K]>;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
120
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
121
|
+
default: D[K];
|
|
122
|
+
}> : P[K];
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
declare type __VLS_WithDefaults_2<P, D> = {
|
|
126
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
|
|
127
|
+
default: D[K];
|
|
128
|
+
}> : P[K];
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
declare type __VLS_WithDefaults_3<P, D> = {
|
|
132
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
|
|
133
|
+
default: D[K];
|
|
134
|
+
}> : P[K];
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
declare type __VLS_WithDefaults_4<P, D> = {
|
|
138
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_4<P[K] & {
|
|
139
|
+
default: D[K];
|
|
140
|
+
}> : P[K];
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
declare type __VLS_WithDefaults_5<P, D> = {
|
|
144
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_5<P[K] & {
|
|
145
|
+
default: D[K];
|
|
146
|
+
}> : P[K];
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
150
|
+
new (): {
|
|
151
|
+
$slots: S;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
156
|
+
new (): {
|
|
157
|
+
$slots: S;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
162
|
+
new (): {
|
|
163
|
+
$slots: S;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
168
|
+
new (): {
|
|
169
|
+
$slots: S;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
174
|
+
new (): {
|
|
175
|
+
$slots: S;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
180
|
+
new (): {
|
|
181
|
+
$slots: S;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export declare type ActionPosition = 'left' | 'center' | 'right';
|
|
186
|
+
|
|
187
|
+
export declare interface BaseFormProps {
|
|
188
|
+
model: Record<string, any>;
|
|
189
|
+
rules?: FormRules;
|
|
190
|
+
inline?: boolean;
|
|
191
|
+
labelPosition?: 'left' | 'right' | 'top';
|
|
192
|
+
labelWidth?: string | number;
|
|
193
|
+
disabled?: boolean;
|
|
194
|
+
scrollToError?: boolean;
|
|
195
|
+
validateOnRuleChange?: boolean;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export declare interface CascaderOption extends Option_2 {
|
|
199
|
+
value: string;
|
|
200
|
+
children?: CascaderOption[];
|
|
201
|
+
leaf?: boolean;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export declare interface CascaderProps extends CommonInputProps {
|
|
205
|
+
options?: CascaderOption[];
|
|
206
|
+
props?: Record<string, any>;
|
|
207
|
+
showAllLevels?: boolean;
|
|
208
|
+
collapseTags?: boolean;
|
|
209
|
+
collapseTagsTooltip?: boolean;
|
|
210
|
+
maxCollapseTagsTooltipHeight?: number;
|
|
211
|
+
separator?: string;
|
|
212
|
+
filterable?: boolean;
|
|
213
|
+
debounce?: number;
|
|
214
|
+
popperClass?: string;
|
|
215
|
+
popperStyle?: string | Record<string, any>;
|
|
216
|
+
effect?: 'dark' | 'light';
|
|
217
|
+
tagType?: 'success' | 'info' | 'warning' | 'danger';
|
|
218
|
+
tagEffect?: 'light' | 'dark' | 'plain';
|
|
219
|
+
validateEvent?: boolean;
|
|
220
|
+
maxCollapseTags?: number;
|
|
221
|
+
valueOnClear?: string | number | boolean;
|
|
222
|
+
persistent?: boolean;
|
|
223
|
+
placement?: DropdownPlacement;
|
|
224
|
+
fallbackPlacements?: Array<DropdownPlacement>;
|
|
225
|
+
showCheckedStrategy?: 'parent' | 'child';
|
|
226
|
+
lazy?: boolean;
|
|
227
|
+
remoteMethod?: RemoteMethod;
|
|
228
|
+
multiple?: boolean;
|
|
229
|
+
checkStrictly?: boolean;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export declare interface CheckboxProps extends CommonProps {
|
|
233
|
+
options: RepellentOption[];
|
|
234
|
+
min?: number;
|
|
235
|
+
max?: number;
|
|
236
|
+
textColor?: string;
|
|
237
|
+
fill?: string;
|
|
238
|
+
validateEvent?: boolean;
|
|
239
|
+
type?: 'checkbox' | 'button';
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export declare interface CollapseItemProps {
|
|
243
|
+
name: string | number;
|
|
244
|
+
title: string;
|
|
245
|
+
disabled?: boolean;
|
|
246
|
+
defaultOpen?: boolean;
|
|
247
|
+
fields: Field[];
|
|
248
|
+
unfulfilledFields: string[];
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export declare interface CollapseProps {
|
|
252
|
+
collapseItems: Field[];
|
|
253
|
+
accordion?: boolean;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export declare interface CombinedFieldsProps extends CommonProps {
|
|
257
|
+
fields: Field[];
|
|
258
|
+
gutter?: FormGutter;
|
|
259
|
+
components: UIComponents;
|
|
260
|
+
disabled?: boolean;
|
|
261
|
+
requestFn?: RequestFunction;
|
|
262
|
+
readonly?: boolean;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export declare interface CommonInputProps extends CommonProps {
|
|
266
|
+
clearable?: boolean;
|
|
267
|
+
placeholder?: string;
|
|
268
|
+
autocomplete?: any;
|
|
269
|
+
clearValue?: any;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export declare interface CommonProps {
|
|
273
|
+
disabled?: boolean;
|
|
274
|
+
size?: Size;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
declare type ComponentByMap<K extends keyof FieldComponentPropsMap> = Omit<Component, 'type' | 'props'> & {
|
|
278
|
+
type: K;
|
|
279
|
+
props?: FieldComponentPropsMap[K];
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
export declare interface DatePickerProps extends CommonInputProps {
|
|
283
|
+
editable?: boolean;
|
|
284
|
+
startPlaceholder?: string;
|
|
285
|
+
endPlaceholder?: string;
|
|
286
|
+
type?: DatePickerType;
|
|
287
|
+
format?: string;
|
|
288
|
+
popperClass?: string;
|
|
289
|
+
popperStyle?: string | Record<string, any>;
|
|
290
|
+
popperOptions?: Record<string, any>;
|
|
291
|
+
rangeSeparator?: string;
|
|
292
|
+
valueFormat?: string;
|
|
293
|
+
unlinkPanels?: boolean;
|
|
294
|
+
prefixIcon?: string;
|
|
295
|
+
clearIcon?: string;
|
|
296
|
+
validateEvent?: boolean;
|
|
297
|
+
disabledDate?: (date: Date) => boolean;
|
|
298
|
+
shortcuts?: Array<{
|
|
299
|
+
text: string;
|
|
300
|
+
value: Date | Function;
|
|
301
|
+
}>;
|
|
302
|
+
valueOnClear?: string | number | boolean;
|
|
303
|
+
placement?: DropdownPlacement;
|
|
304
|
+
fallbackPlacements?: Array<DropdownPlacement>;
|
|
305
|
+
showFooter?: boolean;
|
|
306
|
+
showConfirm?: boolean;
|
|
307
|
+
showWeekNumber?: boolean;
|
|
308
|
+
automaticDropdown?: boolean;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export declare type DatePickerType = 'date' | 'daterange' | 'year' | 'month' | 'week';
|
|
312
|
+
|
|
313
|
+
export declare interface DateTimePickerProps extends CommonInputProps {
|
|
314
|
+
type?: ZYDateTimePickerType;
|
|
315
|
+
startPlaceholder?: string;
|
|
316
|
+
endPlaceholder?: string;
|
|
317
|
+
format?: string;
|
|
318
|
+
valueFormat?: string;
|
|
319
|
+
shortcuts?: DateTimePickerShortcuts[];
|
|
320
|
+
rangeSeparator?: string;
|
|
321
|
+
showNowButton?: boolean;
|
|
322
|
+
description?: string;
|
|
323
|
+
descriptionColor?: string;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export declare type DateTimePickerShortcuts = {
|
|
327
|
+
text: string;
|
|
328
|
+
value: Date | (() => Date);
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
export { DELETED_FIELD_IDENTIFIER }
|
|
332
|
+
|
|
333
|
+
export declare interface DeleteRequestOptions {
|
|
334
|
+
id: string | number;
|
|
335
|
+
index: number;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export declare interface DialogProps {
|
|
339
|
+
width?: string | number;
|
|
340
|
+
top?: string;
|
|
341
|
+
model?: boolean;
|
|
342
|
+
center?: boolean;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export declare type DropdownPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
346
|
+
|
|
347
|
+
export declare type DynamicFormData = Record<string, any>;
|
|
348
|
+
|
|
349
|
+
export declare interface DynamicFormProps {
|
|
350
|
+
formKey?: string;
|
|
351
|
+
title?: string;
|
|
352
|
+
fields: Field[];
|
|
353
|
+
inline?: boolean;
|
|
354
|
+
editFormProps?: {
|
|
355
|
+
props?: FormProps;
|
|
356
|
+
gutter?: FormGutter;
|
|
357
|
+
};
|
|
358
|
+
emptyText?: string;
|
|
359
|
+
disabled?: boolean;
|
|
360
|
+
actionPosition?: ActionPosition;
|
|
361
|
+
hideActions?: boolean;
|
|
362
|
+
minRowNum?: number;
|
|
363
|
+
maxRowNum?: number;
|
|
364
|
+
rowTitle?: string | ((col: Record<string, any>, index: number) => string);
|
|
365
|
+
components: UIComponents;
|
|
366
|
+
initFormValue?: Record<string, any>;
|
|
367
|
+
uniqueKeyProp?: string;
|
|
368
|
+
requestFn?: RequestFunction;
|
|
369
|
+
addItemImmediately?: boolean;
|
|
370
|
+
readonly?: boolean;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export declare interface DynamicTableProps {
|
|
374
|
+
formKey: string;
|
|
375
|
+
title?: string;
|
|
376
|
+
fields: TableField[];
|
|
377
|
+
components: UIComponents;
|
|
378
|
+
requestFn?: RequestFunction;
|
|
379
|
+
tableProps?: TableProps;
|
|
380
|
+
disabled?: boolean;
|
|
381
|
+
hasPagination?: boolean;
|
|
382
|
+
dialogProps?: DialogProps;
|
|
383
|
+
editFormProps?: FormProps;
|
|
384
|
+
hasEditDialog?: boolean;
|
|
385
|
+
minRowNum?: number;
|
|
386
|
+
maxRowNum?: number;
|
|
387
|
+
actionPosition?: 'left' | 'center' | 'right';
|
|
388
|
+
emptyText?: string;
|
|
389
|
+
uniqueKeyProp?: string;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export declare type DynamicTabsData = Record<string, Record<string, any>>;
|
|
393
|
+
|
|
394
|
+
export declare interface DynamicTabsProps {
|
|
395
|
+
formKey?: string;
|
|
396
|
+
titleList: string[];
|
|
397
|
+
fields: Field[];
|
|
398
|
+
editFormProps?: {
|
|
399
|
+
props?: FormProps;
|
|
400
|
+
gutter?: FormGutter;
|
|
401
|
+
};
|
|
402
|
+
components: UIComponents;
|
|
403
|
+
customComponents?: Record<string, any>;
|
|
404
|
+
initFormValue?: Record<string, any>;
|
|
405
|
+
disabled?: boolean;
|
|
406
|
+
readonly?: boolean;
|
|
407
|
+
uniqueKeyProp?: string;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
declare type FieldComponentPropsMap = {
|
|
411
|
+
input: Omit<InputProps, 'disabled'>;
|
|
412
|
+
inputNumber: Omit<InputNumberProps, 'disabled'>;
|
|
413
|
+
select: Omit<SelectProps, 'disabled' | 'options' | 'remote' | 'remoteMethod' | 'loading'>;
|
|
414
|
+
multiSelect: Omit<MultiSelectProps, 'disabled' | 'options' | 'remoteMethod'>;
|
|
415
|
+
cascader: Omit<CascaderProps, 'disabled' | 'options' | 'remoteMethod'>;
|
|
416
|
+
radio: Omit<RadioProps, 'disabled' | 'options'>;
|
|
417
|
+
checkbox: Omit<CheckboxProps, 'disabled' | 'options'>;
|
|
418
|
+
switch: Omit<SwitchProps, 'disabled' | 'options' | 'loading'>;
|
|
419
|
+
datePicker: Omit<DatePickerProps, 'disabled'>;
|
|
420
|
+
dateTimePicker: Omit<DateTimePickerProps, 'disabled'>;
|
|
421
|
+
upload: Omit<UploadProps, 'disabled' | 'uploadMethod' | 'removeMethod'>;
|
|
422
|
+
dynamicTable: Omit<DynamicTableProps, 'disabled' | 'getInputComp'>;
|
|
423
|
+
dynamicForm: Omit<DynamicFormProps, 'disabled' | 'components' | 'requestFn'>;
|
|
424
|
+
dynamicTabs: Omit<DynamicTabsProps, 'disabled' | 'components' | 'customComponents'>;
|
|
425
|
+
title: TitleProps;
|
|
426
|
+
collapse: Omit<CollapseItemProps, 'disabled' | 'fields' | 'unfulfilledFields'>;
|
|
427
|
+
imageList: ImageListProps;
|
|
428
|
+
combinedFields: Omit<CombinedFieldsProps, 'disabled' | 'components' | 'requestFn'>;
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
export declare interface FieldConfig extends Field {
|
|
432
|
+
props?: FormItemProps;
|
|
433
|
+
component?: {
|
|
434
|
+
[K in keyof FieldComponentPropsMap]: ComponentByMap<K>;
|
|
435
|
+
}[keyof FieldComponentPropsMap];
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export { FORM_DATA_REFRESH_SYMBOL }
|
|
439
|
+
|
|
440
|
+
export { FORM_DISABLED_SYMBOL }
|
|
441
|
+
|
|
442
|
+
export { FORM_GROUP_SYMBOL }
|
|
443
|
+
|
|
444
|
+
export { FORM_UNFULFILLED_FIELD_SYMBOL }
|
|
445
|
+
|
|
446
|
+
export declare interface FormConfig extends Form {
|
|
447
|
+
props?: Omit<BaseFormProps, 'model' | 'rules'>;
|
|
448
|
+
fields: FieldConfig[];
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export declare interface FormItemProps {
|
|
452
|
+
label?: string;
|
|
453
|
+
prop?: string;
|
|
454
|
+
description?: string;
|
|
455
|
+
labelWidth?: string | number;
|
|
456
|
+
fieldConfig?: Field;
|
|
457
|
+
showMessage?: boolean;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export declare interface ImageListProps {
|
|
461
|
+
images: string[];
|
|
462
|
+
fit?: '' | 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
|
|
463
|
+
maxColNumber?: number;
|
|
464
|
+
gap: string[];
|
|
465
|
+
preview?: boolean;
|
|
466
|
+
hideOnClickModal?: boolean;
|
|
467
|
+
infinite?: boolean;
|
|
468
|
+
zoomRate?: number;
|
|
469
|
+
minScale?: number;
|
|
470
|
+
maxScale?: number;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export declare type InputAutosize = boolean | {
|
|
474
|
+
minRows?: number;
|
|
475
|
+
maxRows?: number;
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
export declare interface InputNumberProps extends CommonInputProps {
|
|
479
|
+
max?: number;
|
|
480
|
+
min?: number;
|
|
481
|
+
step?: number;
|
|
482
|
+
stepStrictly?: boolean;
|
|
483
|
+
precision?: number;
|
|
484
|
+
controls?: boolean;
|
|
485
|
+
align?: 'left' | 'center' | 'right';
|
|
486
|
+
clearable?: boolean;
|
|
487
|
+
prefix?: string;
|
|
488
|
+
suffix?: string;
|
|
489
|
+
prepend?: string;
|
|
490
|
+
append?: string;
|
|
491
|
+
validatorEvent?: boolean;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export declare interface InputProps extends CommonInputProps {
|
|
495
|
+
type?: InputType;
|
|
496
|
+
maxlength?: number;
|
|
497
|
+
minlength?: number;
|
|
498
|
+
showWordLimit?: boolean;
|
|
499
|
+
wordLimitPosition?: 'inside' | 'outside';
|
|
500
|
+
showPassword?: boolean;
|
|
501
|
+
rows?: number;
|
|
502
|
+
autosize?: InputAutosize;
|
|
503
|
+
resize?: InputResize;
|
|
504
|
+
autofocus?: boolean;
|
|
505
|
+
clearable?: boolean;
|
|
506
|
+
prefix?: string;
|
|
507
|
+
suffix?: string;
|
|
508
|
+
prepend?: string;
|
|
509
|
+
append?: string;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export declare type InputResize = 'none' | 'both' | 'horizontal' | 'vertical';
|
|
513
|
+
|
|
514
|
+
export declare type InputType = 'text' | 'password' | 'textarea';
|
|
515
|
+
|
|
516
|
+
export declare interface MultiSelectProps extends SelectProps {
|
|
517
|
+
options: RepellentOption[];
|
|
518
|
+
collapseTags?: boolean;
|
|
519
|
+
collapseTagsTooltip?: boolean;
|
|
520
|
+
multipleLimit?: number;
|
|
521
|
+
reserveKeyword?: boolean;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export declare type MultiSelectValue = Array<string | number | boolean | Record<string, any>>;
|
|
525
|
+
|
|
526
|
+
export declare const NativeRadio: DefineComponent<ExtractPropTypes< {
|
|
527
|
+
modelValue: PropType<RadioValue | undefined>;
|
|
528
|
+
fill: {
|
|
529
|
+
type: PropType<string>;
|
|
530
|
+
};
|
|
531
|
+
disabled: {
|
|
532
|
+
type: PropType<boolean>;
|
|
533
|
+
};
|
|
534
|
+
size: {
|
|
535
|
+
type: PropType<Size>;
|
|
536
|
+
};
|
|
537
|
+
type: {
|
|
538
|
+
type: PropType<"button" | "radio">;
|
|
539
|
+
default: string;
|
|
540
|
+
};
|
|
541
|
+
validateEvent: {
|
|
542
|
+
type: PropType<boolean>;
|
|
543
|
+
default: boolean;
|
|
544
|
+
};
|
|
545
|
+
options: {
|
|
546
|
+
type: PropType<RadioOption[]>;
|
|
547
|
+
required: true;
|
|
548
|
+
default: () => never[];
|
|
549
|
+
};
|
|
550
|
+
textColor: {
|
|
551
|
+
type: PropType<string>;
|
|
552
|
+
};
|
|
553
|
+
cancelable: {
|
|
554
|
+
type: PropType<boolean>;
|
|
555
|
+
default: boolean;
|
|
556
|
+
};
|
|
557
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
558
|
+
blur: (event: FocusEvent) => void;
|
|
559
|
+
change: (value: RadioValue | undefined) => void;
|
|
560
|
+
keyup: (event: KeyboardEvent) => void;
|
|
561
|
+
keyupEnter: (event: KeyboardEvent) => void;
|
|
562
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
563
|
+
modelValue: PropType<RadioValue | undefined>;
|
|
564
|
+
fill: {
|
|
565
|
+
type: PropType<string>;
|
|
566
|
+
};
|
|
567
|
+
disabled: {
|
|
568
|
+
type: PropType<boolean>;
|
|
569
|
+
};
|
|
570
|
+
size: {
|
|
571
|
+
type: PropType<Size>;
|
|
572
|
+
};
|
|
573
|
+
type: {
|
|
574
|
+
type: PropType<"button" | "radio">;
|
|
575
|
+
default: string;
|
|
576
|
+
};
|
|
577
|
+
validateEvent: {
|
|
578
|
+
type: PropType<boolean>;
|
|
579
|
+
default: boolean;
|
|
580
|
+
};
|
|
581
|
+
options: {
|
|
582
|
+
type: PropType<RadioOption[]>;
|
|
583
|
+
required: true;
|
|
584
|
+
default: () => never[];
|
|
585
|
+
};
|
|
586
|
+
textColor: {
|
|
587
|
+
type: PropType<string>;
|
|
588
|
+
};
|
|
589
|
+
cancelable: {
|
|
590
|
+
type: PropType<boolean>;
|
|
591
|
+
default: boolean;
|
|
592
|
+
};
|
|
593
|
+
}>> & Readonly<{
|
|
594
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
595
|
+
onChange?: ((value: RadioValue | undefined) => any) | undefined;
|
|
596
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
597
|
+
onKeyupEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
598
|
+
}>, {
|
|
599
|
+
type: "button" | "radio";
|
|
600
|
+
validateEvent: boolean;
|
|
601
|
+
options: RadioOption[];
|
|
602
|
+
cancelable: boolean;
|
|
603
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
604
|
+
|
|
605
|
+
export declare interface Pagination {
|
|
606
|
+
total: number;
|
|
607
|
+
pageSize: number;
|
|
608
|
+
currentPage: number;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export declare interface RadioOption extends Option_2 {
|
|
612
|
+
value: RadioValue;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export declare interface RadioProps extends CommonProps {
|
|
616
|
+
validateEvent?: boolean;
|
|
617
|
+
textColor?: string;
|
|
618
|
+
fill?: string;
|
|
619
|
+
type?: 'radio' | 'button';
|
|
620
|
+
options: RadioOption[];
|
|
621
|
+
cancelable?: boolean;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export declare type RadioValue = string | number | boolean;
|
|
625
|
+
|
|
626
|
+
export declare interface RepellentOption extends Option_2 {
|
|
627
|
+
value: string | number;
|
|
628
|
+
repel?: Array<string | number>;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
export declare interface SelectProps extends CommonInputProps {
|
|
632
|
+
valueKey?: string;
|
|
633
|
+
options?: Option_2[];
|
|
634
|
+
filterable?: boolean;
|
|
635
|
+
allowCreate?: boolean;
|
|
636
|
+
remote?: boolean;
|
|
637
|
+
debounce?: number;
|
|
638
|
+
remoteMethod?: RemoteMethod;
|
|
639
|
+
remoteShowSuffix?: boolean;
|
|
640
|
+
loading?: boolean;
|
|
641
|
+
loadingText?: string;
|
|
642
|
+
noMatchText?: string;
|
|
643
|
+
noDataText?: string;
|
|
644
|
+
popperClass?: string;
|
|
645
|
+
popperStyle?: string | Record<string, any>;
|
|
646
|
+
defaultFirstOption?: boolean;
|
|
647
|
+
persistent?: boolean;
|
|
648
|
+
automaticDropdown?: boolean;
|
|
649
|
+
fitInputWidth?: boolean;
|
|
650
|
+
offset?: number;
|
|
651
|
+
showArrow?: boolean;
|
|
652
|
+
placement?: DropdownPlacement;
|
|
653
|
+
fallbackPlacements?: Array<DropdownPlacement>;
|
|
654
|
+
popperOptions?: Record<string, any>;
|
|
655
|
+
valueOnClear?: string | number | boolean;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export declare type SelectValue = string | number | boolean | Record<string, any>;
|
|
659
|
+
|
|
660
|
+
export declare type Size = 'large' | 'default' | 'small';
|
|
661
|
+
|
|
662
|
+
export declare interface SwitchOption extends Option_2 {
|
|
663
|
+
value: SwitchValue;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export declare interface SwitchProps extends CommonProps {
|
|
667
|
+
loading?: boolean;
|
|
668
|
+
width?: string | number;
|
|
669
|
+
inlinePrompt?: boolean;
|
|
670
|
+
activeIcon?: string;
|
|
671
|
+
inactiveIcon?: string;
|
|
672
|
+
activeActionIcon?: string;
|
|
673
|
+
inactiveActionIcon?: string;
|
|
674
|
+
activeText?: string;
|
|
675
|
+
inactiveText?: string;
|
|
676
|
+
validateEvent?: boolean;
|
|
677
|
+
options: [SwitchOption, SwitchOption];
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export declare type SwitchValue = string | number | boolean;
|
|
681
|
+
|
|
682
|
+
export declare interface Tab {
|
|
683
|
+
label: string;
|
|
684
|
+
name: TabValue;
|
|
685
|
+
disabled?: boolean;
|
|
686
|
+
closable?: boolean;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export declare type TableColumnAlign = 'left' | 'center' | 'right';
|
|
690
|
+
|
|
691
|
+
export declare type TableColumnFixed = 'left' | 'right' | boolean;
|
|
692
|
+
|
|
693
|
+
export declare interface TableColumnProps {
|
|
694
|
+
width?: string | number;
|
|
695
|
+
minWidth?: string | number;
|
|
696
|
+
fixed?: TableColumnFixed;
|
|
697
|
+
sortable?: boolean;
|
|
698
|
+
resizable?: boolean;
|
|
699
|
+
showOverflowTooltip?: boolean;
|
|
700
|
+
align?: TableColumnAlign;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export declare interface TableData {
|
|
704
|
+
id: string;
|
|
705
|
+
editing: boolean;
|
|
706
|
+
errorFields?: string[];
|
|
707
|
+
data: Record<string, any>;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export declare interface TableField extends FieldConfig {
|
|
711
|
+
label?: string;
|
|
712
|
+
tableColumnProps?: TableColumnProps;
|
|
713
|
+
readonly?: boolean;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
export declare interface TableProps {
|
|
717
|
+
height?: string | number;
|
|
718
|
+
maxHeight?: string | number;
|
|
719
|
+
border?: boolean;
|
|
720
|
+
emptyText?: string;
|
|
721
|
+
highlightCurrentRow?: boolean;
|
|
722
|
+
showOverflowTooltip?: boolean;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
export declare interface TableRowFormDialogProps {
|
|
726
|
+
dialogProps?: DialogProps;
|
|
727
|
+
formKey: string;
|
|
728
|
+
formConfig: FormConfig[];
|
|
729
|
+
components: UIComponents;
|
|
730
|
+
requestFn?: RequestFunction;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export declare interface TabProps {
|
|
734
|
+
tabs: Tab[];
|
|
735
|
+
closable?: boolean;
|
|
736
|
+
addable?: boolean;
|
|
737
|
+
editable?: boolean;
|
|
738
|
+
unfulfilledFields?: Record<string, UnfulfilledField[]>;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export declare type TabValue = string | number;
|
|
742
|
+
|
|
743
|
+
export declare interface TitleProps {
|
|
744
|
+
content: string;
|
|
745
|
+
hasDescriptionTooltip?: boolean;
|
|
746
|
+
tooltipProps?: TooltipProps;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
export declare type TooltipPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
750
|
+
|
|
751
|
+
export declare interface TooltipProps {
|
|
752
|
+
content: string;
|
|
753
|
+
placement?: TooltipPlacement;
|
|
754
|
+
offset?: number;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
export declare class UploadAjaxError extends Error {
|
|
758
|
+
name: string;
|
|
759
|
+
status: number;
|
|
760
|
+
method: string;
|
|
761
|
+
url: string;
|
|
762
|
+
constructor(message: string, status: number, method: string, url: string);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export declare type UploadData = UploadItem[];
|
|
766
|
+
|
|
767
|
+
export declare interface UploadFile {
|
|
768
|
+
name: string;
|
|
769
|
+
percentage?: number;
|
|
770
|
+
status: UploadStatus;
|
|
771
|
+
size?: number;
|
|
772
|
+
response?: unknown;
|
|
773
|
+
uid: number | string;
|
|
774
|
+
url?: string;
|
|
775
|
+
raw?: UploadRawFile;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
export declare interface UploadItem {
|
|
779
|
+
name: string;
|
|
780
|
+
id: number | string;
|
|
781
|
+
url?: string;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export declare interface UploadOptions {
|
|
785
|
+
filename?: string;
|
|
786
|
+
file: UploadRawFile;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export declare interface UploadProps {
|
|
790
|
+
listType?: 'text' | 'picture' | 'picture-card';
|
|
791
|
+
accept?: string;
|
|
792
|
+
strictAccept?: boolean;
|
|
793
|
+
size?: number;
|
|
794
|
+
limit?: number;
|
|
795
|
+
uploadMethod?: UploadMethod;
|
|
796
|
+
removeMethod?: FileRemoveMethod;
|
|
797
|
+
tips?: string;
|
|
798
|
+
disabled?: boolean;
|
|
799
|
+
multiple?: boolean;
|
|
800
|
+
readonly?: boolean;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
export declare interface UploadRawFile extends File {
|
|
804
|
+
uid: number;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export declare interface UploadRequestOptions extends UploadOptions {
|
|
808
|
+
action: string;
|
|
809
|
+
method: string;
|
|
810
|
+
data: Record<string, string | Blob | [string | Blob, string]>;
|
|
811
|
+
headers: Headers | Record<string, string | number | null | undefined>;
|
|
812
|
+
onError: (evt: any) => void;
|
|
813
|
+
onProgress: (evt: any) => void;
|
|
814
|
+
onSuccess: (response: any) => void;
|
|
815
|
+
withCredentials: boolean;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export declare type UploadStatus = 'ready' | 'uploading' | 'success' | 'fail';
|
|
819
|
+
|
|
820
|
+
export declare type UploadUserFile = Omit<UploadFile, 'status' | 'uid'> & Partial<Pick<UploadFile, 'status'>> & {
|
|
821
|
+
uid?: number;
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
export { useFormItem }
|
|
825
|
+
|
|
826
|
+
export declare const ZYBaseForm: __VLS_WithTemplateSlots_2<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<BaseFormProps>, {
|
|
827
|
+
validateOnRuleChange: boolean;
|
|
828
|
+
}>>, {
|
|
829
|
+
validate: (callback?: FormValidateCallback | undefined) => FormValidationResult | undefined;
|
|
830
|
+
validateField: (props?: any, callback?: FormValidateCallback | undefined) => FormValidationResult | undefined;
|
|
831
|
+
resetFields: (props?: any) => void | undefined;
|
|
832
|
+
scrollToField: (prop: FormItemProp) => void | undefined;
|
|
833
|
+
clearValidate: (props?: any) => void | undefined;
|
|
834
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
835
|
+
scroll: (event: Event) => void;
|
|
836
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<BaseFormProps>, {
|
|
837
|
+
validateOnRuleChange: boolean;
|
|
838
|
+
}>>> & Readonly<{
|
|
839
|
+
onScroll?: ((event: Event) => any) | undefined;
|
|
840
|
+
}>, {
|
|
841
|
+
validateOnRuleChange: boolean;
|
|
842
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
843
|
+
default?(_: {}): any;
|
|
844
|
+
}>;
|
|
845
|
+
|
|
846
|
+
export declare const ZYCascader: DefineComponent<ExtractPropTypes< {
|
|
847
|
+
modelValue: {
|
|
848
|
+
required: true;
|
|
849
|
+
type: PropType<any>;
|
|
850
|
+
};
|
|
851
|
+
lazy: {
|
|
852
|
+
type: PropType<boolean>;
|
|
853
|
+
};
|
|
854
|
+
disabled: {
|
|
855
|
+
type: PropType<boolean>;
|
|
856
|
+
};
|
|
857
|
+
size: {
|
|
858
|
+
type: PropType<Size>;
|
|
859
|
+
};
|
|
860
|
+
props: {
|
|
861
|
+
type: PropType<Record<string, any>>;
|
|
862
|
+
};
|
|
863
|
+
placeholder: {
|
|
864
|
+
type: PropType<string>;
|
|
865
|
+
};
|
|
866
|
+
effect: {
|
|
867
|
+
type: PropType<"light" | "dark">;
|
|
868
|
+
};
|
|
869
|
+
popperClass: {
|
|
870
|
+
type: PropType<string>;
|
|
871
|
+
};
|
|
872
|
+
popperStyle: {
|
|
873
|
+
type: PropType<string | Record<string, any>>;
|
|
874
|
+
};
|
|
875
|
+
fallbackPlacements: {
|
|
876
|
+
type: PropType<DropdownPlacement[]>;
|
|
877
|
+
};
|
|
878
|
+
placement: {
|
|
879
|
+
type: PropType<DropdownPlacement>;
|
|
880
|
+
};
|
|
881
|
+
persistent: {
|
|
882
|
+
type: PropType<boolean>;
|
|
883
|
+
default: boolean;
|
|
884
|
+
};
|
|
885
|
+
clearable: {
|
|
886
|
+
type: PropType<boolean>;
|
|
887
|
+
default: boolean;
|
|
888
|
+
};
|
|
889
|
+
autocomplete: {
|
|
890
|
+
type: PropType<any>;
|
|
891
|
+
};
|
|
892
|
+
clearValue: {
|
|
893
|
+
type: PropType<any>;
|
|
894
|
+
};
|
|
895
|
+
validateEvent: {
|
|
896
|
+
type: PropType<boolean>;
|
|
897
|
+
default: boolean;
|
|
898
|
+
};
|
|
899
|
+
valueOnClear: {
|
|
900
|
+
type: PropType<string | number | boolean>;
|
|
901
|
+
default: undefined;
|
|
902
|
+
};
|
|
903
|
+
options: {
|
|
904
|
+
type: PropType<CascaderOption[]>;
|
|
905
|
+
};
|
|
906
|
+
filterable: {
|
|
907
|
+
type: PropType<boolean>;
|
|
908
|
+
};
|
|
909
|
+
debounce: {
|
|
910
|
+
type: PropType<number>;
|
|
911
|
+
};
|
|
912
|
+
remoteMethod: {
|
|
913
|
+
type: PropType<RemoteMethod>;
|
|
914
|
+
};
|
|
915
|
+
multiple: {
|
|
916
|
+
type: PropType<boolean>;
|
|
917
|
+
};
|
|
918
|
+
collapseTags: {
|
|
919
|
+
type: PropType<boolean>;
|
|
920
|
+
};
|
|
921
|
+
collapseTagsTooltip: {
|
|
922
|
+
type: PropType<boolean>;
|
|
923
|
+
};
|
|
924
|
+
maxCollapseTags: {
|
|
925
|
+
type: PropType<number>;
|
|
926
|
+
};
|
|
927
|
+
tagType: {
|
|
928
|
+
type: PropType<"success" | "info" | "warning" | "danger">;
|
|
929
|
+
};
|
|
930
|
+
tagEffect: {
|
|
931
|
+
type: PropType<"light" | "dark" | "plain">;
|
|
932
|
+
};
|
|
933
|
+
showAllLevels: {
|
|
934
|
+
type: PropType<boolean>;
|
|
935
|
+
};
|
|
936
|
+
maxCollapseTagsTooltipHeight: {
|
|
937
|
+
type: PropType<number>;
|
|
938
|
+
};
|
|
939
|
+
separator: {
|
|
940
|
+
type: PropType<string>;
|
|
941
|
+
};
|
|
942
|
+
showCheckedStrategy: {
|
|
943
|
+
type: PropType<"parent" | "child">;
|
|
944
|
+
};
|
|
945
|
+
checkStrictly: {
|
|
946
|
+
type: PropType<boolean>;
|
|
947
|
+
};
|
|
948
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
949
|
+
modelValue: {
|
|
950
|
+
required: true;
|
|
951
|
+
type: PropType<any>;
|
|
952
|
+
};
|
|
953
|
+
lazy: {
|
|
954
|
+
type: PropType<boolean>;
|
|
955
|
+
};
|
|
956
|
+
disabled: {
|
|
957
|
+
type: PropType<boolean>;
|
|
958
|
+
};
|
|
959
|
+
size: {
|
|
960
|
+
type: PropType<Size>;
|
|
961
|
+
};
|
|
962
|
+
props: {
|
|
963
|
+
type: PropType<Record<string, any>>;
|
|
964
|
+
};
|
|
965
|
+
placeholder: {
|
|
966
|
+
type: PropType<string>;
|
|
967
|
+
};
|
|
968
|
+
effect: {
|
|
969
|
+
type: PropType<"light" | "dark">;
|
|
970
|
+
};
|
|
971
|
+
popperClass: {
|
|
972
|
+
type: PropType<string>;
|
|
973
|
+
};
|
|
974
|
+
popperStyle: {
|
|
975
|
+
type: PropType<string | Record<string, any>>;
|
|
976
|
+
};
|
|
977
|
+
fallbackPlacements: {
|
|
978
|
+
type: PropType<DropdownPlacement[]>;
|
|
979
|
+
};
|
|
980
|
+
placement: {
|
|
981
|
+
type: PropType<DropdownPlacement>;
|
|
982
|
+
};
|
|
983
|
+
persistent: {
|
|
984
|
+
type: PropType<boolean>;
|
|
985
|
+
default: boolean;
|
|
986
|
+
};
|
|
987
|
+
clearable: {
|
|
988
|
+
type: PropType<boolean>;
|
|
989
|
+
default: boolean;
|
|
990
|
+
};
|
|
991
|
+
autocomplete: {
|
|
992
|
+
type: PropType<any>;
|
|
993
|
+
};
|
|
994
|
+
clearValue: {
|
|
995
|
+
type: PropType<any>;
|
|
996
|
+
};
|
|
997
|
+
validateEvent: {
|
|
998
|
+
type: PropType<boolean>;
|
|
999
|
+
default: boolean;
|
|
1000
|
+
};
|
|
1001
|
+
valueOnClear: {
|
|
1002
|
+
type: PropType<string | number | boolean>;
|
|
1003
|
+
default: undefined;
|
|
1004
|
+
};
|
|
1005
|
+
options: {
|
|
1006
|
+
type: PropType<CascaderOption[]>;
|
|
1007
|
+
};
|
|
1008
|
+
filterable: {
|
|
1009
|
+
type: PropType<boolean>;
|
|
1010
|
+
};
|
|
1011
|
+
debounce: {
|
|
1012
|
+
type: PropType<number>;
|
|
1013
|
+
};
|
|
1014
|
+
remoteMethod: {
|
|
1015
|
+
type: PropType<RemoteMethod>;
|
|
1016
|
+
};
|
|
1017
|
+
multiple: {
|
|
1018
|
+
type: PropType<boolean>;
|
|
1019
|
+
};
|
|
1020
|
+
collapseTags: {
|
|
1021
|
+
type: PropType<boolean>;
|
|
1022
|
+
};
|
|
1023
|
+
collapseTagsTooltip: {
|
|
1024
|
+
type: PropType<boolean>;
|
|
1025
|
+
};
|
|
1026
|
+
maxCollapseTags: {
|
|
1027
|
+
type: PropType<number>;
|
|
1028
|
+
};
|
|
1029
|
+
tagType: {
|
|
1030
|
+
type: PropType<"success" | "info" | "warning" | "danger">;
|
|
1031
|
+
};
|
|
1032
|
+
tagEffect: {
|
|
1033
|
+
type: PropType<"light" | "dark" | "plain">;
|
|
1034
|
+
};
|
|
1035
|
+
showAllLevels: {
|
|
1036
|
+
type: PropType<boolean>;
|
|
1037
|
+
};
|
|
1038
|
+
maxCollapseTagsTooltipHeight: {
|
|
1039
|
+
type: PropType<number>;
|
|
1040
|
+
};
|
|
1041
|
+
separator: {
|
|
1042
|
+
type: PropType<string>;
|
|
1043
|
+
};
|
|
1044
|
+
showCheckedStrategy: {
|
|
1045
|
+
type: PropType<"parent" | "child">;
|
|
1046
|
+
};
|
|
1047
|
+
checkStrictly: {
|
|
1048
|
+
type: PropType<boolean>;
|
|
1049
|
+
};
|
|
1050
|
+
}>> & Readonly<{}>, {
|
|
1051
|
+
persistent: boolean;
|
|
1052
|
+
clearable: boolean;
|
|
1053
|
+
validateEvent: boolean;
|
|
1054
|
+
valueOnClear: string | number | boolean;
|
|
1055
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1056
|
+
|
|
1057
|
+
export declare const ZYCheckbox: DefineComponent<ExtractPropTypes< {
|
|
1058
|
+
modelValue: {
|
|
1059
|
+
required: true;
|
|
1060
|
+
type: PropType<CheckboxGroupValueType>;
|
|
1061
|
+
};
|
|
1062
|
+
fill: {
|
|
1063
|
+
type: PropType<string>;
|
|
1064
|
+
};
|
|
1065
|
+
disabled: {
|
|
1066
|
+
type: PropType<boolean>;
|
|
1067
|
+
};
|
|
1068
|
+
size: {
|
|
1069
|
+
type: PropType<Size>;
|
|
1070
|
+
};
|
|
1071
|
+
type: {
|
|
1072
|
+
type: PropType<"button" | "checkbox">;
|
|
1073
|
+
};
|
|
1074
|
+
max: {
|
|
1075
|
+
type: PropType<number>;
|
|
1076
|
+
};
|
|
1077
|
+
validateEvent: {
|
|
1078
|
+
type: PropType<boolean>;
|
|
1079
|
+
default: boolean;
|
|
1080
|
+
};
|
|
1081
|
+
min: {
|
|
1082
|
+
type: PropType<number>;
|
|
1083
|
+
};
|
|
1084
|
+
options: {
|
|
1085
|
+
type: PropType<RepellentOption[]>;
|
|
1086
|
+
required: true;
|
|
1087
|
+
default: () => never[];
|
|
1088
|
+
};
|
|
1089
|
+
textColor: {
|
|
1090
|
+
type: PropType<string>;
|
|
1091
|
+
};
|
|
1092
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1093
|
+
modelValue: {
|
|
1094
|
+
required: true;
|
|
1095
|
+
type: PropType<CheckboxGroupValueType>;
|
|
1096
|
+
};
|
|
1097
|
+
fill: {
|
|
1098
|
+
type: PropType<string>;
|
|
1099
|
+
};
|
|
1100
|
+
disabled: {
|
|
1101
|
+
type: PropType<boolean>;
|
|
1102
|
+
};
|
|
1103
|
+
size: {
|
|
1104
|
+
type: PropType<Size>;
|
|
1105
|
+
};
|
|
1106
|
+
type: {
|
|
1107
|
+
type: PropType<"button" | "checkbox">;
|
|
1108
|
+
};
|
|
1109
|
+
max: {
|
|
1110
|
+
type: PropType<number>;
|
|
1111
|
+
};
|
|
1112
|
+
validateEvent: {
|
|
1113
|
+
type: PropType<boolean>;
|
|
1114
|
+
default: boolean;
|
|
1115
|
+
};
|
|
1116
|
+
min: {
|
|
1117
|
+
type: PropType<number>;
|
|
1118
|
+
};
|
|
1119
|
+
options: {
|
|
1120
|
+
type: PropType<RepellentOption[]>;
|
|
1121
|
+
required: true;
|
|
1122
|
+
default: () => never[];
|
|
1123
|
+
};
|
|
1124
|
+
textColor: {
|
|
1125
|
+
type: PropType<string>;
|
|
1126
|
+
};
|
|
1127
|
+
}>> & Readonly<{}>, {
|
|
1128
|
+
validateEvent: boolean;
|
|
1129
|
+
options: RepellentOption[];
|
|
1130
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1131
|
+
|
|
1132
|
+
export declare const ZYCollapse: __VLS_WithTemplateSlots_3<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<CollapseProps>, {
|
|
1133
|
+
accordion: boolean;
|
|
1134
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<CollapseProps>, {
|
|
1135
|
+
accordion: boolean;
|
|
1136
|
+
}>>> & Readonly<{}>, {
|
|
1137
|
+
accordion: boolean;
|
|
1138
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
1139
|
+
default?(_: {}): any;
|
|
1140
|
+
}>;
|
|
1141
|
+
|
|
1142
|
+
export declare const ZYCollapseItem: __VLS_WithTemplateSlots_4<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<CollapseItemProps>, {
|
|
1143
|
+
disabled: boolean;
|
|
1144
|
+
defaultOpen: boolean;
|
|
1145
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToRuntimeProps_4<CollapseItemProps>, {
|
|
1146
|
+
disabled: boolean;
|
|
1147
|
+
defaultOpen: boolean;
|
|
1148
|
+
}>>> & Readonly<{}>, {
|
|
1149
|
+
disabled: boolean;
|
|
1150
|
+
defaultOpen: boolean;
|
|
1151
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
1152
|
+
default?(_: {}): any;
|
|
1153
|
+
}>;
|
|
1154
|
+
|
|
1155
|
+
export declare const ZYCombinedFields: DefineComponent<ExtractPropTypes< {
|
|
1156
|
+
modelValue: {
|
|
1157
|
+
required: true;
|
|
1158
|
+
type: PropType<Record<string, any>>;
|
|
1159
|
+
};
|
|
1160
|
+
disabled: {
|
|
1161
|
+
type: PropType<boolean>;
|
|
1162
|
+
};
|
|
1163
|
+
size: {
|
|
1164
|
+
type: PropType<Size>;
|
|
1165
|
+
};
|
|
1166
|
+
fields: {
|
|
1167
|
+
type: PropType<Field[]>;
|
|
1168
|
+
required: true;
|
|
1169
|
+
};
|
|
1170
|
+
readonly: {
|
|
1171
|
+
type: PropType<boolean>;
|
|
1172
|
+
};
|
|
1173
|
+
components: {
|
|
1174
|
+
type: PropType<UIComponents>;
|
|
1175
|
+
required: true;
|
|
1176
|
+
};
|
|
1177
|
+
requestFn: {
|
|
1178
|
+
type: PropType<RequestFunction>;
|
|
1179
|
+
};
|
|
1180
|
+
gutter: {
|
|
1181
|
+
type: PropType<FormGutter>;
|
|
1182
|
+
default: () => {
|
|
1183
|
+
vertical: number;
|
|
1184
|
+
horizontal: number;
|
|
1185
|
+
};
|
|
1186
|
+
};
|
|
1187
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1188
|
+
modelValue: {
|
|
1189
|
+
required: true;
|
|
1190
|
+
type: PropType<Record<string, any>>;
|
|
1191
|
+
};
|
|
1192
|
+
disabled: {
|
|
1193
|
+
type: PropType<boolean>;
|
|
1194
|
+
};
|
|
1195
|
+
size: {
|
|
1196
|
+
type: PropType<Size>;
|
|
1197
|
+
};
|
|
1198
|
+
fields: {
|
|
1199
|
+
type: PropType<Field[]>;
|
|
1200
|
+
required: true;
|
|
1201
|
+
};
|
|
1202
|
+
readonly: {
|
|
1203
|
+
type: PropType<boolean>;
|
|
1204
|
+
};
|
|
1205
|
+
components: {
|
|
1206
|
+
type: PropType<UIComponents>;
|
|
1207
|
+
required: true;
|
|
1208
|
+
};
|
|
1209
|
+
requestFn: {
|
|
1210
|
+
type: PropType<RequestFunction>;
|
|
1211
|
+
};
|
|
1212
|
+
gutter: {
|
|
1213
|
+
type: PropType<FormGutter>;
|
|
1214
|
+
default: () => {
|
|
1215
|
+
vertical: number;
|
|
1216
|
+
horizontal: number;
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
}>> & Readonly<{}>, {
|
|
1220
|
+
gutter: FormGutter;
|
|
1221
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1222
|
+
|
|
1223
|
+
export declare const ZYDatePicker: DefineComponent<ExtractPropTypes< {
|
|
1224
|
+
modelValue: {
|
|
1225
|
+
required: true;
|
|
1226
|
+
type: PropType<string | number | Date | undefined>;
|
|
1227
|
+
};
|
|
1228
|
+
disabled: {
|
|
1229
|
+
type: PropType<boolean>;
|
|
1230
|
+
};
|
|
1231
|
+
size: {
|
|
1232
|
+
type: PropType<Size>;
|
|
1233
|
+
};
|
|
1234
|
+
type: {
|
|
1235
|
+
type: PropType<DatePickerType>;
|
|
1236
|
+
default: string;
|
|
1237
|
+
};
|
|
1238
|
+
placeholder: {
|
|
1239
|
+
type: PropType<string>;
|
|
1240
|
+
default: string;
|
|
1241
|
+
};
|
|
1242
|
+
popperClass: {
|
|
1243
|
+
type: PropType<string>;
|
|
1244
|
+
};
|
|
1245
|
+
popperStyle: {
|
|
1246
|
+
type: PropType<string | Record<string, any>>;
|
|
1247
|
+
};
|
|
1248
|
+
fallbackPlacements: {
|
|
1249
|
+
type: PropType<DropdownPlacement[]>;
|
|
1250
|
+
};
|
|
1251
|
+
placement: {
|
|
1252
|
+
type: PropType<DropdownPlacement>;
|
|
1253
|
+
};
|
|
1254
|
+
popperOptions: {
|
|
1255
|
+
type: PropType<Record<string, any>>;
|
|
1256
|
+
};
|
|
1257
|
+
clearable: {
|
|
1258
|
+
type: PropType<boolean>;
|
|
1259
|
+
default: boolean;
|
|
1260
|
+
};
|
|
1261
|
+
autocomplete: {
|
|
1262
|
+
type: PropType<any>;
|
|
1263
|
+
};
|
|
1264
|
+
clearValue: {
|
|
1265
|
+
type: PropType<any>;
|
|
1266
|
+
};
|
|
1267
|
+
clearIcon: {
|
|
1268
|
+
type: PropType<string>;
|
|
1269
|
+
};
|
|
1270
|
+
prefixIcon: {
|
|
1271
|
+
type: PropType<string>;
|
|
1272
|
+
};
|
|
1273
|
+
validateEvent: {
|
|
1274
|
+
type: PropType<boolean>;
|
|
1275
|
+
default: boolean;
|
|
1276
|
+
};
|
|
1277
|
+
valueOnClear: {
|
|
1278
|
+
type: PropType<string | number | boolean>;
|
|
1279
|
+
default: undefined;
|
|
1280
|
+
};
|
|
1281
|
+
automaticDropdown: {
|
|
1282
|
+
type: PropType<boolean>;
|
|
1283
|
+
};
|
|
1284
|
+
editable: {
|
|
1285
|
+
type: PropType<boolean>;
|
|
1286
|
+
};
|
|
1287
|
+
startPlaceholder: {
|
|
1288
|
+
type: PropType<string>;
|
|
1289
|
+
};
|
|
1290
|
+
endPlaceholder: {
|
|
1291
|
+
type: PropType<string>;
|
|
1292
|
+
};
|
|
1293
|
+
format: {
|
|
1294
|
+
type: PropType<string>;
|
|
1295
|
+
};
|
|
1296
|
+
rangeSeparator: {
|
|
1297
|
+
type: PropType<string>;
|
|
1298
|
+
default: string;
|
|
1299
|
+
};
|
|
1300
|
+
valueFormat: {
|
|
1301
|
+
type: PropType<string>;
|
|
1302
|
+
default: string;
|
|
1303
|
+
};
|
|
1304
|
+
unlinkPanels: {
|
|
1305
|
+
type: PropType<boolean>;
|
|
1306
|
+
};
|
|
1307
|
+
disabledDate: {
|
|
1308
|
+
type: PropType<(date: Date) => boolean>;
|
|
1309
|
+
};
|
|
1310
|
+
shortcuts: {
|
|
1311
|
+
type: PropType< {
|
|
1312
|
+
text: string;
|
|
1313
|
+
value: Function | Date;
|
|
1314
|
+
}[]>;
|
|
1315
|
+
};
|
|
1316
|
+
showFooter: {
|
|
1317
|
+
type: PropType<boolean>;
|
|
1318
|
+
};
|
|
1319
|
+
showConfirm: {
|
|
1320
|
+
type: PropType<boolean>;
|
|
1321
|
+
};
|
|
1322
|
+
showWeekNumber: {
|
|
1323
|
+
type: PropType<boolean>;
|
|
1324
|
+
};
|
|
1325
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1326
|
+
modelValue: {
|
|
1327
|
+
required: true;
|
|
1328
|
+
type: PropType<string | number | Date | undefined>;
|
|
1329
|
+
};
|
|
1330
|
+
disabled: {
|
|
1331
|
+
type: PropType<boolean>;
|
|
1332
|
+
};
|
|
1333
|
+
size: {
|
|
1334
|
+
type: PropType<Size>;
|
|
1335
|
+
};
|
|
1336
|
+
type: {
|
|
1337
|
+
type: PropType<DatePickerType>;
|
|
1338
|
+
default: string;
|
|
1339
|
+
};
|
|
1340
|
+
placeholder: {
|
|
1341
|
+
type: PropType<string>;
|
|
1342
|
+
default: string;
|
|
1343
|
+
};
|
|
1344
|
+
popperClass: {
|
|
1345
|
+
type: PropType<string>;
|
|
1346
|
+
};
|
|
1347
|
+
popperStyle: {
|
|
1348
|
+
type: PropType<string | Record<string, any>>;
|
|
1349
|
+
};
|
|
1350
|
+
fallbackPlacements: {
|
|
1351
|
+
type: PropType<DropdownPlacement[]>;
|
|
1352
|
+
};
|
|
1353
|
+
placement: {
|
|
1354
|
+
type: PropType<DropdownPlacement>;
|
|
1355
|
+
};
|
|
1356
|
+
popperOptions: {
|
|
1357
|
+
type: PropType<Record<string, any>>;
|
|
1358
|
+
};
|
|
1359
|
+
clearable: {
|
|
1360
|
+
type: PropType<boolean>;
|
|
1361
|
+
default: boolean;
|
|
1362
|
+
};
|
|
1363
|
+
autocomplete: {
|
|
1364
|
+
type: PropType<any>;
|
|
1365
|
+
};
|
|
1366
|
+
clearValue: {
|
|
1367
|
+
type: PropType<any>;
|
|
1368
|
+
};
|
|
1369
|
+
clearIcon: {
|
|
1370
|
+
type: PropType<string>;
|
|
1371
|
+
};
|
|
1372
|
+
prefixIcon: {
|
|
1373
|
+
type: PropType<string>;
|
|
1374
|
+
};
|
|
1375
|
+
validateEvent: {
|
|
1376
|
+
type: PropType<boolean>;
|
|
1377
|
+
default: boolean;
|
|
1378
|
+
};
|
|
1379
|
+
valueOnClear: {
|
|
1380
|
+
type: PropType<string | number | boolean>;
|
|
1381
|
+
default: undefined;
|
|
1382
|
+
};
|
|
1383
|
+
automaticDropdown: {
|
|
1384
|
+
type: PropType<boolean>;
|
|
1385
|
+
};
|
|
1386
|
+
editable: {
|
|
1387
|
+
type: PropType<boolean>;
|
|
1388
|
+
};
|
|
1389
|
+
startPlaceholder: {
|
|
1390
|
+
type: PropType<string>;
|
|
1391
|
+
};
|
|
1392
|
+
endPlaceholder: {
|
|
1393
|
+
type: PropType<string>;
|
|
1394
|
+
};
|
|
1395
|
+
format: {
|
|
1396
|
+
type: PropType<string>;
|
|
1397
|
+
};
|
|
1398
|
+
rangeSeparator: {
|
|
1399
|
+
type: PropType<string>;
|
|
1400
|
+
default: string;
|
|
1401
|
+
};
|
|
1402
|
+
valueFormat: {
|
|
1403
|
+
type: PropType<string>;
|
|
1404
|
+
default: string;
|
|
1405
|
+
};
|
|
1406
|
+
unlinkPanels: {
|
|
1407
|
+
type: PropType<boolean>;
|
|
1408
|
+
};
|
|
1409
|
+
disabledDate: {
|
|
1410
|
+
type: PropType<(date: Date) => boolean>;
|
|
1411
|
+
};
|
|
1412
|
+
shortcuts: {
|
|
1413
|
+
type: PropType< {
|
|
1414
|
+
text: string;
|
|
1415
|
+
value: Function | Date;
|
|
1416
|
+
}[]>;
|
|
1417
|
+
};
|
|
1418
|
+
showFooter: {
|
|
1419
|
+
type: PropType<boolean>;
|
|
1420
|
+
};
|
|
1421
|
+
showConfirm: {
|
|
1422
|
+
type: PropType<boolean>;
|
|
1423
|
+
};
|
|
1424
|
+
showWeekNumber: {
|
|
1425
|
+
type: PropType<boolean>;
|
|
1426
|
+
};
|
|
1427
|
+
}>> & Readonly<{}>, {
|
|
1428
|
+
type: DatePickerType;
|
|
1429
|
+
placeholder: string;
|
|
1430
|
+
clearable: boolean;
|
|
1431
|
+
validateEvent: boolean;
|
|
1432
|
+
valueOnClear: string | number | boolean;
|
|
1433
|
+
rangeSeparator: string;
|
|
1434
|
+
valueFormat: string;
|
|
1435
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1436
|
+
|
|
1437
|
+
export declare const ZYDateTimePicker: DefineComponent<ExtractPropTypes< {
|
|
1438
|
+
modelValue: {
|
|
1439
|
+
required: true;
|
|
1440
|
+
type: PropType<string | number | Date | undefined>;
|
|
1441
|
+
};
|
|
1442
|
+
disabled: {
|
|
1443
|
+
type: PropType<boolean>;
|
|
1444
|
+
};
|
|
1445
|
+
size: {
|
|
1446
|
+
type: PropType<Size>;
|
|
1447
|
+
};
|
|
1448
|
+
type: {
|
|
1449
|
+
type: PropType<ZYDateTimePickerType>;
|
|
1450
|
+
default: string;
|
|
1451
|
+
};
|
|
1452
|
+
placeholder: {
|
|
1453
|
+
type: PropType<string>;
|
|
1454
|
+
default: string;
|
|
1455
|
+
};
|
|
1456
|
+
description: {
|
|
1457
|
+
type: PropType<string>;
|
|
1458
|
+
default: string;
|
|
1459
|
+
};
|
|
1460
|
+
clearable: {
|
|
1461
|
+
type: PropType<boolean>;
|
|
1462
|
+
default: boolean;
|
|
1463
|
+
};
|
|
1464
|
+
autocomplete: {
|
|
1465
|
+
type: PropType<any>;
|
|
1466
|
+
};
|
|
1467
|
+
clearValue: {
|
|
1468
|
+
type: PropType<any>;
|
|
1469
|
+
};
|
|
1470
|
+
startPlaceholder: {
|
|
1471
|
+
type: PropType<string>;
|
|
1472
|
+
};
|
|
1473
|
+
endPlaceholder: {
|
|
1474
|
+
type: PropType<string>;
|
|
1475
|
+
};
|
|
1476
|
+
format: {
|
|
1477
|
+
type: PropType<string>;
|
|
1478
|
+
};
|
|
1479
|
+
rangeSeparator: {
|
|
1480
|
+
type: PropType<string>;
|
|
1481
|
+
default: string;
|
|
1482
|
+
};
|
|
1483
|
+
valueFormat: {
|
|
1484
|
+
type: PropType<string>;
|
|
1485
|
+
default: string;
|
|
1486
|
+
};
|
|
1487
|
+
shortcuts: {
|
|
1488
|
+
type: PropType<DateTimePickerShortcuts[]>;
|
|
1489
|
+
};
|
|
1490
|
+
showNowButton: {
|
|
1491
|
+
type: PropType<boolean>;
|
|
1492
|
+
default: boolean;
|
|
1493
|
+
};
|
|
1494
|
+
descriptionColor: {
|
|
1495
|
+
type: PropType<string>;
|
|
1496
|
+
default: string;
|
|
1497
|
+
};
|
|
1498
|
+
}>, {
|
|
1499
|
+
hide: () => void | undefined;
|
|
1500
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1501
|
+
change: (...args: any[]) => void;
|
|
1502
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1503
|
+
modelValue: {
|
|
1504
|
+
required: true;
|
|
1505
|
+
type: PropType<string | number | Date | undefined>;
|
|
1506
|
+
};
|
|
1507
|
+
disabled: {
|
|
1508
|
+
type: PropType<boolean>;
|
|
1509
|
+
};
|
|
1510
|
+
size: {
|
|
1511
|
+
type: PropType<Size>;
|
|
1512
|
+
};
|
|
1513
|
+
type: {
|
|
1514
|
+
type: PropType<ZYDateTimePickerType>;
|
|
1515
|
+
default: string;
|
|
1516
|
+
};
|
|
1517
|
+
placeholder: {
|
|
1518
|
+
type: PropType<string>;
|
|
1519
|
+
default: string;
|
|
1520
|
+
};
|
|
1521
|
+
description: {
|
|
1522
|
+
type: PropType<string>;
|
|
1523
|
+
default: string;
|
|
1524
|
+
};
|
|
1525
|
+
clearable: {
|
|
1526
|
+
type: PropType<boolean>;
|
|
1527
|
+
default: boolean;
|
|
1528
|
+
};
|
|
1529
|
+
autocomplete: {
|
|
1530
|
+
type: PropType<any>;
|
|
1531
|
+
};
|
|
1532
|
+
clearValue: {
|
|
1533
|
+
type: PropType<any>;
|
|
1534
|
+
};
|
|
1535
|
+
startPlaceholder: {
|
|
1536
|
+
type: PropType<string>;
|
|
1537
|
+
};
|
|
1538
|
+
endPlaceholder: {
|
|
1539
|
+
type: PropType<string>;
|
|
1540
|
+
};
|
|
1541
|
+
format: {
|
|
1542
|
+
type: PropType<string>;
|
|
1543
|
+
};
|
|
1544
|
+
rangeSeparator: {
|
|
1545
|
+
type: PropType<string>;
|
|
1546
|
+
default: string;
|
|
1547
|
+
};
|
|
1548
|
+
valueFormat: {
|
|
1549
|
+
type: PropType<string>;
|
|
1550
|
+
default: string;
|
|
1551
|
+
};
|
|
1552
|
+
shortcuts: {
|
|
1553
|
+
type: PropType<DateTimePickerShortcuts[]>;
|
|
1554
|
+
};
|
|
1555
|
+
showNowButton: {
|
|
1556
|
+
type: PropType<boolean>;
|
|
1557
|
+
default: boolean;
|
|
1558
|
+
};
|
|
1559
|
+
descriptionColor: {
|
|
1560
|
+
type: PropType<string>;
|
|
1561
|
+
default: string;
|
|
1562
|
+
};
|
|
1563
|
+
}>> & Readonly<{
|
|
1564
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1565
|
+
}>, {
|
|
1566
|
+
type: ZYDateTimePickerType;
|
|
1567
|
+
placeholder: string;
|
|
1568
|
+
description: string;
|
|
1569
|
+
clearable: boolean;
|
|
1570
|
+
rangeSeparator: string;
|
|
1571
|
+
valueFormat: string;
|
|
1572
|
+
showNowButton: boolean;
|
|
1573
|
+
descriptionColor: string;
|
|
1574
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1575
|
+
|
|
1576
|
+
declare type ZYDateTimePickerType = 'year' | 'quarter' | 'month' | 'week' | 'date' | 'datetime' | 'yearrange' | 'monthrange' | 'quarterrange' | 'daterange' | 'datetimerange';
|
|
1577
|
+
|
|
1578
|
+
export declare const ZYDynamicForm: __VLS_WithTemplateSlots_5<DefineComponent<ExtractPropTypes< {
|
|
1579
|
+
modelValue: {
|
|
1580
|
+
required: true;
|
|
1581
|
+
type: PropType<Record<string, any>[]>;
|
|
1582
|
+
};
|
|
1583
|
+
deleted: PropType<Record<string, any>[]>;
|
|
1584
|
+
inline: {
|
|
1585
|
+
type: PropType<boolean>;
|
|
1586
|
+
default: boolean;
|
|
1587
|
+
};
|
|
1588
|
+
disabled: {
|
|
1589
|
+
type: PropType<boolean>;
|
|
1590
|
+
default: boolean;
|
|
1591
|
+
};
|
|
1592
|
+
fields: {
|
|
1593
|
+
type: PropType<Field[]>;
|
|
1594
|
+
required: true;
|
|
1595
|
+
default: () => never[];
|
|
1596
|
+
};
|
|
1597
|
+
title: {
|
|
1598
|
+
type: PropType<string>;
|
|
1599
|
+
};
|
|
1600
|
+
readonly: {
|
|
1601
|
+
type: PropType<boolean>;
|
|
1602
|
+
default: boolean;
|
|
1603
|
+
};
|
|
1604
|
+
emptyText: {
|
|
1605
|
+
type: PropType<string>;
|
|
1606
|
+
default: string;
|
|
1607
|
+
};
|
|
1608
|
+
formKey: {
|
|
1609
|
+
type: PropType<string>;
|
|
1610
|
+
};
|
|
1611
|
+
components: {
|
|
1612
|
+
type: PropType<UIComponents>;
|
|
1613
|
+
required: true;
|
|
1614
|
+
};
|
|
1615
|
+
requestFn: {
|
|
1616
|
+
type: PropType<RequestFunction>;
|
|
1617
|
+
};
|
|
1618
|
+
editFormProps: {
|
|
1619
|
+
type: PropType< {
|
|
1620
|
+
props?: FormProps | undefined;
|
|
1621
|
+
gutter?: FormGutter | undefined;
|
|
1622
|
+
}>;
|
|
1623
|
+
};
|
|
1624
|
+
minRowNum: {
|
|
1625
|
+
type: PropType<number>;
|
|
1626
|
+
default: number;
|
|
1627
|
+
};
|
|
1628
|
+
maxRowNum: {
|
|
1629
|
+
type: PropType<number>;
|
|
1630
|
+
};
|
|
1631
|
+
actionPosition: {
|
|
1632
|
+
type: PropType<ActionPosition>;
|
|
1633
|
+
default: string;
|
|
1634
|
+
};
|
|
1635
|
+
uniqueKeyProp: {
|
|
1636
|
+
type: PropType<string>;
|
|
1637
|
+
default: string;
|
|
1638
|
+
};
|
|
1639
|
+
hideActions: {
|
|
1640
|
+
type: PropType<boolean>;
|
|
1641
|
+
default: boolean;
|
|
1642
|
+
};
|
|
1643
|
+
rowTitle: {
|
|
1644
|
+
type: PropType<string | ((col: Record<string, any>, index: number) => string)>;
|
|
1645
|
+
};
|
|
1646
|
+
initFormValue: {
|
|
1647
|
+
type: PropType<Record<string, any>>;
|
|
1648
|
+
default: () => {};
|
|
1649
|
+
};
|
|
1650
|
+
addItemImmediately: {
|
|
1651
|
+
type: PropType<boolean>;
|
|
1652
|
+
};
|
|
1653
|
+
}>, {
|
|
1654
|
+
add: (index?: number | undefined, num?: number) => MessageHandler | undefined;
|
|
1655
|
+
validate: (maxLevel?: number | undefined) => Promise<void>;
|
|
1656
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1657
|
+
blur: (...args: any[]) => void;
|
|
1658
|
+
change: (...args: any[]) => void;
|
|
1659
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1660
|
+
modelValue: {
|
|
1661
|
+
required: true;
|
|
1662
|
+
type: PropType<Record<string, any>[]>;
|
|
1663
|
+
};
|
|
1664
|
+
deleted: PropType<Record<string, any>[]>;
|
|
1665
|
+
inline: {
|
|
1666
|
+
type: PropType<boolean>;
|
|
1667
|
+
default: boolean;
|
|
1668
|
+
};
|
|
1669
|
+
disabled: {
|
|
1670
|
+
type: PropType<boolean>;
|
|
1671
|
+
default: boolean;
|
|
1672
|
+
};
|
|
1673
|
+
fields: {
|
|
1674
|
+
type: PropType<Field[]>;
|
|
1675
|
+
required: true;
|
|
1676
|
+
default: () => never[];
|
|
1677
|
+
};
|
|
1678
|
+
title: {
|
|
1679
|
+
type: PropType<string>;
|
|
1680
|
+
};
|
|
1681
|
+
readonly: {
|
|
1682
|
+
type: PropType<boolean>;
|
|
1683
|
+
default: boolean;
|
|
1684
|
+
};
|
|
1685
|
+
emptyText: {
|
|
1686
|
+
type: PropType<string>;
|
|
1687
|
+
default: string;
|
|
1688
|
+
};
|
|
1689
|
+
formKey: {
|
|
1690
|
+
type: PropType<string>;
|
|
1691
|
+
};
|
|
1692
|
+
components: {
|
|
1693
|
+
type: PropType<UIComponents>;
|
|
1694
|
+
required: true;
|
|
1695
|
+
};
|
|
1696
|
+
requestFn: {
|
|
1697
|
+
type: PropType<RequestFunction>;
|
|
1698
|
+
};
|
|
1699
|
+
editFormProps: {
|
|
1700
|
+
type: PropType< {
|
|
1701
|
+
props?: FormProps | undefined;
|
|
1702
|
+
gutter?: FormGutter | undefined;
|
|
1703
|
+
}>;
|
|
1704
|
+
};
|
|
1705
|
+
minRowNum: {
|
|
1706
|
+
type: PropType<number>;
|
|
1707
|
+
default: number;
|
|
1708
|
+
};
|
|
1709
|
+
maxRowNum: {
|
|
1710
|
+
type: PropType<number>;
|
|
1711
|
+
};
|
|
1712
|
+
actionPosition: {
|
|
1713
|
+
type: PropType<ActionPosition>;
|
|
1714
|
+
default: string;
|
|
1715
|
+
};
|
|
1716
|
+
uniqueKeyProp: {
|
|
1717
|
+
type: PropType<string>;
|
|
1718
|
+
default: string;
|
|
1719
|
+
};
|
|
1720
|
+
hideActions: {
|
|
1721
|
+
type: PropType<boolean>;
|
|
1722
|
+
default: boolean;
|
|
1723
|
+
};
|
|
1724
|
+
rowTitle: {
|
|
1725
|
+
type: PropType<string | ((col: Record<string, any>, index: number) => string)>;
|
|
1726
|
+
};
|
|
1727
|
+
initFormValue: {
|
|
1728
|
+
type: PropType<Record<string, any>>;
|
|
1729
|
+
default: () => {};
|
|
1730
|
+
};
|
|
1731
|
+
addItemImmediately: {
|
|
1732
|
+
type: PropType<boolean>;
|
|
1733
|
+
};
|
|
1734
|
+
}>> & Readonly<{
|
|
1735
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1736
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1737
|
+
}>, {
|
|
1738
|
+
inline: boolean;
|
|
1739
|
+
disabled: boolean;
|
|
1740
|
+
fields: Field[];
|
|
1741
|
+
readonly: boolean;
|
|
1742
|
+
emptyText: string;
|
|
1743
|
+
minRowNum: number;
|
|
1744
|
+
actionPosition: ActionPosition;
|
|
1745
|
+
uniqueKeyProp: string;
|
|
1746
|
+
hideActions: boolean;
|
|
1747
|
+
initFormValue: Record<string, any>;
|
|
1748
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
1749
|
+
actions?(_: {}): any;
|
|
1750
|
+
"add-btn"?(_: {}): any;
|
|
1751
|
+
}>;
|
|
1752
|
+
|
|
1753
|
+
export declare const ZYDynamicTable: DefineComponent<ExtractPropTypes< {
|
|
1754
|
+
modelValue: {
|
|
1755
|
+
required: true;
|
|
1756
|
+
type: PropType<Record<string, any>[]>;
|
|
1757
|
+
};
|
|
1758
|
+
deleted: PropType<Record<string, any>[]>;
|
|
1759
|
+
disabled: {
|
|
1760
|
+
type: PropType<boolean>;
|
|
1761
|
+
default: boolean;
|
|
1762
|
+
};
|
|
1763
|
+
fields: {
|
|
1764
|
+
type: PropType<TableField[]>;
|
|
1765
|
+
required: true;
|
|
1766
|
+
default: () => never[];
|
|
1767
|
+
};
|
|
1768
|
+
title: {
|
|
1769
|
+
type: PropType<string>;
|
|
1770
|
+
};
|
|
1771
|
+
emptyText: {
|
|
1772
|
+
type: PropType<string>;
|
|
1773
|
+
default: string;
|
|
1774
|
+
};
|
|
1775
|
+
formKey: {
|
|
1776
|
+
type: PropType<string>;
|
|
1777
|
+
required: true;
|
|
1778
|
+
};
|
|
1779
|
+
components: {
|
|
1780
|
+
type: PropType<UIComponents>;
|
|
1781
|
+
required: true;
|
|
1782
|
+
};
|
|
1783
|
+
requestFn: {
|
|
1784
|
+
type: PropType<RequestFunction>;
|
|
1785
|
+
};
|
|
1786
|
+
dialogProps: {
|
|
1787
|
+
type: PropType<DialogProps>;
|
|
1788
|
+
default: () => {
|
|
1789
|
+
width: string;
|
|
1790
|
+
};
|
|
1791
|
+
};
|
|
1792
|
+
tableProps: {
|
|
1793
|
+
type: PropType<TableProps>;
|
|
1794
|
+
default: () => {};
|
|
1795
|
+
};
|
|
1796
|
+
hasPagination: {
|
|
1797
|
+
type: PropType<boolean>;
|
|
1798
|
+
default: boolean;
|
|
1799
|
+
};
|
|
1800
|
+
editFormProps: {
|
|
1801
|
+
type: PropType<FormProps>;
|
|
1802
|
+
};
|
|
1803
|
+
hasEditDialog: {
|
|
1804
|
+
type: PropType<boolean>;
|
|
1805
|
+
default: boolean;
|
|
1806
|
+
};
|
|
1807
|
+
minRowNum: {
|
|
1808
|
+
type: PropType<number>;
|
|
1809
|
+
default: number;
|
|
1810
|
+
};
|
|
1811
|
+
maxRowNum: {
|
|
1812
|
+
type: PropType<number>;
|
|
1813
|
+
};
|
|
1814
|
+
actionPosition: {
|
|
1815
|
+
type: PropType<"left" | "right" | "center">;
|
|
1816
|
+
default: string;
|
|
1817
|
+
};
|
|
1818
|
+
uniqueKeyProp: {
|
|
1819
|
+
type: PropType<string>;
|
|
1820
|
+
default: string;
|
|
1821
|
+
};
|
|
1822
|
+
}>, {
|
|
1823
|
+
updateTableData: (data: Record<string, any>[]) => void;
|
|
1824
|
+
validate: () => Promise<void>;
|
|
1825
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1826
|
+
blur: (...args: any[]) => void;
|
|
1827
|
+
change: (...args: any[]) => void;
|
|
1828
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1829
|
+
modelValue: {
|
|
1830
|
+
required: true;
|
|
1831
|
+
type: PropType<Record<string, any>[]>;
|
|
1832
|
+
};
|
|
1833
|
+
deleted: PropType<Record<string, any>[]>;
|
|
1834
|
+
disabled: {
|
|
1835
|
+
type: PropType<boolean>;
|
|
1836
|
+
default: boolean;
|
|
1837
|
+
};
|
|
1838
|
+
fields: {
|
|
1839
|
+
type: PropType<TableField[]>;
|
|
1840
|
+
required: true;
|
|
1841
|
+
default: () => never[];
|
|
1842
|
+
};
|
|
1843
|
+
title: {
|
|
1844
|
+
type: PropType<string>;
|
|
1845
|
+
};
|
|
1846
|
+
emptyText: {
|
|
1847
|
+
type: PropType<string>;
|
|
1848
|
+
default: string;
|
|
1849
|
+
};
|
|
1850
|
+
formKey: {
|
|
1851
|
+
type: PropType<string>;
|
|
1852
|
+
required: true;
|
|
1853
|
+
};
|
|
1854
|
+
components: {
|
|
1855
|
+
type: PropType<UIComponents>;
|
|
1856
|
+
required: true;
|
|
1857
|
+
};
|
|
1858
|
+
requestFn: {
|
|
1859
|
+
type: PropType<RequestFunction>;
|
|
1860
|
+
};
|
|
1861
|
+
dialogProps: {
|
|
1862
|
+
type: PropType<DialogProps>;
|
|
1863
|
+
default: () => {
|
|
1864
|
+
width: string;
|
|
1865
|
+
};
|
|
1866
|
+
};
|
|
1867
|
+
tableProps: {
|
|
1868
|
+
type: PropType<TableProps>;
|
|
1869
|
+
default: () => {};
|
|
1870
|
+
};
|
|
1871
|
+
hasPagination: {
|
|
1872
|
+
type: PropType<boolean>;
|
|
1873
|
+
default: boolean;
|
|
1874
|
+
};
|
|
1875
|
+
editFormProps: {
|
|
1876
|
+
type: PropType<FormProps>;
|
|
1877
|
+
};
|
|
1878
|
+
hasEditDialog: {
|
|
1879
|
+
type: PropType<boolean>;
|
|
1880
|
+
default: boolean;
|
|
1881
|
+
};
|
|
1882
|
+
minRowNum: {
|
|
1883
|
+
type: PropType<number>;
|
|
1884
|
+
default: number;
|
|
1885
|
+
};
|
|
1886
|
+
maxRowNum: {
|
|
1887
|
+
type: PropType<number>;
|
|
1888
|
+
};
|
|
1889
|
+
actionPosition: {
|
|
1890
|
+
type: PropType<"left" | "right" | "center">;
|
|
1891
|
+
default: string;
|
|
1892
|
+
};
|
|
1893
|
+
uniqueKeyProp: {
|
|
1894
|
+
type: PropType<string>;
|
|
1895
|
+
default: string;
|
|
1896
|
+
};
|
|
1897
|
+
}>> & Readonly<{
|
|
1898
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1899
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1900
|
+
}>, {
|
|
1901
|
+
disabled: boolean;
|
|
1902
|
+
fields: TableField[];
|
|
1903
|
+
emptyText: string;
|
|
1904
|
+
dialogProps: DialogProps;
|
|
1905
|
+
tableProps: TableProps;
|
|
1906
|
+
hasPagination: boolean;
|
|
1907
|
+
hasEditDialog: boolean;
|
|
1908
|
+
minRowNum: number;
|
|
1909
|
+
actionPosition: "left" | "right" | "center";
|
|
1910
|
+
uniqueKeyProp: string;
|
|
1911
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1912
|
+
|
|
1913
|
+
export declare const ZYDynamicTabs: DefineComponent<ExtractPropTypes< {
|
|
1914
|
+
modelValue: {
|
|
1915
|
+
required: true;
|
|
1916
|
+
type: PropType<DynamicTabsData>;
|
|
1917
|
+
};
|
|
1918
|
+
deleted: PropType<Record<string, any>[]>;
|
|
1919
|
+
disabled: {
|
|
1920
|
+
type: PropType<boolean>;
|
|
1921
|
+
default: boolean;
|
|
1922
|
+
};
|
|
1923
|
+
fields: {
|
|
1924
|
+
type: PropType<Field[]>;
|
|
1925
|
+
required: true;
|
|
1926
|
+
default: () => never[];
|
|
1927
|
+
};
|
|
1928
|
+
readonly: {
|
|
1929
|
+
type: PropType<boolean>;
|
|
1930
|
+
default: boolean;
|
|
1931
|
+
};
|
|
1932
|
+
formKey: {
|
|
1933
|
+
type: PropType<string>;
|
|
1934
|
+
};
|
|
1935
|
+
components: {
|
|
1936
|
+
type: PropType<UIComponents>;
|
|
1937
|
+
required: true;
|
|
1938
|
+
};
|
|
1939
|
+
editFormProps: {
|
|
1940
|
+
type: PropType< {
|
|
1941
|
+
props?: FormProps | undefined;
|
|
1942
|
+
gutter?: FormGutter | undefined;
|
|
1943
|
+
}>;
|
|
1944
|
+
};
|
|
1945
|
+
uniqueKeyProp: {
|
|
1946
|
+
type: PropType<string>;
|
|
1947
|
+
default: string;
|
|
1948
|
+
};
|
|
1949
|
+
initFormValue: {
|
|
1950
|
+
type: PropType<Record<string, any>>;
|
|
1951
|
+
default: () => {};
|
|
1952
|
+
};
|
|
1953
|
+
customComponents: {
|
|
1954
|
+
type: PropType<Record<string, any>>;
|
|
1955
|
+
default: () => {};
|
|
1956
|
+
};
|
|
1957
|
+
titleList: {
|
|
1958
|
+
type: PropType<string[]>;
|
|
1959
|
+
required: true;
|
|
1960
|
+
default: () => never[];
|
|
1961
|
+
};
|
|
1962
|
+
}>, {
|
|
1963
|
+
validate: (maxLevel?: number | undefined) => Promise<void>;
|
|
1964
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1965
|
+
blur: (...args: any[]) => void;
|
|
1966
|
+
change: (...args: any[]) => void;
|
|
1967
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1968
|
+
modelValue: {
|
|
1969
|
+
required: true;
|
|
1970
|
+
type: PropType<DynamicTabsData>;
|
|
1971
|
+
};
|
|
1972
|
+
deleted: PropType<Record<string, any>[]>;
|
|
1973
|
+
disabled: {
|
|
1974
|
+
type: PropType<boolean>;
|
|
1975
|
+
default: boolean;
|
|
1976
|
+
};
|
|
1977
|
+
fields: {
|
|
1978
|
+
type: PropType<Field[]>;
|
|
1979
|
+
required: true;
|
|
1980
|
+
default: () => never[];
|
|
1981
|
+
};
|
|
1982
|
+
readonly: {
|
|
1983
|
+
type: PropType<boolean>;
|
|
1984
|
+
default: boolean;
|
|
1985
|
+
};
|
|
1986
|
+
formKey: {
|
|
1987
|
+
type: PropType<string>;
|
|
1988
|
+
};
|
|
1989
|
+
components: {
|
|
1990
|
+
type: PropType<UIComponents>;
|
|
1991
|
+
required: true;
|
|
1992
|
+
};
|
|
1993
|
+
editFormProps: {
|
|
1994
|
+
type: PropType< {
|
|
1995
|
+
props?: FormProps | undefined;
|
|
1996
|
+
gutter?: FormGutter | undefined;
|
|
1997
|
+
}>;
|
|
1998
|
+
};
|
|
1999
|
+
uniqueKeyProp: {
|
|
2000
|
+
type: PropType<string>;
|
|
2001
|
+
default: string;
|
|
2002
|
+
};
|
|
2003
|
+
initFormValue: {
|
|
2004
|
+
type: PropType<Record<string, any>>;
|
|
2005
|
+
default: () => {};
|
|
2006
|
+
};
|
|
2007
|
+
customComponents: {
|
|
2008
|
+
type: PropType<Record<string, any>>;
|
|
2009
|
+
default: () => {};
|
|
2010
|
+
};
|
|
2011
|
+
titleList: {
|
|
2012
|
+
type: PropType<string[]>;
|
|
2013
|
+
required: true;
|
|
2014
|
+
default: () => never[];
|
|
2015
|
+
};
|
|
2016
|
+
}>> & Readonly<{
|
|
2017
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
2018
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
2019
|
+
}>, {
|
|
2020
|
+
disabled: boolean;
|
|
2021
|
+
fields: Field[];
|
|
2022
|
+
readonly: boolean;
|
|
2023
|
+
uniqueKeyProp: string;
|
|
2024
|
+
initFormValue: Record<string, any>;
|
|
2025
|
+
customComponents: Record<string, any>;
|
|
2026
|
+
titleList: string[];
|
|
2027
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2028
|
+
|
|
2029
|
+
export declare const ZYForm: DefineComponent<ExtractPropTypes< {
|
|
2030
|
+
modelValue: {
|
|
2031
|
+
required: true;
|
|
2032
|
+
type: PropType<Record<string, any>>;
|
|
2033
|
+
};
|
|
2034
|
+
config: {
|
|
2035
|
+
required: true;
|
|
2036
|
+
type: PropType<FormConfig[]>;
|
|
2037
|
+
};
|
|
2038
|
+
isSingle: BooleanConstructor;
|
|
2039
|
+
single: BooleanConstructor;
|
|
2040
|
+
customComponents: {
|
|
2041
|
+
type: PropType<Record<string, any>>;
|
|
2042
|
+
default: () => {};
|
|
2043
|
+
};
|
|
2044
|
+
}>, {
|
|
2045
|
+
validate: (maxLevel?: number | undefined, fields?: string[] | undefined) => any;
|
|
2046
|
+
clearValidate: () => any;
|
|
2047
|
+
resetFormData: (formKey?: string | string[] | undefined) => any;
|
|
2048
|
+
initFormData: (newData: Record<string, any>) => any;
|
|
2049
|
+
scrollTo: (formKey: string, fieldKey?: string | undefined) => any;
|
|
2050
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2051
|
+
modelValue: {
|
|
2052
|
+
required: true;
|
|
2053
|
+
type: PropType<Record<string, any>>;
|
|
2054
|
+
};
|
|
2055
|
+
config: {
|
|
2056
|
+
required: true;
|
|
2057
|
+
type: PropType<FormConfig[]>;
|
|
2058
|
+
};
|
|
2059
|
+
isSingle: BooleanConstructor;
|
|
2060
|
+
single: BooleanConstructor;
|
|
2061
|
+
customComponents: {
|
|
2062
|
+
type: PropType<Record<string, any>>;
|
|
2063
|
+
default: () => {};
|
|
2064
|
+
};
|
|
2065
|
+
}>> & Readonly<{}>, {
|
|
2066
|
+
customComponents: Record<string, any>;
|
|
2067
|
+
single: boolean;
|
|
2068
|
+
isSingle: boolean;
|
|
2069
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2070
|
+
|
|
2071
|
+
export declare const ZYFormComponents: UIComponentsWithTab;
|
|
2072
|
+
|
|
2073
|
+
export declare const ZYFormItem: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormItemProps>, {
|
|
2074
|
+
showMessage: boolean;
|
|
2075
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormItemProps>, {
|
|
2076
|
+
showMessage: boolean;
|
|
2077
|
+
}>>> & Readonly<{}>, {
|
|
2078
|
+
showMessage: boolean;
|
|
2079
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
2080
|
+
default?(_: {}): any;
|
|
2081
|
+
}>;
|
|
2082
|
+
|
|
2083
|
+
export declare const ZYImageList: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<ImageListProps>, {
|
|
2084
|
+
images: () => never[];
|
|
2085
|
+
maxColNumber: number;
|
|
2086
|
+
gap: () => string[];
|
|
2087
|
+
preview: boolean;
|
|
2088
|
+
infinite: boolean;
|
|
2089
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_6<ImageListProps>, {
|
|
2090
|
+
images: () => never[];
|
|
2091
|
+
maxColNumber: number;
|
|
2092
|
+
gap: () => string[];
|
|
2093
|
+
preview: boolean;
|
|
2094
|
+
infinite: boolean;
|
|
2095
|
+
}>>> & Readonly<{}>, {
|
|
2096
|
+
gap: string[];
|
|
2097
|
+
infinite: boolean;
|
|
2098
|
+
images: string[];
|
|
2099
|
+
maxColNumber: number;
|
|
2100
|
+
preview: boolean;
|
|
2101
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2102
|
+
|
|
2103
|
+
export declare const ZYInput: DefineComponent<ExtractPropTypes< {
|
|
2104
|
+
modelValue: PropType<string | number>;
|
|
2105
|
+
resize: {
|
|
2106
|
+
type: PropType<InputResize>;
|
|
2107
|
+
};
|
|
2108
|
+
disabled: {
|
|
2109
|
+
type: PropType<boolean>;
|
|
2110
|
+
};
|
|
2111
|
+
size: {
|
|
2112
|
+
type: PropType<Size>;
|
|
2113
|
+
};
|
|
2114
|
+
type: {
|
|
2115
|
+
type: PropType<InputType>;
|
|
2116
|
+
default: string;
|
|
2117
|
+
};
|
|
2118
|
+
placeholder: {
|
|
2119
|
+
type: PropType<string>;
|
|
2120
|
+
default: string;
|
|
2121
|
+
};
|
|
2122
|
+
maxlength: {
|
|
2123
|
+
type: PropType<number>;
|
|
2124
|
+
};
|
|
2125
|
+
minlength: {
|
|
2126
|
+
type: PropType<number>;
|
|
2127
|
+
};
|
|
2128
|
+
showWordLimit: {
|
|
2129
|
+
type: PropType<boolean>;
|
|
2130
|
+
};
|
|
2131
|
+
wordLimitPosition: {
|
|
2132
|
+
type: PropType<"inside" | "outside">;
|
|
2133
|
+
};
|
|
2134
|
+
showPassword: {
|
|
2135
|
+
type: PropType<boolean>;
|
|
2136
|
+
};
|
|
2137
|
+
rows: {
|
|
2138
|
+
type: PropType<number>;
|
|
2139
|
+
};
|
|
2140
|
+
autosize: {
|
|
2141
|
+
type: PropType<InputAutosize>;
|
|
2142
|
+
};
|
|
2143
|
+
autofocus: {
|
|
2144
|
+
type: PropType<boolean>;
|
|
2145
|
+
};
|
|
2146
|
+
clearable: {
|
|
2147
|
+
type: PropType<boolean>;
|
|
2148
|
+
default: boolean;
|
|
2149
|
+
};
|
|
2150
|
+
prefix: {
|
|
2151
|
+
type: PropType<string>;
|
|
2152
|
+
default: string;
|
|
2153
|
+
};
|
|
2154
|
+
suffix: {
|
|
2155
|
+
type: PropType<string>;
|
|
2156
|
+
default: string;
|
|
2157
|
+
};
|
|
2158
|
+
prepend: {
|
|
2159
|
+
type: PropType<string>;
|
|
2160
|
+
default: string;
|
|
2161
|
+
};
|
|
2162
|
+
append: {
|
|
2163
|
+
type: PropType<string>;
|
|
2164
|
+
default: string;
|
|
2165
|
+
};
|
|
2166
|
+
autocomplete: {
|
|
2167
|
+
type: PropType<any>;
|
|
2168
|
+
};
|
|
2169
|
+
clearValue: {
|
|
2170
|
+
type: PropType<any>;
|
|
2171
|
+
};
|
|
2172
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2173
|
+
modelValue: PropType<string | number>;
|
|
2174
|
+
resize: {
|
|
2175
|
+
type: PropType<InputResize>;
|
|
2176
|
+
};
|
|
2177
|
+
disabled: {
|
|
2178
|
+
type: PropType<boolean>;
|
|
2179
|
+
};
|
|
2180
|
+
size: {
|
|
2181
|
+
type: PropType<Size>;
|
|
2182
|
+
};
|
|
2183
|
+
type: {
|
|
2184
|
+
type: PropType<InputType>;
|
|
2185
|
+
default: string;
|
|
2186
|
+
};
|
|
2187
|
+
placeholder: {
|
|
2188
|
+
type: PropType<string>;
|
|
2189
|
+
default: string;
|
|
2190
|
+
};
|
|
2191
|
+
maxlength: {
|
|
2192
|
+
type: PropType<number>;
|
|
2193
|
+
};
|
|
2194
|
+
minlength: {
|
|
2195
|
+
type: PropType<number>;
|
|
2196
|
+
};
|
|
2197
|
+
showWordLimit: {
|
|
2198
|
+
type: PropType<boolean>;
|
|
2199
|
+
};
|
|
2200
|
+
wordLimitPosition: {
|
|
2201
|
+
type: PropType<"inside" | "outside">;
|
|
2202
|
+
};
|
|
2203
|
+
showPassword: {
|
|
2204
|
+
type: PropType<boolean>;
|
|
2205
|
+
};
|
|
2206
|
+
rows: {
|
|
2207
|
+
type: PropType<number>;
|
|
2208
|
+
};
|
|
2209
|
+
autosize: {
|
|
2210
|
+
type: PropType<InputAutosize>;
|
|
2211
|
+
};
|
|
2212
|
+
autofocus: {
|
|
2213
|
+
type: PropType<boolean>;
|
|
2214
|
+
};
|
|
2215
|
+
clearable: {
|
|
2216
|
+
type: PropType<boolean>;
|
|
2217
|
+
default: boolean;
|
|
2218
|
+
};
|
|
2219
|
+
prefix: {
|
|
2220
|
+
type: PropType<string>;
|
|
2221
|
+
default: string;
|
|
2222
|
+
};
|
|
2223
|
+
suffix: {
|
|
2224
|
+
type: PropType<string>;
|
|
2225
|
+
default: string;
|
|
2226
|
+
};
|
|
2227
|
+
prepend: {
|
|
2228
|
+
type: PropType<string>;
|
|
2229
|
+
default: string;
|
|
2230
|
+
};
|
|
2231
|
+
append: {
|
|
2232
|
+
type: PropType<string>;
|
|
2233
|
+
default: string;
|
|
2234
|
+
};
|
|
2235
|
+
autocomplete: {
|
|
2236
|
+
type: PropType<any>;
|
|
2237
|
+
};
|
|
2238
|
+
clearValue: {
|
|
2239
|
+
type: PropType<any>;
|
|
2240
|
+
};
|
|
2241
|
+
}>> & Readonly<{}>, {
|
|
2242
|
+
type: InputType;
|
|
2243
|
+
placeholder: string;
|
|
2244
|
+
clearable: boolean;
|
|
2245
|
+
prefix: string;
|
|
2246
|
+
suffix: string;
|
|
2247
|
+
prepend: string;
|
|
2248
|
+
append: string;
|
|
2249
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2250
|
+
|
|
2251
|
+
export declare const ZYInputNumber: DefineComponent<ExtractPropTypes< {
|
|
2252
|
+
modelValue: PropType<string | number | undefined>;
|
|
2253
|
+
disabled: {
|
|
2254
|
+
type: PropType<boolean>;
|
|
2255
|
+
};
|
|
2256
|
+
size: {
|
|
2257
|
+
type: PropType<Size>;
|
|
2258
|
+
};
|
|
2259
|
+
max: {
|
|
2260
|
+
type: PropType<number>;
|
|
2261
|
+
default: number;
|
|
2262
|
+
};
|
|
2263
|
+
placeholder: {
|
|
2264
|
+
type: PropType<string>;
|
|
2265
|
+
};
|
|
2266
|
+
clearable: {
|
|
2267
|
+
type: PropType<boolean>;
|
|
2268
|
+
default: boolean;
|
|
2269
|
+
};
|
|
2270
|
+
prefix: {
|
|
2271
|
+
type: PropType<string>;
|
|
2272
|
+
default: string;
|
|
2273
|
+
};
|
|
2274
|
+
suffix: {
|
|
2275
|
+
type: PropType<string>;
|
|
2276
|
+
default: string;
|
|
2277
|
+
};
|
|
2278
|
+
prepend: {
|
|
2279
|
+
type: PropType<string>;
|
|
2280
|
+
default: string;
|
|
2281
|
+
};
|
|
2282
|
+
append: {
|
|
2283
|
+
type: PropType<string>;
|
|
2284
|
+
default: string;
|
|
2285
|
+
};
|
|
2286
|
+
autocomplete: {
|
|
2287
|
+
type: PropType<any>;
|
|
2288
|
+
};
|
|
2289
|
+
clearValue: {
|
|
2290
|
+
type: PropType<any>;
|
|
2291
|
+
};
|
|
2292
|
+
min: {
|
|
2293
|
+
type: PropType<number>;
|
|
2294
|
+
default: number;
|
|
2295
|
+
};
|
|
2296
|
+
step: {
|
|
2297
|
+
type: PropType<number>;
|
|
2298
|
+
};
|
|
2299
|
+
stepStrictly: {
|
|
2300
|
+
type: PropType<boolean>;
|
|
2301
|
+
};
|
|
2302
|
+
precision: {
|
|
2303
|
+
type: PropType<number>;
|
|
2304
|
+
default: number;
|
|
2305
|
+
};
|
|
2306
|
+
controls: {
|
|
2307
|
+
type: PropType<boolean>;
|
|
2308
|
+
default: boolean;
|
|
2309
|
+
};
|
|
2310
|
+
align: {
|
|
2311
|
+
type: PropType<"left" | "right" | "center">;
|
|
2312
|
+
default: string;
|
|
2313
|
+
};
|
|
2314
|
+
validatorEvent: {
|
|
2315
|
+
type: PropType<boolean>;
|
|
2316
|
+
};
|
|
2317
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2318
|
+
modelValue: PropType<string | number | undefined>;
|
|
2319
|
+
disabled: {
|
|
2320
|
+
type: PropType<boolean>;
|
|
2321
|
+
};
|
|
2322
|
+
size: {
|
|
2323
|
+
type: PropType<Size>;
|
|
2324
|
+
};
|
|
2325
|
+
max: {
|
|
2326
|
+
type: PropType<number>;
|
|
2327
|
+
default: number;
|
|
2328
|
+
};
|
|
2329
|
+
placeholder: {
|
|
2330
|
+
type: PropType<string>;
|
|
2331
|
+
};
|
|
2332
|
+
clearable: {
|
|
2333
|
+
type: PropType<boolean>;
|
|
2334
|
+
default: boolean;
|
|
2335
|
+
};
|
|
2336
|
+
prefix: {
|
|
2337
|
+
type: PropType<string>;
|
|
2338
|
+
default: string;
|
|
2339
|
+
};
|
|
2340
|
+
suffix: {
|
|
2341
|
+
type: PropType<string>;
|
|
2342
|
+
default: string;
|
|
2343
|
+
};
|
|
2344
|
+
prepend: {
|
|
2345
|
+
type: PropType<string>;
|
|
2346
|
+
default: string;
|
|
2347
|
+
};
|
|
2348
|
+
append: {
|
|
2349
|
+
type: PropType<string>;
|
|
2350
|
+
default: string;
|
|
2351
|
+
};
|
|
2352
|
+
autocomplete: {
|
|
2353
|
+
type: PropType<any>;
|
|
2354
|
+
};
|
|
2355
|
+
clearValue: {
|
|
2356
|
+
type: PropType<any>;
|
|
2357
|
+
};
|
|
2358
|
+
min: {
|
|
2359
|
+
type: PropType<number>;
|
|
2360
|
+
default: number;
|
|
2361
|
+
};
|
|
2362
|
+
step: {
|
|
2363
|
+
type: PropType<number>;
|
|
2364
|
+
};
|
|
2365
|
+
stepStrictly: {
|
|
2366
|
+
type: PropType<boolean>;
|
|
2367
|
+
};
|
|
2368
|
+
precision: {
|
|
2369
|
+
type: PropType<number>;
|
|
2370
|
+
default: number;
|
|
2371
|
+
};
|
|
2372
|
+
controls: {
|
|
2373
|
+
type: PropType<boolean>;
|
|
2374
|
+
default: boolean;
|
|
2375
|
+
};
|
|
2376
|
+
align: {
|
|
2377
|
+
type: PropType<"left" | "right" | "center">;
|
|
2378
|
+
default: string;
|
|
2379
|
+
};
|
|
2380
|
+
validatorEvent: {
|
|
2381
|
+
type: PropType<boolean>;
|
|
2382
|
+
};
|
|
2383
|
+
}>> & Readonly<{}>, {
|
|
2384
|
+
max: number;
|
|
2385
|
+
clearable: boolean;
|
|
2386
|
+
prefix: string;
|
|
2387
|
+
suffix: string;
|
|
2388
|
+
prepend: string;
|
|
2389
|
+
append: string;
|
|
2390
|
+
min: number;
|
|
2391
|
+
precision: number;
|
|
2392
|
+
controls: boolean;
|
|
2393
|
+
align: "left" | "right" | "center";
|
|
2394
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2395
|
+
|
|
2396
|
+
export declare const ZYMultiSelect: DefineComponent<ExtractPropTypes< {
|
|
2397
|
+
modelValue: {
|
|
2398
|
+
required: true;
|
|
2399
|
+
type: PropType<MultiSelectValue>;
|
|
2400
|
+
};
|
|
2401
|
+
disabled: {
|
|
2402
|
+
type: PropType<boolean>;
|
|
2403
|
+
};
|
|
2404
|
+
size: {
|
|
2405
|
+
type: PropType<Size>;
|
|
2406
|
+
};
|
|
2407
|
+
placeholder: {
|
|
2408
|
+
type: PropType<string>;
|
|
2409
|
+
};
|
|
2410
|
+
popperClass: {
|
|
2411
|
+
type: PropType<string>;
|
|
2412
|
+
};
|
|
2413
|
+
popperStyle: {
|
|
2414
|
+
type: PropType<string | Record<string, any>>;
|
|
2415
|
+
};
|
|
2416
|
+
fallbackPlacements: {
|
|
2417
|
+
type: PropType<DropdownPlacement[]>;
|
|
2418
|
+
};
|
|
2419
|
+
offset: {
|
|
2420
|
+
type: PropType<number>;
|
|
2421
|
+
};
|
|
2422
|
+
placement: {
|
|
2423
|
+
type: PropType<DropdownPlacement>;
|
|
2424
|
+
};
|
|
2425
|
+
popperOptions: {
|
|
2426
|
+
type: PropType<Record<string, any>>;
|
|
2427
|
+
};
|
|
2428
|
+
showArrow: {
|
|
2429
|
+
type: PropType<boolean>;
|
|
2430
|
+
};
|
|
2431
|
+
persistent: {
|
|
2432
|
+
type: PropType<boolean>;
|
|
2433
|
+
default: boolean;
|
|
2434
|
+
};
|
|
2435
|
+
clearable: {
|
|
2436
|
+
type: PropType<boolean>;
|
|
2437
|
+
default: boolean;
|
|
2438
|
+
};
|
|
2439
|
+
autocomplete: {
|
|
2440
|
+
type: PropType<any>;
|
|
2441
|
+
};
|
|
2442
|
+
clearValue: {
|
|
2443
|
+
type: PropType<any>;
|
|
2444
|
+
};
|
|
2445
|
+
valueOnClear: {
|
|
2446
|
+
type: PropType<string | number | boolean>;
|
|
2447
|
+
default: undefined;
|
|
2448
|
+
};
|
|
2449
|
+
valueKey: {
|
|
2450
|
+
type: PropType<string>;
|
|
2451
|
+
default: string;
|
|
2452
|
+
};
|
|
2453
|
+
options: {
|
|
2454
|
+
type: PropType<RepellentOption[]>;
|
|
2455
|
+
required: true;
|
|
2456
|
+
default: () => never[];
|
|
2457
|
+
};
|
|
2458
|
+
filterable: {
|
|
2459
|
+
type: PropType<boolean>;
|
|
2460
|
+
};
|
|
2461
|
+
allowCreate: {
|
|
2462
|
+
type: PropType<boolean>;
|
|
2463
|
+
};
|
|
2464
|
+
remote: {
|
|
2465
|
+
type: PropType<boolean>;
|
|
2466
|
+
default: boolean;
|
|
2467
|
+
};
|
|
2468
|
+
debounce: {
|
|
2469
|
+
type: PropType<number>;
|
|
2470
|
+
};
|
|
2471
|
+
remoteMethod: {
|
|
2472
|
+
type: PropType<RemoteMethod>;
|
|
2473
|
+
};
|
|
2474
|
+
remoteShowSuffix: {
|
|
2475
|
+
type: PropType<boolean>;
|
|
2476
|
+
};
|
|
2477
|
+
loading: {
|
|
2478
|
+
type: PropType<boolean>;
|
|
2479
|
+
};
|
|
2480
|
+
loadingText: {
|
|
2481
|
+
type: PropType<string>;
|
|
2482
|
+
};
|
|
2483
|
+
noMatchText: {
|
|
2484
|
+
type: PropType<string>;
|
|
2485
|
+
};
|
|
2486
|
+
noDataText: {
|
|
2487
|
+
type: PropType<string>;
|
|
2488
|
+
};
|
|
2489
|
+
defaultFirstOption: {
|
|
2490
|
+
type: PropType<boolean>;
|
|
2491
|
+
};
|
|
2492
|
+
automaticDropdown: {
|
|
2493
|
+
type: PropType<boolean>;
|
|
2494
|
+
};
|
|
2495
|
+
fitInputWidth: {
|
|
2496
|
+
type: PropType<boolean>;
|
|
2497
|
+
};
|
|
2498
|
+
multipleLimit: {
|
|
2499
|
+
type: PropType<number>;
|
|
2500
|
+
};
|
|
2501
|
+
reserveKeyword: {
|
|
2502
|
+
type: PropType<boolean>;
|
|
2503
|
+
};
|
|
2504
|
+
collapseTags: {
|
|
2505
|
+
type: PropType<boolean>;
|
|
2506
|
+
};
|
|
2507
|
+
collapseTagsTooltip: {
|
|
2508
|
+
type: PropType<boolean>;
|
|
2509
|
+
};
|
|
2510
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2511
|
+
modelValue: {
|
|
2512
|
+
required: true;
|
|
2513
|
+
type: PropType<MultiSelectValue>;
|
|
2514
|
+
};
|
|
2515
|
+
disabled: {
|
|
2516
|
+
type: PropType<boolean>;
|
|
2517
|
+
};
|
|
2518
|
+
size: {
|
|
2519
|
+
type: PropType<Size>;
|
|
2520
|
+
};
|
|
2521
|
+
placeholder: {
|
|
2522
|
+
type: PropType<string>;
|
|
2523
|
+
};
|
|
2524
|
+
popperClass: {
|
|
2525
|
+
type: PropType<string>;
|
|
2526
|
+
};
|
|
2527
|
+
popperStyle: {
|
|
2528
|
+
type: PropType<string | Record<string, any>>;
|
|
2529
|
+
};
|
|
2530
|
+
fallbackPlacements: {
|
|
2531
|
+
type: PropType<DropdownPlacement[]>;
|
|
2532
|
+
};
|
|
2533
|
+
offset: {
|
|
2534
|
+
type: PropType<number>;
|
|
2535
|
+
};
|
|
2536
|
+
placement: {
|
|
2537
|
+
type: PropType<DropdownPlacement>;
|
|
2538
|
+
};
|
|
2539
|
+
popperOptions: {
|
|
2540
|
+
type: PropType<Record<string, any>>;
|
|
2541
|
+
};
|
|
2542
|
+
showArrow: {
|
|
2543
|
+
type: PropType<boolean>;
|
|
2544
|
+
};
|
|
2545
|
+
persistent: {
|
|
2546
|
+
type: PropType<boolean>;
|
|
2547
|
+
default: boolean;
|
|
2548
|
+
};
|
|
2549
|
+
clearable: {
|
|
2550
|
+
type: PropType<boolean>;
|
|
2551
|
+
default: boolean;
|
|
2552
|
+
};
|
|
2553
|
+
autocomplete: {
|
|
2554
|
+
type: PropType<any>;
|
|
2555
|
+
};
|
|
2556
|
+
clearValue: {
|
|
2557
|
+
type: PropType<any>;
|
|
2558
|
+
};
|
|
2559
|
+
valueOnClear: {
|
|
2560
|
+
type: PropType<string | number | boolean>;
|
|
2561
|
+
default: undefined;
|
|
2562
|
+
};
|
|
2563
|
+
valueKey: {
|
|
2564
|
+
type: PropType<string>;
|
|
2565
|
+
default: string;
|
|
2566
|
+
};
|
|
2567
|
+
options: {
|
|
2568
|
+
type: PropType<RepellentOption[]>;
|
|
2569
|
+
required: true;
|
|
2570
|
+
default: () => never[];
|
|
2571
|
+
};
|
|
2572
|
+
filterable: {
|
|
2573
|
+
type: PropType<boolean>;
|
|
2574
|
+
};
|
|
2575
|
+
allowCreate: {
|
|
2576
|
+
type: PropType<boolean>;
|
|
2577
|
+
};
|
|
2578
|
+
remote: {
|
|
2579
|
+
type: PropType<boolean>;
|
|
2580
|
+
default: boolean;
|
|
2581
|
+
};
|
|
2582
|
+
debounce: {
|
|
2583
|
+
type: PropType<number>;
|
|
2584
|
+
};
|
|
2585
|
+
remoteMethod: {
|
|
2586
|
+
type: PropType<RemoteMethod>;
|
|
2587
|
+
};
|
|
2588
|
+
remoteShowSuffix: {
|
|
2589
|
+
type: PropType<boolean>;
|
|
2590
|
+
};
|
|
2591
|
+
loading: {
|
|
2592
|
+
type: PropType<boolean>;
|
|
2593
|
+
};
|
|
2594
|
+
loadingText: {
|
|
2595
|
+
type: PropType<string>;
|
|
2596
|
+
};
|
|
2597
|
+
noMatchText: {
|
|
2598
|
+
type: PropType<string>;
|
|
2599
|
+
};
|
|
2600
|
+
noDataText: {
|
|
2601
|
+
type: PropType<string>;
|
|
2602
|
+
};
|
|
2603
|
+
defaultFirstOption: {
|
|
2604
|
+
type: PropType<boolean>;
|
|
2605
|
+
};
|
|
2606
|
+
automaticDropdown: {
|
|
2607
|
+
type: PropType<boolean>;
|
|
2608
|
+
};
|
|
2609
|
+
fitInputWidth: {
|
|
2610
|
+
type: PropType<boolean>;
|
|
2611
|
+
};
|
|
2612
|
+
multipleLimit: {
|
|
2613
|
+
type: PropType<number>;
|
|
2614
|
+
};
|
|
2615
|
+
reserveKeyword: {
|
|
2616
|
+
type: PropType<boolean>;
|
|
2617
|
+
};
|
|
2618
|
+
collapseTags: {
|
|
2619
|
+
type: PropType<boolean>;
|
|
2620
|
+
};
|
|
2621
|
+
collapseTagsTooltip: {
|
|
2622
|
+
type: PropType<boolean>;
|
|
2623
|
+
};
|
|
2624
|
+
}>> & Readonly<{}>, {
|
|
2625
|
+
persistent: boolean;
|
|
2626
|
+
clearable: boolean;
|
|
2627
|
+
valueOnClear: string | number | boolean;
|
|
2628
|
+
valueKey: string;
|
|
2629
|
+
options: RepellentOption[];
|
|
2630
|
+
remote: boolean;
|
|
2631
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2632
|
+
|
|
2633
|
+
export declare const ZYRadio: DefineComponent<ExtractPropTypes< {
|
|
2634
|
+
modelValue: PropType<RadioValue | undefined>;
|
|
2635
|
+
fill: {
|
|
2636
|
+
type: PropType<string>;
|
|
2637
|
+
};
|
|
2638
|
+
disabled: {
|
|
2639
|
+
type: PropType<boolean>;
|
|
2640
|
+
};
|
|
2641
|
+
size: {
|
|
2642
|
+
type: PropType<Size>;
|
|
2643
|
+
};
|
|
2644
|
+
type: {
|
|
2645
|
+
type: PropType<"button" | "radio">;
|
|
2646
|
+
default: string;
|
|
2647
|
+
};
|
|
2648
|
+
validateEvent: {
|
|
2649
|
+
type: PropType<boolean>;
|
|
2650
|
+
default: boolean;
|
|
2651
|
+
};
|
|
2652
|
+
options: {
|
|
2653
|
+
type: PropType<RadioOption[]>;
|
|
2654
|
+
required: true;
|
|
2655
|
+
default: () => never[];
|
|
2656
|
+
};
|
|
2657
|
+
textColor: {
|
|
2658
|
+
type: PropType<string>;
|
|
2659
|
+
};
|
|
2660
|
+
cancelable: {
|
|
2661
|
+
type: PropType<boolean>;
|
|
2662
|
+
default: boolean;
|
|
2663
|
+
};
|
|
2664
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2665
|
+
blur: (event: FocusEvent) => void;
|
|
2666
|
+
change: (value: RadioValue | undefined) => void;
|
|
2667
|
+
keyup: (event: KeyboardEvent) => void;
|
|
2668
|
+
keyupEnter: (event: KeyboardEvent) => void;
|
|
2669
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2670
|
+
modelValue: PropType<RadioValue | undefined>;
|
|
2671
|
+
fill: {
|
|
2672
|
+
type: PropType<string>;
|
|
2673
|
+
};
|
|
2674
|
+
disabled: {
|
|
2675
|
+
type: PropType<boolean>;
|
|
2676
|
+
};
|
|
2677
|
+
size: {
|
|
2678
|
+
type: PropType<Size>;
|
|
2679
|
+
};
|
|
2680
|
+
type: {
|
|
2681
|
+
type: PropType<"button" | "radio">;
|
|
2682
|
+
default: string;
|
|
2683
|
+
};
|
|
2684
|
+
validateEvent: {
|
|
2685
|
+
type: PropType<boolean>;
|
|
2686
|
+
default: boolean;
|
|
2687
|
+
};
|
|
2688
|
+
options: {
|
|
2689
|
+
type: PropType<RadioOption[]>;
|
|
2690
|
+
required: true;
|
|
2691
|
+
default: () => never[];
|
|
2692
|
+
};
|
|
2693
|
+
textColor: {
|
|
2694
|
+
type: PropType<string>;
|
|
2695
|
+
};
|
|
2696
|
+
cancelable: {
|
|
2697
|
+
type: PropType<boolean>;
|
|
2698
|
+
default: boolean;
|
|
2699
|
+
};
|
|
2700
|
+
}>> & Readonly<{
|
|
2701
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
2702
|
+
onChange?: ((value: RadioValue | undefined) => any) | undefined;
|
|
2703
|
+
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
2704
|
+
onKeyupEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
2705
|
+
}>, {
|
|
2706
|
+
type: "button" | "radio";
|
|
2707
|
+
validateEvent: boolean;
|
|
2708
|
+
options: RadioOption[];
|
|
2709
|
+
cancelable: boolean;
|
|
2710
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2711
|
+
|
|
2712
|
+
export declare const ZYSelect: DefineComponent<ExtractPropTypes< {
|
|
2713
|
+
modelValue: PropType<SelectValue>;
|
|
2714
|
+
disabled: {
|
|
2715
|
+
type: PropType<boolean>;
|
|
2716
|
+
};
|
|
2717
|
+
size: {
|
|
2718
|
+
type: PropType<Size>;
|
|
2719
|
+
};
|
|
2720
|
+
placeholder: {
|
|
2721
|
+
type: PropType<string>;
|
|
2722
|
+
};
|
|
2723
|
+
popperClass: {
|
|
2724
|
+
type: PropType<string>;
|
|
2725
|
+
};
|
|
2726
|
+
popperStyle: {
|
|
2727
|
+
type: PropType<string | Record<string, any>>;
|
|
2728
|
+
};
|
|
2729
|
+
fallbackPlacements: {
|
|
2730
|
+
type: PropType<DropdownPlacement[]>;
|
|
2731
|
+
};
|
|
2732
|
+
offset: {
|
|
2733
|
+
type: PropType<number>;
|
|
2734
|
+
};
|
|
2735
|
+
placement: {
|
|
2736
|
+
type: PropType<DropdownPlacement>;
|
|
2737
|
+
};
|
|
2738
|
+
popperOptions: {
|
|
2739
|
+
type: PropType<Record<string, any>>;
|
|
2740
|
+
};
|
|
2741
|
+
showArrow: {
|
|
2742
|
+
type: PropType<boolean>;
|
|
2743
|
+
};
|
|
2744
|
+
persistent: {
|
|
2745
|
+
type: PropType<boolean>;
|
|
2746
|
+
default: boolean;
|
|
2747
|
+
};
|
|
2748
|
+
clearable: {
|
|
2749
|
+
type: PropType<boolean>;
|
|
2750
|
+
default: boolean;
|
|
2751
|
+
};
|
|
2752
|
+
autocomplete: {
|
|
2753
|
+
type: PropType<any>;
|
|
2754
|
+
};
|
|
2755
|
+
clearValue: {
|
|
2756
|
+
type: PropType<any>;
|
|
2757
|
+
};
|
|
2758
|
+
valueOnClear: {
|
|
2759
|
+
type: PropType<string | number | boolean>;
|
|
2760
|
+
default: undefined;
|
|
2761
|
+
};
|
|
2762
|
+
valueKey: {
|
|
2763
|
+
type: PropType<string>;
|
|
2764
|
+
default: string;
|
|
2765
|
+
};
|
|
2766
|
+
options: {
|
|
2767
|
+
type: PropType<Option_2[]>;
|
|
2768
|
+
default: () => never[];
|
|
2769
|
+
};
|
|
2770
|
+
filterable: {
|
|
2771
|
+
type: PropType<boolean>;
|
|
2772
|
+
};
|
|
2773
|
+
allowCreate: {
|
|
2774
|
+
type: PropType<boolean>;
|
|
2775
|
+
};
|
|
2776
|
+
remote: {
|
|
2777
|
+
type: PropType<boolean>;
|
|
2778
|
+
default: boolean;
|
|
2779
|
+
};
|
|
2780
|
+
debounce: {
|
|
2781
|
+
type: PropType<number>;
|
|
2782
|
+
};
|
|
2783
|
+
remoteMethod: {
|
|
2784
|
+
type: PropType<RemoteMethod>;
|
|
2785
|
+
};
|
|
2786
|
+
remoteShowSuffix: {
|
|
2787
|
+
type: PropType<boolean>;
|
|
2788
|
+
};
|
|
2789
|
+
loading: {
|
|
2790
|
+
type: PropType<boolean>;
|
|
2791
|
+
};
|
|
2792
|
+
loadingText: {
|
|
2793
|
+
type: PropType<string>;
|
|
2794
|
+
};
|
|
2795
|
+
noMatchText: {
|
|
2796
|
+
type: PropType<string>;
|
|
2797
|
+
};
|
|
2798
|
+
noDataText: {
|
|
2799
|
+
type: PropType<string>;
|
|
2800
|
+
};
|
|
2801
|
+
defaultFirstOption: {
|
|
2802
|
+
type: PropType<boolean>;
|
|
2803
|
+
};
|
|
2804
|
+
automaticDropdown: {
|
|
2805
|
+
type: PropType<boolean>;
|
|
2806
|
+
};
|
|
2807
|
+
fitInputWidth: {
|
|
2808
|
+
type: PropType<boolean>;
|
|
2809
|
+
};
|
|
2810
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2811
|
+
modelValue: PropType<SelectValue>;
|
|
2812
|
+
disabled: {
|
|
2813
|
+
type: PropType<boolean>;
|
|
2814
|
+
};
|
|
2815
|
+
size: {
|
|
2816
|
+
type: PropType<Size>;
|
|
2817
|
+
};
|
|
2818
|
+
placeholder: {
|
|
2819
|
+
type: PropType<string>;
|
|
2820
|
+
};
|
|
2821
|
+
popperClass: {
|
|
2822
|
+
type: PropType<string>;
|
|
2823
|
+
};
|
|
2824
|
+
popperStyle: {
|
|
2825
|
+
type: PropType<string | Record<string, any>>;
|
|
2826
|
+
};
|
|
2827
|
+
fallbackPlacements: {
|
|
2828
|
+
type: PropType<DropdownPlacement[]>;
|
|
2829
|
+
};
|
|
2830
|
+
offset: {
|
|
2831
|
+
type: PropType<number>;
|
|
2832
|
+
};
|
|
2833
|
+
placement: {
|
|
2834
|
+
type: PropType<DropdownPlacement>;
|
|
2835
|
+
};
|
|
2836
|
+
popperOptions: {
|
|
2837
|
+
type: PropType<Record<string, any>>;
|
|
2838
|
+
};
|
|
2839
|
+
showArrow: {
|
|
2840
|
+
type: PropType<boolean>;
|
|
2841
|
+
};
|
|
2842
|
+
persistent: {
|
|
2843
|
+
type: PropType<boolean>;
|
|
2844
|
+
default: boolean;
|
|
2845
|
+
};
|
|
2846
|
+
clearable: {
|
|
2847
|
+
type: PropType<boolean>;
|
|
2848
|
+
default: boolean;
|
|
2849
|
+
};
|
|
2850
|
+
autocomplete: {
|
|
2851
|
+
type: PropType<any>;
|
|
2852
|
+
};
|
|
2853
|
+
clearValue: {
|
|
2854
|
+
type: PropType<any>;
|
|
2855
|
+
};
|
|
2856
|
+
valueOnClear: {
|
|
2857
|
+
type: PropType<string | number | boolean>;
|
|
2858
|
+
default: undefined;
|
|
2859
|
+
};
|
|
2860
|
+
valueKey: {
|
|
2861
|
+
type: PropType<string>;
|
|
2862
|
+
default: string;
|
|
2863
|
+
};
|
|
2864
|
+
options: {
|
|
2865
|
+
type: PropType<Option_2[]>;
|
|
2866
|
+
default: () => never[];
|
|
2867
|
+
};
|
|
2868
|
+
filterable: {
|
|
2869
|
+
type: PropType<boolean>;
|
|
2870
|
+
};
|
|
2871
|
+
allowCreate: {
|
|
2872
|
+
type: PropType<boolean>;
|
|
2873
|
+
};
|
|
2874
|
+
remote: {
|
|
2875
|
+
type: PropType<boolean>;
|
|
2876
|
+
default: boolean;
|
|
2877
|
+
};
|
|
2878
|
+
debounce: {
|
|
2879
|
+
type: PropType<number>;
|
|
2880
|
+
};
|
|
2881
|
+
remoteMethod: {
|
|
2882
|
+
type: PropType<RemoteMethod>;
|
|
2883
|
+
};
|
|
2884
|
+
remoteShowSuffix: {
|
|
2885
|
+
type: PropType<boolean>;
|
|
2886
|
+
};
|
|
2887
|
+
loading: {
|
|
2888
|
+
type: PropType<boolean>;
|
|
2889
|
+
};
|
|
2890
|
+
loadingText: {
|
|
2891
|
+
type: PropType<string>;
|
|
2892
|
+
};
|
|
2893
|
+
noMatchText: {
|
|
2894
|
+
type: PropType<string>;
|
|
2895
|
+
};
|
|
2896
|
+
noDataText: {
|
|
2897
|
+
type: PropType<string>;
|
|
2898
|
+
};
|
|
2899
|
+
defaultFirstOption: {
|
|
2900
|
+
type: PropType<boolean>;
|
|
2901
|
+
};
|
|
2902
|
+
automaticDropdown: {
|
|
2903
|
+
type: PropType<boolean>;
|
|
2904
|
+
};
|
|
2905
|
+
fitInputWidth: {
|
|
2906
|
+
type: PropType<boolean>;
|
|
2907
|
+
};
|
|
2908
|
+
}>> & Readonly<{}>, {
|
|
2909
|
+
persistent: boolean;
|
|
2910
|
+
clearable: boolean;
|
|
2911
|
+
valueOnClear: string | number | boolean;
|
|
2912
|
+
valueKey: string;
|
|
2913
|
+
options: Option_2[];
|
|
2914
|
+
remote: boolean;
|
|
2915
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2916
|
+
|
|
2917
|
+
export declare const ZYSwitch: DefineComponent<ExtractPropTypes< {
|
|
2918
|
+
modelValue: {
|
|
2919
|
+
required: true;
|
|
2920
|
+
type: PropType<SwitchValue>;
|
|
2921
|
+
};
|
|
2922
|
+
disabled: {
|
|
2923
|
+
type: PropType<boolean>;
|
|
2924
|
+
};
|
|
2925
|
+
size: {
|
|
2926
|
+
type: PropType<Size>;
|
|
2927
|
+
};
|
|
2928
|
+
width: {
|
|
2929
|
+
type: PropType<string | number>;
|
|
2930
|
+
};
|
|
2931
|
+
validateEvent: {
|
|
2932
|
+
type: PropType<boolean>;
|
|
2933
|
+
default: boolean;
|
|
2934
|
+
};
|
|
2935
|
+
options: {
|
|
2936
|
+
type: PropType<[SwitchOption, SwitchOption]>;
|
|
2937
|
+
required: true;
|
|
2938
|
+
default: () => {
|
|
2939
|
+
label: string;
|
|
2940
|
+
value: boolean;
|
|
2941
|
+
}[];
|
|
2942
|
+
};
|
|
2943
|
+
loading: {
|
|
2944
|
+
type: PropType<boolean>;
|
|
2945
|
+
};
|
|
2946
|
+
inlinePrompt: {
|
|
2947
|
+
type: PropType<boolean>;
|
|
2948
|
+
};
|
|
2949
|
+
activeIcon: {
|
|
2950
|
+
type: PropType<string>;
|
|
2951
|
+
};
|
|
2952
|
+
inactiveIcon: {
|
|
2953
|
+
type: PropType<string>;
|
|
2954
|
+
};
|
|
2955
|
+
activeActionIcon: {
|
|
2956
|
+
type: PropType<string>;
|
|
2957
|
+
};
|
|
2958
|
+
inactiveActionIcon: {
|
|
2959
|
+
type: PropType<string>;
|
|
2960
|
+
};
|
|
2961
|
+
activeText: {
|
|
2962
|
+
type: PropType<string>;
|
|
2963
|
+
};
|
|
2964
|
+
inactiveText: {
|
|
2965
|
+
type: PropType<string>;
|
|
2966
|
+
};
|
|
2967
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2968
|
+
modelValue: {
|
|
2969
|
+
required: true;
|
|
2970
|
+
type: PropType<SwitchValue>;
|
|
2971
|
+
};
|
|
2972
|
+
disabled: {
|
|
2973
|
+
type: PropType<boolean>;
|
|
2974
|
+
};
|
|
2975
|
+
size: {
|
|
2976
|
+
type: PropType<Size>;
|
|
2977
|
+
};
|
|
2978
|
+
width: {
|
|
2979
|
+
type: PropType<string | number>;
|
|
2980
|
+
};
|
|
2981
|
+
validateEvent: {
|
|
2982
|
+
type: PropType<boolean>;
|
|
2983
|
+
default: boolean;
|
|
2984
|
+
};
|
|
2985
|
+
options: {
|
|
2986
|
+
type: PropType<[SwitchOption, SwitchOption]>;
|
|
2987
|
+
required: true;
|
|
2988
|
+
default: () => {
|
|
2989
|
+
label: string;
|
|
2990
|
+
value: boolean;
|
|
2991
|
+
}[];
|
|
2992
|
+
};
|
|
2993
|
+
loading: {
|
|
2994
|
+
type: PropType<boolean>;
|
|
2995
|
+
};
|
|
2996
|
+
inlinePrompt: {
|
|
2997
|
+
type: PropType<boolean>;
|
|
2998
|
+
};
|
|
2999
|
+
activeIcon: {
|
|
3000
|
+
type: PropType<string>;
|
|
3001
|
+
};
|
|
3002
|
+
inactiveIcon: {
|
|
3003
|
+
type: PropType<string>;
|
|
3004
|
+
};
|
|
3005
|
+
activeActionIcon: {
|
|
3006
|
+
type: PropType<string>;
|
|
3007
|
+
};
|
|
3008
|
+
inactiveActionIcon: {
|
|
3009
|
+
type: PropType<string>;
|
|
3010
|
+
};
|
|
3011
|
+
activeText: {
|
|
3012
|
+
type: PropType<string>;
|
|
3013
|
+
};
|
|
3014
|
+
inactiveText: {
|
|
3015
|
+
type: PropType<string>;
|
|
3016
|
+
};
|
|
3017
|
+
}>> & Readonly<{}>, {
|
|
3018
|
+
validateEvent: boolean;
|
|
3019
|
+
options: [SwitchOption, SwitchOption];
|
|
3020
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3021
|
+
|
|
3022
|
+
export declare const ZYTabs: DefineComponent<ExtractPropTypes< {
|
|
3023
|
+
modelValue: {
|
|
3024
|
+
required: true;
|
|
3025
|
+
type: PropType<TabValue>;
|
|
3026
|
+
};
|
|
3027
|
+
unfulfilledFields: {
|
|
3028
|
+
type: PropType<Record<string, UnfulfilledField[]>>;
|
|
3029
|
+
default: () => {};
|
|
3030
|
+
};
|
|
3031
|
+
editable: {
|
|
3032
|
+
type: PropType<boolean>;
|
|
3033
|
+
};
|
|
3034
|
+
closable: {
|
|
3035
|
+
type: PropType<boolean>;
|
|
3036
|
+
};
|
|
3037
|
+
addable: {
|
|
3038
|
+
type: PropType<boolean>;
|
|
3039
|
+
};
|
|
3040
|
+
tabs: {
|
|
3041
|
+
type: PropType<Tab[]>;
|
|
3042
|
+
required: true;
|
|
3043
|
+
default: () => never[];
|
|
3044
|
+
};
|
|
3045
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
3046
|
+
modelValue: {
|
|
3047
|
+
required: true;
|
|
3048
|
+
type: PropType<TabValue>;
|
|
3049
|
+
};
|
|
3050
|
+
unfulfilledFields: {
|
|
3051
|
+
type: PropType<Record<string, UnfulfilledField[]>>;
|
|
3052
|
+
default: () => {};
|
|
3053
|
+
};
|
|
3054
|
+
editable: {
|
|
3055
|
+
type: PropType<boolean>;
|
|
3056
|
+
};
|
|
3057
|
+
closable: {
|
|
3058
|
+
type: PropType<boolean>;
|
|
3059
|
+
};
|
|
3060
|
+
addable: {
|
|
3061
|
+
type: PropType<boolean>;
|
|
3062
|
+
};
|
|
3063
|
+
tabs: {
|
|
3064
|
+
type: PropType<Tab[]>;
|
|
3065
|
+
required: true;
|
|
3066
|
+
default: () => never[];
|
|
3067
|
+
};
|
|
3068
|
+
}>> & Readonly<{}>, {
|
|
3069
|
+
unfulfilledFields: Record<string, UnfulfilledField[]>;
|
|
3070
|
+
tabs: Tab[];
|
|
3071
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3072
|
+
|
|
3073
|
+
export declare const ZYTitle: __VLS_WithTemplateSlots_6<DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_5<TitleProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_5<TitleProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
3074
|
+
default?(_: {}): any;
|
|
3075
|
+
}>;
|
|
3076
|
+
|
|
3077
|
+
export declare const ZYUpload: DefineComponent<ExtractPropTypes< {
|
|
3078
|
+
modelValue: {
|
|
3079
|
+
required: true;
|
|
3080
|
+
type: PropType<UploadData>;
|
|
3081
|
+
};
|
|
3082
|
+
deleted: PropType<Record<string, any>[]>;
|
|
3083
|
+
disabled: {
|
|
3084
|
+
type: PropType<boolean>;
|
|
3085
|
+
default: boolean;
|
|
3086
|
+
};
|
|
3087
|
+
size: {
|
|
3088
|
+
type: PropType<number>;
|
|
3089
|
+
default: number;
|
|
3090
|
+
};
|
|
3091
|
+
readonly: {
|
|
3092
|
+
type: PropType<boolean>;
|
|
3093
|
+
};
|
|
3094
|
+
multiple: {
|
|
3095
|
+
type: PropType<boolean>;
|
|
3096
|
+
default: boolean;
|
|
3097
|
+
};
|
|
3098
|
+
listType: {
|
|
3099
|
+
type: PropType<"picture" | "text" | "picture-card">;
|
|
3100
|
+
default: string;
|
|
3101
|
+
};
|
|
3102
|
+
accept: {
|
|
3103
|
+
type: PropType<string>;
|
|
3104
|
+
default: string;
|
|
3105
|
+
};
|
|
3106
|
+
strictAccept: {
|
|
3107
|
+
type: PropType<boolean>;
|
|
3108
|
+
default: boolean;
|
|
3109
|
+
};
|
|
3110
|
+
limit: {
|
|
3111
|
+
type: PropType<number>;
|
|
3112
|
+
default: number;
|
|
3113
|
+
};
|
|
3114
|
+
uploadMethod: {
|
|
3115
|
+
type: PropType<UploadMethod>;
|
|
3116
|
+
default: undefined;
|
|
3117
|
+
};
|
|
3118
|
+
removeMethod: {
|
|
3119
|
+
type: PropType<FileRemoveMethod>;
|
|
3120
|
+
};
|
|
3121
|
+
tips: {
|
|
3122
|
+
type: PropType<string>;
|
|
3123
|
+
};
|
|
3124
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
3125
|
+
modelValue: {
|
|
3126
|
+
required: true;
|
|
3127
|
+
type: PropType<UploadData>;
|
|
3128
|
+
};
|
|
3129
|
+
deleted: PropType<Record<string, any>[]>;
|
|
3130
|
+
disabled: {
|
|
3131
|
+
type: PropType<boolean>;
|
|
3132
|
+
default: boolean;
|
|
3133
|
+
};
|
|
3134
|
+
size: {
|
|
3135
|
+
type: PropType<number>;
|
|
3136
|
+
default: number;
|
|
3137
|
+
};
|
|
3138
|
+
readonly: {
|
|
3139
|
+
type: PropType<boolean>;
|
|
3140
|
+
};
|
|
3141
|
+
multiple: {
|
|
3142
|
+
type: PropType<boolean>;
|
|
3143
|
+
default: boolean;
|
|
3144
|
+
};
|
|
3145
|
+
listType: {
|
|
3146
|
+
type: PropType<"picture" | "text" | "picture-card">;
|
|
3147
|
+
default: string;
|
|
3148
|
+
};
|
|
3149
|
+
accept: {
|
|
3150
|
+
type: PropType<string>;
|
|
3151
|
+
default: string;
|
|
3152
|
+
};
|
|
3153
|
+
strictAccept: {
|
|
3154
|
+
type: PropType<boolean>;
|
|
3155
|
+
default: boolean;
|
|
3156
|
+
};
|
|
3157
|
+
limit: {
|
|
3158
|
+
type: PropType<number>;
|
|
3159
|
+
default: number;
|
|
3160
|
+
};
|
|
3161
|
+
uploadMethod: {
|
|
3162
|
+
type: PropType<UploadMethod>;
|
|
3163
|
+
default: undefined;
|
|
3164
|
+
};
|
|
3165
|
+
removeMethod: {
|
|
3166
|
+
type: PropType<FileRemoveMethod>;
|
|
3167
|
+
};
|
|
3168
|
+
tips: {
|
|
3169
|
+
type: PropType<string>;
|
|
3170
|
+
};
|
|
3171
|
+
}>> & Readonly<{}>, {
|
|
3172
|
+
disabled: boolean;
|
|
3173
|
+
size: number;
|
|
3174
|
+
multiple: boolean;
|
|
3175
|
+
listType: "picture" | "text" | "picture-card";
|
|
3176
|
+
accept: string;
|
|
3177
|
+
strictAccept: boolean;
|
|
3178
|
+
limit: number;
|
|
3179
|
+
uploadMethod: UploadMethod;
|
|
3180
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
export * from "@zy/form-core";
|
|
3184
|
+
|
|
3185
|
+
export { }
|