yc-pro-components 0.0.75 → 0.0.76
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-column.vue.d.ts +37 -37
- package/es/components/table/src/table-title-bar.vue.mjs +1 -1
- package/es/components/table/src/table-title-bar.vue2.mjs +79 -40
- package/es/components/table/src/type.d.ts +17 -0
- 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-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +2 -3
- 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 +10 -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.js +84 -46
- package/index.min.css +2 -1
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +85 -47
- 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-column.vue.d.ts +37 -37
- package/lib/components/table/src/table-title-bar.vue.js +1 -1
- package/lib/components/table/src/table-title-bar.vue2.js +78 -39
- package/lib/components/table/src/type.d.ts +17 -0
- 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-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +2 -3
- 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 +13 -12
- 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
|
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
101
101
|
columns: PlusColumn[];
|
|
102
102
|
immediate: boolean;
|
|
103
103
|
params: RecordType;
|
|
104
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
104
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
105
105
|
columnsEmptyText: string;
|
|
106
106
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
107
107
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -138,7 +138,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
138
138
|
data: RecordType[];
|
|
139
139
|
total: number;
|
|
140
140
|
}>;
|
|
141
|
-
readonly pagination: false | Omit< PlusPaginationProps, "
|
|
141
|
+
readonly pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
142
142
|
readonly columnsEmptyText: string;
|
|
143
143
|
readonly isCard: boolean;
|
|
144
144
|
readonly searchCardProps: Partial< Mutable<CardProps> & {
|
|
@@ -200,7 +200,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
200
200
|
required: true;
|
|
201
201
|
};
|
|
202
202
|
pagination: {
|
|
203
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
203
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
204
204
|
default: () => {};
|
|
205
205
|
};
|
|
206
206
|
columnsEmptyText: {
|
|
@@ -318,7 +318,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
318
318
|
required: true;
|
|
319
319
|
};
|
|
320
320
|
pagination: {
|
|
321
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
321
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
322
322
|
default: () => {};
|
|
323
323
|
};
|
|
324
324
|
columnsEmptyText: {
|
|
@@ -391,10 +391,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
391
391
|
$: ComponentInternalInstance;
|
|
392
392
|
$data: {};
|
|
393
393
|
$props: Partial<{
|
|
394
|
-
labelPosition: "left" | "right" | "top";
|
|
395
|
-
modelValue: FieldValues;
|
|
396
394
|
columns: PlusColumn[];
|
|
397
|
-
layout: "
|
|
395
|
+
layout: "grid" | "flex";
|
|
396
|
+
modelValue: FieldValues;
|
|
397
|
+
labelPosition: "top" | "right" | "left";
|
|
398
398
|
inline: boolean;
|
|
399
399
|
showNumber: number;
|
|
400
400
|
defaultValues: FieldValues;
|
|
@@ -419,9 +419,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
419
419
|
searchIcon: Component | null;
|
|
420
420
|
resetIcon: Component | null;
|
|
421
421
|
}> & Omit<{
|
|
422
|
-
readonly modelValue: FieldValues;
|
|
423
422
|
readonly columns: PlusColumn[];
|
|
424
|
-
readonly layout: "
|
|
423
|
+
readonly layout: "grid" | "flex";
|
|
424
|
+
readonly modelValue: FieldValues;
|
|
425
425
|
readonly inline: boolean;
|
|
426
426
|
readonly showNumber: number;
|
|
427
427
|
readonly defaultValues: FieldValues;
|
|
@@ -443,31 +443,31 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
443
443
|
readonly expandText: string;
|
|
444
444
|
readonly searchLoading: boolean;
|
|
445
445
|
readonly needValidate: boolean;
|
|
446
|
-
readonly labelPosition?: "
|
|
446
|
+
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
447
447
|
readonly searchIcon?: Component | null | undefined;
|
|
448
448
|
readonly resetIcon?: Component | null | undefined;
|
|
449
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
450
449
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
451
450
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
451
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
452
452
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
453
453
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
454
454
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
455
|
-
labelPosition: {
|
|
456
|
-
type: PropType<"left" | "right" | "top">;
|
|
457
|
-
default: undefined;
|
|
458
|
-
};
|
|
459
|
-
modelValue: {
|
|
460
|
-
type: PropType<FieldValues>;
|
|
461
|
-
default: () => {};
|
|
462
|
-
};
|
|
463
455
|
columns: {
|
|
464
456
|
type: PropType<PlusColumn[]>;
|
|
465
457
|
default: () => never[];
|
|
466
458
|
};
|
|
467
459
|
layout: {
|
|
468
|
-
type: PropType<"
|
|
460
|
+
type: PropType<"grid" | "flex">;
|
|
469
461
|
default: "grid";
|
|
470
462
|
};
|
|
463
|
+
modelValue: {
|
|
464
|
+
type: PropType<FieldValues>;
|
|
465
|
+
default: () => {};
|
|
466
|
+
};
|
|
467
|
+
labelPosition: {
|
|
468
|
+
type: PropType<"top" | "right" | "left">;
|
|
469
|
+
default: undefined;
|
|
470
|
+
};
|
|
471
471
|
inline: {
|
|
472
472
|
type: PropType<boolean>;
|
|
473
473
|
default: boolean;
|
|
@@ -551,12 +551,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
551
551
|
default: undefined;
|
|
552
552
|
};
|
|
553
553
|
}>> & {
|
|
554
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
555
554
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
556
555
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
556
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
557
557
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
558
558
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
559
|
-
}, "
|
|
559
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
560
560
|
$attrs: {
|
|
561
561
|
[x: string]: unknown;
|
|
562
562
|
};
|
|
@@ -568,25 +568,25 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
568
568
|
}>;
|
|
569
569
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
570
570
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
571
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
571
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
572
572
|
$el: any;
|
|
573
573
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
574
|
-
labelPosition: {
|
|
575
|
-
type: PropType<"left" | "right" | "top">;
|
|
576
|
-
default: undefined;
|
|
577
|
-
};
|
|
578
|
-
modelValue: {
|
|
579
|
-
type: PropType<FieldValues>;
|
|
580
|
-
default: () => {};
|
|
581
|
-
};
|
|
582
574
|
columns: {
|
|
583
575
|
type: PropType<PlusColumn[]>;
|
|
584
576
|
default: () => never[];
|
|
585
577
|
};
|
|
586
578
|
layout: {
|
|
587
|
-
type: PropType<"
|
|
579
|
+
type: PropType<"grid" | "flex">;
|
|
588
580
|
default: "grid";
|
|
589
581
|
};
|
|
582
|
+
modelValue: {
|
|
583
|
+
type: PropType<FieldValues>;
|
|
584
|
+
default: () => {};
|
|
585
|
+
};
|
|
586
|
+
labelPosition: {
|
|
587
|
+
type: PropType<"top" | "right" | "left">;
|
|
588
|
+
default: undefined;
|
|
589
|
+
};
|
|
590
590
|
inline: {
|
|
591
591
|
type: PropType<boolean>;
|
|
592
592
|
default: boolean;
|
|
@@ -670,9 +670,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
670
670
|
default: undefined;
|
|
671
671
|
};
|
|
672
672
|
}>> & {
|
|
673
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
674
673
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
675
674
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
675
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
676
676
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
677
677
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
678
678
|
}, {
|
|
@@ -680,14 +680,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
680
680
|
$: ComponentInternalInstance;
|
|
681
681
|
$data: {};
|
|
682
682
|
$props: Partial<{
|
|
683
|
-
labelPosition: "left" | "right" | "top";
|
|
684
|
-
modelValue: FieldValues;
|
|
685
683
|
collapseDuration: number;
|
|
686
684
|
collapseTransition: boolean;
|
|
687
685
|
columns: PlusColumn[];
|
|
688
686
|
group: false | PlusFormGroupRow[];
|
|
689
|
-
layout: "
|
|
687
|
+
layout: "grid" | "flex";
|
|
688
|
+
modelValue: FieldValues;
|
|
690
689
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
690
|
+
labelPosition: "top" | "right" | "left";
|
|
691
691
|
labelWidth: string | number;
|
|
692
692
|
labelSuffix: string;
|
|
693
693
|
defaultValues: FieldValues;
|
|
@@ -706,7 +706,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
706
706
|
submitText: string;
|
|
707
707
|
resetText: string;
|
|
708
708
|
submitLoading: boolean;
|
|
709
|
-
footerAlign: "
|
|
709
|
+
footerAlign: "right" | "left" | "center";
|
|
710
710
|
cardProps: Partial< Mutable<CardProps> & {
|
|
711
711
|
style?: CSSProperties | undefined;
|
|
712
712
|
class?: any;
|
|
@@ -714,11 +714,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
714
714
|
prevent: boolean;
|
|
715
715
|
clearable: boolean;
|
|
716
716
|
}> & Omit<{
|
|
717
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
718
|
-
readonly modelValue: FieldValues;
|
|
719
717
|
readonly columns: PlusColumn[];
|
|
720
718
|
readonly group: false | PlusFormGroupRow[];
|
|
719
|
+
readonly modelValue: FieldValues;
|
|
721
720
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
721
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
722
722
|
readonly labelWidth: string | number;
|
|
723
723
|
readonly labelSuffix: string;
|
|
724
724
|
readonly defaultValues: FieldValues;
|
|
@@ -737,7 +737,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
737
737
|
readonly submitText: string;
|
|
738
738
|
readonly resetText: string;
|
|
739
739
|
readonly submitLoading: boolean;
|
|
740
|
-
readonly footerAlign: "
|
|
740
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
741
741
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
742
742
|
style?: CSSProperties | undefined;
|
|
743
743
|
class?: any;
|
|
@@ -746,22 +746,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
746
746
|
readonly clearable: boolean;
|
|
747
747
|
readonly collapseDuration?: number | undefined;
|
|
748
748
|
readonly collapseTransition?: boolean | undefined;
|
|
749
|
-
readonly layout?: "
|
|
750
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
749
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
751
750
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
752
751
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
753
752
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
753
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
754
754
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
755
755
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
756
756
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
757
|
-
labelPosition: {
|
|
758
|
-
type: PropType<"left" | "right" | "top">;
|
|
759
|
-
default: string;
|
|
760
|
-
};
|
|
761
|
-
modelValue: {
|
|
762
|
-
type: PropType<FieldValues>;
|
|
763
|
-
default: () => {};
|
|
764
|
-
};
|
|
765
757
|
collapseDuration: {
|
|
766
758
|
type: PropType<number>;
|
|
767
759
|
default: undefined;
|
|
@@ -779,13 +771,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
779
771
|
default: boolean;
|
|
780
772
|
};
|
|
781
773
|
layout: {
|
|
782
|
-
type: PropType<"
|
|
774
|
+
type: PropType<"grid" | "flex">;
|
|
783
775
|
default: undefined;
|
|
784
776
|
};
|
|
777
|
+
modelValue: {
|
|
778
|
+
type: PropType<FieldValues>;
|
|
779
|
+
default: () => {};
|
|
780
|
+
};
|
|
785
781
|
rules: {
|
|
786
782
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
787
783
|
default: () => {};
|
|
788
784
|
};
|
|
785
|
+
labelPosition: {
|
|
786
|
+
type: PropType<"top" | "right" | "left">;
|
|
787
|
+
default: string;
|
|
788
|
+
};
|
|
789
789
|
labelWidth: {
|
|
790
790
|
type: PropType<string | number>;
|
|
791
791
|
default: string;
|
|
@@ -841,7 +841,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
841
841
|
default: boolean;
|
|
842
842
|
};
|
|
843
843
|
footerAlign: {
|
|
844
|
-
type: PropType<"
|
|
844
|
+
type: PropType<"right" | "left" | "center">;
|
|
845
845
|
default: string;
|
|
846
846
|
};
|
|
847
847
|
cardProps: {
|
|
@@ -860,13 +860,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
860
860
|
default: boolean;
|
|
861
861
|
};
|
|
862
862
|
}>> & {
|
|
863
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
864
863
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
865
864
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
866
865
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
866
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
867
867
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
868
868
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
869
|
-
}, "
|
|
869
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
870
870
|
$attrs: {
|
|
871
871
|
[x: string]: unknown;
|
|
872
872
|
};
|
|
@@ -878,17 +878,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
878
878
|
}>;
|
|
879
879
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
880
880
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
881
|
-
$emit: ((event: "
|
|
881
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
882
882
|
$el: any;
|
|
883
883
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
884
|
-
labelPosition: {
|
|
885
|
-
type: PropType<"left" | "right" | "top">;
|
|
886
|
-
default: string;
|
|
887
|
-
};
|
|
888
|
-
modelValue: {
|
|
889
|
-
type: PropType<FieldValues>;
|
|
890
|
-
default: () => {};
|
|
891
|
-
};
|
|
892
884
|
collapseDuration: {
|
|
893
885
|
type: PropType<number>;
|
|
894
886
|
default: undefined;
|
|
@@ -906,13 +898,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
906
898
|
default: boolean;
|
|
907
899
|
};
|
|
908
900
|
layout: {
|
|
909
|
-
type: PropType<"
|
|
901
|
+
type: PropType<"grid" | "flex">;
|
|
910
902
|
default: undefined;
|
|
911
903
|
};
|
|
904
|
+
modelValue: {
|
|
905
|
+
type: PropType<FieldValues>;
|
|
906
|
+
default: () => {};
|
|
907
|
+
};
|
|
912
908
|
rules: {
|
|
913
909
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
914
910
|
default: () => {};
|
|
915
911
|
};
|
|
912
|
+
labelPosition: {
|
|
913
|
+
type: PropType<"top" | "right" | "left">;
|
|
914
|
+
default: string;
|
|
915
|
+
};
|
|
916
916
|
labelWidth: {
|
|
917
917
|
type: PropType<string | number>;
|
|
918
918
|
default: string;
|
|
@@ -968,7 +968,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
968
968
|
default: boolean;
|
|
969
969
|
};
|
|
970
970
|
footerAlign: {
|
|
971
|
-
type: PropType<"
|
|
971
|
+
type: PropType<"right" | "left" | "center">;
|
|
972
972
|
default: string;
|
|
973
973
|
};
|
|
974
974
|
cardProps: {
|
|
@@ -987,10 +987,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
987
987
|
default: boolean;
|
|
988
988
|
};
|
|
989
989
|
}>> & {
|
|
990
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
991
990
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
992
991
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
993
992
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
993
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
994
994
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
995
995
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
996
996
|
}, {
|
|
@@ -1005,14 +1005,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1005
1005
|
submitError: (errors: unknown) => void;
|
|
1006
1006
|
validate: (...args: any[]) => void;
|
|
1007
1007
|
}, string, {
|
|
1008
|
-
labelPosition: "left" | "right" | "top";
|
|
1009
|
-
modelValue: FieldValues;
|
|
1010
1008
|
collapseDuration: number;
|
|
1011
1009
|
collapseTransition: boolean;
|
|
1012
1010
|
columns: PlusColumn[];
|
|
1013
1011
|
group: false | PlusFormGroupRow[];
|
|
1014
|
-
layout: "
|
|
1012
|
+
layout: "grid" | "flex";
|
|
1013
|
+
modelValue: FieldValues;
|
|
1015
1014
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1015
|
+
labelPosition: "top" | "right" | "left";
|
|
1016
1016
|
labelWidth: string | number;
|
|
1017
1017
|
labelSuffix: string;
|
|
1018
1018
|
defaultValues: FieldValues;
|
|
@@ -1031,7 +1031,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1031
1031
|
submitText: string;
|
|
1032
1032
|
resetText: string;
|
|
1033
1033
|
submitLoading: boolean;
|
|
1034
|
-
footerAlign: "
|
|
1034
|
+
footerAlign: "right" | "left" | "center";
|
|
1035
1035
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1036
1036
|
style?: CSSProperties | undefined;
|
|
1037
1037
|
class?: any;
|
|
@@ -1059,14 +1059,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1059
1059
|
$nextTick: typeof nextTick;
|
|
1060
1060
|
$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;
|
|
1061
1061
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1062
|
-
labelPosition: {
|
|
1063
|
-
type: PropType<"left" | "right" | "top">;
|
|
1064
|
-
default: string;
|
|
1065
|
-
};
|
|
1066
|
-
modelValue: {
|
|
1067
|
-
type: PropType<FieldValues>;
|
|
1068
|
-
default: () => {};
|
|
1069
|
-
};
|
|
1070
1062
|
collapseDuration: {
|
|
1071
1063
|
type: PropType<number>;
|
|
1072
1064
|
default: undefined;
|
|
@@ -1084,13 +1076,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1084
1076
|
default: boolean;
|
|
1085
1077
|
};
|
|
1086
1078
|
layout: {
|
|
1087
|
-
type: PropType<"
|
|
1079
|
+
type: PropType<"grid" | "flex">;
|
|
1088
1080
|
default: undefined;
|
|
1089
1081
|
};
|
|
1082
|
+
modelValue: {
|
|
1083
|
+
type: PropType<FieldValues>;
|
|
1084
|
+
default: () => {};
|
|
1085
|
+
};
|
|
1090
1086
|
rules: {
|
|
1091
1087
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1092
1088
|
default: () => {};
|
|
1093
1089
|
};
|
|
1090
|
+
labelPosition: {
|
|
1091
|
+
type: PropType<"top" | "right" | "left">;
|
|
1092
|
+
default: string;
|
|
1093
|
+
};
|
|
1094
1094
|
labelWidth: {
|
|
1095
1095
|
type: PropType<string | number>;
|
|
1096
1096
|
default: string;
|
|
@@ -1146,7 +1146,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1146
1146
|
default: boolean;
|
|
1147
1147
|
};
|
|
1148
1148
|
footerAlign: {
|
|
1149
|
-
type: PropType<"
|
|
1149
|
+
type: PropType<"right" | "left" | "center">;
|
|
1150
1150
|
default: string;
|
|
1151
1151
|
};
|
|
1152
1152
|
cardProps: {
|
|
@@ -1165,10 +1165,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1165
1165
|
default: boolean;
|
|
1166
1166
|
};
|
|
1167
1167
|
}>> & {
|
|
1168
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1169
1168
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1170
1169
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1171
1170
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1171
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1172
1172
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1173
1173
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1174
1174
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1188,14 +1188,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1188
1188
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1189
1189
|
columns?: PlusColumn[] | undefined;
|
|
1190
1190
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1191
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1191
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1192
1192
|
readonly label: string | ComputedRef<string>;
|
|
1193
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1193
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1194
1194
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1195
|
-
readonly tooltip: string |
|
|
1195
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1196
1196
|
style?: CSSProperties | undefined;
|
|
1197
1197
|
class?: any;
|
|
1198
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1198
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1199
1199
|
style?: CSSProperties | undefined;
|
|
1200
1200
|
class?: any;
|
|
1201
1201
|
} & RecordType>>;
|
|
@@ -1262,12 +1262,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1262
1262
|
fieldInstance?: any;
|
|
1263
1263
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1264
1264
|
prop: string;
|
|
1265
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1265
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1266
1266
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1267
|
-
tooltip: string |
|
|
1267
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1268
1268
|
style?: CSSProperties | undefined;
|
|
1269
1269
|
class?: any;
|
|
1270
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1270
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1271
1271
|
style?: CSSProperties | undefined;
|
|
1272
1272
|
class?: any;
|
|
1273
1273
|
} & RecordType>>;
|
|
@@ -1296,14 +1296,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1296
1296
|
clearable: boolean;
|
|
1297
1297
|
index: number;
|
|
1298
1298
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1299
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1299
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1300
1300
|
readonly label: string | ComputedRef<string>;
|
|
1301
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1301
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1302
1302
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1303
|
-
readonly tooltip: string |
|
|
1303
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1304
1304
|
style?: CSSProperties | undefined;
|
|
1305
1305
|
class?: any;
|
|
1306
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1306
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1307
1307
|
style?: CSSProperties | undefined;
|
|
1308
1308
|
class?: any;
|
|
1309
1309
|
} & RecordType>>;
|
|
@@ -1370,12 +1370,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1370
1370
|
fieldInstance?: any;
|
|
1371
1371
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1372
1372
|
prop: string;
|
|
1373
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1373
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1374
1374
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1375
|
-
tooltip: string |
|
|
1375
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1376
1376
|
style?: CSSProperties | undefined;
|
|
1377
1377
|
class?: any;
|
|
1378
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1378
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1379
1379
|
style?: CSSProperties | undefined;
|
|
1380
1380
|
class?: any;
|
|
1381
1381
|
} & RecordType>>;
|
|
@@ -1427,10 +1427,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1427
1427
|
reset: (values: FieldValues) => void;
|
|
1428
1428
|
collapse: (isShowUnfold: boolean) => void;
|
|
1429
1429
|
}, string, {
|
|
1430
|
-
labelPosition: "left" | "right" | "top";
|
|
1431
|
-
modelValue: FieldValues;
|
|
1432
1430
|
columns: PlusColumn[];
|
|
1433
|
-
layout: "
|
|
1431
|
+
layout: "grid" | "flex";
|
|
1432
|
+
modelValue: FieldValues;
|
|
1433
|
+
labelPosition: "top" | "right" | "left";
|
|
1434
1434
|
inline: boolean;
|
|
1435
1435
|
showNumber: number;
|
|
1436
1436
|
defaultValues: FieldValues;
|
|
@@ -1475,22 +1475,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1475
1475
|
$nextTick: typeof nextTick;
|
|
1476
1476
|
$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;
|
|
1477
1477
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1478
|
-
labelPosition: {
|
|
1479
|
-
type: PropType<"left" | "right" | "top">;
|
|
1480
|
-
default: undefined;
|
|
1481
|
-
};
|
|
1482
|
-
modelValue: {
|
|
1483
|
-
type: PropType<FieldValues>;
|
|
1484
|
-
default: () => {};
|
|
1485
|
-
};
|
|
1486
1478
|
columns: {
|
|
1487
1479
|
type: PropType<PlusColumn[]>;
|
|
1488
1480
|
default: () => never[];
|
|
1489
1481
|
};
|
|
1490
1482
|
layout: {
|
|
1491
|
-
type: PropType<"
|
|
1483
|
+
type: PropType<"grid" | "flex">;
|
|
1492
1484
|
default: "grid";
|
|
1493
1485
|
};
|
|
1486
|
+
modelValue: {
|
|
1487
|
+
type: PropType<FieldValues>;
|
|
1488
|
+
default: () => {};
|
|
1489
|
+
};
|
|
1490
|
+
labelPosition: {
|
|
1491
|
+
type: PropType<"top" | "right" | "left">;
|
|
1492
|
+
default: undefined;
|
|
1493
|
+
};
|
|
1494
1494
|
inline: {
|
|
1495
1495
|
type: PropType<boolean>;
|
|
1496
1496
|
default: boolean;
|
|
@@ -1574,9 +1574,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1574
1574
|
default: undefined;
|
|
1575
1575
|
};
|
|
1576
1576
|
}>> & {
|
|
1577
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1578
1577
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1579
1578
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1579
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1580
1580
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1581
1581
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1582
1582
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1584,14 +1584,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1584
1584
|
$: ComponentInternalInstance;
|
|
1585
1585
|
$data: {};
|
|
1586
1586
|
$props: Partial<{
|
|
1587
|
-
labelPosition: "left" | "right" | "top";
|
|
1588
|
-
modelValue: FieldValues;
|
|
1589
1587
|
collapseDuration: number;
|
|
1590
1588
|
collapseTransition: boolean;
|
|
1591
1589
|
columns: PlusColumn[];
|
|
1592
1590
|
group: false | PlusFormGroupRow[];
|
|
1593
|
-
layout: "
|
|
1591
|
+
layout: "grid" | "flex";
|
|
1592
|
+
modelValue: FieldValues;
|
|
1594
1593
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1594
|
+
labelPosition: "top" | "right" | "left";
|
|
1595
1595
|
labelWidth: string | number;
|
|
1596
1596
|
labelSuffix: string;
|
|
1597
1597
|
defaultValues: FieldValues;
|
|
@@ -1610,7 +1610,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1610
1610
|
submitText: string;
|
|
1611
1611
|
resetText: string;
|
|
1612
1612
|
submitLoading: boolean;
|
|
1613
|
-
footerAlign: "
|
|
1613
|
+
footerAlign: "right" | "left" | "center";
|
|
1614
1614
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1615
1615
|
style?: CSSProperties | undefined;
|
|
1616
1616
|
class?: any;
|
|
@@ -1618,11 +1618,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1618
1618
|
prevent: boolean;
|
|
1619
1619
|
clearable: boolean;
|
|
1620
1620
|
}> & Omit<{
|
|
1621
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1622
|
-
readonly modelValue: FieldValues;
|
|
1623
1621
|
readonly columns: PlusColumn[];
|
|
1624
1622
|
readonly group: false | PlusFormGroupRow[];
|
|
1623
|
+
readonly modelValue: FieldValues;
|
|
1625
1624
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1625
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
1626
1626
|
readonly labelWidth: string | number;
|
|
1627
1627
|
readonly labelSuffix: string;
|
|
1628
1628
|
readonly defaultValues: FieldValues;
|
|
@@ -1641,7 +1641,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1641
1641
|
readonly submitText: string;
|
|
1642
1642
|
readonly resetText: string;
|
|
1643
1643
|
readonly submitLoading: boolean;
|
|
1644
|
-
readonly footerAlign: "
|
|
1644
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1645
1645
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1646
1646
|
style?: CSSProperties | undefined;
|
|
1647
1647
|
class?: any;
|
|
@@ -1650,22 +1650,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1650
1650
|
readonly clearable: boolean;
|
|
1651
1651
|
readonly collapseDuration?: number | undefined;
|
|
1652
1652
|
readonly collapseTransition?: boolean | undefined;
|
|
1653
|
-
readonly layout?: "
|
|
1654
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1653
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
1655
1654
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1656
1655
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1657
1656
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1657
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1658
1658
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1659
1659
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1660
1660
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1661
|
-
labelPosition: {
|
|
1662
|
-
type: PropType<"left" | "right" | "top">;
|
|
1663
|
-
default: string;
|
|
1664
|
-
};
|
|
1665
|
-
modelValue: {
|
|
1666
|
-
type: PropType<FieldValues>;
|
|
1667
|
-
default: () => {};
|
|
1668
|
-
};
|
|
1669
1661
|
collapseDuration: {
|
|
1670
1662
|
type: PropType<number>;
|
|
1671
1663
|
default: undefined;
|
|
@@ -1683,13 +1675,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1683
1675
|
default: boolean;
|
|
1684
1676
|
};
|
|
1685
1677
|
layout: {
|
|
1686
|
-
type: PropType<"
|
|
1678
|
+
type: PropType<"grid" | "flex">;
|
|
1687
1679
|
default: undefined;
|
|
1688
1680
|
};
|
|
1681
|
+
modelValue: {
|
|
1682
|
+
type: PropType<FieldValues>;
|
|
1683
|
+
default: () => {};
|
|
1684
|
+
};
|
|
1689
1685
|
rules: {
|
|
1690
1686
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1691
1687
|
default: () => {};
|
|
1692
1688
|
};
|
|
1689
|
+
labelPosition: {
|
|
1690
|
+
type: PropType<"top" | "right" | "left">;
|
|
1691
|
+
default: string;
|
|
1692
|
+
};
|
|
1693
1693
|
labelWidth: {
|
|
1694
1694
|
type: PropType<string | number>;
|
|
1695
1695
|
default: string;
|
|
@@ -1745,7 +1745,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1745
1745
|
default: boolean;
|
|
1746
1746
|
};
|
|
1747
1747
|
footerAlign: {
|
|
1748
|
-
type: PropType<"
|
|
1748
|
+
type: PropType<"right" | "left" | "center">;
|
|
1749
1749
|
default: string;
|
|
1750
1750
|
};
|
|
1751
1751
|
cardProps: {
|
|
@@ -1764,13 +1764,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1764
1764
|
default: boolean;
|
|
1765
1765
|
};
|
|
1766
1766
|
}>> & {
|
|
1767
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1768
1767
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1769
1768
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1770
1769
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1770
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1771
1771
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1772
1772
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1773
|
-
}, "
|
|
1773
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1774
1774
|
$attrs: {
|
|
1775
1775
|
[x: string]: unknown;
|
|
1776
1776
|
};
|
|
@@ -1782,17 +1782,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1782
1782
|
}>;
|
|
1783
1783
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1784
1784
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1785
|
-
$emit: ((event: "
|
|
1785
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1786
1786
|
$el: any;
|
|
1787
1787
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1788
|
-
labelPosition: {
|
|
1789
|
-
type: PropType<"left" | "right" | "top">;
|
|
1790
|
-
default: string;
|
|
1791
|
-
};
|
|
1792
|
-
modelValue: {
|
|
1793
|
-
type: PropType<FieldValues>;
|
|
1794
|
-
default: () => {};
|
|
1795
|
-
};
|
|
1796
1788
|
collapseDuration: {
|
|
1797
1789
|
type: PropType<number>;
|
|
1798
1790
|
default: undefined;
|
|
@@ -1810,13 +1802,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1810
1802
|
default: boolean;
|
|
1811
1803
|
};
|
|
1812
1804
|
layout: {
|
|
1813
|
-
type: PropType<"
|
|
1805
|
+
type: PropType<"grid" | "flex">;
|
|
1814
1806
|
default: undefined;
|
|
1815
1807
|
};
|
|
1808
|
+
modelValue: {
|
|
1809
|
+
type: PropType<FieldValues>;
|
|
1810
|
+
default: () => {};
|
|
1811
|
+
};
|
|
1816
1812
|
rules: {
|
|
1817
1813
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1818
1814
|
default: () => {};
|
|
1819
1815
|
};
|
|
1816
|
+
labelPosition: {
|
|
1817
|
+
type: PropType<"top" | "right" | "left">;
|
|
1818
|
+
default: string;
|
|
1819
|
+
};
|
|
1820
1820
|
labelWidth: {
|
|
1821
1821
|
type: PropType<string | number>;
|
|
1822
1822
|
default: string;
|
|
@@ -1872,7 +1872,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1872
1872
|
default: boolean;
|
|
1873
1873
|
};
|
|
1874
1874
|
footerAlign: {
|
|
1875
|
-
type: PropType<"
|
|
1875
|
+
type: PropType<"right" | "left" | "center">;
|
|
1876
1876
|
default: string;
|
|
1877
1877
|
};
|
|
1878
1878
|
cardProps: {
|
|
@@ -1891,10 +1891,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1891
1891
|
default: boolean;
|
|
1892
1892
|
};
|
|
1893
1893
|
}>> & {
|
|
1894
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1895
1894
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1896
1895
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1897
1896
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1897
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1898
1898
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1899
1899
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1900
1900
|
}, {
|
|
@@ -1909,14 +1909,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1909
1909
|
submitError: (errors: unknown) => void;
|
|
1910
1910
|
validate: (...args: any[]) => void;
|
|
1911
1911
|
}, string, {
|
|
1912
|
-
labelPosition: "left" | "right" | "top";
|
|
1913
|
-
modelValue: FieldValues;
|
|
1914
1912
|
collapseDuration: number;
|
|
1915
1913
|
collapseTransition: boolean;
|
|
1916
1914
|
columns: PlusColumn[];
|
|
1917
1915
|
group: false | PlusFormGroupRow[];
|
|
1918
|
-
layout: "
|
|
1916
|
+
layout: "grid" | "flex";
|
|
1917
|
+
modelValue: FieldValues;
|
|
1919
1918
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1919
|
+
labelPosition: "top" | "right" | "left";
|
|
1920
1920
|
labelWidth: string | number;
|
|
1921
1921
|
labelSuffix: string;
|
|
1922
1922
|
defaultValues: FieldValues;
|
|
@@ -1935,7 +1935,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1935
1935
|
submitText: string;
|
|
1936
1936
|
resetText: string;
|
|
1937
1937
|
submitLoading: boolean;
|
|
1938
|
-
footerAlign: "
|
|
1938
|
+
footerAlign: "right" | "left" | "center";
|
|
1939
1939
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1940
1940
|
style?: CSSProperties | undefined;
|
|
1941
1941
|
class?: any;
|
|
@@ -1963,14 +1963,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1963
1963
|
$nextTick: typeof nextTick;
|
|
1964
1964
|
$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;
|
|
1965
1965
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1966
|
-
labelPosition: {
|
|
1967
|
-
type: PropType<"left" | "right" | "top">;
|
|
1968
|
-
default: string;
|
|
1969
|
-
};
|
|
1970
|
-
modelValue: {
|
|
1971
|
-
type: PropType<FieldValues>;
|
|
1972
|
-
default: () => {};
|
|
1973
|
-
};
|
|
1974
1966
|
collapseDuration: {
|
|
1975
1967
|
type: PropType<number>;
|
|
1976
1968
|
default: undefined;
|
|
@@ -1988,13 +1980,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1988
1980
|
default: boolean;
|
|
1989
1981
|
};
|
|
1990
1982
|
layout: {
|
|
1991
|
-
type: PropType<"
|
|
1983
|
+
type: PropType<"grid" | "flex">;
|
|
1992
1984
|
default: undefined;
|
|
1993
1985
|
};
|
|
1986
|
+
modelValue: {
|
|
1987
|
+
type: PropType<FieldValues>;
|
|
1988
|
+
default: () => {};
|
|
1989
|
+
};
|
|
1994
1990
|
rules: {
|
|
1995
1991
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1996
1992
|
default: () => {};
|
|
1997
1993
|
};
|
|
1994
|
+
labelPosition: {
|
|
1995
|
+
type: PropType<"top" | "right" | "left">;
|
|
1996
|
+
default: string;
|
|
1997
|
+
};
|
|
1998
1998
|
labelWidth: {
|
|
1999
1999
|
type: PropType<string | number>;
|
|
2000
2000
|
default: string;
|
|
@@ -2050,7 +2050,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2050
2050
|
default: boolean;
|
|
2051
2051
|
};
|
|
2052
2052
|
footerAlign: {
|
|
2053
|
-
type: PropType<"
|
|
2053
|
+
type: PropType<"right" | "left" | "center">;
|
|
2054
2054
|
default: string;
|
|
2055
2055
|
};
|
|
2056
2056
|
cardProps: {
|
|
@@ -2069,10 +2069,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2069
2069
|
default: boolean;
|
|
2070
2070
|
};
|
|
2071
2071
|
}>> & {
|
|
2072
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2073
2072
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2074
2073
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2075
2074
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2075
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2076
2076
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2077
2077
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2078
2078
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2092,14 +2092,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2092
2092
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2093
2093
|
columns?: PlusColumn[] | undefined;
|
|
2094
2094
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2095
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2095
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2096
2096
|
readonly label: string | ComputedRef<string>;
|
|
2097
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2097
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2098
2098
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2099
|
-
readonly tooltip: string |
|
|
2099
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2100
2100
|
style?: CSSProperties | undefined;
|
|
2101
2101
|
class?: any;
|
|
2102
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2102
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2103
2103
|
style?: CSSProperties | undefined;
|
|
2104
2104
|
class?: any;
|
|
2105
2105
|
} & RecordType>>;
|
|
@@ -2166,12 +2166,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2166
2166
|
fieldInstance?: any;
|
|
2167
2167
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2168
2168
|
prop: string;
|
|
2169
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2169
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2170
2170
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2171
|
-
tooltip: string |
|
|
2171
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2172
2172
|
style?: CSSProperties | undefined;
|
|
2173
2173
|
class?: any;
|
|
2174
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2174
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2175
2175
|
style?: CSSProperties | undefined;
|
|
2176
2176
|
class?: any;
|
|
2177
2177
|
} & RecordType>>;
|
|
@@ -2200,14 +2200,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2200
2200
|
clearable: boolean;
|
|
2201
2201
|
index: number;
|
|
2202
2202
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2203
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2203
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2204
2204
|
readonly label: string | ComputedRef<string>;
|
|
2205
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2205
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2206
2206
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2207
|
-
readonly tooltip: string |
|
|
2207
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2208
2208
|
style?: CSSProperties | undefined;
|
|
2209
2209
|
class?: any;
|
|
2210
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2210
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2211
2211
|
style?: CSSProperties | undefined;
|
|
2212
2212
|
class?: any;
|
|
2213
2213
|
} & RecordType>>;
|
|
@@ -2274,12 +2274,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2274
2274
|
fieldInstance?: any;
|
|
2275
2275
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2276
2276
|
prop: string;
|
|
2277
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2277
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2278
2278
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2279
|
-
tooltip: string |
|
|
2279
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2280
2280
|
style?: CSSProperties | undefined;
|
|
2281
2281
|
class?: any;
|
|
2282
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2282
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2283
2283
|
style?: CSSProperties | undefined;
|
|
2284
2284
|
class?: any;
|
|
2285
2285
|
} & RecordType>>;
|
|
@@ -2326,14 +2326,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2326
2326
|
handleUnfold: (e: MouseEvent) => void;
|
|
2327
2327
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2328
2328
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2329
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2329
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2330
2330
|
readonly label: string | ComputedRef<string>;
|
|
2331
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2331
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2332
2332
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2333
|
-
readonly tooltip: string |
|
|
2333
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2334
2334
|
style?: CSSProperties | undefined;
|
|
2335
2335
|
class?: any;
|
|
2336
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2336
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2337
2337
|
style?: CSSProperties | undefined;
|
|
2338
2338
|
class?: any;
|
|
2339
2339
|
} & RecordType>>;
|
|
@@ -2400,12 +2400,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2400
2400
|
fieldInstance?: any;
|
|
2401
2401
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2402
2402
|
prop: string;
|
|
2403
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2403
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2404
2404
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2405
|
-
tooltip: string |
|
|
2405
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2406
2406
|
style?: CSSProperties | undefined;
|
|
2407
2407
|
class?: any;
|
|
2408
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2408
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2409
2409
|
style?: CSSProperties | undefined;
|
|
2410
2410
|
class?: any;
|
|
2411
2411
|
} & RecordType>>;
|
|
@@ -3692,7 +3692,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3692
3692
|
columns: PlusColumn[];
|
|
3693
3693
|
immediate: boolean;
|
|
3694
3694
|
params: RecordType;
|
|
3695
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
3695
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
3696
3696
|
columnsEmptyText: string;
|
|
3697
3697
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
3698
3698
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -3769,7 +3769,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3769
3769
|
required: true;
|
|
3770
3770
|
};
|
|
3771
3771
|
pagination: {
|
|
3772
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
3772
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
3773
3773
|
default: () => {};
|
|
3774
3774
|
};
|
|
3775
3775
|
columnsEmptyText: {
|
|
@@ -3842,10 +3842,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3842
3842
|
$: ComponentInternalInstance;
|
|
3843
3843
|
$data: {};
|
|
3844
3844
|
$props: Partial<{
|
|
3845
|
-
labelPosition: "left" | "right" | "top";
|
|
3846
|
-
modelValue: FieldValues;
|
|
3847
3845
|
columns: PlusColumn[];
|
|
3848
|
-
layout: "
|
|
3846
|
+
layout: "grid" | "flex";
|
|
3847
|
+
modelValue: FieldValues;
|
|
3848
|
+
labelPosition: "top" | "right" | "left";
|
|
3849
3849
|
inline: boolean;
|
|
3850
3850
|
showNumber: number;
|
|
3851
3851
|
defaultValues: FieldValues;
|
|
@@ -3870,9 +3870,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3870
3870
|
searchIcon: Component | null;
|
|
3871
3871
|
resetIcon: Component | null;
|
|
3872
3872
|
}> & Omit<{
|
|
3873
|
-
readonly modelValue: FieldValues;
|
|
3874
3873
|
readonly columns: PlusColumn[];
|
|
3875
|
-
readonly layout: "
|
|
3874
|
+
readonly layout: "grid" | "flex";
|
|
3875
|
+
readonly modelValue: FieldValues;
|
|
3876
3876
|
readonly inline: boolean;
|
|
3877
3877
|
readonly showNumber: number;
|
|
3878
3878
|
readonly defaultValues: FieldValues;
|
|
@@ -3894,31 +3894,31 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3894
3894
|
readonly expandText: string;
|
|
3895
3895
|
readonly searchLoading: boolean;
|
|
3896
3896
|
readonly needValidate: boolean;
|
|
3897
|
-
readonly labelPosition?: "
|
|
3897
|
+
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
3898
3898
|
readonly searchIcon?: Component | null | undefined;
|
|
3899
3899
|
readonly resetIcon?: Component | null | undefined;
|
|
3900
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3901
3900
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3902
3901
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3902
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3903
3903
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
3904
3904
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
3905
3905
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3906
|
-
labelPosition: {
|
|
3907
|
-
type: PropType<"left" | "right" | "top">;
|
|
3908
|
-
default: undefined;
|
|
3909
|
-
};
|
|
3910
|
-
modelValue: {
|
|
3911
|
-
type: PropType<FieldValues>;
|
|
3912
|
-
default: () => {};
|
|
3913
|
-
};
|
|
3914
3906
|
columns: {
|
|
3915
3907
|
type: PropType<PlusColumn[]>;
|
|
3916
3908
|
default: () => never[];
|
|
3917
3909
|
};
|
|
3918
3910
|
layout: {
|
|
3919
|
-
type: PropType<"
|
|
3911
|
+
type: PropType<"grid" | "flex">;
|
|
3920
3912
|
default: "grid";
|
|
3921
3913
|
};
|
|
3914
|
+
modelValue: {
|
|
3915
|
+
type: PropType<FieldValues>;
|
|
3916
|
+
default: () => {};
|
|
3917
|
+
};
|
|
3918
|
+
labelPosition: {
|
|
3919
|
+
type: PropType<"top" | "right" | "left">;
|
|
3920
|
+
default: undefined;
|
|
3921
|
+
};
|
|
3922
3922
|
inline: {
|
|
3923
3923
|
type: PropType<boolean>;
|
|
3924
3924
|
default: boolean;
|
|
@@ -4002,12 +4002,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4002
4002
|
default: undefined;
|
|
4003
4003
|
};
|
|
4004
4004
|
}>> & {
|
|
4005
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4006
4005
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4007
4006
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4007
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4008
4008
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4009
4009
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4010
|
-
}, "
|
|
4010
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
4011
4011
|
$attrs: {
|
|
4012
4012
|
[x: string]: unknown;
|
|
4013
4013
|
};
|
|
@@ -4019,25 +4019,25 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4019
4019
|
}>;
|
|
4020
4020
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4021
4021
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4022
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
4022
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
4023
4023
|
$el: any;
|
|
4024
4024
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4025
|
-
labelPosition: {
|
|
4026
|
-
type: PropType<"left" | "right" | "top">;
|
|
4027
|
-
default: undefined;
|
|
4028
|
-
};
|
|
4029
|
-
modelValue: {
|
|
4030
|
-
type: PropType<FieldValues>;
|
|
4031
|
-
default: () => {};
|
|
4032
|
-
};
|
|
4033
4025
|
columns: {
|
|
4034
4026
|
type: PropType<PlusColumn[]>;
|
|
4035
4027
|
default: () => never[];
|
|
4036
4028
|
};
|
|
4037
4029
|
layout: {
|
|
4038
|
-
type: PropType<"
|
|
4030
|
+
type: PropType<"grid" | "flex">;
|
|
4039
4031
|
default: "grid";
|
|
4040
4032
|
};
|
|
4033
|
+
modelValue: {
|
|
4034
|
+
type: PropType<FieldValues>;
|
|
4035
|
+
default: () => {};
|
|
4036
|
+
};
|
|
4037
|
+
labelPosition: {
|
|
4038
|
+
type: PropType<"top" | "right" | "left">;
|
|
4039
|
+
default: undefined;
|
|
4040
|
+
};
|
|
4041
4041
|
inline: {
|
|
4042
4042
|
type: PropType<boolean>;
|
|
4043
4043
|
default: boolean;
|
|
@@ -4121,9 +4121,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4121
4121
|
default: undefined;
|
|
4122
4122
|
};
|
|
4123
4123
|
}>> & {
|
|
4124
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4125
4124
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4126
4125
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4126
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4127
4127
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4128
4128
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4129
4129
|
}, {
|
|
@@ -4131,14 +4131,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4131
4131
|
$: ComponentInternalInstance;
|
|
4132
4132
|
$data: {};
|
|
4133
4133
|
$props: Partial<{
|
|
4134
|
-
labelPosition: "left" | "right" | "top";
|
|
4135
|
-
modelValue: FieldValues;
|
|
4136
4134
|
collapseDuration: number;
|
|
4137
4135
|
collapseTransition: boolean;
|
|
4138
4136
|
columns: PlusColumn[];
|
|
4139
4137
|
group: false | PlusFormGroupRow[];
|
|
4140
|
-
layout: "
|
|
4138
|
+
layout: "grid" | "flex";
|
|
4139
|
+
modelValue: FieldValues;
|
|
4141
4140
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4141
|
+
labelPosition: "top" | "right" | "left";
|
|
4142
4142
|
labelWidth: string | number;
|
|
4143
4143
|
labelSuffix: string;
|
|
4144
4144
|
defaultValues: FieldValues;
|
|
@@ -4157,7 +4157,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4157
4157
|
submitText: string;
|
|
4158
4158
|
resetText: string;
|
|
4159
4159
|
submitLoading: boolean;
|
|
4160
|
-
footerAlign: "
|
|
4160
|
+
footerAlign: "right" | "left" | "center";
|
|
4161
4161
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4162
4162
|
style?: CSSProperties | undefined;
|
|
4163
4163
|
class?: any;
|
|
@@ -4165,11 +4165,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4165
4165
|
prevent: boolean;
|
|
4166
4166
|
clearable: boolean;
|
|
4167
4167
|
}> & Omit<{
|
|
4168
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
4169
|
-
readonly modelValue: FieldValues;
|
|
4170
4168
|
readonly columns: PlusColumn[];
|
|
4171
4169
|
readonly group: false | PlusFormGroupRow[];
|
|
4170
|
+
readonly modelValue: FieldValues;
|
|
4172
4171
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4172
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
4173
4173
|
readonly labelWidth: string | number;
|
|
4174
4174
|
readonly labelSuffix: string;
|
|
4175
4175
|
readonly defaultValues: FieldValues;
|
|
@@ -4188,7 +4188,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4188
4188
|
readonly submitText: string;
|
|
4189
4189
|
readonly resetText: string;
|
|
4190
4190
|
readonly submitLoading: boolean;
|
|
4191
|
-
readonly footerAlign: "
|
|
4191
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
4192
4192
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
4193
4193
|
style?: CSSProperties | undefined;
|
|
4194
4194
|
class?: any;
|
|
@@ -4197,22 +4197,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4197
4197
|
readonly clearable: boolean;
|
|
4198
4198
|
readonly collapseDuration?: number | undefined;
|
|
4199
4199
|
readonly collapseTransition?: boolean | undefined;
|
|
4200
|
-
readonly layout?: "
|
|
4201
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4200
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
4202
4201
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4203
4202
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4204
4203
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4204
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4205
4205
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4206
4206
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4207
4207
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
4208
|
-
labelPosition: {
|
|
4209
|
-
type: PropType<"left" | "right" | "top">;
|
|
4210
|
-
default: string;
|
|
4211
|
-
};
|
|
4212
|
-
modelValue: {
|
|
4213
|
-
type: PropType<FieldValues>;
|
|
4214
|
-
default: () => {};
|
|
4215
|
-
};
|
|
4216
4208
|
collapseDuration: {
|
|
4217
4209
|
type: PropType<number>;
|
|
4218
4210
|
default: undefined;
|
|
@@ -4230,13 +4222,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4230
4222
|
default: boolean;
|
|
4231
4223
|
};
|
|
4232
4224
|
layout: {
|
|
4233
|
-
type: PropType<"
|
|
4225
|
+
type: PropType<"grid" | "flex">;
|
|
4234
4226
|
default: undefined;
|
|
4235
4227
|
};
|
|
4228
|
+
modelValue: {
|
|
4229
|
+
type: PropType<FieldValues>;
|
|
4230
|
+
default: () => {};
|
|
4231
|
+
};
|
|
4236
4232
|
rules: {
|
|
4237
4233
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4238
4234
|
default: () => {};
|
|
4239
4235
|
};
|
|
4236
|
+
labelPosition: {
|
|
4237
|
+
type: PropType<"top" | "right" | "left">;
|
|
4238
|
+
default: string;
|
|
4239
|
+
};
|
|
4240
4240
|
labelWidth: {
|
|
4241
4241
|
type: PropType<string | number>;
|
|
4242
4242
|
default: string;
|
|
@@ -4292,7 +4292,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4292
4292
|
default: boolean;
|
|
4293
4293
|
};
|
|
4294
4294
|
footerAlign: {
|
|
4295
|
-
type: PropType<"
|
|
4295
|
+
type: PropType<"right" | "left" | "center">;
|
|
4296
4296
|
default: string;
|
|
4297
4297
|
};
|
|
4298
4298
|
cardProps: {
|
|
@@ -4311,13 +4311,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4311
4311
|
default: boolean;
|
|
4312
4312
|
};
|
|
4313
4313
|
}>> & {
|
|
4314
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4315
4314
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4316
4315
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4317
4316
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4317
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4318
4318
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4319
4319
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4320
|
-
}, "
|
|
4320
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
4321
4321
|
$attrs: {
|
|
4322
4322
|
[x: string]: unknown;
|
|
4323
4323
|
};
|
|
@@ -4329,17 +4329,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4329
4329
|
}>;
|
|
4330
4330
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4331
4331
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4332
|
-
$emit: ((event: "
|
|
4332
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
4333
4333
|
$el: any;
|
|
4334
4334
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4335
|
-
labelPosition: {
|
|
4336
|
-
type: PropType<"left" | "right" | "top">;
|
|
4337
|
-
default: string;
|
|
4338
|
-
};
|
|
4339
|
-
modelValue: {
|
|
4340
|
-
type: PropType<FieldValues>;
|
|
4341
|
-
default: () => {};
|
|
4342
|
-
};
|
|
4343
4335
|
collapseDuration: {
|
|
4344
4336
|
type: PropType<number>;
|
|
4345
4337
|
default: undefined;
|
|
@@ -4357,13 +4349,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4357
4349
|
default: boolean;
|
|
4358
4350
|
};
|
|
4359
4351
|
layout: {
|
|
4360
|
-
type: PropType<"
|
|
4352
|
+
type: PropType<"grid" | "flex">;
|
|
4361
4353
|
default: undefined;
|
|
4362
4354
|
};
|
|
4355
|
+
modelValue: {
|
|
4356
|
+
type: PropType<FieldValues>;
|
|
4357
|
+
default: () => {};
|
|
4358
|
+
};
|
|
4363
4359
|
rules: {
|
|
4364
4360
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4365
4361
|
default: () => {};
|
|
4366
4362
|
};
|
|
4363
|
+
labelPosition: {
|
|
4364
|
+
type: PropType<"top" | "right" | "left">;
|
|
4365
|
+
default: string;
|
|
4366
|
+
};
|
|
4367
4367
|
labelWidth: {
|
|
4368
4368
|
type: PropType<string | number>;
|
|
4369
4369
|
default: string;
|
|
@@ -4419,7 +4419,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4419
4419
|
default: boolean;
|
|
4420
4420
|
};
|
|
4421
4421
|
footerAlign: {
|
|
4422
|
-
type: PropType<"
|
|
4422
|
+
type: PropType<"right" | "left" | "center">;
|
|
4423
4423
|
default: string;
|
|
4424
4424
|
};
|
|
4425
4425
|
cardProps: {
|
|
@@ -4438,10 +4438,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4438
4438
|
default: boolean;
|
|
4439
4439
|
};
|
|
4440
4440
|
}>> & {
|
|
4441
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4442
4441
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4443
4442
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4444
4443
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4444
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4445
4445
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4446
4446
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4447
4447
|
}, {
|
|
@@ -4456,14 +4456,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4456
4456
|
submitError: (errors: unknown) => void;
|
|
4457
4457
|
validate: (...args: any[]) => void;
|
|
4458
4458
|
}, string, {
|
|
4459
|
-
labelPosition: "left" | "right" | "top";
|
|
4460
|
-
modelValue: FieldValues;
|
|
4461
4459
|
collapseDuration: number;
|
|
4462
4460
|
collapseTransition: boolean;
|
|
4463
4461
|
columns: PlusColumn[];
|
|
4464
4462
|
group: false | PlusFormGroupRow[];
|
|
4465
|
-
layout: "
|
|
4463
|
+
layout: "grid" | "flex";
|
|
4464
|
+
modelValue: FieldValues;
|
|
4466
4465
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4466
|
+
labelPosition: "top" | "right" | "left";
|
|
4467
4467
|
labelWidth: string | number;
|
|
4468
4468
|
labelSuffix: string;
|
|
4469
4469
|
defaultValues: FieldValues;
|
|
@@ -4482,7 +4482,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4482
4482
|
submitText: string;
|
|
4483
4483
|
resetText: string;
|
|
4484
4484
|
submitLoading: boolean;
|
|
4485
|
-
footerAlign: "
|
|
4485
|
+
footerAlign: "right" | "left" | "center";
|
|
4486
4486
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4487
4487
|
style?: CSSProperties | undefined;
|
|
4488
4488
|
class?: any;
|
|
@@ -4510,14 +4510,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4510
4510
|
$nextTick: typeof nextTick;
|
|
4511
4511
|
$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;
|
|
4512
4512
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4513
|
-
labelPosition: {
|
|
4514
|
-
type: PropType<"left" | "right" | "top">;
|
|
4515
|
-
default: string;
|
|
4516
|
-
};
|
|
4517
|
-
modelValue: {
|
|
4518
|
-
type: PropType<FieldValues>;
|
|
4519
|
-
default: () => {};
|
|
4520
|
-
};
|
|
4521
4513
|
collapseDuration: {
|
|
4522
4514
|
type: PropType<number>;
|
|
4523
4515
|
default: undefined;
|
|
@@ -4535,13 +4527,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4535
4527
|
default: boolean;
|
|
4536
4528
|
};
|
|
4537
4529
|
layout: {
|
|
4538
|
-
type: PropType<"
|
|
4530
|
+
type: PropType<"grid" | "flex">;
|
|
4539
4531
|
default: undefined;
|
|
4540
4532
|
};
|
|
4533
|
+
modelValue: {
|
|
4534
|
+
type: PropType<FieldValues>;
|
|
4535
|
+
default: () => {};
|
|
4536
|
+
};
|
|
4541
4537
|
rules: {
|
|
4542
4538
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4543
4539
|
default: () => {};
|
|
4544
4540
|
};
|
|
4541
|
+
labelPosition: {
|
|
4542
|
+
type: PropType<"top" | "right" | "left">;
|
|
4543
|
+
default: string;
|
|
4544
|
+
};
|
|
4545
4545
|
labelWidth: {
|
|
4546
4546
|
type: PropType<string | number>;
|
|
4547
4547
|
default: string;
|
|
@@ -4597,7 +4597,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4597
4597
|
default: boolean;
|
|
4598
4598
|
};
|
|
4599
4599
|
footerAlign: {
|
|
4600
|
-
type: PropType<"
|
|
4600
|
+
type: PropType<"right" | "left" | "center">;
|
|
4601
4601
|
default: string;
|
|
4602
4602
|
};
|
|
4603
4603
|
cardProps: {
|
|
@@ -4616,10 +4616,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4616
4616
|
default: boolean;
|
|
4617
4617
|
};
|
|
4618
4618
|
}>> & {
|
|
4619
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4620
4619
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4621
4620
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4622
4621
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4622
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4623
4623
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4624
4624
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4625
4625
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -4639,14 +4639,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4639
4639
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4640
4640
|
columns?: PlusColumn[] | undefined;
|
|
4641
4641
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4642
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4642
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4643
4643
|
readonly label: string | ComputedRef<string>;
|
|
4644
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4644
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4645
4645
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4646
|
-
readonly tooltip: string |
|
|
4646
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4647
4647
|
style?: CSSProperties | undefined;
|
|
4648
4648
|
class?: any;
|
|
4649
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4649
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4650
4650
|
style?: CSSProperties | undefined;
|
|
4651
4651
|
class?: any;
|
|
4652
4652
|
} & RecordType>>;
|
|
@@ -4713,12 +4713,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4713
4713
|
fieldInstance?: any;
|
|
4714
4714
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4715
4715
|
prop: string;
|
|
4716
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4716
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4717
4717
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4718
|
-
tooltip: string |
|
|
4718
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4719
4719
|
style?: CSSProperties | undefined;
|
|
4720
4720
|
class?: any;
|
|
4721
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4721
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4722
4722
|
style?: CSSProperties | undefined;
|
|
4723
4723
|
class?: any;
|
|
4724
4724
|
} & RecordType>>;
|
|
@@ -4747,14 +4747,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4747
4747
|
clearable: boolean;
|
|
4748
4748
|
index: number;
|
|
4749
4749
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4750
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4750
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4751
4751
|
readonly label: string | ComputedRef<string>;
|
|
4752
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4752
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4753
4753
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4754
|
-
readonly tooltip: string |
|
|
4754
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4755
4755
|
style?: CSSProperties | undefined;
|
|
4756
4756
|
class?: any;
|
|
4757
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4757
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4758
4758
|
style?: CSSProperties | undefined;
|
|
4759
4759
|
class?: any;
|
|
4760
4760
|
} & RecordType>>;
|
|
@@ -4821,12 +4821,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4821
4821
|
fieldInstance?: any;
|
|
4822
4822
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4823
4823
|
prop: string;
|
|
4824
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4824
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4825
4825
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4826
|
-
tooltip: string |
|
|
4826
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4827
4827
|
style?: CSSProperties | undefined;
|
|
4828
4828
|
class?: any;
|
|
4829
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4829
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4830
4830
|
style?: CSSProperties | undefined;
|
|
4831
4831
|
class?: any;
|
|
4832
4832
|
} & RecordType>>;
|
|
@@ -4878,10 +4878,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4878
4878
|
reset: (values: FieldValues) => void;
|
|
4879
4879
|
collapse: (isShowUnfold: boolean) => void;
|
|
4880
4880
|
}, string, {
|
|
4881
|
-
labelPosition: "left" | "right" | "top";
|
|
4882
|
-
modelValue: FieldValues;
|
|
4883
4881
|
columns: PlusColumn[];
|
|
4884
|
-
layout: "
|
|
4882
|
+
layout: "grid" | "flex";
|
|
4883
|
+
modelValue: FieldValues;
|
|
4884
|
+
labelPosition: "top" | "right" | "left";
|
|
4885
4885
|
inline: boolean;
|
|
4886
4886
|
showNumber: number;
|
|
4887
4887
|
defaultValues: FieldValues;
|
|
@@ -4926,22 +4926,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4926
4926
|
$nextTick: typeof nextTick;
|
|
4927
4927
|
$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;
|
|
4928
4928
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4929
|
-
labelPosition: {
|
|
4930
|
-
type: PropType<"left" | "right" | "top">;
|
|
4931
|
-
default: undefined;
|
|
4932
|
-
};
|
|
4933
|
-
modelValue: {
|
|
4934
|
-
type: PropType<FieldValues>;
|
|
4935
|
-
default: () => {};
|
|
4936
|
-
};
|
|
4937
4929
|
columns: {
|
|
4938
4930
|
type: PropType<PlusColumn[]>;
|
|
4939
4931
|
default: () => never[];
|
|
4940
4932
|
};
|
|
4941
4933
|
layout: {
|
|
4942
|
-
type: PropType<"
|
|
4934
|
+
type: PropType<"grid" | "flex">;
|
|
4943
4935
|
default: "grid";
|
|
4944
4936
|
};
|
|
4937
|
+
modelValue: {
|
|
4938
|
+
type: PropType<FieldValues>;
|
|
4939
|
+
default: () => {};
|
|
4940
|
+
};
|
|
4941
|
+
labelPosition: {
|
|
4942
|
+
type: PropType<"top" | "right" | "left">;
|
|
4943
|
+
default: undefined;
|
|
4944
|
+
};
|
|
4945
4945
|
inline: {
|
|
4946
4946
|
type: PropType<boolean>;
|
|
4947
4947
|
default: boolean;
|
|
@@ -5025,9 +5025,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5025
5025
|
default: undefined;
|
|
5026
5026
|
};
|
|
5027
5027
|
}>> & {
|
|
5028
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5029
5028
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5030
5029
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5030
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5031
5031
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
5032
5032
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
5033
5033
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -5035,14 +5035,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5035
5035
|
$: ComponentInternalInstance;
|
|
5036
5036
|
$data: {};
|
|
5037
5037
|
$props: Partial<{
|
|
5038
|
-
labelPosition: "left" | "right" | "top";
|
|
5039
|
-
modelValue: FieldValues;
|
|
5040
5038
|
collapseDuration: number;
|
|
5041
5039
|
collapseTransition: boolean;
|
|
5042
5040
|
columns: PlusColumn[];
|
|
5043
5041
|
group: false | PlusFormGroupRow[];
|
|
5044
|
-
layout: "
|
|
5042
|
+
layout: "grid" | "flex";
|
|
5043
|
+
modelValue: FieldValues;
|
|
5045
5044
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5045
|
+
labelPosition: "top" | "right" | "left";
|
|
5046
5046
|
labelWidth: string | number;
|
|
5047
5047
|
labelSuffix: string;
|
|
5048
5048
|
defaultValues: FieldValues;
|
|
@@ -5061,7 +5061,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5061
5061
|
submitText: string;
|
|
5062
5062
|
resetText: string;
|
|
5063
5063
|
submitLoading: boolean;
|
|
5064
|
-
footerAlign: "
|
|
5064
|
+
footerAlign: "right" | "left" | "center";
|
|
5065
5065
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5066
5066
|
style?: CSSProperties | undefined;
|
|
5067
5067
|
class?: any;
|
|
@@ -5069,11 +5069,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5069
5069
|
prevent: boolean;
|
|
5070
5070
|
clearable: boolean;
|
|
5071
5071
|
}> & Omit<{
|
|
5072
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
5073
|
-
readonly modelValue: FieldValues;
|
|
5074
5072
|
readonly columns: PlusColumn[];
|
|
5075
5073
|
readonly group: false | PlusFormGroupRow[];
|
|
5074
|
+
readonly modelValue: FieldValues;
|
|
5076
5075
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5076
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
5077
5077
|
readonly labelWidth: string | number;
|
|
5078
5078
|
readonly labelSuffix: string;
|
|
5079
5079
|
readonly defaultValues: FieldValues;
|
|
@@ -5092,7 +5092,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5092
5092
|
readonly submitText: string;
|
|
5093
5093
|
readonly resetText: string;
|
|
5094
5094
|
readonly submitLoading: boolean;
|
|
5095
|
-
readonly footerAlign: "
|
|
5095
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
5096
5096
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5097
5097
|
style?: CSSProperties | undefined;
|
|
5098
5098
|
class?: any;
|
|
@@ -5101,22 +5101,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5101
5101
|
readonly clearable: boolean;
|
|
5102
5102
|
readonly collapseDuration?: number | undefined;
|
|
5103
5103
|
readonly collapseTransition?: boolean | undefined;
|
|
5104
|
-
readonly layout?: "
|
|
5105
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5104
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
5106
5105
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5107
5106
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5108
5107
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5108
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5109
5109
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5110
5110
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5111
5111
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
5112
|
-
labelPosition: {
|
|
5113
|
-
type: PropType<"left" | "right" | "top">;
|
|
5114
|
-
default: string;
|
|
5115
|
-
};
|
|
5116
|
-
modelValue: {
|
|
5117
|
-
type: PropType<FieldValues>;
|
|
5118
|
-
default: () => {};
|
|
5119
|
-
};
|
|
5120
5112
|
collapseDuration: {
|
|
5121
5113
|
type: PropType<number>;
|
|
5122
5114
|
default: undefined;
|
|
@@ -5134,13 +5126,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5134
5126
|
default: boolean;
|
|
5135
5127
|
};
|
|
5136
5128
|
layout: {
|
|
5137
|
-
type: PropType<"
|
|
5129
|
+
type: PropType<"grid" | "flex">;
|
|
5138
5130
|
default: undefined;
|
|
5139
5131
|
};
|
|
5132
|
+
modelValue: {
|
|
5133
|
+
type: PropType<FieldValues>;
|
|
5134
|
+
default: () => {};
|
|
5135
|
+
};
|
|
5140
5136
|
rules: {
|
|
5141
5137
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5142
5138
|
default: () => {};
|
|
5143
5139
|
};
|
|
5140
|
+
labelPosition: {
|
|
5141
|
+
type: PropType<"top" | "right" | "left">;
|
|
5142
|
+
default: string;
|
|
5143
|
+
};
|
|
5144
5144
|
labelWidth: {
|
|
5145
5145
|
type: PropType<string | number>;
|
|
5146
5146
|
default: string;
|
|
@@ -5196,7 +5196,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5196
5196
|
default: boolean;
|
|
5197
5197
|
};
|
|
5198
5198
|
footerAlign: {
|
|
5199
|
-
type: PropType<"
|
|
5199
|
+
type: PropType<"right" | "left" | "center">;
|
|
5200
5200
|
default: string;
|
|
5201
5201
|
};
|
|
5202
5202
|
cardProps: {
|
|
@@ -5215,13 +5215,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5215
5215
|
default: boolean;
|
|
5216
5216
|
};
|
|
5217
5217
|
}>> & {
|
|
5218
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5219
5218
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5220
5219
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5221
5220
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5221
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5222
5222
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5223
5223
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5224
|
-
}, "
|
|
5224
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
5225
5225
|
$attrs: {
|
|
5226
5226
|
[x: string]: unknown;
|
|
5227
5227
|
};
|
|
@@ -5233,17 +5233,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5233
5233
|
}>;
|
|
5234
5234
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5235
5235
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5236
|
-
$emit: ((event: "
|
|
5236
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
5237
5237
|
$el: any;
|
|
5238
5238
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5239
|
-
labelPosition: {
|
|
5240
|
-
type: PropType<"left" | "right" | "top">;
|
|
5241
|
-
default: string;
|
|
5242
|
-
};
|
|
5243
|
-
modelValue: {
|
|
5244
|
-
type: PropType<FieldValues>;
|
|
5245
|
-
default: () => {};
|
|
5246
|
-
};
|
|
5247
5239
|
collapseDuration: {
|
|
5248
5240
|
type: PropType<number>;
|
|
5249
5241
|
default: undefined;
|
|
@@ -5261,13 +5253,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5261
5253
|
default: boolean;
|
|
5262
5254
|
};
|
|
5263
5255
|
layout: {
|
|
5264
|
-
type: PropType<"
|
|
5256
|
+
type: PropType<"grid" | "flex">;
|
|
5265
5257
|
default: undefined;
|
|
5266
5258
|
};
|
|
5259
|
+
modelValue: {
|
|
5260
|
+
type: PropType<FieldValues>;
|
|
5261
|
+
default: () => {};
|
|
5262
|
+
};
|
|
5267
5263
|
rules: {
|
|
5268
5264
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5269
5265
|
default: () => {};
|
|
5270
5266
|
};
|
|
5267
|
+
labelPosition: {
|
|
5268
|
+
type: PropType<"top" | "right" | "left">;
|
|
5269
|
+
default: string;
|
|
5270
|
+
};
|
|
5271
5271
|
labelWidth: {
|
|
5272
5272
|
type: PropType<string | number>;
|
|
5273
5273
|
default: string;
|
|
@@ -5323,7 +5323,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5323
5323
|
default: boolean;
|
|
5324
5324
|
};
|
|
5325
5325
|
footerAlign: {
|
|
5326
|
-
type: PropType<"
|
|
5326
|
+
type: PropType<"right" | "left" | "center">;
|
|
5327
5327
|
default: string;
|
|
5328
5328
|
};
|
|
5329
5329
|
cardProps: {
|
|
@@ -5342,10 +5342,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5342
5342
|
default: boolean;
|
|
5343
5343
|
};
|
|
5344
5344
|
}>> & {
|
|
5345
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5346
5345
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5347
5346
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5348
5347
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5348
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5349
5349
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5350
5350
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5351
5351
|
}, {
|
|
@@ -5360,14 +5360,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5360
5360
|
submitError: (errors: unknown) => void;
|
|
5361
5361
|
validate: (...args: any[]) => void;
|
|
5362
5362
|
}, string, {
|
|
5363
|
-
labelPosition: "left" | "right" | "top";
|
|
5364
|
-
modelValue: FieldValues;
|
|
5365
5363
|
collapseDuration: number;
|
|
5366
5364
|
collapseTransition: boolean;
|
|
5367
5365
|
columns: PlusColumn[];
|
|
5368
5366
|
group: false | PlusFormGroupRow[];
|
|
5369
|
-
layout: "
|
|
5367
|
+
layout: "grid" | "flex";
|
|
5368
|
+
modelValue: FieldValues;
|
|
5370
5369
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5370
|
+
labelPosition: "top" | "right" | "left";
|
|
5371
5371
|
labelWidth: string | number;
|
|
5372
5372
|
labelSuffix: string;
|
|
5373
5373
|
defaultValues: FieldValues;
|
|
@@ -5386,7 +5386,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5386
5386
|
submitText: string;
|
|
5387
5387
|
resetText: string;
|
|
5388
5388
|
submitLoading: boolean;
|
|
5389
|
-
footerAlign: "
|
|
5389
|
+
footerAlign: "right" | "left" | "center";
|
|
5390
5390
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5391
5391
|
style?: CSSProperties | undefined;
|
|
5392
5392
|
class?: any;
|
|
@@ -5414,14 +5414,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5414
5414
|
$nextTick: typeof nextTick;
|
|
5415
5415
|
$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;
|
|
5416
5416
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
5417
|
-
labelPosition: {
|
|
5418
|
-
type: PropType<"left" | "right" | "top">;
|
|
5419
|
-
default: string;
|
|
5420
|
-
};
|
|
5421
|
-
modelValue: {
|
|
5422
|
-
type: PropType<FieldValues>;
|
|
5423
|
-
default: () => {};
|
|
5424
|
-
};
|
|
5425
5417
|
collapseDuration: {
|
|
5426
5418
|
type: PropType<number>;
|
|
5427
5419
|
default: undefined;
|
|
@@ -5439,13 +5431,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5439
5431
|
default: boolean;
|
|
5440
5432
|
};
|
|
5441
5433
|
layout: {
|
|
5442
|
-
type: PropType<"
|
|
5434
|
+
type: PropType<"grid" | "flex">;
|
|
5443
5435
|
default: undefined;
|
|
5444
5436
|
};
|
|
5437
|
+
modelValue: {
|
|
5438
|
+
type: PropType<FieldValues>;
|
|
5439
|
+
default: () => {};
|
|
5440
|
+
};
|
|
5445
5441
|
rules: {
|
|
5446
5442
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5447
5443
|
default: () => {};
|
|
5448
5444
|
};
|
|
5445
|
+
labelPosition: {
|
|
5446
|
+
type: PropType<"top" | "right" | "left">;
|
|
5447
|
+
default: string;
|
|
5448
|
+
};
|
|
5449
5449
|
labelWidth: {
|
|
5450
5450
|
type: PropType<string | number>;
|
|
5451
5451
|
default: string;
|
|
@@ -5501,7 +5501,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5501
5501
|
default: boolean;
|
|
5502
5502
|
};
|
|
5503
5503
|
footerAlign: {
|
|
5504
|
-
type: PropType<"
|
|
5504
|
+
type: PropType<"right" | "left" | "center">;
|
|
5505
5505
|
default: string;
|
|
5506
5506
|
};
|
|
5507
5507
|
cardProps: {
|
|
@@ -5520,10 +5520,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5520
5520
|
default: boolean;
|
|
5521
5521
|
};
|
|
5522
5522
|
}>> & {
|
|
5523
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5524
5523
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5525
5524
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5526
5525
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5526
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5527
5527
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5528
5528
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5529
5529
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -5543,14 +5543,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5543
5543
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
5544
5544
|
columns?: PlusColumn[] | undefined;
|
|
5545
5545
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5546
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5546
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5547
5547
|
readonly label: string | ComputedRef<string>;
|
|
5548
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5548
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5549
5549
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5550
|
-
readonly tooltip: string |
|
|
5550
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5551
5551
|
style?: CSSProperties | undefined;
|
|
5552
5552
|
class?: any;
|
|
5553
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5553
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5554
5554
|
style?: CSSProperties | undefined;
|
|
5555
5555
|
class?: any;
|
|
5556
5556
|
} & RecordType>>;
|
|
@@ -5617,12 +5617,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5617
5617
|
fieldInstance?: any;
|
|
5618
5618
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5619
5619
|
prop: string;
|
|
5620
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5620
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5621
5621
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5622
|
-
tooltip: string |
|
|
5622
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5623
5623
|
style?: CSSProperties | undefined;
|
|
5624
5624
|
class?: any;
|
|
5625
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5625
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5626
5626
|
style?: CSSProperties | undefined;
|
|
5627
5627
|
class?: any;
|
|
5628
5628
|
} & RecordType>>;
|
|
@@ -5651,14 +5651,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5651
5651
|
clearable: boolean;
|
|
5652
5652
|
index: number;
|
|
5653
5653
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5654
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5654
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5655
5655
|
readonly label: string | ComputedRef<string>;
|
|
5656
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5656
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5657
5657
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5658
|
-
readonly tooltip: string |
|
|
5658
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5659
5659
|
style?: CSSProperties | undefined;
|
|
5660
5660
|
class?: any;
|
|
5661
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5661
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5662
5662
|
style?: CSSProperties | undefined;
|
|
5663
5663
|
class?: any;
|
|
5664
5664
|
} & RecordType>>;
|
|
@@ -5725,12 +5725,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5725
5725
|
fieldInstance?: any;
|
|
5726
5726
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5727
5727
|
prop: string;
|
|
5728
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5728
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5729
5729
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5730
|
-
tooltip: string |
|
|
5730
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5731
5731
|
style?: CSSProperties | undefined;
|
|
5732
5732
|
class?: any;
|
|
5733
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5733
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5734
5734
|
style?: CSSProperties | undefined;
|
|
5735
5735
|
class?: any;
|
|
5736
5736
|
} & RecordType>>;
|
|
@@ -5777,14 +5777,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5777
5777
|
handleUnfold: (e: MouseEvent) => void;
|
|
5778
5778
|
}> & {} & ComponentCustomProperties & {} & {
|
|
5779
5779
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
5780
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5780
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5781
5781
|
readonly label: string | ComputedRef<string>;
|
|
5782
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5782
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5783
5783
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5784
|
-
readonly tooltip: string |
|
|
5784
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5785
5785
|
style?: CSSProperties | undefined;
|
|
5786
5786
|
class?: any;
|
|
5787
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5787
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5788
5788
|
style?: CSSProperties | undefined;
|
|
5789
5789
|
class?: any;
|
|
5790
5790
|
} & RecordType>>;
|
|
@@ -5851,12 +5851,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5851
5851
|
fieldInstance?: any;
|
|
5852
5852
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5853
5853
|
prop: string;
|
|
5854
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5854
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5855
5855
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5856
|
-
tooltip: string |
|
|
5856
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5857
5857
|
style?: CSSProperties | undefined;
|
|
5858
5858
|
class?: any;
|
|
5859
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5859
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5860
5860
|
style?: CSSProperties | undefined;
|
|
5861
5861
|
class?: any;
|
|
5862
5862
|
} & RecordType>>;
|
|
@@ -7127,14 +7127,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7127
7127
|
setTableData: (data?: RecordType[] | undefined, _total?: number | undefined) => void;
|
|
7128
7128
|
}> & {} & ComponentCustomProperties & {} & {
|
|
7129
7129
|
$slots: Partial<Record<never, (_: {
|
|
7130
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
7130
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
7131
7131
|
readonly label: string | ComputedRef<string>;
|
|
7132
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
7132
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7133
7133
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7134
|
-
readonly tooltip: string |
|
|
7134
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7135
7135
|
style?: CSSProperties | undefined;
|
|
7136
7136
|
class?: any;
|
|
7137
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7137
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7138
7138
|
style?: CSSProperties | undefined;
|
|
7139
7139
|
class?: any;
|
|
7140
7140
|
} & RecordType>>;
|
|
@@ -7201,12 +7201,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7201
7201
|
fieldInstance?: any;
|
|
7202
7202
|
valueIsReady?: Ref<boolean> | undefined;
|
|
7203
7203
|
prop: string;
|
|
7204
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
7204
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7205
7205
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7206
|
-
tooltip: string |
|
|
7206
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7207
7207
|
style?: CSSProperties | undefined;
|
|
7208
7208
|
class?: any;
|
|
7209
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7209
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7210
7210
|
style?: CSSProperties | undefined;
|
|
7211
7211
|
class?: any;
|
|
7212
7212
|
} & RecordType>>;
|
|
@@ -8001,11 +8001,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8001
8001
|
"onHeader-filter-confirm"?: ((payload: HeaderFilterPayload) => any) | undefined;
|
|
8002
8002
|
"onHeader-filter-reset"?: ((payload: HeaderFilterResetPayload) => any) | undefined;
|
|
8003
8003
|
}, {
|
|
8004
|
-
showSearch: boolean;
|
|
8005
|
-
columnSettingsText: string;
|
|
8006
8004
|
search: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
|
|
8007
8005
|
headerFilter: boolean | HeaderFilterConfig;
|
|
8008
8006
|
pagination: false | Record<string, unknown>;
|
|
8007
|
+
showSearch: boolean;
|
|
8008
|
+
columnSettingsText: string;
|
|
8009
8009
|
isCard: boolean;
|
|
8010
8010
|
hideHeaderFilter: boolean;
|
|
8011
8011
|
hideColumnSettingsIcon: boolean;
|