yc-pro-components 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +64 -45
- package/es/components/form/src/form-content.vue.d.ts +24 -20
- package/es/components/form/src/form-content.vue2.mjs +106 -96
- package/es/components/form/src/index.vue.d.ts +20 -17
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +4 -0
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/form-item/src/index.vue2.mjs +22 -18
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +587 -452
- package/es/components/page/src/index.vue.d.ts +199 -154
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +218 -154
- package/es/components/search/src/index.vue.d.ts +68 -50
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +7 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +450 -360
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -1
- package/index.css +6 -6
- package/index.js +140 -134
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +140 -134
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +64 -45
- package/lib/components/form/src/form-content.vue.d.ts +24 -20
- package/lib/components/form/src/form-content.vue2.js +105 -95
- package/lib/components/form/src/index.vue.d.ts +20 -17
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +4 -0
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/form-item/src/index.vue2.js +21 -17
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +587 -452
- package/lib/components/page/src/index.vue.d.ts +199 -154
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +218 -154
- package/lib/components/search/src/index.vue.d.ts +68 -50
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +7 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +450 -360
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-form.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/form.scss +20 -0
- package/theme-chalk/src/search.scss +125 -0
- package/theme-chalk/src/yc-plus-tree.scss +25 -0
|
@@ -141,8 +141,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
141
141
|
$: ComponentInternalInstance;
|
|
142
142
|
$data: {};
|
|
143
143
|
$props: Partial<{
|
|
144
|
-
modelValue: FieldValues;
|
|
145
144
|
columns: PlusColumn[];
|
|
145
|
+
layout: "grid" | "flex";
|
|
146
|
+
modelValue: FieldValues;
|
|
146
147
|
labelPosition: "top" | "right" | "left";
|
|
147
148
|
inline: boolean;
|
|
148
149
|
showNumber: number;
|
|
@@ -168,8 +169,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
168
169
|
searchIcon: Component | null;
|
|
169
170
|
resetIcon: Component | null;
|
|
170
171
|
}> & Omit<{
|
|
171
|
-
readonly modelValue: FieldValues;
|
|
172
172
|
readonly columns: PlusColumn[];
|
|
173
|
+
readonly layout: "grid" | "flex";
|
|
174
|
+
readonly modelValue: FieldValues;
|
|
173
175
|
readonly inline: boolean;
|
|
174
176
|
readonly showNumber: number;
|
|
175
177
|
readonly defaultValues: FieldValues;
|
|
@@ -194,20 +196,24 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
194
196
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
195
197
|
readonly searchIcon?: Component | null | undefined;
|
|
196
198
|
readonly resetIcon?: Component | null | undefined;
|
|
197
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
198
199
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
199
200
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
201
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
200
202
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
201
203
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
202
204
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
203
|
-
modelValue: {
|
|
204
|
-
type: PropType<FieldValues>;
|
|
205
|
-
default: () => {};
|
|
206
|
-
};
|
|
207
205
|
columns: {
|
|
208
206
|
type: PropType<PlusColumn[]>;
|
|
209
207
|
default: () => never[];
|
|
210
208
|
};
|
|
209
|
+
layout: {
|
|
210
|
+
type: PropType<"grid" | "flex">;
|
|
211
|
+
default: "flex";
|
|
212
|
+
};
|
|
213
|
+
modelValue: {
|
|
214
|
+
type: PropType<FieldValues>;
|
|
215
|
+
default: () => {};
|
|
216
|
+
};
|
|
211
217
|
labelPosition: {
|
|
212
218
|
type: PropType<"top" | "right" | "left">;
|
|
213
219
|
default: undefined;
|
|
@@ -295,12 +301,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
295
301
|
default: undefined;
|
|
296
302
|
};
|
|
297
303
|
}>> & {
|
|
298
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
299
304
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
300
305
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
306
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
301
307
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
302
308
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
303
|
-
}, "
|
|
309
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
304
310
|
$attrs: {
|
|
305
311
|
[x: string]: unknown;
|
|
306
312
|
};
|
|
@@ -312,17 +318,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
312
318
|
}>;
|
|
313
319
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
314
320
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
315
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
321
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
316
322
|
$el: any;
|
|
317
323
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
318
|
-
modelValue: {
|
|
319
|
-
type: PropType<FieldValues>;
|
|
320
|
-
default: () => {};
|
|
321
|
-
};
|
|
322
324
|
columns: {
|
|
323
325
|
type: PropType<PlusColumn[]>;
|
|
324
326
|
default: () => never[];
|
|
325
327
|
};
|
|
328
|
+
layout: {
|
|
329
|
+
type: PropType<"grid" | "flex">;
|
|
330
|
+
default: "flex";
|
|
331
|
+
};
|
|
332
|
+
modelValue: {
|
|
333
|
+
type: PropType<FieldValues>;
|
|
334
|
+
default: () => {};
|
|
335
|
+
};
|
|
326
336
|
labelPosition: {
|
|
327
337
|
type: PropType<"top" | "right" | "left">;
|
|
328
338
|
default: undefined;
|
|
@@ -410,9 +420,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
410
420
|
default: undefined;
|
|
411
421
|
};
|
|
412
422
|
}>> & {
|
|
413
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
414
423
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
415
424
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
425
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
416
426
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
417
427
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
418
428
|
}, {
|
|
@@ -420,11 +430,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
420
430
|
$: ComponentInternalInstance;
|
|
421
431
|
$data: {};
|
|
422
432
|
$props: Partial<{
|
|
423
|
-
modelValue: FieldValues;
|
|
424
433
|
collapseDuration: number;
|
|
425
434
|
collapseTransition: boolean;
|
|
426
435
|
columns: PlusColumn[];
|
|
427
436
|
group: false | PlusFormGroupRow[];
|
|
437
|
+
layout: "grid" | "flex";
|
|
438
|
+
modelValue: FieldValues;
|
|
428
439
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
429
440
|
labelPosition: "top" | "right" | "left";
|
|
430
441
|
labelWidth: string | number;
|
|
@@ -445,7 +456,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
445
456
|
submitText: string;
|
|
446
457
|
resetText: string;
|
|
447
458
|
submitLoading: boolean;
|
|
448
|
-
footerAlign: "
|
|
459
|
+
footerAlign: "right" | "left" | "center";
|
|
449
460
|
cardProps: Partial< Mutable<CardProps> & {
|
|
450
461
|
style?: CSSProperties | undefined;
|
|
451
462
|
class?: any;
|
|
@@ -453,9 +464,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
453
464
|
prevent: boolean;
|
|
454
465
|
clearable: boolean;
|
|
455
466
|
}> & Omit<{
|
|
456
|
-
readonly modelValue: FieldValues;
|
|
457
467
|
readonly columns: PlusColumn[];
|
|
458
468
|
readonly group: false | PlusFormGroupRow[];
|
|
469
|
+
readonly layout: "grid" | "flex";
|
|
470
|
+
readonly modelValue: FieldValues;
|
|
459
471
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
460
472
|
readonly labelPosition: "top" | "right" | "left";
|
|
461
473
|
readonly labelWidth: string | number;
|
|
@@ -476,7 +488,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
476
488
|
readonly submitText: string;
|
|
477
489
|
readonly resetText: string;
|
|
478
490
|
readonly submitLoading: boolean;
|
|
479
|
-
readonly footerAlign: "
|
|
491
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
480
492
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
481
493
|
style?: CSSProperties | undefined;
|
|
482
494
|
class?: any;
|
|
@@ -485,17 +497,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
485
497
|
readonly clearable: boolean;
|
|
486
498
|
readonly collapseDuration?: number | undefined;
|
|
487
499
|
readonly collapseTransition?: boolean | undefined;
|
|
488
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
489
500
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
490
501
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
491
502
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
503
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
492
504
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
493
505
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
494
506
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
495
|
-
modelValue: {
|
|
496
|
-
type: PropType<FieldValues>;
|
|
497
|
-
default: () => {};
|
|
498
|
-
};
|
|
499
507
|
collapseDuration: {
|
|
500
508
|
type: PropType<number>;
|
|
501
509
|
default: undefined;
|
|
@@ -512,6 +520,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
512
520
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
513
521
|
default: boolean;
|
|
514
522
|
};
|
|
523
|
+
layout: {
|
|
524
|
+
type: PropType<"grid" | "flex">;
|
|
525
|
+
default: string;
|
|
526
|
+
};
|
|
527
|
+
modelValue: {
|
|
528
|
+
type: PropType<FieldValues>;
|
|
529
|
+
default: () => {};
|
|
530
|
+
};
|
|
515
531
|
rules: {
|
|
516
532
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
517
533
|
default: () => {};
|
|
@@ -575,7 +591,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
575
591
|
default: boolean;
|
|
576
592
|
};
|
|
577
593
|
footerAlign: {
|
|
578
|
-
type: PropType<"
|
|
594
|
+
type: PropType<"right" | "left" | "center">;
|
|
579
595
|
default: string;
|
|
580
596
|
};
|
|
581
597
|
cardProps: {
|
|
@@ -594,13 +610,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
594
610
|
default: boolean;
|
|
595
611
|
};
|
|
596
612
|
}>> & {
|
|
597
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
598
613
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
599
614
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
600
615
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
616
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
601
617
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
602
618
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
603
|
-
}, "
|
|
619
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
604
620
|
$attrs: {
|
|
605
621
|
[x: string]: unknown;
|
|
606
622
|
};
|
|
@@ -612,13 +628,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
612
628
|
}>;
|
|
613
629
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
614
630
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
615
|
-
$emit: ((event: "
|
|
631
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
616
632
|
$el: any;
|
|
617
633
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
618
|
-
modelValue: {
|
|
619
|
-
type: PropType<FieldValues>;
|
|
620
|
-
default: () => {};
|
|
621
|
-
};
|
|
622
634
|
collapseDuration: {
|
|
623
635
|
type: PropType<number>;
|
|
624
636
|
default: undefined;
|
|
@@ -635,6 +647,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
635
647
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
636
648
|
default: boolean;
|
|
637
649
|
};
|
|
650
|
+
layout: {
|
|
651
|
+
type: PropType<"grid" | "flex">;
|
|
652
|
+
default: string;
|
|
653
|
+
};
|
|
654
|
+
modelValue: {
|
|
655
|
+
type: PropType<FieldValues>;
|
|
656
|
+
default: () => {};
|
|
657
|
+
};
|
|
638
658
|
rules: {
|
|
639
659
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
640
660
|
default: () => {};
|
|
@@ -698,7 +718,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
698
718
|
default: boolean;
|
|
699
719
|
};
|
|
700
720
|
footerAlign: {
|
|
701
|
-
type: PropType<"
|
|
721
|
+
type: PropType<"right" | "left" | "center">;
|
|
702
722
|
default: string;
|
|
703
723
|
};
|
|
704
724
|
cardProps: {
|
|
@@ -717,10 +737,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
717
737
|
default: boolean;
|
|
718
738
|
};
|
|
719
739
|
}>> & {
|
|
720
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
721
740
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
722
741
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
723
742
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
743
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
724
744
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
725
745
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
726
746
|
}, {
|
|
@@ -1016,11 +1036,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1016
1036
|
submitError: (errors: unknown) => void;
|
|
1017
1037
|
validate: (...args: any[]) => void;
|
|
1018
1038
|
}, string, {
|
|
1019
|
-
modelValue: FieldValues;
|
|
1020
1039
|
collapseDuration: number;
|
|
1021
1040
|
collapseTransition: boolean;
|
|
1022
1041
|
columns: PlusColumn[];
|
|
1023
1042
|
group: false | PlusFormGroupRow[];
|
|
1043
|
+
layout: "grid" | "flex";
|
|
1044
|
+
modelValue: FieldValues;
|
|
1024
1045
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1025
1046
|
labelPosition: "top" | "right" | "left";
|
|
1026
1047
|
labelWidth: string | number;
|
|
@@ -1041,7 +1062,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1041
1062
|
submitText: string;
|
|
1042
1063
|
resetText: string;
|
|
1043
1064
|
submitLoading: boolean;
|
|
1044
|
-
footerAlign: "
|
|
1065
|
+
footerAlign: "right" | "left" | "center";
|
|
1045
1066
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1046
1067
|
style?: CSSProperties | undefined;
|
|
1047
1068
|
class?: any;
|
|
@@ -1069,10 +1090,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1069
1090
|
$nextTick: nextTick;
|
|
1070
1091
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1071
1092
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1072
|
-
modelValue: {
|
|
1073
|
-
type: PropType<FieldValues>;
|
|
1074
|
-
default: () => {};
|
|
1075
|
-
};
|
|
1076
1093
|
collapseDuration: {
|
|
1077
1094
|
type: PropType<number>;
|
|
1078
1095
|
default: undefined;
|
|
@@ -1089,6 +1106,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1089
1106
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1090
1107
|
default: boolean;
|
|
1091
1108
|
};
|
|
1109
|
+
layout: {
|
|
1110
|
+
type: PropType<"grid" | "flex">;
|
|
1111
|
+
default: string;
|
|
1112
|
+
};
|
|
1113
|
+
modelValue: {
|
|
1114
|
+
type: PropType<FieldValues>;
|
|
1115
|
+
default: () => {};
|
|
1116
|
+
};
|
|
1092
1117
|
rules: {
|
|
1093
1118
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1094
1119
|
default: () => {};
|
|
@@ -1152,7 +1177,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1152
1177
|
default: boolean;
|
|
1153
1178
|
};
|
|
1154
1179
|
footerAlign: {
|
|
1155
|
-
type: PropType<"
|
|
1180
|
+
type: PropType<"right" | "left" | "center">;
|
|
1156
1181
|
default: string;
|
|
1157
1182
|
};
|
|
1158
1183
|
cardProps: {
|
|
@@ -1171,10 +1196,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1171
1196
|
default: boolean;
|
|
1172
1197
|
};
|
|
1173
1198
|
}>> & {
|
|
1174
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1175
1199
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1176
1200
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1177
1201
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1202
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1178
1203
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1179
1204
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1180
1205
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1475,14 +1500,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1475
1500
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1476
1501
|
columns?: PlusColumn[] | undefined;
|
|
1477
1502
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1478
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1503
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1479
1504
|
readonly label: string | ComputedRef<string>;
|
|
1480
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1505
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1481
1506
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1482
|
-
readonly tooltip: string |
|
|
1507
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1483
1508
|
style?: CSSProperties | undefined;
|
|
1484
1509
|
class?: any;
|
|
1485
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1510
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1486
1511
|
style?: CSSProperties | undefined;
|
|
1487
1512
|
class?: any;
|
|
1488
1513
|
} & RecordType>>;
|
|
@@ -1549,12 +1574,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1549
1574
|
fieldInstance?: any;
|
|
1550
1575
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1551
1576
|
prop: string;
|
|
1552
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1577
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1553
1578
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1554
|
-
tooltip: string |
|
|
1579
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1555
1580
|
style?: CSSProperties | undefined;
|
|
1556
1581
|
class?: any;
|
|
1557
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1582
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1558
1583
|
style?: CSSProperties | undefined;
|
|
1559
1584
|
class?: any;
|
|
1560
1585
|
} & RecordType>>;
|
|
@@ -1583,14 +1608,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1583
1608
|
clearable: boolean;
|
|
1584
1609
|
index: number;
|
|
1585
1610
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1586
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1611
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1587
1612
|
readonly label: string | ComputedRef<string>;
|
|
1588
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1613
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1589
1614
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1590
|
-
readonly tooltip: string |
|
|
1615
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1591
1616
|
style?: CSSProperties | undefined;
|
|
1592
1617
|
class?: any;
|
|
1593
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1618
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1594
1619
|
style?: CSSProperties | undefined;
|
|
1595
1620
|
class?: any;
|
|
1596
1621
|
} & RecordType>>;
|
|
@@ -1657,12 +1682,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1657
1682
|
fieldInstance?: any;
|
|
1658
1683
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1659
1684
|
prop: string;
|
|
1660
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1685
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1661
1686
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1662
|
-
tooltip: string |
|
|
1687
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1663
1688
|
style?: CSSProperties | undefined;
|
|
1664
1689
|
class?: any;
|
|
1665
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1690
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1666
1691
|
style?: CSSProperties | undefined;
|
|
1667
1692
|
class?: any;
|
|
1668
1693
|
} & RecordType>>;
|
|
@@ -1714,8 +1739,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1714
1739
|
reset: (values: FieldValues) => void;
|
|
1715
1740
|
collapse: (isShowUnfold: boolean) => void;
|
|
1716
1741
|
}, string, {
|
|
1717
|
-
modelValue: FieldValues;
|
|
1718
1742
|
columns: PlusColumn[];
|
|
1743
|
+
layout: "grid" | "flex";
|
|
1744
|
+
modelValue: FieldValues;
|
|
1719
1745
|
labelPosition: "top" | "right" | "left";
|
|
1720
1746
|
inline: boolean;
|
|
1721
1747
|
showNumber: number;
|
|
@@ -1761,14 +1787,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1761
1787
|
$nextTick: nextTick;
|
|
1762
1788
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1763
1789
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1764
|
-
modelValue: {
|
|
1765
|
-
type: PropType<FieldValues>;
|
|
1766
|
-
default: () => {};
|
|
1767
|
-
};
|
|
1768
1790
|
columns: {
|
|
1769
1791
|
type: PropType<PlusColumn[]>;
|
|
1770
1792
|
default: () => never[];
|
|
1771
1793
|
};
|
|
1794
|
+
layout: {
|
|
1795
|
+
type: PropType<"grid" | "flex">;
|
|
1796
|
+
default: "flex";
|
|
1797
|
+
};
|
|
1798
|
+
modelValue: {
|
|
1799
|
+
type: PropType<FieldValues>;
|
|
1800
|
+
default: () => {};
|
|
1801
|
+
};
|
|
1772
1802
|
labelPosition: {
|
|
1773
1803
|
type: PropType<"top" | "right" | "left">;
|
|
1774
1804
|
default: undefined;
|
|
@@ -1856,9 +1886,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1856
1886
|
default: undefined;
|
|
1857
1887
|
};
|
|
1858
1888
|
}>> & {
|
|
1859
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1860
1889
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1861
1890
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1891
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1862
1892
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1863
1893
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1864
1894
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1866,11 +1896,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1866
1896
|
$: ComponentInternalInstance;
|
|
1867
1897
|
$data: {};
|
|
1868
1898
|
$props: Partial<{
|
|
1869
|
-
modelValue: FieldValues;
|
|
1870
1899
|
collapseDuration: number;
|
|
1871
1900
|
collapseTransition: boolean;
|
|
1872
1901
|
columns: PlusColumn[];
|
|
1873
1902
|
group: false | PlusFormGroupRow[];
|
|
1903
|
+
layout: "grid" | "flex";
|
|
1904
|
+
modelValue: FieldValues;
|
|
1874
1905
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1875
1906
|
labelPosition: "top" | "right" | "left";
|
|
1876
1907
|
labelWidth: string | number;
|
|
@@ -1891,7 +1922,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1891
1922
|
submitText: string;
|
|
1892
1923
|
resetText: string;
|
|
1893
1924
|
submitLoading: boolean;
|
|
1894
|
-
footerAlign: "
|
|
1925
|
+
footerAlign: "right" | "left" | "center";
|
|
1895
1926
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1896
1927
|
style?: CSSProperties | undefined;
|
|
1897
1928
|
class?: any;
|
|
@@ -1899,9 +1930,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1899
1930
|
prevent: boolean;
|
|
1900
1931
|
clearable: boolean;
|
|
1901
1932
|
}> & Omit<{
|
|
1902
|
-
readonly modelValue: FieldValues;
|
|
1903
1933
|
readonly columns: PlusColumn[];
|
|
1904
1934
|
readonly group: false | PlusFormGroupRow[];
|
|
1935
|
+
readonly layout: "grid" | "flex";
|
|
1936
|
+
readonly modelValue: FieldValues;
|
|
1905
1937
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1906
1938
|
readonly labelPosition: "top" | "right" | "left";
|
|
1907
1939
|
readonly labelWidth: string | number;
|
|
@@ -1922,7 +1954,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1922
1954
|
readonly submitText: string;
|
|
1923
1955
|
readonly resetText: string;
|
|
1924
1956
|
readonly submitLoading: boolean;
|
|
1925
|
-
readonly footerAlign: "
|
|
1957
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1926
1958
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1927
1959
|
style?: CSSProperties | undefined;
|
|
1928
1960
|
class?: any;
|
|
@@ -1931,17 +1963,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1931
1963
|
readonly clearable: boolean;
|
|
1932
1964
|
readonly collapseDuration?: number | undefined;
|
|
1933
1965
|
readonly collapseTransition?: boolean | undefined;
|
|
1934
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1935
1966
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1936
1967
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1937
1968
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1969
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1938
1970
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1939
1971
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1940
1972
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1941
|
-
modelValue: {
|
|
1942
|
-
type: PropType<FieldValues>;
|
|
1943
|
-
default: () => {};
|
|
1944
|
-
};
|
|
1945
1973
|
collapseDuration: {
|
|
1946
1974
|
type: PropType<number>;
|
|
1947
1975
|
default: undefined;
|
|
@@ -1958,6 +1986,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1958
1986
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1959
1987
|
default: boolean;
|
|
1960
1988
|
};
|
|
1989
|
+
layout: {
|
|
1990
|
+
type: PropType<"grid" | "flex">;
|
|
1991
|
+
default: string;
|
|
1992
|
+
};
|
|
1993
|
+
modelValue: {
|
|
1994
|
+
type: PropType<FieldValues>;
|
|
1995
|
+
default: () => {};
|
|
1996
|
+
};
|
|
1961
1997
|
rules: {
|
|
1962
1998
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1963
1999
|
default: () => {};
|
|
@@ -2021,7 +2057,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2021
2057
|
default: boolean;
|
|
2022
2058
|
};
|
|
2023
2059
|
footerAlign: {
|
|
2024
|
-
type: PropType<"
|
|
2060
|
+
type: PropType<"right" | "left" | "center">;
|
|
2025
2061
|
default: string;
|
|
2026
2062
|
};
|
|
2027
2063
|
cardProps: {
|
|
@@ -2040,13 +2076,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2040
2076
|
default: boolean;
|
|
2041
2077
|
};
|
|
2042
2078
|
}>> & {
|
|
2043
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2044
2079
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2045
2080
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2046
2081
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2082
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2047
2083
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2048
2084
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2049
|
-
}, "
|
|
2085
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2050
2086
|
$attrs: {
|
|
2051
2087
|
[x: string]: unknown;
|
|
2052
2088
|
};
|
|
@@ -2058,13 +2094,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2058
2094
|
}>;
|
|
2059
2095
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2060
2096
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2061
|
-
$emit: ((event: "
|
|
2097
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2062
2098
|
$el: any;
|
|
2063
2099
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2064
|
-
modelValue: {
|
|
2065
|
-
type: PropType<FieldValues>;
|
|
2066
|
-
default: () => {};
|
|
2067
|
-
};
|
|
2068
2100
|
collapseDuration: {
|
|
2069
2101
|
type: PropType<number>;
|
|
2070
2102
|
default: undefined;
|
|
@@ -2081,6 +2113,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2081
2113
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2082
2114
|
default: boolean;
|
|
2083
2115
|
};
|
|
2116
|
+
layout: {
|
|
2117
|
+
type: PropType<"grid" | "flex">;
|
|
2118
|
+
default: string;
|
|
2119
|
+
};
|
|
2120
|
+
modelValue: {
|
|
2121
|
+
type: PropType<FieldValues>;
|
|
2122
|
+
default: () => {};
|
|
2123
|
+
};
|
|
2084
2124
|
rules: {
|
|
2085
2125
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2086
2126
|
default: () => {};
|
|
@@ -2144,7 +2184,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2144
2184
|
default: boolean;
|
|
2145
2185
|
};
|
|
2146
2186
|
footerAlign: {
|
|
2147
|
-
type: PropType<"
|
|
2187
|
+
type: PropType<"right" | "left" | "center">;
|
|
2148
2188
|
default: string;
|
|
2149
2189
|
};
|
|
2150
2190
|
cardProps: {
|
|
@@ -2163,10 +2203,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2163
2203
|
default: boolean;
|
|
2164
2204
|
};
|
|
2165
2205
|
}>> & {
|
|
2166
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2167
2206
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2168
2207
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2169
2208
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2209
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2170
2210
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2171
2211
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2172
2212
|
}, {
|
|
@@ -2462,11 +2502,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2462
2502
|
submitError: (errors: unknown) => void;
|
|
2463
2503
|
validate: (...args: any[]) => void;
|
|
2464
2504
|
}, string, {
|
|
2465
|
-
modelValue: FieldValues;
|
|
2466
2505
|
collapseDuration: number;
|
|
2467
2506
|
collapseTransition: boolean;
|
|
2468
2507
|
columns: PlusColumn[];
|
|
2469
2508
|
group: false | PlusFormGroupRow[];
|
|
2509
|
+
layout: "grid" | "flex";
|
|
2510
|
+
modelValue: FieldValues;
|
|
2470
2511
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2471
2512
|
labelPosition: "top" | "right" | "left";
|
|
2472
2513
|
labelWidth: string | number;
|
|
@@ -2487,7 +2528,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2487
2528
|
submitText: string;
|
|
2488
2529
|
resetText: string;
|
|
2489
2530
|
submitLoading: boolean;
|
|
2490
|
-
footerAlign: "
|
|
2531
|
+
footerAlign: "right" | "left" | "center";
|
|
2491
2532
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2492
2533
|
style?: CSSProperties | undefined;
|
|
2493
2534
|
class?: any;
|
|
@@ -2515,10 +2556,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2515
2556
|
$nextTick: nextTick;
|
|
2516
2557
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2517
2558
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2518
|
-
modelValue: {
|
|
2519
|
-
type: PropType<FieldValues>;
|
|
2520
|
-
default: () => {};
|
|
2521
|
-
};
|
|
2522
2559
|
collapseDuration: {
|
|
2523
2560
|
type: PropType<number>;
|
|
2524
2561
|
default: undefined;
|
|
@@ -2535,6 +2572,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2535
2572
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2536
2573
|
default: boolean;
|
|
2537
2574
|
};
|
|
2575
|
+
layout: {
|
|
2576
|
+
type: PropType<"grid" | "flex">;
|
|
2577
|
+
default: string;
|
|
2578
|
+
};
|
|
2579
|
+
modelValue: {
|
|
2580
|
+
type: PropType<FieldValues>;
|
|
2581
|
+
default: () => {};
|
|
2582
|
+
};
|
|
2538
2583
|
rules: {
|
|
2539
2584
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2540
2585
|
default: () => {};
|
|
@@ -2598,7 +2643,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2598
2643
|
default: boolean;
|
|
2599
2644
|
};
|
|
2600
2645
|
footerAlign: {
|
|
2601
|
-
type: PropType<"
|
|
2646
|
+
type: PropType<"right" | "left" | "center">;
|
|
2602
2647
|
default: string;
|
|
2603
2648
|
};
|
|
2604
2649
|
cardProps: {
|
|
@@ -2617,10 +2662,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2617
2662
|
default: boolean;
|
|
2618
2663
|
};
|
|
2619
2664
|
}>> & {
|
|
2620
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2621
2665
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2622
2666
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2623
2667
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2668
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2624
2669
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2625
2670
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2626
2671
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2921,14 +2966,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2921
2966
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2922
2967
|
columns?: PlusColumn[] | undefined;
|
|
2923
2968
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2924
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2969
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2925
2970
|
readonly label: string | ComputedRef<string>;
|
|
2926
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2971
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2927
2972
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2928
|
-
readonly tooltip: string |
|
|
2973
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2929
2974
|
style?: CSSProperties | undefined;
|
|
2930
2975
|
class?: any;
|
|
2931
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2976
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2932
2977
|
style?: CSSProperties | undefined;
|
|
2933
2978
|
class?: any;
|
|
2934
2979
|
} & RecordType>>;
|
|
@@ -2995,12 +3040,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2995
3040
|
fieldInstance?: any;
|
|
2996
3041
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2997
3042
|
prop: string;
|
|
2998
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3043
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2999
3044
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3000
|
-
tooltip: string |
|
|
3045
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3001
3046
|
style?: CSSProperties | undefined;
|
|
3002
3047
|
class?: any;
|
|
3003
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3048
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3004
3049
|
style?: CSSProperties | undefined;
|
|
3005
3050
|
class?: any;
|
|
3006
3051
|
} & RecordType>>;
|
|
@@ -3029,14 +3074,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3029
3074
|
clearable: boolean;
|
|
3030
3075
|
index: number;
|
|
3031
3076
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3032
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3077
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3033
3078
|
readonly label: string | ComputedRef<string>;
|
|
3034
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3079
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3035
3080
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3036
|
-
readonly tooltip: string |
|
|
3081
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3037
3082
|
style?: CSSProperties | undefined;
|
|
3038
3083
|
class?: any;
|
|
3039
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3084
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3040
3085
|
style?: CSSProperties | undefined;
|
|
3041
3086
|
class?: any;
|
|
3042
3087
|
} & RecordType>>;
|
|
@@ -3103,12 +3148,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3103
3148
|
fieldInstance?: any;
|
|
3104
3149
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3105
3150
|
prop: string;
|
|
3106
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3151
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3107
3152
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3108
|
-
tooltip: string |
|
|
3153
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3109
3154
|
style?: CSSProperties | undefined;
|
|
3110
3155
|
class?: any;
|
|
3111
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3156
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3112
3157
|
style?: CSSProperties | undefined;
|
|
3113
3158
|
class?: any;
|
|
3114
3159
|
} & RecordType>>;
|
|
@@ -3155,14 +3200,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3155
3200
|
handleUnfold: (e: MouseEvent) => void;
|
|
3156
3201
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3157
3202
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3158
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3203
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3159
3204
|
readonly label: string | ComputedRef<string>;
|
|
3160
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3205
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3161
3206
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3162
|
-
readonly tooltip: string |
|
|
3207
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3163
3208
|
style?: CSSProperties | undefined;
|
|
3164
3209
|
class?: any;
|
|
3165
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3210
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3166
3211
|
style?: CSSProperties | undefined;
|
|
3167
3212
|
class?: any;
|
|
3168
3213
|
} & RecordType>>;
|
|
@@ -3229,12 +3274,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3229
3274
|
fieldInstance?: any;
|
|
3230
3275
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3231
3276
|
prop: string;
|
|
3232
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3277
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3233
3278
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3234
|
-
tooltip: string |
|
|
3279
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3235
3280
|
style?: CSSProperties | undefined;
|
|
3236
3281
|
class?: any;
|
|
3237
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3282
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3238
3283
|
style?: CSSProperties | undefined;
|
|
3239
3284
|
class?: any;
|
|
3240
3285
|
} & RecordType>>;
|
|
@@ -3707,9 +3752,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3707
3752
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3708
3753
|
__epPropKey: true;
|
|
3709
3754
|
};
|
|
3710
|
-
width: (
|
|
3711
|
-
height: (
|
|
3712
|
-
maxHeight: (
|
|
3755
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3756
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3757
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3713
3758
|
fit: {
|
|
3714
3759
|
type: BooleanConstructor;
|
|
3715
3760
|
default: boolean;
|
|
@@ -3733,13 +3778,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3733
3778
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3734
3779
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3735
3780
|
highlightCurrentRow: BooleanConstructor;
|
|
3736
|
-
currentRowKey: (
|
|
3781
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3737
3782
|
emptyText: StringConstructor;
|
|
3738
3783
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3739
3784
|
defaultExpandAll: BooleanConstructor;
|
|
3740
3785
|
defaultSort: PropType< Sort | undefined>;
|
|
3741
3786
|
tooltipEffect: StringConstructor;
|
|
3742
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3787
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3743
3788
|
spanMethod: PropType<((data: {
|
|
3744
3789
|
row: any;
|
|
3745
3790
|
rowIndex: number;
|
|
@@ -3783,7 +3828,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3783
3828
|
};
|
|
3784
3829
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3785
3830
|
flexible: BooleanConstructor;
|
|
3786
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3831
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3787
3832
|
}>> & {
|
|
3788
3833
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3789
3834
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3905,9 +3950,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3905
3950
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3906
3951
|
__epPropKey: true;
|
|
3907
3952
|
};
|
|
3908
|
-
width: (
|
|
3909
|
-
height: (
|
|
3910
|
-
maxHeight: (
|
|
3953
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3954
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3955
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3911
3956
|
fit: {
|
|
3912
3957
|
type: BooleanConstructor;
|
|
3913
3958
|
default: boolean;
|
|
@@ -3931,13 +3976,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3931
3976
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3932
3977
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3933
3978
|
highlightCurrentRow: BooleanConstructor;
|
|
3934
|
-
currentRowKey: (
|
|
3979
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3935
3980
|
emptyText: StringConstructor;
|
|
3936
3981
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3937
3982
|
defaultExpandAll: BooleanConstructor;
|
|
3938
3983
|
defaultSort: PropType< Sort | undefined>;
|
|
3939
3984
|
tooltipEffect: StringConstructor;
|
|
3940
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3985
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3941
3986
|
spanMethod: PropType<((data: {
|
|
3942
3987
|
row: any;
|
|
3943
3988
|
rowIndex: number;
|
|
@@ -3981,7 +4026,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3981
4026
|
};
|
|
3982
4027
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3983
4028
|
flexible: BooleanConstructor;
|
|
3984
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4029
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3985
4030
|
}>> & {
|
|
3986
4031
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3987
4032
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4040,9 +4085,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4040
4085
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4041
4086
|
__epPropKey: true;
|
|
4042
4087
|
};
|
|
4043
|
-
width: (
|
|
4044
|
-
height: (
|
|
4045
|
-
maxHeight: (
|
|
4088
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4089
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4090
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4046
4091
|
fit: {
|
|
4047
4092
|
type: BooleanConstructor;
|
|
4048
4093
|
default: boolean;
|
|
@@ -4066,13 +4111,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4066
4111
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4067
4112
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4068
4113
|
highlightCurrentRow: BooleanConstructor;
|
|
4069
|
-
currentRowKey: (
|
|
4114
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4070
4115
|
emptyText: StringConstructor;
|
|
4071
4116
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4072
4117
|
defaultExpandAll: BooleanConstructor;
|
|
4073
4118
|
defaultSort: PropType< Sort | undefined>;
|
|
4074
4119
|
tooltipEffect: StringConstructor;
|
|
4075
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4120
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4076
4121
|
spanMethod: PropType<((data: {
|
|
4077
4122
|
row: any;
|
|
4078
4123
|
rowIndex: number;
|
|
@@ -4116,7 +4161,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4116
4161
|
};
|
|
4117
4162
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4118
4163
|
flexible: BooleanConstructor;
|
|
4119
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4164
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4120
4165
|
}>> & {
|
|
4121
4166
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4122
4167
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4490,9 +4535,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4490
4535
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4491
4536
|
__epPropKey: true;
|
|
4492
4537
|
};
|
|
4493
|
-
width: (
|
|
4494
|
-
height: (
|
|
4495
|
-
maxHeight: (
|
|
4538
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4539
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4540
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4496
4541
|
fit: {
|
|
4497
4542
|
type: BooleanConstructor;
|
|
4498
4543
|
default: boolean;
|
|
@@ -4516,13 +4561,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4516
4561
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4517
4562
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4518
4563
|
highlightCurrentRow: BooleanConstructor;
|
|
4519
|
-
currentRowKey: (
|
|
4564
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4520
4565
|
emptyText: StringConstructor;
|
|
4521
4566
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4522
4567
|
defaultExpandAll: BooleanConstructor;
|
|
4523
4568
|
defaultSort: PropType< Sort | undefined>;
|
|
4524
4569
|
tooltipEffect: StringConstructor;
|
|
4525
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4570
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4526
4571
|
spanMethod: PropType<((data: {
|
|
4527
4572
|
row: any;
|
|
4528
4573
|
rowIndex: number;
|
|
@@ -4566,7 +4611,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4566
4611
|
};
|
|
4567
4612
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4568
4613
|
flexible: BooleanConstructor;
|
|
4569
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4614
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4570
4615
|
}>> & {
|
|
4571
4616
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4572
4617
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4688,9 +4733,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4688
4733
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4689
4734
|
__epPropKey: true;
|
|
4690
4735
|
};
|
|
4691
|
-
width: (
|
|
4692
|
-
height: (
|
|
4693
|
-
maxHeight: (
|
|
4736
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4737
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4738
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4694
4739
|
fit: {
|
|
4695
4740
|
type: BooleanConstructor;
|
|
4696
4741
|
default: boolean;
|
|
@@ -4714,13 +4759,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4714
4759
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4715
4760
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4716
4761
|
highlightCurrentRow: BooleanConstructor;
|
|
4717
|
-
currentRowKey: (
|
|
4762
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4718
4763
|
emptyText: StringConstructor;
|
|
4719
4764
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4720
4765
|
defaultExpandAll: BooleanConstructor;
|
|
4721
4766
|
defaultSort: PropType< Sort | undefined>;
|
|
4722
4767
|
tooltipEffect: StringConstructor;
|
|
4723
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4768
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4724
4769
|
spanMethod: PropType<((data: {
|
|
4725
4770
|
row: any;
|
|
4726
4771
|
rowIndex: number;
|
|
@@ -4764,7 +4809,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4764
4809
|
};
|
|
4765
4810
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4766
4811
|
flexible: BooleanConstructor;
|
|
4767
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4812
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4768
4813
|
}>> & {
|
|
4769
4814
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4770
4815
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4823,9 +4868,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4823
4868
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4824
4869
|
__epPropKey: true;
|
|
4825
4870
|
};
|
|
4826
|
-
width: (
|
|
4827
|
-
height: (
|
|
4828
|
-
maxHeight: (
|
|
4871
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4872
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4873
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4829
4874
|
fit: {
|
|
4830
4875
|
type: BooleanConstructor;
|
|
4831
4876
|
default: boolean;
|
|
@@ -4849,13 +4894,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4849
4894
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4850
4895
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4851
4896
|
highlightCurrentRow: BooleanConstructor;
|
|
4852
|
-
currentRowKey: (
|
|
4897
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4853
4898
|
emptyText: StringConstructor;
|
|
4854
4899
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4855
4900
|
defaultExpandAll: BooleanConstructor;
|
|
4856
4901
|
defaultSort: PropType< Sort | undefined>;
|
|
4857
4902
|
tooltipEffect: StringConstructor;
|
|
4858
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4903
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4859
4904
|
spanMethod: PropType<((data: {
|
|
4860
4905
|
row: any;
|
|
4861
4906
|
rowIndex: number;
|
|
@@ -4899,7 +4944,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4899
4944
|
};
|
|
4900
4945
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4901
4946
|
flexible: BooleanConstructor;
|
|
4902
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4947
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4903
4948
|
}>> & {
|
|
4904
4949
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4905
4950
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5122,7 +5167,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5122
5167
|
columns: PlusColumn[];
|
|
5123
5168
|
immediate: boolean;
|
|
5124
5169
|
params: RecordType;
|
|
5125
|
-
pagination: false | Omit<PlusPaginationProps, "
|
|
5170
|
+
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5126
5171
|
columnsEmptyText: string;
|
|
5127
5172
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
5128
5173
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
@@ -5144,14 +5189,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5144
5189
|
};
|
|
5145
5190
|
searchSlot: boolean;
|
|
5146
5191
|
}, {}>, Partial<Record<never, (_: {
|
|
5147
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5148
5193
|
readonly label: string | ComputedRef<string>;
|
|
5149
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5194
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5150
5195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5151
|
-
readonly tooltip: string |
|
|
5196
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5152
5197
|
style?: CSSProperties | undefined;
|
|
5153
5198
|
class?: any;
|
|
5154
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5199
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5155
5200
|
style?: CSSProperties | undefined;
|
|
5156
5201
|
class?: any;
|
|
5157
5202
|
} & RecordType>>;
|
|
@@ -5218,12 +5263,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5218
5263
|
fieldInstance?: any;
|
|
5219
5264
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5220
5265
|
prop: string;
|
|
5221
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5266
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5222
5267
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5223
|
-
tooltip: string |
|
|
5268
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5224
5269
|
style?: CSSProperties | undefined;
|
|
5225
5270
|
class?: any;
|
|
5226
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5271
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5227
5272
|
style?: CSSProperties | undefined;
|
|
5228
5273
|
class?: any;
|
|
5229
5274
|
} & RecordType>>;
|