yc-pro-components 0.0.79 → 0.0.80
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 +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- 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 +68 -68
- package/es/components/drawer-form/src/index.vue.d.ts +16 -16
- package/es/components/form/index.d.ts +71 -71
- package/es/components/form/src/form-content.vue.d.ts +21 -21
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +69 -69
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- 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 +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +533 -533
- package/es/components/page/src/index.vue.d.ts +181 -181
- 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 +243 -243
- package/es/components/search/src/index.vue.d.ts +73 -73
- 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/src/table-action-bar.vue.d.ts +1 -1
- 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 +361 -361
- 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 +244 -244
- package/es/index.css +9 -9
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +2 -2
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +2 -2
- 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 +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- 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 +68 -68
- package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
- package/lib/components/form/index.d.ts +71 -71
- package/lib/components/form/src/form-content.vue.d.ts +21 -21
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +69 -69
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- 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 +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +533 -533
- package/lib/components/page/src/index.vue.d.ts +181 -181
- 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 +243 -243
- package/lib/components/search/src/index.vue.d.ts +73 -73
- 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/src/table-action-bar.vue.d.ts +1 -1
- 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 +361 -361
- 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 +244 -244
- package/lib/index.css +8 -8
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +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-display-item.css +1 -1
- package/theme-chalk/src/display-item.scss +5 -0
|
@@ -111,7 +111,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
111
111
|
columns: PlusColumn[];
|
|
112
112
|
immediate: boolean;
|
|
113
113
|
params: RecordType;
|
|
114
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
114
|
+
pagination: false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
115
115
|
columnsEmptyText: string;
|
|
116
116
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
117
117
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -148,7 +148,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
148
148
|
total: number;
|
|
149
149
|
}>;
|
|
150
150
|
readonly params: RecordType;
|
|
151
|
-
readonly pagination: false | Omit< PlusPaginationProps, "
|
|
151
|
+
readonly pagination: false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
152
152
|
readonly columnsEmptyText: string;
|
|
153
153
|
readonly isCard: boolean;
|
|
154
154
|
readonly searchCardProps: Partial< Mutable<CardProps> & {
|
|
@@ -210,7 +210,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
210
210
|
default: () => {};
|
|
211
211
|
};
|
|
212
212
|
pagination: {
|
|
213
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
213
|
+
type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">>;
|
|
214
214
|
default: () => {};
|
|
215
215
|
};
|
|
216
216
|
columnsEmptyText: {
|
|
@@ -328,7 +328,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
328
328
|
default: () => {};
|
|
329
329
|
};
|
|
330
330
|
pagination: {
|
|
331
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
331
|
+
type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">>;
|
|
332
332
|
default: () => {};
|
|
333
333
|
};
|
|
334
334
|
columnsEmptyText: {
|
|
@@ -401,10 +401,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
401
401
|
$: ComponentInternalInstance;
|
|
402
402
|
$data: {};
|
|
403
403
|
$props: Partial<{
|
|
404
|
-
|
|
405
|
-
layout: "grid" | "flex";
|
|
404
|
+
labelPosition: "left" | "right" | "top";
|
|
406
405
|
modelValue: FieldValues;
|
|
407
|
-
|
|
406
|
+
columns: PlusColumn[];
|
|
407
|
+
layout: "flex" | "grid";
|
|
408
408
|
inline: boolean;
|
|
409
409
|
showNumber: number;
|
|
410
410
|
defaultValues: FieldValues;
|
|
@@ -429,9 +429,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
429
429
|
searchIcon: Component | null;
|
|
430
430
|
resetIcon: Component | null;
|
|
431
431
|
}> & Omit<{
|
|
432
|
-
readonly columns: PlusColumn[];
|
|
433
|
-
readonly layout: "grid" | "flex";
|
|
434
432
|
readonly modelValue: FieldValues;
|
|
433
|
+
readonly columns: PlusColumn[];
|
|
434
|
+
readonly layout: "flex" | "grid";
|
|
435
435
|
readonly inline: boolean;
|
|
436
436
|
readonly showNumber: number;
|
|
437
437
|
readonly defaultValues: FieldValues;
|
|
@@ -453,31 +453,31 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
453
453
|
readonly expandText: string;
|
|
454
454
|
readonly searchLoading: boolean;
|
|
455
455
|
readonly needValidate: boolean;
|
|
456
|
-
readonly labelPosition?: "
|
|
456
|
+
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
457
457
|
readonly searchIcon?: Component | null | undefined;
|
|
458
458
|
readonly resetIcon?: Component | null | undefined;
|
|
459
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
459
460
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
460
461
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
461
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
462
462
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
463
463
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
464
464
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
465
|
+
labelPosition: {
|
|
466
|
+
type: PropType<"left" | "right" | "top">;
|
|
467
|
+
default: undefined;
|
|
468
|
+
};
|
|
469
|
+
modelValue: {
|
|
470
|
+
type: PropType<FieldValues>;
|
|
471
|
+
default: () => {};
|
|
472
|
+
};
|
|
465
473
|
columns: {
|
|
466
474
|
type: PropType<PlusColumn[]>;
|
|
467
475
|
default: () => never[];
|
|
468
476
|
};
|
|
469
477
|
layout: {
|
|
470
|
-
type: PropType<"
|
|
478
|
+
type: PropType<"flex" | "grid">;
|
|
471
479
|
default: "grid";
|
|
472
480
|
};
|
|
473
|
-
modelValue: {
|
|
474
|
-
type: PropType<FieldValues>;
|
|
475
|
-
default: () => {};
|
|
476
|
-
};
|
|
477
|
-
labelPosition: {
|
|
478
|
-
type: PropType<"top" | "right" | "left">;
|
|
479
|
-
default: undefined;
|
|
480
|
-
};
|
|
481
481
|
inline: {
|
|
482
482
|
type: PropType<boolean>;
|
|
483
483
|
default: boolean;
|
|
@@ -561,12 +561,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
561
561
|
default: undefined;
|
|
562
562
|
};
|
|
563
563
|
}>> & {
|
|
564
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
564
565
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
565
566
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
566
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
567
567
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
568
568
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
569
|
-
}, "
|
|
569
|
+
}, "labelPosition" | "modelValue" | "columns" | "layout" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
570
570
|
$attrs: {
|
|
571
571
|
[x: string]: unknown;
|
|
572
572
|
};
|
|
@@ -578,25 +578,25 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
578
578
|
}>;
|
|
579
579
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
580
580
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
581
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
581
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
582
582
|
$el: any;
|
|
583
583
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
584
|
+
labelPosition: {
|
|
585
|
+
type: PropType<"left" | "right" | "top">;
|
|
586
|
+
default: undefined;
|
|
587
|
+
};
|
|
588
|
+
modelValue: {
|
|
589
|
+
type: PropType<FieldValues>;
|
|
590
|
+
default: () => {};
|
|
591
|
+
};
|
|
584
592
|
columns: {
|
|
585
593
|
type: PropType<PlusColumn[]>;
|
|
586
594
|
default: () => never[];
|
|
587
595
|
};
|
|
588
596
|
layout: {
|
|
589
|
-
type: PropType<"
|
|
597
|
+
type: PropType<"flex" | "grid">;
|
|
590
598
|
default: "grid";
|
|
591
599
|
};
|
|
592
|
-
modelValue: {
|
|
593
|
-
type: PropType<FieldValues>;
|
|
594
|
-
default: () => {};
|
|
595
|
-
};
|
|
596
|
-
labelPosition: {
|
|
597
|
-
type: PropType<"top" | "right" | "left">;
|
|
598
|
-
default: undefined;
|
|
599
|
-
};
|
|
600
600
|
inline: {
|
|
601
601
|
type: PropType<boolean>;
|
|
602
602
|
default: boolean;
|
|
@@ -680,9 +680,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
680
680
|
default: undefined;
|
|
681
681
|
};
|
|
682
682
|
}>> & {
|
|
683
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
683
684
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
684
685
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
685
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
686
686
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
687
687
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
688
688
|
}, {
|
|
@@ -690,14 +690,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
690
690
|
$: ComponentInternalInstance;
|
|
691
691
|
$data: {};
|
|
692
692
|
$props: Partial<{
|
|
693
|
+
labelPosition: "left" | "right" | "top";
|
|
694
|
+
modelValue: FieldValues;
|
|
693
695
|
collapseDuration: number;
|
|
694
696
|
collapseTransition: boolean;
|
|
695
697
|
columns: PlusColumn[];
|
|
696
698
|
group: false | PlusFormGroupRow[];
|
|
697
|
-
layout: "
|
|
698
|
-
modelValue: FieldValues;
|
|
699
|
+
layout: "flex" | "grid";
|
|
699
700
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
700
|
-
labelPosition: "top" | "right" | "left";
|
|
701
701
|
labelWidth: string | number;
|
|
702
702
|
labelSuffix: string;
|
|
703
703
|
defaultValues: FieldValues;
|
|
@@ -716,7 +716,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
716
716
|
submitText: string;
|
|
717
717
|
resetText: string;
|
|
718
718
|
submitLoading: boolean;
|
|
719
|
-
footerAlign: "
|
|
719
|
+
footerAlign: "left" | "right" | "center";
|
|
720
720
|
cardProps: Partial< Mutable<CardProps> & {
|
|
721
721
|
style?: CSSProperties | undefined;
|
|
722
722
|
class?: any;
|
|
@@ -724,11 +724,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
724
724
|
prevent: boolean;
|
|
725
725
|
clearable: boolean;
|
|
726
726
|
}> & Omit<{
|
|
727
|
+
readonly labelPosition: "left" | "right" | "top";
|
|
728
|
+
readonly modelValue: FieldValues;
|
|
727
729
|
readonly columns: PlusColumn[];
|
|
728
730
|
readonly group: false | PlusFormGroupRow[];
|
|
729
|
-
readonly modelValue: FieldValues;
|
|
730
731
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
731
|
-
readonly labelPosition: "top" | "right" | "left";
|
|
732
732
|
readonly labelWidth: string | number;
|
|
733
733
|
readonly labelSuffix: string;
|
|
734
734
|
readonly defaultValues: FieldValues;
|
|
@@ -747,7 +747,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
747
747
|
readonly submitText: string;
|
|
748
748
|
readonly resetText: string;
|
|
749
749
|
readonly submitLoading: boolean;
|
|
750
|
-
readonly footerAlign: "
|
|
750
|
+
readonly footerAlign: "left" | "right" | "center";
|
|
751
751
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
752
752
|
style?: CSSProperties | undefined;
|
|
753
753
|
class?: any;
|
|
@@ -756,14 +756,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
756
756
|
readonly clearable: boolean;
|
|
757
757
|
readonly collapseDuration?: number | undefined;
|
|
758
758
|
readonly collapseTransition?: boolean | undefined;
|
|
759
|
-
readonly layout?: "
|
|
759
|
+
readonly layout?: "flex" | "grid" | undefined;
|
|
760
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
760
761
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
761
762
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
762
763
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
763
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
764
764
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
765
765
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
766
766
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
767
|
+
labelPosition: {
|
|
768
|
+
type: PropType<"left" | "right" | "top">;
|
|
769
|
+
default: string;
|
|
770
|
+
};
|
|
771
|
+
modelValue: {
|
|
772
|
+
type: PropType<FieldValues>;
|
|
773
|
+
default: () => {};
|
|
774
|
+
};
|
|
767
775
|
collapseDuration: {
|
|
768
776
|
type: PropType<number>;
|
|
769
777
|
default: undefined;
|
|
@@ -781,21 +789,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
781
789
|
default: boolean;
|
|
782
790
|
};
|
|
783
791
|
layout: {
|
|
784
|
-
type: PropType<"
|
|
792
|
+
type: PropType<"flex" | "grid">;
|
|
785
793
|
default: undefined;
|
|
786
794
|
};
|
|
787
|
-
modelValue: {
|
|
788
|
-
type: PropType<FieldValues>;
|
|
789
|
-
default: () => {};
|
|
790
|
-
};
|
|
791
795
|
rules: {
|
|
792
796
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
793
797
|
default: () => {};
|
|
794
798
|
};
|
|
795
|
-
labelPosition: {
|
|
796
|
-
type: PropType<"top" | "right" | "left">;
|
|
797
|
-
default: string;
|
|
798
|
-
};
|
|
799
799
|
labelWidth: {
|
|
800
800
|
type: PropType<string | number>;
|
|
801
801
|
default: string;
|
|
@@ -851,7 +851,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
851
851
|
default: boolean;
|
|
852
852
|
};
|
|
853
853
|
footerAlign: {
|
|
854
|
-
type: PropType<"
|
|
854
|
+
type: PropType<"left" | "right" | "center">;
|
|
855
855
|
default: string;
|
|
856
856
|
};
|
|
857
857
|
cardProps: {
|
|
@@ -870,13 +870,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
870
870
|
default: boolean;
|
|
871
871
|
};
|
|
872
872
|
}>> & {
|
|
873
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
873
874
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
874
875
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
875
876
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
876
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
877
877
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
878
878
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
879
|
-
}, "
|
|
879
|
+
}, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
880
880
|
$attrs: {
|
|
881
881
|
[x: string]: unknown;
|
|
882
882
|
};
|
|
@@ -888,9 +888,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
888
888
|
}>;
|
|
889
889
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
890
890
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
891
|
-
$emit: ((event: "
|
|
891
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
892
892
|
$el: any;
|
|
893
893
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
894
|
+
labelPosition: {
|
|
895
|
+
type: PropType<"left" | "right" | "top">;
|
|
896
|
+
default: string;
|
|
897
|
+
};
|
|
898
|
+
modelValue: {
|
|
899
|
+
type: PropType<FieldValues>;
|
|
900
|
+
default: () => {};
|
|
901
|
+
};
|
|
894
902
|
collapseDuration: {
|
|
895
903
|
type: PropType<number>;
|
|
896
904
|
default: undefined;
|
|
@@ -908,21 +916,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
908
916
|
default: boolean;
|
|
909
917
|
};
|
|
910
918
|
layout: {
|
|
911
|
-
type: PropType<"
|
|
919
|
+
type: PropType<"flex" | "grid">;
|
|
912
920
|
default: undefined;
|
|
913
921
|
};
|
|
914
|
-
modelValue: {
|
|
915
|
-
type: PropType<FieldValues>;
|
|
916
|
-
default: () => {};
|
|
917
|
-
};
|
|
918
922
|
rules: {
|
|
919
923
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
920
924
|
default: () => {};
|
|
921
925
|
};
|
|
922
|
-
labelPosition: {
|
|
923
|
-
type: PropType<"top" | "right" | "left">;
|
|
924
|
-
default: string;
|
|
925
|
-
};
|
|
926
926
|
labelWidth: {
|
|
927
927
|
type: PropType<string | number>;
|
|
928
928
|
default: string;
|
|
@@ -978,7 +978,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
978
978
|
default: boolean;
|
|
979
979
|
};
|
|
980
980
|
footerAlign: {
|
|
981
|
-
type: PropType<"
|
|
981
|
+
type: PropType<"left" | "right" | "center">;
|
|
982
982
|
default: string;
|
|
983
983
|
};
|
|
984
984
|
cardProps: {
|
|
@@ -997,10 +997,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
997
997
|
default: boolean;
|
|
998
998
|
};
|
|
999
999
|
}>> & {
|
|
1000
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1000
1001
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1001
1002
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1002
1003
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1003
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1004
1004
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1005
1005
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1006
1006
|
}, {
|
|
@@ -1015,14 +1015,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1015
1015
|
submitError: (errors: unknown) => void;
|
|
1016
1016
|
validate: (...args: any[]) => void;
|
|
1017
1017
|
}, string, {
|
|
1018
|
+
labelPosition: "left" | "right" | "top";
|
|
1019
|
+
modelValue: FieldValues;
|
|
1018
1020
|
collapseDuration: number;
|
|
1019
1021
|
collapseTransition: boolean;
|
|
1020
1022
|
columns: PlusColumn[];
|
|
1021
1023
|
group: false | PlusFormGroupRow[];
|
|
1022
|
-
layout: "
|
|
1023
|
-
modelValue: FieldValues;
|
|
1024
|
+
layout: "flex" | "grid";
|
|
1024
1025
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1025
|
-
labelPosition: "top" | "right" | "left";
|
|
1026
1026
|
labelWidth: string | number;
|
|
1027
1027
|
labelSuffix: string;
|
|
1028
1028
|
defaultValues: FieldValues;
|
|
@@ -1041,7 +1041,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1041
1041
|
submitText: string;
|
|
1042
1042
|
resetText: string;
|
|
1043
1043
|
submitLoading: boolean;
|
|
1044
|
-
footerAlign: "
|
|
1044
|
+
footerAlign: "left" | "right" | "center";
|
|
1045
1045
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1046
1046
|
style?: CSSProperties | undefined;
|
|
1047
1047
|
class?: any;
|
|
@@ -1069,6 +1069,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1069
1069
|
$nextTick: typeof nextTick;
|
|
1070
1070
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1071
1071
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1072
|
+
labelPosition: {
|
|
1073
|
+
type: PropType<"left" | "right" | "top">;
|
|
1074
|
+
default: string;
|
|
1075
|
+
};
|
|
1076
|
+
modelValue: {
|
|
1077
|
+
type: PropType<FieldValues>;
|
|
1078
|
+
default: () => {};
|
|
1079
|
+
};
|
|
1072
1080
|
collapseDuration: {
|
|
1073
1081
|
type: PropType<number>;
|
|
1074
1082
|
default: undefined;
|
|
@@ -1086,21 +1094,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1086
1094
|
default: boolean;
|
|
1087
1095
|
};
|
|
1088
1096
|
layout: {
|
|
1089
|
-
type: PropType<"
|
|
1097
|
+
type: PropType<"flex" | "grid">;
|
|
1090
1098
|
default: undefined;
|
|
1091
1099
|
};
|
|
1092
|
-
modelValue: {
|
|
1093
|
-
type: PropType<FieldValues>;
|
|
1094
|
-
default: () => {};
|
|
1095
|
-
};
|
|
1096
1100
|
rules: {
|
|
1097
1101
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1098
1102
|
default: () => {};
|
|
1099
1103
|
};
|
|
1100
|
-
labelPosition: {
|
|
1101
|
-
type: PropType<"top" | "right" | "left">;
|
|
1102
|
-
default: string;
|
|
1103
|
-
};
|
|
1104
1104
|
labelWidth: {
|
|
1105
1105
|
type: PropType<string | number>;
|
|
1106
1106
|
default: string;
|
|
@@ -1156,7 +1156,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1156
1156
|
default: boolean;
|
|
1157
1157
|
};
|
|
1158
1158
|
footerAlign: {
|
|
1159
|
-
type: PropType<"
|
|
1159
|
+
type: PropType<"left" | "right" | "center">;
|
|
1160
1160
|
default: string;
|
|
1161
1161
|
};
|
|
1162
1162
|
cardProps: {
|
|
@@ -1175,10 +1175,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1175
1175
|
default: boolean;
|
|
1176
1176
|
};
|
|
1177
1177
|
}>> & {
|
|
1178
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1178
1179
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1179
1180
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1180
1181
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1181
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1182
1182
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1183
1183
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1184
1184
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1198,14 +1198,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1198
1198
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1199
1199
|
columns?: PlusColumn[] | undefined;
|
|
1200
1200
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1201
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1201
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1202
1202
|
readonly label: string | ComputedRef<string>;
|
|
1203
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1203
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1204
1204
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1205
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1205
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1206
1206
|
style?: CSSProperties | undefined;
|
|
1207
1207
|
class?: any;
|
|
1208
|
-
} & RecordType> | ComputedRef<
|
|
1208
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1209
1209
|
style?: CSSProperties | undefined;
|
|
1210
1210
|
class?: any;
|
|
1211
1211
|
} & RecordType>>;
|
|
@@ -1276,12 +1276,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1276
1276
|
fieldInstance?: any;
|
|
1277
1277
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1278
1278
|
prop: string;
|
|
1279
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1279
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1280
1280
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1281
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1281
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1282
1282
|
style?: CSSProperties | undefined;
|
|
1283
1283
|
class?: any;
|
|
1284
|
-
} & RecordType> | ComputedRef<
|
|
1284
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1285
1285
|
style?: CSSProperties | undefined;
|
|
1286
1286
|
class?: any;
|
|
1287
1287
|
} & RecordType>>;
|
|
@@ -1310,14 +1310,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1310
1310
|
clearable: boolean;
|
|
1311
1311
|
index: number;
|
|
1312
1312
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1313
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1313
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1314
1314
|
readonly label: string | ComputedRef<string>;
|
|
1315
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1315
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1316
1316
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1317
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1317
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1318
1318
|
style?: CSSProperties | undefined;
|
|
1319
1319
|
class?: any;
|
|
1320
|
-
} & RecordType> | ComputedRef<
|
|
1320
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1321
1321
|
style?: CSSProperties | undefined;
|
|
1322
1322
|
class?: any;
|
|
1323
1323
|
} & RecordType>>;
|
|
@@ -1388,12 +1388,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1388
1388
|
fieldInstance?: any;
|
|
1389
1389
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1390
1390
|
prop: string;
|
|
1391
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1391
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1392
1392
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1393
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1393
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1394
1394
|
style?: CSSProperties | undefined;
|
|
1395
1395
|
class?: any;
|
|
1396
|
-
} & RecordType> | ComputedRef<
|
|
1396
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1397
1397
|
style?: CSSProperties | undefined;
|
|
1398
1398
|
class?: any;
|
|
1399
1399
|
} & RecordType>>;
|
|
@@ -1445,10 +1445,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1445
1445
|
reset: (values: FieldValues) => void;
|
|
1446
1446
|
collapse: (isShowUnfold: boolean) => void;
|
|
1447
1447
|
}, string, {
|
|
1448
|
-
|
|
1449
|
-
layout: "grid" | "flex";
|
|
1448
|
+
labelPosition: "left" | "right" | "top";
|
|
1450
1449
|
modelValue: FieldValues;
|
|
1451
|
-
|
|
1450
|
+
columns: PlusColumn[];
|
|
1451
|
+
layout: "flex" | "grid";
|
|
1452
1452
|
inline: boolean;
|
|
1453
1453
|
showNumber: number;
|
|
1454
1454
|
defaultValues: FieldValues;
|
|
@@ -1493,22 +1493,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1493
1493
|
$nextTick: typeof nextTick;
|
|
1494
1494
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1495
1495
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1496
|
+
labelPosition: {
|
|
1497
|
+
type: PropType<"left" | "right" | "top">;
|
|
1498
|
+
default: undefined;
|
|
1499
|
+
};
|
|
1500
|
+
modelValue: {
|
|
1501
|
+
type: PropType<FieldValues>;
|
|
1502
|
+
default: () => {};
|
|
1503
|
+
};
|
|
1496
1504
|
columns: {
|
|
1497
1505
|
type: PropType<PlusColumn[]>;
|
|
1498
1506
|
default: () => never[];
|
|
1499
1507
|
};
|
|
1500
1508
|
layout: {
|
|
1501
|
-
type: PropType<"
|
|
1509
|
+
type: PropType<"flex" | "grid">;
|
|
1502
1510
|
default: "grid";
|
|
1503
1511
|
};
|
|
1504
|
-
modelValue: {
|
|
1505
|
-
type: PropType<FieldValues>;
|
|
1506
|
-
default: () => {};
|
|
1507
|
-
};
|
|
1508
|
-
labelPosition: {
|
|
1509
|
-
type: PropType<"top" | "right" | "left">;
|
|
1510
|
-
default: undefined;
|
|
1511
|
-
};
|
|
1512
1512
|
inline: {
|
|
1513
1513
|
type: PropType<boolean>;
|
|
1514
1514
|
default: boolean;
|
|
@@ -1592,9 +1592,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1592
1592
|
default: undefined;
|
|
1593
1593
|
};
|
|
1594
1594
|
}>> & {
|
|
1595
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1595
1596
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1596
1597
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1597
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1598
1598
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1599
1599
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1600
1600
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1602,14 +1602,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1602
1602
|
$: ComponentInternalInstance;
|
|
1603
1603
|
$data: {};
|
|
1604
1604
|
$props: Partial<{
|
|
1605
|
+
labelPosition: "left" | "right" | "top";
|
|
1606
|
+
modelValue: FieldValues;
|
|
1605
1607
|
collapseDuration: number;
|
|
1606
1608
|
collapseTransition: boolean;
|
|
1607
1609
|
columns: PlusColumn[];
|
|
1608
1610
|
group: false | PlusFormGroupRow[];
|
|
1609
|
-
layout: "
|
|
1610
|
-
modelValue: FieldValues;
|
|
1611
|
+
layout: "flex" | "grid";
|
|
1611
1612
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1612
|
-
labelPosition: "top" | "right" | "left";
|
|
1613
1613
|
labelWidth: string | number;
|
|
1614
1614
|
labelSuffix: string;
|
|
1615
1615
|
defaultValues: FieldValues;
|
|
@@ -1628,7 +1628,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1628
1628
|
submitText: string;
|
|
1629
1629
|
resetText: string;
|
|
1630
1630
|
submitLoading: boolean;
|
|
1631
|
-
footerAlign: "
|
|
1631
|
+
footerAlign: "left" | "right" | "center";
|
|
1632
1632
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1633
1633
|
style?: CSSProperties | undefined;
|
|
1634
1634
|
class?: any;
|
|
@@ -1636,11 +1636,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1636
1636
|
prevent: boolean;
|
|
1637
1637
|
clearable: boolean;
|
|
1638
1638
|
}> & Omit<{
|
|
1639
|
+
readonly labelPosition: "left" | "right" | "top";
|
|
1640
|
+
readonly modelValue: FieldValues;
|
|
1639
1641
|
readonly columns: PlusColumn[];
|
|
1640
1642
|
readonly group: false | PlusFormGroupRow[];
|
|
1641
|
-
readonly modelValue: FieldValues;
|
|
1642
1643
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1643
|
-
readonly labelPosition: "top" | "right" | "left";
|
|
1644
1644
|
readonly labelWidth: string | number;
|
|
1645
1645
|
readonly labelSuffix: string;
|
|
1646
1646
|
readonly defaultValues: FieldValues;
|
|
@@ -1659,7 +1659,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1659
1659
|
readonly submitText: string;
|
|
1660
1660
|
readonly resetText: string;
|
|
1661
1661
|
readonly submitLoading: boolean;
|
|
1662
|
-
readonly footerAlign: "
|
|
1662
|
+
readonly footerAlign: "left" | "right" | "center";
|
|
1663
1663
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1664
1664
|
style?: CSSProperties | undefined;
|
|
1665
1665
|
class?: any;
|
|
@@ -1668,14 +1668,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1668
1668
|
readonly clearable: boolean;
|
|
1669
1669
|
readonly collapseDuration?: number | undefined;
|
|
1670
1670
|
readonly collapseTransition?: boolean | undefined;
|
|
1671
|
-
readonly layout?: "
|
|
1671
|
+
readonly layout?: "flex" | "grid" | undefined;
|
|
1672
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1672
1673
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1673
1674
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1674
1675
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1675
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1676
1676
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1677
1677
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1678
1678
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1679
|
+
labelPosition: {
|
|
1680
|
+
type: PropType<"left" | "right" | "top">;
|
|
1681
|
+
default: string;
|
|
1682
|
+
};
|
|
1683
|
+
modelValue: {
|
|
1684
|
+
type: PropType<FieldValues>;
|
|
1685
|
+
default: () => {};
|
|
1686
|
+
};
|
|
1679
1687
|
collapseDuration: {
|
|
1680
1688
|
type: PropType<number>;
|
|
1681
1689
|
default: undefined;
|
|
@@ -1693,21 +1701,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1693
1701
|
default: boolean;
|
|
1694
1702
|
};
|
|
1695
1703
|
layout: {
|
|
1696
|
-
type: PropType<"
|
|
1704
|
+
type: PropType<"flex" | "grid">;
|
|
1697
1705
|
default: undefined;
|
|
1698
1706
|
};
|
|
1699
|
-
modelValue: {
|
|
1700
|
-
type: PropType<FieldValues>;
|
|
1701
|
-
default: () => {};
|
|
1702
|
-
};
|
|
1703
1707
|
rules: {
|
|
1704
1708
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1705
1709
|
default: () => {};
|
|
1706
1710
|
};
|
|
1707
|
-
labelPosition: {
|
|
1708
|
-
type: PropType<"top" | "right" | "left">;
|
|
1709
|
-
default: string;
|
|
1710
|
-
};
|
|
1711
1711
|
labelWidth: {
|
|
1712
1712
|
type: PropType<string | number>;
|
|
1713
1713
|
default: string;
|
|
@@ -1763,7 +1763,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1763
1763
|
default: boolean;
|
|
1764
1764
|
};
|
|
1765
1765
|
footerAlign: {
|
|
1766
|
-
type: PropType<"
|
|
1766
|
+
type: PropType<"left" | "right" | "center">;
|
|
1767
1767
|
default: string;
|
|
1768
1768
|
};
|
|
1769
1769
|
cardProps: {
|
|
@@ -1782,13 +1782,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1782
1782
|
default: boolean;
|
|
1783
1783
|
};
|
|
1784
1784
|
}>> & {
|
|
1785
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1785
1786
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1786
1787
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1787
1788
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1788
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1789
1789
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1790
1790
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1791
|
-
}, "
|
|
1791
|
+
}, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1792
1792
|
$attrs: {
|
|
1793
1793
|
[x: string]: unknown;
|
|
1794
1794
|
};
|
|
@@ -1800,9 +1800,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1800
1800
|
}>;
|
|
1801
1801
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1802
1802
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1803
|
-
$emit: ((event: "
|
|
1803
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1804
1804
|
$el: any;
|
|
1805
1805
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1806
|
+
labelPosition: {
|
|
1807
|
+
type: PropType<"left" | "right" | "top">;
|
|
1808
|
+
default: string;
|
|
1809
|
+
};
|
|
1810
|
+
modelValue: {
|
|
1811
|
+
type: PropType<FieldValues>;
|
|
1812
|
+
default: () => {};
|
|
1813
|
+
};
|
|
1806
1814
|
collapseDuration: {
|
|
1807
1815
|
type: PropType<number>;
|
|
1808
1816
|
default: undefined;
|
|
@@ -1820,21 +1828,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1820
1828
|
default: boolean;
|
|
1821
1829
|
};
|
|
1822
1830
|
layout: {
|
|
1823
|
-
type: PropType<"
|
|
1831
|
+
type: PropType<"flex" | "grid">;
|
|
1824
1832
|
default: undefined;
|
|
1825
1833
|
};
|
|
1826
|
-
modelValue: {
|
|
1827
|
-
type: PropType<FieldValues>;
|
|
1828
|
-
default: () => {};
|
|
1829
|
-
};
|
|
1830
1834
|
rules: {
|
|
1831
1835
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1832
1836
|
default: () => {};
|
|
1833
1837
|
};
|
|
1834
|
-
labelPosition: {
|
|
1835
|
-
type: PropType<"top" | "right" | "left">;
|
|
1836
|
-
default: string;
|
|
1837
|
-
};
|
|
1838
1838
|
labelWidth: {
|
|
1839
1839
|
type: PropType<string | number>;
|
|
1840
1840
|
default: string;
|
|
@@ -1890,7 +1890,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1890
1890
|
default: boolean;
|
|
1891
1891
|
};
|
|
1892
1892
|
footerAlign: {
|
|
1893
|
-
type: PropType<"
|
|
1893
|
+
type: PropType<"left" | "right" | "center">;
|
|
1894
1894
|
default: string;
|
|
1895
1895
|
};
|
|
1896
1896
|
cardProps: {
|
|
@@ -1909,10 +1909,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1909
1909
|
default: boolean;
|
|
1910
1910
|
};
|
|
1911
1911
|
}>> & {
|
|
1912
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1912
1913
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1913
1914
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1914
1915
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1915
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1916
1916
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1917
1917
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1918
1918
|
}, {
|
|
@@ -1927,14 +1927,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1927
1927
|
submitError: (errors: unknown) => void;
|
|
1928
1928
|
validate: (...args: any[]) => void;
|
|
1929
1929
|
}, string, {
|
|
1930
|
+
labelPosition: "left" | "right" | "top";
|
|
1931
|
+
modelValue: FieldValues;
|
|
1930
1932
|
collapseDuration: number;
|
|
1931
1933
|
collapseTransition: boolean;
|
|
1932
1934
|
columns: PlusColumn[];
|
|
1933
1935
|
group: false | PlusFormGroupRow[];
|
|
1934
|
-
layout: "
|
|
1935
|
-
modelValue: FieldValues;
|
|
1936
|
+
layout: "flex" | "grid";
|
|
1936
1937
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1937
|
-
labelPosition: "top" | "right" | "left";
|
|
1938
1938
|
labelWidth: string | number;
|
|
1939
1939
|
labelSuffix: string;
|
|
1940
1940
|
defaultValues: FieldValues;
|
|
@@ -1953,7 +1953,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1953
1953
|
submitText: string;
|
|
1954
1954
|
resetText: string;
|
|
1955
1955
|
submitLoading: boolean;
|
|
1956
|
-
footerAlign: "
|
|
1956
|
+
footerAlign: "left" | "right" | "center";
|
|
1957
1957
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1958
1958
|
style?: CSSProperties | undefined;
|
|
1959
1959
|
class?: any;
|
|
@@ -1981,6 +1981,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1981
1981
|
$nextTick: typeof nextTick;
|
|
1982
1982
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1983
1983
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1984
|
+
labelPosition: {
|
|
1985
|
+
type: PropType<"left" | "right" | "top">;
|
|
1986
|
+
default: string;
|
|
1987
|
+
};
|
|
1988
|
+
modelValue: {
|
|
1989
|
+
type: PropType<FieldValues>;
|
|
1990
|
+
default: () => {};
|
|
1991
|
+
};
|
|
1984
1992
|
collapseDuration: {
|
|
1985
1993
|
type: PropType<number>;
|
|
1986
1994
|
default: undefined;
|
|
@@ -1998,21 +2006,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1998
2006
|
default: boolean;
|
|
1999
2007
|
};
|
|
2000
2008
|
layout: {
|
|
2001
|
-
type: PropType<"
|
|
2009
|
+
type: PropType<"flex" | "grid">;
|
|
2002
2010
|
default: undefined;
|
|
2003
2011
|
};
|
|
2004
|
-
modelValue: {
|
|
2005
|
-
type: PropType<FieldValues>;
|
|
2006
|
-
default: () => {};
|
|
2007
|
-
};
|
|
2008
2012
|
rules: {
|
|
2009
2013
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2010
2014
|
default: () => {};
|
|
2011
2015
|
};
|
|
2012
|
-
labelPosition: {
|
|
2013
|
-
type: PropType<"top" | "right" | "left">;
|
|
2014
|
-
default: string;
|
|
2015
|
-
};
|
|
2016
2016
|
labelWidth: {
|
|
2017
2017
|
type: PropType<string | number>;
|
|
2018
2018
|
default: string;
|
|
@@ -2068,7 +2068,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2068
2068
|
default: boolean;
|
|
2069
2069
|
};
|
|
2070
2070
|
footerAlign: {
|
|
2071
|
-
type: PropType<"
|
|
2071
|
+
type: PropType<"left" | "right" | "center">;
|
|
2072
2072
|
default: string;
|
|
2073
2073
|
};
|
|
2074
2074
|
cardProps: {
|
|
@@ -2087,10 +2087,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2087
2087
|
default: boolean;
|
|
2088
2088
|
};
|
|
2089
2089
|
}>> & {
|
|
2090
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2090
2091
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2091
2092
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2092
2093
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2093
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2094
2094
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2095
2095
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2096
2096
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2110,14 +2110,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2110
2110
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2111
2111
|
columns?: PlusColumn[] | undefined;
|
|
2112
2112
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2113
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2113
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2114
2114
|
readonly label: string | ComputedRef<string>;
|
|
2115
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2115
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2116
2116
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2117
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2117
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2118
2118
|
style?: CSSProperties | undefined;
|
|
2119
2119
|
class?: any;
|
|
2120
|
-
} & RecordType> | ComputedRef<
|
|
2120
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2121
2121
|
style?: CSSProperties | undefined;
|
|
2122
2122
|
class?: any;
|
|
2123
2123
|
} & RecordType>>;
|
|
@@ -2188,12 +2188,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2188
2188
|
fieldInstance?: any;
|
|
2189
2189
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2190
2190
|
prop: string;
|
|
2191
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2191
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2192
2192
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2193
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2193
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2194
2194
|
style?: CSSProperties | undefined;
|
|
2195
2195
|
class?: any;
|
|
2196
|
-
} & RecordType> | ComputedRef<
|
|
2196
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2197
2197
|
style?: CSSProperties | undefined;
|
|
2198
2198
|
class?: any;
|
|
2199
2199
|
} & RecordType>>;
|
|
@@ -2222,14 +2222,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2222
2222
|
clearable: boolean;
|
|
2223
2223
|
index: number;
|
|
2224
2224
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2225
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2225
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2226
2226
|
readonly label: string | ComputedRef<string>;
|
|
2227
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2227
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2228
2228
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2229
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2229
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2230
2230
|
style?: CSSProperties | undefined;
|
|
2231
2231
|
class?: any;
|
|
2232
|
-
} & RecordType> | ComputedRef<
|
|
2232
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2233
2233
|
style?: CSSProperties | undefined;
|
|
2234
2234
|
class?: any;
|
|
2235
2235
|
} & RecordType>>;
|
|
@@ -2300,12 +2300,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2300
2300
|
fieldInstance?: any;
|
|
2301
2301
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2302
2302
|
prop: string;
|
|
2303
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2303
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2304
2304
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2305
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2305
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2306
2306
|
style?: CSSProperties | undefined;
|
|
2307
2307
|
class?: any;
|
|
2308
|
-
} & RecordType> | ComputedRef<
|
|
2308
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2309
2309
|
style?: CSSProperties | undefined;
|
|
2310
2310
|
class?: any;
|
|
2311
2311
|
} & RecordType>>;
|
|
@@ -2352,14 +2352,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2352
2352
|
handleUnfold: (e: MouseEvent) => void;
|
|
2353
2353
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2354
2354
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2355
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2355
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2356
2356
|
readonly label: string | ComputedRef<string>;
|
|
2357
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2357
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2358
2358
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2359
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2359
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2360
2360
|
style?: CSSProperties | undefined;
|
|
2361
2361
|
class?: any;
|
|
2362
|
-
} & RecordType> | ComputedRef<
|
|
2362
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2363
2363
|
style?: CSSProperties | undefined;
|
|
2364
2364
|
class?: any;
|
|
2365
2365
|
} & RecordType>>;
|
|
@@ -2430,12 +2430,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2430
2430
|
fieldInstance?: any;
|
|
2431
2431
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2432
2432
|
prop: string;
|
|
2433
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2433
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2434
2434
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2435
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2435
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2436
2436
|
style?: CSSProperties | undefined;
|
|
2437
2437
|
class?: any;
|
|
2438
|
-
} & RecordType> | ComputedRef<
|
|
2438
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2439
2439
|
style?: CSSProperties | undefined;
|
|
2440
2440
|
class?: any;
|
|
2441
2441
|
} & RecordType>>;
|
|
@@ -3728,7 +3728,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3728
3728
|
columns: PlusColumn[];
|
|
3729
3729
|
immediate: boolean;
|
|
3730
3730
|
params: RecordType;
|
|
3731
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
3731
|
+
pagination: false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
3732
3732
|
columnsEmptyText: string;
|
|
3733
3733
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
3734
3734
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -3805,7 +3805,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3805
3805
|
default: () => {};
|
|
3806
3806
|
};
|
|
3807
3807
|
pagination: {
|
|
3808
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
3808
|
+
type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "pageSizeList">>;
|
|
3809
3809
|
default: () => {};
|
|
3810
3810
|
};
|
|
3811
3811
|
columnsEmptyText: {
|
|
@@ -3878,10 +3878,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3878
3878
|
$: ComponentInternalInstance;
|
|
3879
3879
|
$data: {};
|
|
3880
3880
|
$props: Partial<{
|
|
3881
|
-
|
|
3882
|
-
layout: "grid" | "flex";
|
|
3881
|
+
labelPosition: "left" | "right" | "top";
|
|
3883
3882
|
modelValue: FieldValues;
|
|
3884
|
-
|
|
3883
|
+
columns: PlusColumn[];
|
|
3884
|
+
layout: "flex" | "grid";
|
|
3885
3885
|
inline: boolean;
|
|
3886
3886
|
showNumber: number;
|
|
3887
3887
|
defaultValues: FieldValues;
|
|
@@ -3906,9 +3906,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3906
3906
|
searchIcon: Component | null;
|
|
3907
3907
|
resetIcon: Component | null;
|
|
3908
3908
|
}> & Omit<{
|
|
3909
|
-
readonly columns: PlusColumn[];
|
|
3910
|
-
readonly layout: "grid" | "flex";
|
|
3911
3909
|
readonly modelValue: FieldValues;
|
|
3910
|
+
readonly columns: PlusColumn[];
|
|
3911
|
+
readonly layout: "flex" | "grid";
|
|
3912
3912
|
readonly inline: boolean;
|
|
3913
3913
|
readonly showNumber: number;
|
|
3914
3914
|
readonly defaultValues: FieldValues;
|
|
@@ -3930,31 +3930,31 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3930
3930
|
readonly expandText: string;
|
|
3931
3931
|
readonly searchLoading: boolean;
|
|
3932
3932
|
readonly needValidate: boolean;
|
|
3933
|
-
readonly labelPosition?: "
|
|
3933
|
+
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
3934
3934
|
readonly searchIcon?: Component | null | undefined;
|
|
3935
3935
|
readonly resetIcon?: Component | null | undefined;
|
|
3936
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3936
3937
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3937
3938
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3938
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3939
3939
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
3940
3940
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
3941
3941
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3942
|
+
labelPosition: {
|
|
3943
|
+
type: PropType<"left" | "right" | "top">;
|
|
3944
|
+
default: undefined;
|
|
3945
|
+
};
|
|
3946
|
+
modelValue: {
|
|
3947
|
+
type: PropType<FieldValues>;
|
|
3948
|
+
default: () => {};
|
|
3949
|
+
};
|
|
3942
3950
|
columns: {
|
|
3943
3951
|
type: PropType<PlusColumn[]>;
|
|
3944
3952
|
default: () => never[];
|
|
3945
3953
|
};
|
|
3946
3954
|
layout: {
|
|
3947
|
-
type: PropType<"
|
|
3955
|
+
type: PropType<"flex" | "grid">;
|
|
3948
3956
|
default: "grid";
|
|
3949
3957
|
};
|
|
3950
|
-
modelValue: {
|
|
3951
|
-
type: PropType<FieldValues>;
|
|
3952
|
-
default: () => {};
|
|
3953
|
-
};
|
|
3954
|
-
labelPosition: {
|
|
3955
|
-
type: PropType<"top" | "right" | "left">;
|
|
3956
|
-
default: undefined;
|
|
3957
|
-
};
|
|
3958
3958
|
inline: {
|
|
3959
3959
|
type: PropType<boolean>;
|
|
3960
3960
|
default: boolean;
|
|
@@ -4038,12 +4038,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4038
4038
|
default: undefined;
|
|
4039
4039
|
};
|
|
4040
4040
|
}>> & {
|
|
4041
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4041
4042
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4042
4043
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4043
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4044
4044
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4045
4045
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4046
|
-
}, "
|
|
4046
|
+
}, "labelPosition" | "modelValue" | "columns" | "layout" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
4047
4047
|
$attrs: {
|
|
4048
4048
|
[x: string]: unknown;
|
|
4049
4049
|
};
|
|
@@ -4055,25 +4055,25 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4055
4055
|
}>;
|
|
4056
4056
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4057
4057
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4058
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
4058
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
4059
4059
|
$el: any;
|
|
4060
4060
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4061
|
+
labelPosition: {
|
|
4062
|
+
type: PropType<"left" | "right" | "top">;
|
|
4063
|
+
default: undefined;
|
|
4064
|
+
};
|
|
4065
|
+
modelValue: {
|
|
4066
|
+
type: PropType<FieldValues>;
|
|
4067
|
+
default: () => {};
|
|
4068
|
+
};
|
|
4061
4069
|
columns: {
|
|
4062
4070
|
type: PropType<PlusColumn[]>;
|
|
4063
4071
|
default: () => never[];
|
|
4064
4072
|
};
|
|
4065
4073
|
layout: {
|
|
4066
|
-
type: PropType<"
|
|
4074
|
+
type: PropType<"flex" | "grid">;
|
|
4067
4075
|
default: "grid";
|
|
4068
4076
|
};
|
|
4069
|
-
modelValue: {
|
|
4070
|
-
type: PropType<FieldValues>;
|
|
4071
|
-
default: () => {};
|
|
4072
|
-
};
|
|
4073
|
-
labelPosition: {
|
|
4074
|
-
type: PropType<"top" | "right" | "left">;
|
|
4075
|
-
default: undefined;
|
|
4076
|
-
};
|
|
4077
4077
|
inline: {
|
|
4078
4078
|
type: PropType<boolean>;
|
|
4079
4079
|
default: boolean;
|
|
@@ -4157,9 +4157,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4157
4157
|
default: undefined;
|
|
4158
4158
|
};
|
|
4159
4159
|
}>> & {
|
|
4160
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4160
4161
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4161
4162
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4162
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4163
4163
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4164
4164
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4165
4165
|
}, {
|
|
@@ -4167,14 +4167,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4167
4167
|
$: ComponentInternalInstance;
|
|
4168
4168
|
$data: {};
|
|
4169
4169
|
$props: Partial<{
|
|
4170
|
+
labelPosition: "left" | "right" | "top";
|
|
4171
|
+
modelValue: FieldValues;
|
|
4170
4172
|
collapseDuration: number;
|
|
4171
4173
|
collapseTransition: boolean;
|
|
4172
4174
|
columns: PlusColumn[];
|
|
4173
4175
|
group: false | PlusFormGroupRow[];
|
|
4174
|
-
layout: "
|
|
4175
|
-
modelValue: FieldValues;
|
|
4176
|
+
layout: "flex" | "grid";
|
|
4176
4177
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4177
|
-
labelPosition: "top" | "right" | "left";
|
|
4178
4178
|
labelWidth: string | number;
|
|
4179
4179
|
labelSuffix: string;
|
|
4180
4180
|
defaultValues: FieldValues;
|
|
@@ -4193,7 +4193,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4193
4193
|
submitText: string;
|
|
4194
4194
|
resetText: string;
|
|
4195
4195
|
submitLoading: boolean;
|
|
4196
|
-
footerAlign: "
|
|
4196
|
+
footerAlign: "left" | "right" | "center";
|
|
4197
4197
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4198
4198
|
style?: CSSProperties | undefined;
|
|
4199
4199
|
class?: any;
|
|
@@ -4201,11 +4201,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4201
4201
|
prevent: boolean;
|
|
4202
4202
|
clearable: boolean;
|
|
4203
4203
|
}> & Omit<{
|
|
4204
|
+
readonly labelPosition: "left" | "right" | "top";
|
|
4205
|
+
readonly modelValue: FieldValues;
|
|
4204
4206
|
readonly columns: PlusColumn[];
|
|
4205
4207
|
readonly group: false | PlusFormGroupRow[];
|
|
4206
|
-
readonly modelValue: FieldValues;
|
|
4207
4208
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4208
|
-
readonly labelPosition: "top" | "right" | "left";
|
|
4209
4209
|
readonly labelWidth: string | number;
|
|
4210
4210
|
readonly labelSuffix: string;
|
|
4211
4211
|
readonly defaultValues: FieldValues;
|
|
@@ -4224,7 +4224,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4224
4224
|
readonly submitText: string;
|
|
4225
4225
|
readonly resetText: string;
|
|
4226
4226
|
readonly submitLoading: boolean;
|
|
4227
|
-
readonly footerAlign: "
|
|
4227
|
+
readonly footerAlign: "left" | "right" | "center";
|
|
4228
4228
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
4229
4229
|
style?: CSSProperties | undefined;
|
|
4230
4230
|
class?: any;
|
|
@@ -4233,14 +4233,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4233
4233
|
readonly clearable: boolean;
|
|
4234
4234
|
readonly collapseDuration?: number | undefined;
|
|
4235
4235
|
readonly collapseTransition?: boolean | undefined;
|
|
4236
|
-
readonly layout?: "
|
|
4236
|
+
readonly layout?: "flex" | "grid" | undefined;
|
|
4237
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4237
4238
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4238
4239
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4239
4240
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4240
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4241
4241
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4242
4242
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4243
4243
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
4244
|
+
labelPosition: {
|
|
4245
|
+
type: PropType<"left" | "right" | "top">;
|
|
4246
|
+
default: string;
|
|
4247
|
+
};
|
|
4248
|
+
modelValue: {
|
|
4249
|
+
type: PropType<FieldValues>;
|
|
4250
|
+
default: () => {};
|
|
4251
|
+
};
|
|
4244
4252
|
collapseDuration: {
|
|
4245
4253
|
type: PropType<number>;
|
|
4246
4254
|
default: undefined;
|
|
@@ -4258,21 +4266,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4258
4266
|
default: boolean;
|
|
4259
4267
|
};
|
|
4260
4268
|
layout: {
|
|
4261
|
-
type: PropType<"
|
|
4269
|
+
type: PropType<"flex" | "grid">;
|
|
4262
4270
|
default: undefined;
|
|
4263
4271
|
};
|
|
4264
|
-
modelValue: {
|
|
4265
|
-
type: PropType<FieldValues>;
|
|
4266
|
-
default: () => {};
|
|
4267
|
-
};
|
|
4268
4272
|
rules: {
|
|
4269
4273
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4270
4274
|
default: () => {};
|
|
4271
4275
|
};
|
|
4272
|
-
labelPosition: {
|
|
4273
|
-
type: PropType<"top" | "right" | "left">;
|
|
4274
|
-
default: string;
|
|
4275
|
-
};
|
|
4276
4276
|
labelWidth: {
|
|
4277
4277
|
type: PropType<string | number>;
|
|
4278
4278
|
default: string;
|
|
@@ -4328,7 +4328,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4328
4328
|
default: boolean;
|
|
4329
4329
|
};
|
|
4330
4330
|
footerAlign: {
|
|
4331
|
-
type: PropType<"
|
|
4331
|
+
type: PropType<"left" | "right" | "center">;
|
|
4332
4332
|
default: string;
|
|
4333
4333
|
};
|
|
4334
4334
|
cardProps: {
|
|
@@ -4347,13 +4347,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4347
4347
|
default: boolean;
|
|
4348
4348
|
};
|
|
4349
4349
|
}>> & {
|
|
4350
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4350
4351
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4351
4352
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4352
4353
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4353
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4354
4354
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4355
4355
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4356
|
-
}, "
|
|
4356
|
+
}, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
4357
4357
|
$attrs: {
|
|
4358
4358
|
[x: string]: unknown;
|
|
4359
4359
|
};
|
|
@@ -4365,9 +4365,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4365
4365
|
}>;
|
|
4366
4366
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4367
4367
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4368
|
-
$emit: ((event: "
|
|
4368
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
4369
4369
|
$el: any;
|
|
4370
4370
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4371
|
+
labelPosition: {
|
|
4372
|
+
type: PropType<"left" | "right" | "top">;
|
|
4373
|
+
default: string;
|
|
4374
|
+
};
|
|
4375
|
+
modelValue: {
|
|
4376
|
+
type: PropType<FieldValues>;
|
|
4377
|
+
default: () => {};
|
|
4378
|
+
};
|
|
4371
4379
|
collapseDuration: {
|
|
4372
4380
|
type: PropType<number>;
|
|
4373
4381
|
default: undefined;
|
|
@@ -4385,21 +4393,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4385
4393
|
default: boolean;
|
|
4386
4394
|
};
|
|
4387
4395
|
layout: {
|
|
4388
|
-
type: PropType<"
|
|
4396
|
+
type: PropType<"flex" | "grid">;
|
|
4389
4397
|
default: undefined;
|
|
4390
4398
|
};
|
|
4391
|
-
modelValue: {
|
|
4392
|
-
type: PropType<FieldValues>;
|
|
4393
|
-
default: () => {};
|
|
4394
|
-
};
|
|
4395
4399
|
rules: {
|
|
4396
4400
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4397
4401
|
default: () => {};
|
|
4398
4402
|
};
|
|
4399
|
-
labelPosition: {
|
|
4400
|
-
type: PropType<"top" | "right" | "left">;
|
|
4401
|
-
default: string;
|
|
4402
|
-
};
|
|
4403
4403
|
labelWidth: {
|
|
4404
4404
|
type: PropType<string | number>;
|
|
4405
4405
|
default: string;
|
|
@@ -4455,7 +4455,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4455
4455
|
default: boolean;
|
|
4456
4456
|
};
|
|
4457
4457
|
footerAlign: {
|
|
4458
|
-
type: PropType<"
|
|
4458
|
+
type: PropType<"left" | "right" | "center">;
|
|
4459
4459
|
default: string;
|
|
4460
4460
|
};
|
|
4461
4461
|
cardProps: {
|
|
@@ -4474,10 +4474,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4474
4474
|
default: boolean;
|
|
4475
4475
|
};
|
|
4476
4476
|
}>> & {
|
|
4477
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4477
4478
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4478
4479
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4479
4480
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4480
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4481
4481
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4482
4482
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4483
4483
|
}, {
|
|
@@ -4492,14 +4492,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4492
4492
|
submitError: (errors: unknown) => void;
|
|
4493
4493
|
validate: (...args: any[]) => void;
|
|
4494
4494
|
}, string, {
|
|
4495
|
+
labelPosition: "left" | "right" | "top";
|
|
4496
|
+
modelValue: FieldValues;
|
|
4495
4497
|
collapseDuration: number;
|
|
4496
4498
|
collapseTransition: boolean;
|
|
4497
4499
|
columns: PlusColumn[];
|
|
4498
4500
|
group: false | PlusFormGroupRow[];
|
|
4499
|
-
layout: "
|
|
4500
|
-
modelValue: FieldValues;
|
|
4501
|
+
layout: "flex" | "grid";
|
|
4501
4502
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4502
|
-
labelPosition: "top" | "right" | "left";
|
|
4503
4503
|
labelWidth: string | number;
|
|
4504
4504
|
labelSuffix: string;
|
|
4505
4505
|
defaultValues: FieldValues;
|
|
@@ -4518,7 +4518,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4518
4518
|
submitText: string;
|
|
4519
4519
|
resetText: string;
|
|
4520
4520
|
submitLoading: boolean;
|
|
4521
|
-
footerAlign: "
|
|
4521
|
+
footerAlign: "left" | "right" | "center";
|
|
4522
4522
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4523
4523
|
style?: CSSProperties | undefined;
|
|
4524
4524
|
class?: any;
|
|
@@ -4546,6 +4546,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4546
4546
|
$nextTick: typeof nextTick;
|
|
4547
4547
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
4548
4548
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4549
|
+
labelPosition: {
|
|
4550
|
+
type: PropType<"left" | "right" | "top">;
|
|
4551
|
+
default: string;
|
|
4552
|
+
};
|
|
4553
|
+
modelValue: {
|
|
4554
|
+
type: PropType<FieldValues>;
|
|
4555
|
+
default: () => {};
|
|
4556
|
+
};
|
|
4549
4557
|
collapseDuration: {
|
|
4550
4558
|
type: PropType<number>;
|
|
4551
4559
|
default: undefined;
|
|
@@ -4563,21 +4571,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4563
4571
|
default: boolean;
|
|
4564
4572
|
};
|
|
4565
4573
|
layout: {
|
|
4566
|
-
type: PropType<"
|
|
4574
|
+
type: PropType<"flex" | "grid">;
|
|
4567
4575
|
default: undefined;
|
|
4568
4576
|
};
|
|
4569
|
-
modelValue: {
|
|
4570
|
-
type: PropType<FieldValues>;
|
|
4571
|
-
default: () => {};
|
|
4572
|
-
};
|
|
4573
4577
|
rules: {
|
|
4574
4578
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4575
4579
|
default: () => {};
|
|
4576
4580
|
};
|
|
4577
|
-
labelPosition: {
|
|
4578
|
-
type: PropType<"top" | "right" | "left">;
|
|
4579
|
-
default: string;
|
|
4580
|
-
};
|
|
4581
4581
|
labelWidth: {
|
|
4582
4582
|
type: PropType<string | number>;
|
|
4583
4583
|
default: string;
|
|
@@ -4633,7 +4633,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4633
4633
|
default: boolean;
|
|
4634
4634
|
};
|
|
4635
4635
|
footerAlign: {
|
|
4636
|
-
type: PropType<"
|
|
4636
|
+
type: PropType<"left" | "right" | "center">;
|
|
4637
4637
|
default: string;
|
|
4638
4638
|
};
|
|
4639
4639
|
cardProps: {
|
|
@@ -4652,10 +4652,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4652
4652
|
default: boolean;
|
|
4653
4653
|
};
|
|
4654
4654
|
}>> & {
|
|
4655
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4655
4656
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4656
4657
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4657
4658
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4658
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4659
4659
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4660
4660
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4661
4661
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -4675,14 +4675,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4675
4675
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4676
4676
|
columns?: PlusColumn[] | undefined;
|
|
4677
4677
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4678
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
4678
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4679
4679
|
readonly label: string | ComputedRef<string>;
|
|
4680
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4680
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4681
4681
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4682
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4682
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4683
4683
|
style?: CSSProperties | undefined;
|
|
4684
4684
|
class?: any;
|
|
4685
|
-
} & RecordType> | ComputedRef<
|
|
4685
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4686
4686
|
style?: CSSProperties | undefined;
|
|
4687
4687
|
class?: any;
|
|
4688
4688
|
} & RecordType>>;
|
|
@@ -4753,12 +4753,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4753
4753
|
fieldInstance?: any;
|
|
4754
4754
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4755
4755
|
prop: string;
|
|
4756
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4756
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4757
4757
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4758
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4758
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4759
4759
|
style?: CSSProperties | undefined;
|
|
4760
4760
|
class?: any;
|
|
4761
|
-
} & RecordType> | ComputedRef<
|
|
4761
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4762
4762
|
style?: CSSProperties | undefined;
|
|
4763
4763
|
class?: any;
|
|
4764
4764
|
} & RecordType>>;
|
|
@@ -4787,14 +4787,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4787
4787
|
clearable: boolean;
|
|
4788
4788
|
index: number;
|
|
4789
4789
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4790
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
4790
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4791
4791
|
readonly label: string | ComputedRef<string>;
|
|
4792
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4792
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4793
4793
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4794
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4794
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4795
4795
|
style?: CSSProperties | undefined;
|
|
4796
4796
|
class?: any;
|
|
4797
|
-
} & RecordType> | ComputedRef<
|
|
4797
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4798
4798
|
style?: CSSProperties | undefined;
|
|
4799
4799
|
class?: any;
|
|
4800
4800
|
} & RecordType>>;
|
|
@@ -4865,12 +4865,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4865
4865
|
fieldInstance?: any;
|
|
4866
4866
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4867
4867
|
prop: string;
|
|
4868
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4868
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4869
4869
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4870
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4870
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4871
4871
|
style?: CSSProperties | undefined;
|
|
4872
4872
|
class?: any;
|
|
4873
|
-
} & RecordType> | ComputedRef<
|
|
4873
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4874
4874
|
style?: CSSProperties | undefined;
|
|
4875
4875
|
class?: any;
|
|
4876
4876
|
} & RecordType>>;
|
|
@@ -4922,10 +4922,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4922
4922
|
reset: (values: FieldValues) => void;
|
|
4923
4923
|
collapse: (isShowUnfold: boolean) => void;
|
|
4924
4924
|
}, string, {
|
|
4925
|
-
|
|
4926
|
-
layout: "grid" | "flex";
|
|
4925
|
+
labelPosition: "left" | "right" | "top";
|
|
4927
4926
|
modelValue: FieldValues;
|
|
4928
|
-
|
|
4927
|
+
columns: PlusColumn[];
|
|
4928
|
+
layout: "flex" | "grid";
|
|
4929
4929
|
inline: boolean;
|
|
4930
4930
|
showNumber: number;
|
|
4931
4931
|
defaultValues: FieldValues;
|
|
@@ -4970,22 +4970,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4970
4970
|
$nextTick: typeof nextTick;
|
|
4971
4971
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
4972
4972
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4973
|
+
labelPosition: {
|
|
4974
|
+
type: PropType<"left" | "right" | "top">;
|
|
4975
|
+
default: undefined;
|
|
4976
|
+
};
|
|
4977
|
+
modelValue: {
|
|
4978
|
+
type: PropType<FieldValues>;
|
|
4979
|
+
default: () => {};
|
|
4980
|
+
};
|
|
4973
4981
|
columns: {
|
|
4974
4982
|
type: PropType<PlusColumn[]>;
|
|
4975
4983
|
default: () => never[];
|
|
4976
4984
|
};
|
|
4977
4985
|
layout: {
|
|
4978
|
-
type: PropType<"
|
|
4986
|
+
type: PropType<"flex" | "grid">;
|
|
4979
4987
|
default: "grid";
|
|
4980
4988
|
};
|
|
4981
|
-
modelValue: {
|
|
4982
|
-
type: PropType<FieldValues>;
|
|
4983
|
-
default: () => {};
|
|
4984
|
-
};
|
|
4985
|
-
labelPosition: {
|
|
4986
|
-
type: PropType<"top" | "right" | "left">;
|
|
4987
|
-
default: undefined;
|
|
4988
|
-
};
|
|
4989
4989
|
inline: {
|
|
4990
4990
|
type: PropType<boolean>;
|
|
4991
4991
|
default: boolean;
|
|
@@ -5069,9 +5069,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5069
5069
|
default: undefined;
|
|
5070
5070
|
};
|
|
5071
5071
|
}>> & {
|
|
5072
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5072
5073
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5073
5074
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5074
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5075
5075
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
5076
5076
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
5077
5077
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -5079,14 +5079,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5079
5079
|
$: ComponentInternalInstance;
|
|
5080
5080
|
$data: {};
|
|
5081
5081
|
$props: Partial<{
|
|
5082
|
+
labelPosition: "left" | "right" | "top";
|
|
5083
|
+
modelValue: FieldValues;
|
|
5082
5084
|
collapseDuration: number;
|
|
5083
5085
|
collapseTransition: boolean;
|
|
5084
5086
|
columns: PlusColumn[];
|
|
5085
5087
|
group: false | PlusFormGroupRow[];
|
|
5086
|
-
layout: "
|
|
5087
|
-
modelValue: FieldValues;
|
|
5088
|
+
layout: "flex" | "grid";
|
|
5088
5089
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5089
|
-
labelPosition: "top" | "right" | "left";
|
|
5090
5090
|
labelWidth: string | number;
|
|
5091
5091
|
labelSuffix: string;
|
|
5092
5092
|
defaultValues: FieldValues;
|
|
@@ -5105,7 +5105,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5105
5105
|
submitText: string;
|
|
5106
5106
|
resetText: string;
|
|
5107
5107
|
submitLoading: boolean;
|
|
5108
|
-
footerAlign: "
|
|
5108
|
+
footerAlign: "left" | "right" | "center";
|
|
5109
5109
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5110
5110
|
style?: CSSProperties | undefined;
|
|
5111
5111
|
class?: any;
|
|
@@ -5113,11 +5113,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5113
5113
|
prevent: boolean;
|
|
5114
5114
|
clearable: boolean;
|
|
5115
5115
|
}> & Omit<{
|
|
5116
|
+
readonly labelPosition: "left" | "right" | "top";
|
|
5117
|
+
readonly modelValue: FieldValues;
|
|
5116
5118
|
readonly columns: PlusColumn[];
|
|
5117
5119
|
readonly group: false | PlusFormGroupRow[];
|
|
5118
|
-
readonly modelValue: FieldValues;
|
|
5119
5120
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5120
|
-
readonly labelPosition: "top" | "right" | "left";
|
|
5121
5121
|
readonly labelWidth: string | number;
|
|
5122
5122
|
readonly labelSuffix: string;
|
|
5123
5123
|
readonly defaultValues: FieldValues;
|
|
@@ -5136,7 +5136,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5136
5136
|
readonly submitText: string;
|
|
5137
5137
|
readonly resetText: string;
|
|
5138
5138
|
readonly submitLoading: boolean;
|
|
5139
|
-
readonly footerAlign: "
|
|
5139
|
+
readonly footerAlign: "left" | "right" | "center";
|
|
5140
5140
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5141
5141
|
style?: CSSProperties | undefined;
|
|
5142
5142
|
class?: any;
|
|
@@ -5145,14 +5145,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5145
5145
|
readonly clearable: boolean;
|
|
5146
5146
|
readonly collapseDuration?: number | undefined;
|
|
5147
5147
|
readonly collapseTransition?: boolean | undefined;
|
|
5148
|
-
readonly layout?: "
|
|
5148
|
+
readonly layout?: "flex" | "grid" | undefined;
|
|
5149
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5149
5150
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5150
5151
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5151
5152
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5152
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5153
5153
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5154
5154
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5155
5155
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
5156
|
+
labelPosition: {
|
|
5157
|
+
type: PropType<"left" | "right" | "top">;
|
|
5158
|
+
default: string;
|
|
5159
|
+
};
|
|
5160
|
+
modelValue: {
|
|
5161
|
+
type: PropType<FieldValues>;
|
|
5162
|
+
default: () => {};
|
|
5163
|
+
};
|
|
5156
5164
|
collapseDuration: {
|
|
5157
5165
|
type: PropType<number>;
|
|
5158
5166
|
default: undefined;
|
|
@@ -5170,21 +5178,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5170
5178
|
default: boolean;
|
|
5171
5179
|
};
|
|
5172
5180
|
layout: {
|
|
5173
|
-
type: PropType<"
|
|
5181
|
+
type: PropType<"flex" | "grid">;
|
|
5174
5182
|
default: undefined;
|
|
5175
5183
|
};
|
|
5176
|
-
modelValue: {
|
|
5177
|
-
type: PropType<FieldValues>;
|
|
5178
|
-
default: () => {};
|
|
5179
|
-
};
|
|
5180
5184
|
rules: {
|
|
5181
5185
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5182
5186
|
default: () => {};
|
|
5183
5187
|
};
|
|
5184
|
-
labelPosition: {
|
|
5185
|
-
type: PropType<"top" | "right" | "left">;
|
|
5186
|
-
default: string;
|
|
5187
|
-
};
|
|
5188
5188
|
labelWidth: {
|
|
5189
5189
|
type: PropType<string | number>;
|
|
5190
5190
|
default: string;
|
|
@@ -5240,7 +5240,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5240
5240
|
default: boolean;
|
|
5241
5241
|
};
|
|
5242
5242
|
footerAlign: {
|
|
5243
|
-
type: PropType<"
|
|
5243
|
+
type: PropType<"left" | "right" | "center">;
|
|
5244
5244
|
default: string;
|
|
5245
5245
|
};
|
|
5246
5246
|
cardProps: {
|
|
@@ -5259,13 +5259,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5259
5259
|
default: boolean;
|
|
5260
5260
|
};
|
|
5261
5261
|
}>> & {
|
|
5262
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5262
5263
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5263
5264
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5264
5265
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5265
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5266
5266
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5267
5267
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5268
|
-
}, "
|
|
5268
|
+
}, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
5269
5269
|
$attrs: {
|
|
5270
5270
|
[x: string]: unknown;
|
|
5271
5271
|
};
|
|
@@ -5277,9 +5277,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5277
5277
|
}>;
|
|
5278
5278
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5279
5279
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5280
|
-
$emit: ((event: "
|
|
5280
|
+
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
5281
5281
|
$el: any;
|
|
5282
5282
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5283
|
+
labelPosition: {
|
|
5284
|
+
type: PropType<"left" | "right" | "top">;
|
|
5285
|
+
default: string;
|
|
5286
|
+
};
|
|
5287
|
+
modelValue: {
|
|
5288
|
+
type: PropType<FieldValues>;
|
|
5289
|
+
default: () => {};
|
|
5290
|
+
};
|
|
5283
5291
|
collapseDuration: {
|
|
5284
5292
|
type: PropType<number>;
|
|
5285
5293
|
default: undefined;
|
|
@@ -5297,21 +5305,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5297
5305
|
default: boolean;
|
|
5298
5306
|
};
|
|
5299
5307
|
layout: {
|
|
5300
|
-
type: PropType<"
|
|
5308
|
+
type: PropType<"flex" | "grid">;
|
|
5301
5309
|
default: undefined;
|
|
5302
5310
|
};
|
|
5303
|
-
modelValue: {
|
|
5304
|
-
type: PropType<FieldValues>;
|
|
5305
|
-
default: () => {};
|
|
5306
|
-
};
|
|
5307
5311
|
rules: {
|
|
5308
5312
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5309
5313
|
default: () => {};
|
|
5310
5314
|
};
|
|
5311
|
-
labelPosition: {
|
|
5312
|
-
type: PropType<"top" | "right" | "left">;
|
|
5313
|
-
default: string;
|
|
5314
|
-
};
|
|
5315
5315
|
labelWidth: {
|
|
5316
5316
|
type: PropType<string | number>;
|
|
5317
5317
|
default: string;
|
|
@@ -5367,7 +5367,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5367
5367
|
default: boolean;
|
|
5368
5368
|
};
|
|
5369
5369
|
footerAlign: {
|
|
5370
|
-
type: PropType<"
|
|
5370
|
+
type: PropType<"left" | "right" | "center">;
|
|
5371
5371
|
default: string;
|
|
5372
5372
|
};
|
|
5373
5373
|
cardProps: {
|
|
@@ -5386,10 +5386,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5386
5386
|
default: boolean;
|
|
5387
5387
|
};
|
|
5388
5388
|
}>> & {
|
|
5389
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5389
5390
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5390
5391
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5391
5392
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5392
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5393
5393
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5394
5394
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5395
5395
|
}, {
|
|
@@ -5404,14 +5404,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5404
5404
|
submitError: (errors: unknown) => void;
|
|
5405
5405
|
validate: (...args: any[]) => void;
|
|
5406
5406
|
}, string, {
|
|
5407
|
+
labelPosition: "left" | "right" | "top";
|
|
5408
|
+
modelValue: FieldValues;
|
|
5407
5409
|
collapseDuration: number;
|
|
5408
5410
|
collapseTransition: boolean;
|
|
5409
5411
|
columns: PlusColumn[];
|
|
5410
5412
|
group: false | PlusFormGroupRow[];
|
|
5411
|
-
layout: "
|
|
5412
|
-
modelValue: FieldValues;
|
|
5413
|
+
layout: "flex" | "grid";
|
|
5413
5414
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5414
|
-
labelPosition: "top" | "right" | "left";
|
|
5415
5415
|
labelWidth: string | number;
|
|
5416
5416
|
labelSuffix: string;
|
|
5417
5417
|
defaultValues: FieldValues;
|
|
@@ -5430,7 +5430,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5430
5430
|
submitText: string;
|
|
5431
5431
|
resetText: string;
|
|
5432
5432
|
submitLoading: boolean;
|
|
5433
|
-
footerAlign: "
|
|
5433
|
+
footerAlign: "left" | "right" | "center";
|
|
5434
5434
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5435
5435
|
style?: CSSProperties | undefined;
|
|
5436
5436
|
class?: any;
|
|
@@ -5458,6 +5458,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5458
5458
|
$nextTick: typeof nextTick;
|
|
5459
5459
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
5460
5460
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
5461
|
+
labelPosition: {
|
|
5462
|
+
type: PropType<"left" | "right" | "top">;
|
|
5463
|
+
default: string;
|
|
5464
|
+
};
|
|
5465
|
+
modelValue: {
|
|
5466
|
+
type: PropType<FieldValues>;
|
|
5467
|
+
default: () => {};
|
|
5468
|
+
};
|
|
5461
5469
|
collapseDuration: {
|
|
5462
5470
|
type: PropType<number>;
|
|
5463
5471
|
default: undefined;
|
|
@@ -5475,21 +5483,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5475
5483
|
default: boolean;
|
|
5476
5484
|
};
|
|
5477
5485
|
layout: {
|
|
5478
|
-
type: PropType<"
|
|
5486
|
+
type: PropType<"flex" | "grid">;
|
|
5479
5487
|
default: undefined;
|
|
5480
5488
|
};
|
|
5481
|
-
modelValue: {
|
|
5482
|
-
type: PropType<FieldValues>;
|
|
5483
|
-
default: () => {};
|
|
5484
|
-
};
|
|
5485
5489
|
rules: {
|
|
5486
5490
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5487
5491
|
default: () => {};
|
|
5488
5492
|
};
|
|
5489
|
-
labelPosition: {
|
|
5490
|
-
type: PropType<"top" | "right" | "left">;
|
|
5491
|
-
default: string;
|
|
5492
|
-
};
|
|
5493
5493
|
labelWidth: {
|
|
5494
5494
|
type: PropType<string | number>;
|
|
5495
5495
|
default: string;
|
|
@@ -5545,7 +5545,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5545
5545
|
default: boolean;
|
|
5546
5546
|
};
|
|
5547
5547
|
footerAlign: {
|
|
5548
|
-
type: PropType<"
|
|
5548
|
+
type: PropType<"left" | "right" | "center">;
|
|
5549
5549
|
default: string;
|
|
5550
5550
|
};
|
|
5551
5551
|
cardProps: {
|
|
@@ -5564,10 +5564,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5564
5564
|
default: boolean;
|
|
5565
5565
|
};
|
|
5566
5566
|
}>> & {
|
|
5567
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5567
5568
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5568
5569
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5569
5570
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5570
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5571
5571
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5572
5572
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5573
5573
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -5587,14 +5587,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5587
5587
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
5588
5588
|
columns?: PlusColumn[] | undefined;
|
|
5589
5589
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5590
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5590
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5591
5591
|
readonly label: string | ComputedRef<string>;
|
|
5592
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5592
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5593
5593
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5594
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5594
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5595
5595
|
style?: CSSProperties | undefined;
|
|
5596
5596
|
class?: any;
|
|
5597
|
-
} & RecordType> | ComputedRef<
|
|
5597
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5598
5598
|
style?: CSSProperties | undefined;
|
|
5599
5599
|
class?: any;
|
|
5600
5600
|
} & RecordType>>;
|
|
@@ -5665,12 +5665,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5665
5665
|
fieldInstance?: any;
|
|
5666
5666
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5667
5667
|
prop: string;
|
|
5668
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5668
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5669
5669
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5670
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5670
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5671
5671
|
style?: CSSProperties | undefined;
|
|
5672
5672
|
class?: any;
|
|
5673
|
-
} & RecordType> | ComputedRef<
|
|
5673
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5674
5674
|
style?: CSSProperties | undefined;
|
|
5675
5675
|
class?: any;
|
|
5676
5676
|
} & RecordType>>;
|
|
@@ -5699,14 +5699,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5699
5699
|
clearable: boolean;
|
|
5700
5700
|
index: number;
|
|
5701
5701
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5702
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5702
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5703
5703
|
readonly label: string | ComputedRef<string>;
|
|
5704
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5704
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5705
5705
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5706
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5706
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5707
5707
|
style?: CSSProperties | undefined;
|
|
5708
5708
|
class?: any;
|
|
5709
|
-
} & RecordType> | ComputedRef<
|
|
5709
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5710
5710
|
style?: CSSProperties | undefined;
|
|
5711
5711
|
class?: any;
|
|
5712
5712
|
} & RecordType>>;
|
|
@@ -5777,12 +5777,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5777
5777
|
fieldInstance?: any;
|
|
5778
5778
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5779
5779
|
prop: string;
|
|
5780
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5780
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5781
5781
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5782
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5782
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5783
5783
|
style?: CSSProperties | undefined;
|
|
5784
5784
|
class?: any;
|
|
5785
|
-
} & RecordType> | ComputedRef<
|
|
5785
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5786
5786
|
style?: CSSProperties | undefined;
|
|
5787
5787
|
class?: any;
|
|
5788
5788
|
} & RecordType>>;
|
|
@@ -5829,14 +5829,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5829
5829
|
handleUnfold: (e: MouseEvent) => void;
|
|
5830
5830
|
}> & {} & ComponentCustomProperties & {} & {
|
|
5831
5831
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
5832
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5832
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5833
5833
|
readonly label: string | ComputedRef<string>;
|
|
5834
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5834
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5835
5835
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5836
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5836
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5837
5837
|
style?: CSSProperties | undefined;
|
|
5838
5838
|
class?: any;
|
|
5839
|
-
} & RecordType> | ComputedRef<
|
|
5839
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5840
5840
|
style?: CSSProperties | undefined;
|
|
5841
5841
|
class?: any;
|
|
5842
5842
|
} & RecordType>>;
|
|
@@ -5907,12 +5907,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5907
5907
|
fieldInstance?: any;
|
|
5908
5908
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5909
5909
|
prop: string;
|
|
5910
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5910
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5911
5911
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5912
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5912
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5913
5913
|
style?: CSSProperties | undefined;
|
|
5914
5914
|
class?: any;
|
|
5915
|
-
} & RecordType> | ComputedRef<
|
|
5915
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5916
5916
|
style?: CSSProperties | undefined;
|
|
5917
5917
|
class?: any;
|
|
5918
5918
|
} & RecordType>>;
|
|
@@ -7189,14 +7189,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7189
7189
|
setTableData: (data?: RecordType[] | undefined, _total?: number | undefined) => void;
|
|
7190
7190
|
}> & {} & ComponentCustomProperties & {} & {
|
|
7191
7191
|
$slots: Partial<Record<never, (_: {
|
|
7192
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
7192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
7193
7193
|
readonly label: string | ComputedRef<string>;
|
|
7194
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
7194
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7195
7195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7196
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7196
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7197
7197
|
style?: CSSProperties | undefined;
|
|
7198
7198
|
class?: any;
|
|
7199
|
-
} & RecordType> | ComputedRef<
|
|
7199
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7200
7200
|
style?: CSSProperties | undefined;
|
|
7201
7201
|
class?: any;
|
|
7202
7202
|
} & RecordType>>;
|
|
@@ -7267,12 +7267,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7267
7267
|
fieldInstance?: any;
|
|
7268
7268
|
valueIsReady?: Ref<boolean> | undefined;
|
|
7269
7269
|
prop: string;
|
|
7270
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
7270
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7271
7271
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7272
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7272
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7273
7273
|
style?: CSSProperties | undefined;
|
|
7274
7274
|
class?: any;
|
|
7275
|
-
} & RecordType> | ComputedRef<
|
|
7275
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7276
7276
|
style?: CSSProperties | undefined;
|
|
7277
7277
|
class?: any;
|
|
7278
7278
|
} & RecordType>>;
|
|
@@ -8075,11 +8075,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8075
8075
|
"onHeader-filter-confirm"?: ((payload: HeaderFilterPayload) => any) | undefined;
|
|
8076
8076
|
"onHeader-filter-reset"?: ((payload: HeaderFilterResetPayload) => any) | undefined;
|
|
8077
8077
|
}, {
|
|
8078
|
+
showSearch: boolean;
|
|
8079
|
+
columnSettingsText: string;
|
|
8078
8080
|
search: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
|
|
8079
8081
|
headerFilter: boolean | HeaderFilterConfig;
|
|
8080
8082
|
pagination: false | Record<string, unknown>;
|
|
8081
|
-
showSearch: boolean;
|
|
8082
|
-
columnSettingsText: string;
|
|
8083
8083
|
isCard: boolean;
|
|
8084
8084
|
hideHeaderFilter: boolean;
|
|
8085
8085
|
hideColumnSettingsIcon: boolean;
|