yc-pro-components 0.0.73 → 0.0.75
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/form-item/src/index.vue2.mjs +2 -2
- 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/search/src/index.vue2.mjs +11 -3
- 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/utils/index.d.ts +2 -2
- package/es/components/yc-config-provider/src/index.vue2.mjs +7 -3
- package/es/components/yc-config-provider/src/type.d.ts +9 -0
- package/es/components/yc-config-provider/src/type.mjs +3 -0
- 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 +18 -6
- package/es/components/yc-drawer/store.d.ts +2 -0
- package/es/components/yc-drawer/store.mjs +10 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +244 -244
- package/es/index.css +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 +4464 -4429
- package/index.min.css +2 -1
- package/index.min.js +13 -13
- package/index.min.mjs +13 -13
- package/index.mjs +4464 -4429
- 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/form-item/src/index.vue2.js +2 -2
- 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/search/src/index.vue2.js +10 -2
- 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/utils/index.d.ts +2 -2
- package/lib/components/yc-config-provider/src/index.vue2.js +7 -3
- package/lib/components/yc-config-provider/src/type.d.ts +9 -0
- package/lib/components/yc-config-provider/src/type.js +3 -0
- 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 +16 -4
- package/lib/components/yc-drawer/store.d.ts +2 -0
- package/lib/components/yc-drawer/store.js +11 -0
- 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 +11 -10
- 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, "modelValue" | "total" | "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, "modelValue" | "total" | "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, "modelValue" | "total" | "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, "modelValue" | "total" | "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
|
-
|
|
395
|
-
layout: "grid" | "flex";
|
|
394
|
+
labelPosition: "left" | "right" | "top";
|
|
396
395
|
modelValue: FieldValues;
|
|
397
|
-
|
|
396
|
+
columns: PlusColumn[];
|
|
397
|
+
layout: "flex" | "grid";
|
|
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 columns: PlusColumn[];
|
|
423
|
-
readonly layout: "grid" | "flex";
|
|
424
422
|
readonly modelValue: FieldValues;
|
|
423
|
+
readonly columns: PlusColumn[];
|
|
424
|
+
readonly layout: "flex" | "grid";
|
|
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?: "left" | "right" | "top" | undefined;
|
|
447
447
|
readonly searchIcon?: Component | null | undefined;
|
|
448
448
|
readonly resetIcon?: Component | null | undefined;
|
|
449
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
449
450
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
450
451
|
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
|
+
};
|
|
455
463
|
columns: {
|
|
456
464
|
type: PropType<PlusColumn[]>;
|
|
457
465
|
default: () => never[];
|
|
458
466
|
};
|
|
459
467
|
layout: {
|
|
460
|
-
type: PropType<"
|
|
468
|
+
type: PropType<"flex" | "grid">;
|
|
461
469
|
default: "grid";
|
|
462
470
|
};
|
|
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;
|
|
554
555
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
555
556
|
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
|
+
}, "labelPosition" | "modelValue" | "columns" | "layout" | "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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", 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
|
+
};
|
|
574
582
|
columns: {
|
|
575
583
|
type: PropType<PlusColumn[]>;
|
|
576
584
|
default: () => never[];
|
|
577
585
|
};
|
|
578
586
|
layout: {
|
|
579
|
-
type: PropType<"
|
|
587
|
+
type: PropType<"flex" | "grid">;
|
|
580
588
|
default: "grid";
|
|
581
589
|
};
|
|
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;
|
|
673
674
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
674
675
|
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;
|
|
683
685
|
collapseDuration: number;
|
|
684
686
|
collapseTransition: boolean;
|
|
685
687
|
columns: PlusColumn[];
|
|
686
688
|
group: false | PlusFormGroupRow[];
|
|
687
|
-
layout: "
|
|
688
|
-
modelValue: FieldValues;
|
|
689
|
+
layout: "flex" | "grid";
|
|
689
690
|
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: "left" | "right" | "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;
|
|
717
719
|
readonly columns: PlusColumn[];
|
|
718
720
|
readonly group: false | PlusFormGroupRow[];
|
|
719
|
-
readonly modelValue: FieldValues;
|
|
720
721
|
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: "left" | "right" | "center";
|
|
741
741
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
742
742
|
style?: CSSProperties | undefined;
|
|
743
743
|
class?: any;
|
|
@@ -746,14 +746,22 @@ 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?: "
|
|
749
|
+
readonly layout?: "flex" | "grid" | undefined;
|
|
750
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
750
751
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
751
752
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
752
753
|
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
|
+
};
|
|
757
765
|
collapseDuration: {
|
|
758
766
|
type: PropType<number>;
|
|
759
767
|
default: undefined;
|
|
@@ -771,21 +779,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
771
779
|
default: boolean;
|
|
772
780
|
};
|
|
773
781
|
layout: {
|
|
774
|
-
type: PropType<"
|
|
782
|
+
type: PropType<"flex" | "grid">;
|
|
775
783
|
default: undefined;
|
|
776
784
|
};
|
|
777
|
-
modelValue: {
|
|
778
|
-
type: PropType<FieldValues>;
|
|
779
|
-
default: () => {};
|
|
780
|
-
};
|
|
781
785
|
rules: {
|
|
782
786
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
783
787
|
default: () => {};
|
|
784
788
|
};
|
|
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<"left" | "right" | "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;
|
|
863
864
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
864
865
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
865
866
|
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
|
+
}, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "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,9 +878,17 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
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
|
+
};
|
|
884
892
|
collapseDuration: {
|
|
885
893
|
type: PropType<number>;
|
|
886
894
|
default: undefined;
|
|
@@ -898,21 +906,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
898
906
|
default: boolean;
|
|
899
907
|
};
|
|
900
908
|
layout: {
|
|
901
|
-
type: PropType<"
|
|
909
|
+
type: PropType<"flex" | "grid">;
|
|
902
910
|
default: undefined;
|
|
903
911
|
};
|
|
904
|
-
modelValue: {
|
|
905
|
-
type: PropType<FieldValues>;
|
|
906
|
-
default: () => {};
|
|
907
|
-
};
|
|
908
912
|
rules: {
|
|
909
913
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
910
914
|
default: () => {};
|
|
911
915
|
};
|
|
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<"left" | "right" | "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;
|
|
990
991
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
991
992
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
992
993
|
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;
|
|
1008
1010
|
collapseDuration: number;
|
|
1009
1011
|
collapseTransition: boolean;
|
|
1010
1012
|
columns: PlusColumn[];
|
|
1011
1013
|
group: false | PlusFormGroupRow[];
|
|
1012
|
-
layout: "
|
|
1013
|
-
modelValue: FieldValues;
|
|
1014
|
+
layout: "flex" | "grid";
|
|
1014
1015
|
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: "left" | "right" | "center";
|
|
1035
1035
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1036
1036
|
style?: CSSProperties | undefined;
|
|
1037
1037
|
class?: any;
|
|
@@ -1059,6 +1059,14 @@ 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
|
+
};
|
|
1062
1070
|
collapseDuration: {
|
|
1063
1071
|
type: PropType<number>;
|
|
1064
1072
|
default: undefined;
|
|
@@ -1076,21 +1084,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1076
1084
|
default: boolean;
|
|
1077
1085
|
};
|
|
1078
1086
|
layout: {
|
|
1079
|
-
type: PropType<"
|
|
1087
|
+
type: PropType<"flex" | "grid">;
|
|
1080
1088
|
default: undefined;
|
|
1081
1089
|
};
|
|
1082
|
-
modelValue: {
|
|
1083
|
-
type: PropType<FieldValues>;
|
|
1084
|
-
default: () => {};
|
|
1085
|
-
};
|
|
1086
1090
|
rules: {
|
|
1087
1091
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1088
1092
|
default: () => {};
|
|
1089
1093
|
};
|
|
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<"left" | "right" | "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;
|
|
1168
1169
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1169
1170
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1170
1171
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1191
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1194
1194
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1195
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1195
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1196
1196
|
style?: CSSProperties | undefined;
|
|
1197
1197
|
class?: any;
|
|
1198
|
-
} & RecordType> | ComputedRef<
|
|
1198
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1266
1266
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1267
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1267
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1268
1268
|
style?: CSSProperties | undefined;
|
|
1269
1269
|
class?: any;
|
|
1270
|
-
} & RecordType> | ComputedRef<
|
|
1270
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1299
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1302
1302
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1303
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1303
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1304
1304
|
style?: CSSProperties | undefined;
|
|
1305
1305
|
class?: any;
|
|
1306
|
-
} & RecordType> | ComputedRef<
|
|
1306
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1374
1374
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1375
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1375
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1376
1376
|
style?: CSSProperties | undefined;
|
|
1377
1377
|
class?: any;
|
|
1378
|
-
} & RecordType> | ComputedRef<
|
|
1378
|
+
} & RecordType> | 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
|
-
|
|
1431
|
-
layout: "grid" | "flex";
|
|
1430
|
+
labelPosition: "left" | "right" | "top";
|
|
1432
1431
|
modelValue: FieldValues;
|
|
1433
|
-
|
|
1432
|
+
columns: PlusColumn[];
|
|
1433
|
+
layout: "flex" | "grid";
|
|
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
|
+
};
|
|
1478
1486
|
columns: {
|
|
1479
1487
|
type: PropType<PlusColumn[]>;
|
|
1480
1488
|
default: () => never[];
|
|
1481
1489
|
};
|
|
1482
1490
|
layout: {
|
|
1483
|
-
type: PropType<"
|
|
1491
|
+
type: PropType<"flex" | "grid">;
|
|
1484
1492
|
default: "grid";
|
|
1485
1493
|
};
|
|
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;
|
|
1577
1578
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1578
1579
|
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;
|
|
1587
1589
|
collapseDuration: number;
|
|
1588
1590
|
collapseTransition: boolean;
|
|
1589
1591
|
columns: PlusColumn[];
|
|
1590
1592
|
group: false | PlusFormGroupRow[];
|
|
1591
|
-
layout: "
|
|
1592
|
-
modelValue: FieldValues;
|
|
1593
|
+
layout: "flex" | "grid";
|
|
1593
1594
|
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: "left" | "right" | "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;
|
|
1621
1623
|
readonly columns: PlusColumn[];
|
|
1622
1624
|
readonly group: false | PlusFormGroupRow[];
|
|
1623
|
-
readonly modelValue: FieldValues;
|
|
1624
1625
|
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: "left" | "right" | "center";
|
|
1645
1645
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1646
1646
|
style?: CSSProperties | undefined;
|
|
1647
1647
|
class?: any;
|
|
@@ -1650,14 +1650,22 @@ 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?: "
|
|
1653
|
+
readonly layout?: "flex" | "grid" | undefined;
|
|
1654
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1654
1655
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1655
1656
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1656
1657
|
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
|
+
};
|
|
1661
1669
|
collapseDuration: {
|
|
1662
1670
|
type: PropType<number>;
|
|
1663
1671
|
default: undefined;
|
|
@@ -1675,21 +1683,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1675
1683
|
default: boolean;
|
|
1676
1684
|
};
|
|
1677
1685
|
layout: {
|
|
1678
|
-
type: PropType<"
|
|
1686
|
+
type: PropType<"flex" | "grid">;
|
|
1679
1687
|
default: undefined;
|
|
1680
1688
|
};
|
|
1681
|
-
modelValue: {
|
|
1682
|
-
type: PropType<FieldValues>;
|
|
1683
|
-
default: () => {};
|
|
1684
|
-
};
|
|
1685
1689
|
rules: {
|
|
1686
1690
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1687
1691
|
default: () => {};
|
|
1688
1692
|
};
|
|
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<"left" | "right" | "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;
|
|
1767
1768
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1768
1769
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1769
1770
|
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
|
+
}, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "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,9 +1782,17 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
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
|
+
};
|
|
1788
1796
|
collapseDuration: {
|
|
1789
1797
|
type: PropType<number>;
|
|
1790
1798
|
default: undefined;
|
|
@@ -1802,21 +1810,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1802
1810
|
default: boolean;
|
|
1803
1811
|
};
|
|
1804
1812
|
layout: {
|
|
1805
|
-
type: PropType<"
|
|
1813
|
+
type: PropType<"flex" | "grid">;
|
|
1806
1814
|
default: undefined;
|
|
1807
1815
|
};
|
|
1808
|
-
modelValue: {
|
|
1809
|
-
type: PropType<FieldValues>;
|
|
1810
|
-
default: () => {};
|
|
1811
|
-
};
|
|
1812
1816
|
rules: {
|
|
1813
1817
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1814
1818
|
default: () => {};
|
|
1815
1819
|
};
|
|
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<"left" | "right" | "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;
|
|
1894
1895
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1895
1896
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1896
1897
|
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;
|
|
1912
1914
|
collapseDuration: number;
|
|
1913
1915
|
collapseTransition: boolean;
|
|
1914
1916
|
columns: PlusColumn[];
|
|
1915
1917
|
group: false | PlusFormGroupRow[];
|
|
1916
|
-
layout: "
|
|
1917
|
-
modelValue: FieldValues;
|
|
1918
|
+
layout: "flex" | "grid";
|
|
1918
1919
|
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: "left" | "right" | "center";
|
|
1939
1939
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1940
1940
|
style?: CSSProperties | undefined;
|
|
1941
1941
|
class?: any;
|
|
@@ -1963,6 +1963,14 @@ 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
|
+
};
|
|
1966
1974
|
collapseDuration: {
|
|
1967
1975
|
type: PropType<number>;
|
|
1968
1976
|
default: undefined;
|
|
@@ -1980,21 +1988,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1980
1988
|
default: boolean;
|
|
1981
1989
|
};
|
|
1982
1990
|
layout: {
|
|
1983
|
-
type: PropType<"
|
|
1991
|
+
type: PropType<"flex" | "grid">;
|
|
1984
1992
|
default: undefined;
|
|
1985
1993
|
};
|
|
1986
|
-
modelValue: {
|
|
1987
|
-
type: PropType<FieldValues>;
|
|
1988
|
-
default: () => {};
|
|
1989
|
-
};
|
|
1990
1994
|
rules: {
|
|
1991
1995
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1992
1996
|
default: () => {};
|
|
1993
1997
|
};
|
|
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<"left" | "right" | "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;
|
|
2072
2073
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2073
2074
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2074
2075
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2095
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2098
2098
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2099
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2099
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2100
2100
|
style?: CSSProperties | undefined;
|
|
2101
2101
|
class?: any;
|
|
2102
|
-
} & RecordType> | ComputedRef<
|
|
2102
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2170
2170
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2171
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2171
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2172
2172
|
style?: CSSProperties | undefined;
|
|
2173
2173
|
class?: any;
|
|
2174
|
-
} & RecordType> | ComputedRef<
|
|
2174
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2203
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2206
2206
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2207
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2207
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2208
2208
|
style?: CSSProperties | undefined;
|
|
2209
2209
|
class?: any;
|
|
2210
|
-
} & RecordType> | ComputedRef<
|
|
2210
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2278
2278
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2279
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2279
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2280
2280
|
style?: CSSProperties | undefined;
|
|
2281
2281
|
class?: any;
|
|
2282
|
-
} & RecordType> | ComputedRef<
|
|
2282
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2329
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2332
2332
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2333
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2333
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2334
2334
|
style?: CSSProperties | undefined;
|
|
2335
2335
|
class?: any;
|
|
2336
|
-
} & RecordType> | ComputedRef<
|
|
2336
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2404
2404
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2405
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2405
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2406
2406
|
style?: CSSProperties | undefined;
|
|
2407
2407
|
class?: any;
|
|
2408
|
-
} & RecordType> | ComputedRef<
|
|
2408
|
+
} & RecordType> | 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, "modelValue" | "total" | "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, "modelValue" | "total" | "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
|
-
|
|
3846
|
-
layout: "grid" | "flex";
|
|
3845
|
+
labelPosition: "left" | "right" | "top";
|
|
3847
3846
|
modelValue: FieldValues;
|
|
3848
|
-
|
|
3847
|
+
columns: PlusColumn[];
|
|
3848
|
+
layout: "flex" | "grid";
|
|
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 columns: PlusColumn[];
|
|
3874
|
-
readonly layout: "grid" | "flex";
|
|
3875
3873
|
readonly modelValue: FieldValues;
|
|
3874
|
+
readonly columns: PlusColumn[];
|
|
3875
|
+
readonly layout: "flex" | "grid";
|
|
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?: "left" | "right" | "top" | undefined;
|
|
3898
3898
|
readonly searchIcon?: Component | null | undefined;
|
|
3899
3899
|
readonly resetIcon?: Component | null | undefined;
|
|
3900
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3900
3901
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3901
3902
|
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
|
+
};
|
|
3906
3914
|
columns: {
|
|
3907
3915
|
type: PropType<PlusColumn[]>;
|
|
3908
3916
|
default: () => never[];
|
|
3909
3917
|
};
|
|
3910
3918
|
layout: {
|
|
3911
|
-
type: PropType<"
|
|
3919
|
+
type: PropType<"flex" | "grid">;
|
|
3912
3920
|
default: "grid";
|
|
3913
3921
|
};
|
|
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;
|
|
4005
4006
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4006
4007
|
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
|
+
}, "labelPosition" | "modelValue" | "columns" | "layout" | "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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", 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
|
+
};
|
|
4025
4033
|
columns: {
|
|
4026
4034
|
type: PropType<PlusColumn[]>;
|
|
4027
4035
|
default: () => never[];
|
|
4028
4036
|
};
|
|
4029
4037
|
layout: {
|
|
4030
|
-
type: PropType<"
|
|
4038
|
+
type: PropType<"flex" | "grid">;
|
|
4031
4039
|
default: "grid";
|
|
4032
4040
|
};
|
|
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;
|
|
4124
4125
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4125
4126
|
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;
|
|
4134
4136
|
collapseDuration: number;
|
|
4135
4137
|
collapseTransition: boolean;
|
|
4136
4138
|
columns: PlusColumn[];
|
|
4137
4139
|
group: false | PlusFormGroupRow[];
|
|
4138
|
-
layout: "
|
|
4139
|
-
modelValue: FieldValues;
|
|
4140
|
+
layout: "flex" | "grid";
|
|
4140
4141
|
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: "left" | "right" | "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;
|
|
4168
4170
|
readonly columns: PlusColumn[];
|
|
4169
4171
|
readonly group: false | PlusFormGroupRow[];
|
|
4170
|
-
readonly modelValue: FieldValues;
|
|
4171
4172
|
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: "left" | "right" | "center";
|
|
4192
4192
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
4193
4193
|
style?: CSSProperties | undefined;
|
|
4194
4194
|
class?: any;
|
|
@@ -4197,14 +4197,22 @@ 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?: "
|
|
4200
|
+
readonly layout?: "flex" | "grid" | undefined;
|
|
4201
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4201
4202
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4202
4203
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4203
4204
|
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
|
+
};
|
|
4208
4216
|
collapseDuration: {
|
|
4209
4217
|
type: PropType<number>;
|
|
4210
4218
|
default: undefined;
|
|
@@ -4222,21 +4230,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4222
4230
|
default: boolean;
|
|
4223
4231
|
};
|
|
4224
4232
|
layout: {
|
|
4225
|
-
type: PropType<"
|
|
4233
|
+
type: PropType<"flex" | "grid">;
|
|
4226
4234
|
default: undefined;
|
|
4227
4235
|
};
|
|
4228
|
-
modelValue: {
|
|
4229
|
-
type: PropType<FieldValues>;
|
|
4230
|
-
default: () => {};
|
|
4231
|
-
};
|
|
4232
4236
|
rules: {
|
|
4233
4237
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4234
4238
|
default: () => {};
|
|
4235
4239
|
};
|
|
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<"left" | "right" | "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;
|
|
4314
4315
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4315
4316
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4316
4317
|
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
|
+
}, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "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,9 +4329,17 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
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
|
+
};
|
|
4335
4343
|
collapseDuration: {
|
|
4336
4344
|
type: PropType<number>;
|
|
4337
4345
|
default: undefined;
|
|
@@ -4349,21 +4357,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4349
4357
|
default: boolean;
|
|
4350
4358
|
};
|
|
4351
4359
|
layout: {
|
|
4352
|
-
type: PropType<"
|
|
4360
|
+
type: PropType<"flex" | "grid">;
|
|
4353
4361
|
default: undefined;
|
|
4354
4362
|
};
|
|
4355
|
-
modelValue: {
|
|
4356
|
-
type: PropType<FieldValues>;
|
|
4357
|
-
default: () => {};
|
|
4358
|
-
};
|
|
4359
4363
|
rules: {
|
|
4360
4364
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4361
4365
|
default: () => {};
|
|
4362
4366
|
};
|
|
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<"left" | "right" | "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;
|
|
4441
4442
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4442
4443
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4443
4444
|
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;
|
|
4459
4461
|
collapseDuration: number;
|
|
4460
4462
|
collapseTransition: boolean;
|
|
4461
4463
|
columns: PlusColumn[];
|
|
4462
4464
|
group: false | PlusFormGroupRow[];
|
|
4463
|
-
layout: "
|
|
4464
|
-
modelValue: FieldValues;
|
|
4465
|
+
layout: "flex" | "grid";
|
|
4465
4466
|
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: "left" | "right" | "center";
|
|
4486
4486
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4487
4487
|
style?: CSSProperties | undefined;
|
|
4488
4488
|
class?: any;
|
|
@@ -4510,6 +4510,14 @@ 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
|
+
};
|
|
4513
4521
|
collapseDuration: {
|
|
4514
4522
|
type: PropType<number>;
|
|
4515
4523
|
default: undefined;
|
|
@@ -4527,21 +4535,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4527
4535
|
default: boolean;
|
|
4528
4536
|
};
|
|
4529
4537
|
layout: {
|
|
4530
|
-
type: PropType<"
|
|
4538
|
+
type: PropType<"flex" | "grid">;
|
|
4531
4539
|
default: undefined;
|
|
4532
4540
|
};
|
|
4533
|
-
modelValue: {
|
|
4534
|
-
type: PropType<FieldValues>;
|
|
4535
|
-
default: () => {};
|
|
4536
|
-
};
|
|
4537
4541
|
rules: {
|
|
4538
4542
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4539
4543
|
default: () => {};
|
|
4540
4544
|
};
|
|
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<"left" | "right" | "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;
|
|
4619
4620
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4620
4621
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4621
4622
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
4642
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4645
4645
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4646
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4646
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4647
4647
|
style?: CSSProperties | undefined;
|
|
4648
4648
|
class?: any;
|
|
4649
|
-
} & RecordType> | ComputedRef<
|
|
4649
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4717
4717
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4718
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4718
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4719
4719
|
style?: CSSProperties | undefined;
|
|
4720
4720
|
class?: any;
|
|
4721
|
-
} & RecordType> | ComputedRef<
|
|
4721
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
4750
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4753
4753
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4754
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4754
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4755
4755
|
style?: CSSProperties | undefined;
|
|
4756
4756
|
class?: any;
|
|
4757
|
-
} & RecordType> | ComputedRef<
|
|
4757
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4825
4825
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4826
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4826
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4827
4827
|
style?: CSSProperties | undefined;
|
|
4828
4828
|
class?: any;
|
|
4829
|
-
} & RecordType> | ComputedRef<
|
|
4829
|
+
} & RecordType> | 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
|
-
|
|
4882
|
-
layout: "grid" | "flex";
|
|
4881
|
+
labelPosition: "left" | "right" | "top";
|
|
4883
4882
|
modelValue: FieldValues;
|
|
4884
|
-
|
|
4883
|
+
columns: PlusColumn[];
|
|
4884
|
+
layout: "flex" | "grid";
|
|
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
|
+
};
|
|
4929
4937
|
columns: {
|
|
4930
4938
|
type: PropType<PlusColumn[]>;
|
|
4931
4939
|
default: () => never[];
|
|
4932
4940
|
};
|
|
4933
4941
|
layout: {
|
|
4934
|
-
type: PropType<"
|
|
4942
|
+
type: PropType<"flex" | "grid">;
|
|
4935
4943
|
default: "grid";
|
|
4936
4944
|
};
|
|
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;
|
|
5028
5029
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5029
5030
|
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;
|
|
5038
5040
|
collapseDuration: number;
|
|
5039
5041
|
collapseTransition: boolean;
|
|
5040
5042
|
columns: PlusColumn[];
|
|
5041
5043
|
group: false | PlusFormGroupRow[];
|
|
5042
|
-
layout: "
|
|
5043
|
-
modelValue: FieldValues;
|
|
5044
|
+
layout: "flex" | "grid";
|
|
5044
5045
|
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: "left" | "right" | "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;
|
|
5072
5074
|
readonly columns: PlusColumn[];
|
|
5073
5075
|
readonly group: false | PlusFormGroupRow[];
|
|
5074
|
-
readonly modelValue: FieldValues;
|
|
5075
5076
|
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: "left" | "right" | "center";
|
|
5096
5096
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5097
5097
|
style?: CSSProperties | undefined;
|
|
5098
5098
|
class?: any;
|
|
@@ -5101,14 +5101,22 @@ 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?: "
|
|
5104
|
+
readonly layout?: "flex" | "grid" | undefined;
|
|
5105
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5105
5106
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5106
5107
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5107
5108
|
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
|
+
};
|
|
5112
5120
|
collapseDuration: {
|
|
5113
5121
|
type: PropType<number>;
|
|
5114
5122
|
default: undefined;
|
|
@@ -5126,21 +5134,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5126
5134
|
default: boolean;
|
|
5127
5135
|
};
|
|
5128
5136
|
layout: {
|
|
5129
|
-
type: PropType<"
|
|
5137
|
+
type: PropType<"flex" | "grid">;
|
|
5130
5138
|
default: undefined;
|
|
5131
5139
|
};
|
|
5132
|
-
modelValue: {
|
|
5133
|
-
type: PropType<FieldValues>;
|
|
5134
|
-
default: () => {};
|
|
5135
|
-
};
|
|
5136
5140
|
rules: {
|
|
5137
5141
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5138
5142
|
default: () => {};
|
|
5139
5143
|
};
|
|
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<"left" | "right" | "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;
|
|
5218
5219
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5219
5220
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5220
5221
|
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
|
+
}, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "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,9 +5233,17 @@ 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: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
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
|
+
};
|
|
5239
5247
|
collapseDuration: {
|
|
5240
5248
|
type: PropType<number>;
|
|
5241
5249
|
default: undefined;
|
|
@@ -5253,21 +5261,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5253
5261
|
default: boolean;
|
|
5254
5262
|
};
|
|
5255
5263
|
layout: {
|
|
5256
|
-
type: PropType<"
|
|
5264
|
+
type: PropType<"flex" | "grid">;
|
|
5257
5265
|
default: undefined;
|
|
5258
5266
|
};
|
|
5259
|
-
modelValue: {
|
|
5260
|
-
type: PropType<FieldValues>;
|
|
5261
|
-
default: () => {};
|
|
5262
|
-
};
|
|
5263
5267
|
rules: {
|
|
5264
5268
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5265
5269
|
default: () => {};
|
|
5266
5270
|
};
|
|
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<"left" | "right" | "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;
|
|
5345
5346
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5346
5347
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5347
5348
|
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;
|
|
5363
5365
|
collapseDuration: number;
|
|
5364
5366
|
collapseTransition: boolean;
|
|
5365
5367
|
columns: PlusColumn[];
|
|
5366
5368
|
group: false | PlusFormGroupRow[];
|
|
5367
|
-
layout: "
|
|
5368
|
-
modelValue: FieldValues;
|
|
5369
|
+
layout: "flex" | "grid";
|
|
5369
5370
|
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: "left" | "right" | "center";
|
|
5390
5390
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5391
5391
|
style?: CSSProperties | undefined;
|
|
5392
5392
|
class?: any;
|
|
@@ -5414,6 +5414,14 @@ 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
|
+
};
|
|
5417
5425
|
collapseDuration: {
|
|
5418
5426
|
type: PropType<number>;
|
|
5419
5427
|
default: undefined;
|
|
@@ -5431,21 +5439,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5431
5439
|
default: boolean;
|
|
5432
5440
|
};
|
|
5433
5441
|
layout: {
|
|
5434
|
-
type: PropType<"
|
|
5442
|
+
type: PropType<"flex" | "grid">;
|
|
5435
5443
|
default: undefined;
|
|
5436
5444
|
};
|
|
5437
|
-
modelValue: {
|
|
5438
|
-
type: PropType<FieldValues>;
|
|
5439
|
-
default: () => {};
|
|
5440
|
-
};
|
|
5441
5445
|
rules: {
|
|
5442
5446
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5443
5447
|
default: () => {};
|
|
5444
5448
|
};
|
|
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<"left" | "right" | "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;
|
|
5523
5524
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5524
5525
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5525
5526
|
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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5546
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5549
5549
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5550
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5550
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5551
5551
|
style?: CSSProperties | undefined;
|
|
5552
5552
|
class?: any;
|
|
5553
|
-
} & RecordType> | ComputedRef<
|
|
5553
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5621
5621
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5622
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5622
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5623
5623
|
style?: CSSProperties | undefined;
|
|
5624
5624
|
class?: any;
|
|
5625
|
-
} & RecordType> | ComputedRef<
|
|
5625
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5654
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5657
5657
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5658
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5658
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5659
5659
|
style?: CSSProperties | undefined;
|
|
5660
5660
|
class?: any;
|
|
5661
|
-
} & RecordType> | ComputedRef<
|
|
5661
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5729
5729
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5730
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5730
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5731
5731
|
style?: CSSProperties | undefined;
|
|
5732
5732
|
class?: any;
|
|
5733
|
-
} & RecordType> | ComputedRef<
|
|
5733
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
5780
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5783
5783
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5784
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5784
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5785
5785
|
style?: CSSProperties | undefined;
|
|
5786
5786
|
class?: any;
|
|
5787
|
-
} & RecordType> | ComputedRef<
|
|
5787
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5855
5855
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5856
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5856
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
5857
5857
|
style?: CSSProperties | undefined;
|
|
5858
5858
|
class?: any;
|
|
5859
|
-
} & RecordType> | ComputedRef<
|
|
5859
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
7130
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7133
7133
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7134
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7134
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7135
7135
|
style?: CSSProperties | undefined;
|
|
7136
7136
|
class?: any;
|
|
7137
|
-
} & RecordType> | ComputedRef<
|
|
7137
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7205
7205
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7206
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7206
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
7207
7207
|
style?: CSSProperties | undefined;
|
|
7208
7208
|
class?: any;
|
|
7209
|
-
} & RecordType> | ComputedRef<
|
|
7209
|
+
} & RecordType> | 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;
|
|
8004
8006
|
search: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
|
|
8005
8007
|
headerFilter: boolean | HeaderFilterConfig;
|
|
8006
8008
|
pagination: false | Record<string, unknown>;
|
|
8007
|
-
showSearch: boolean;
|
|
8008
|
-
columnSettingsText: string;
|
|
8009
8009
|
isCard: boolean;
|
|
8010
8010
|
hideHeaderFilter: boolean;
|
|
8011
8011
|
hideColumnSettingsIcon: boolean;
|